diff options
Diffstat (limited to 'vp8/common/postproc.h')
-rw-r--r-- | vp8/common/postproc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vp8/common/postproc.h b/vp8/common/postproc.h index 80337fc68..4a4493802 100644 --- a/vp8/common/postproc.h +++ b/vp8/common/postproc.h @@ -24,6 +24,10 @@ char whiteclamp[16], char bothclamp[16],\ unsigned int w, unsigned int h, int pitch) +#define prototype_postproc_blend_mb(sym)\ + void sym (unsigned char *y, unsigned char *u, unsigned char *v,\ + int y1, int u1, int v1, int alpha, int stride) + #if ARCH_X86 || ARCH_X86_64 #include "x86/postproc_x86.h" #endif @@ -48,16 +52,22 @@ extern prototype_postproc(vp8_postproc_downacross); #endif extern prototype_postproc_addnoise(vp8_postproc_addnoise); +#ifndef vp8_postproc_blend_mb +#define vp8_postproc_blend_mb vp8_blend_mb_c +#endif +extern prototype_postproc_blend_mb(vp8_postproc_blend_mb); typedef prototype_postproc((*vp8_postproc_fn_t)); typedef prototype_postproc_inplace((*vp8_postproc_inplace_fn_t)); typedef prototype_postproc_addnoise((*vp8_postproc_addnoise_fn_t)); +typedef prototype_postproc_blend_mb((*vp8_postproc_blend_mb_fn_t)); typedef struct { vp8_postproc_inplace_fn_t down; vp8_postproc_inplace_fn_t across; vp8_postproc_fn_t downacross; vp8_postproc_addnoise_fn_t addnoise; + vp8_postproc_blend_mb_fn_t blend_mb; } vp8_postproc_rtcd_vtable_t; #if CONFIG_RUNTIME_CPU_DETECT |