31 #define HPEL_FILTER(MMSIZE, EXT) \
32 void ff_dirac_hpel_filter_v_ ## EXT(uint8_t *, const uint8_t *, int, int); \
33 void ff_dirac_hpel_filter_h_ ## EXT(uint8_t *, const uint8_t *, int); \
35 static void dirac_hpel_filter_ ## EXT(uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, \
36 const uint8_t *src, int stride, int width, int height) \
40 ff_dirac_hpel_filter_v_ ## EXT(dstv-MMSIZE, src-MMSIZE, stride, width+MMSIZE+5); \
41 ff_dirac_hpel_filter_h_ ## EXT(dsth, src, width); \
42 ff_dirac_hpel_filter_h_ ## EXT(dstc, dstv, width); \
56 #define PIXFUNC(PFX, IDX, EXT) \
58 c->PFX ## _dirac_pixels_tab[1][IDX] = ff_ ## PFX ## _dirac_pixels16_ ## EXT; \
59 c->PFX ## _dirac_pixels_tab[2][IDX] = ff_ ## PFX ## _dirac_pixels32_ ## EXT
61 #define DIRAC_PIXOP(OPNAME2, OPNAME, EXT)\
62 void ff_ ## OPNAME2 ## _dirac_pixels8_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h)\
65 ff_ ## OPNAME2 ## _dirac_pixels8_c(dst, src, stride, h);\
67 OPNAME ## _pixels8_ ## EXT(dst, src[0], stride, h);\
69 void ff_ ## OPNAME2 ## _dirac_pixels16_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h)\
72 ff_ ## OPNAME2 ## _dirac_pixels16_c(dst, src, stride, h);\
74 OPNAME ## _pixels16_ ## EXT(dst, src[0], stride, h);\
76 void ff_ ## OPNAME2 ## _dirac_pixels32_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h)\
79 ff_ ## OPNAME2 ## _dirac_pixels32_c(dst, src, stride, h);\
81 OPNAME ## _pixels16_ ## EXT(dst , src[0] , stride, h);\
82 OPNAME ## _pixels16_ ## EXT(dst+16, src[0]+16, stride, h);\
93 ff_put_dirac_pixels16_c(dst, src, stride, h);
100 ff_avg_dirac_pixels16_c(dst, src, stride, h);
107 ff_put_dirac_pixels32_c(dst, src, stride, h);
116 ff_avg_dirac_pixels32_c(dst, src, stride, h);