36 ptrdiff_t line_size,
int h);
38 ptrdiff_t line_size,
int h);
40 ptrdiff_t line_size,
int h);
42 ptrdiff_t line_size,
int h);
44 ptrdiff_t line_size,
int h);
46 ptrdiff_t line_size,
int h);
48 ptrdiff_t line_size,
int h);
50 ptrdiff_t line_size,
int h);
52 ptrdiff_t line_size,
int h);
54 ptrdiff_t line_size,
int h);
57 ptrdiff_t line_size,
int h);
60 ptrdiff_t line_size,
int h);
62 ptrdiff_t line_size,
int h);
64 ptrdiff_t line_size,
int h);
66 ptrdiff_t line_size,
int h);
68 ptrdiff_t line_size,
int h);
71 ptrdiff_t line_size,
int h);
74 ptrdiff_t line_size,
int h);
76 ptrdiff_t line_size,
int h);
78 ptrdiff_t line_size,
int h);
80 ptrdiff_t line_size,
int h);
82 ptrdiff_t line_size,
int h);
84 ptrdiff_t line_size,
int h);
86 ptrdiff_t line_size,
int h);
88 ptrdiff_t line_size,
int h);
90 ptrdiff_t line_size,
int h);
92 #define avg_pixels8_mmx ff_avg_pixels8_mmx
93 #define avg_pixels8_x2_mmx ff_avg_pixels8_x2_mmx
94 #define avg_pixels16_mmx ff_avg_pixels16_mmx
95 #define avg_pixels8_xy2_mmx ff_avg_pixels8_xy2_mmx
96 #define avg_pixels16_xy2_mmx ff_avg_pixels16_xy2_mmx
97 #define put_pixels8_mmx ff_put_pixels8_mmx
98 #define put_pixels16_mmx ff_put_pixels16_mmx
99 #define put_pixels8_xy2_mmx ff_put_pixels8_xy2_mmx
100 #define put_pixels16_xy2_mmx ff_put_pixels16_xy2_mmx
101 #define avg_no_rnd_pixels16_mmx ff_avg_pixels16_mmx
102 #define put_no_rnd_pixels8_mmx ff_put_pixels8_mmx
103 #define put_no_rnd_pixels16_mmx ff_put_pixels16_mmx
109 #define DEF(x, y) x ## _no_rnd_ ## y ## _mmx
110 #define SET_RND MOVQ_WONE
111 #define PAVGBP(a, b, c, d, e, f) PAVGBP_MMX_NO_RND(a, b, c, d, e, f)
112 #define PAVGB(a, b, c, e) PAVGB_MMX_NO_RND(a, b, c, e)
113 #define STATIC static
124 CALL_2X_PIXELS(avg_no_rnd_pixels16_y2_mmx, avg_no_rnd_pixels8_y2_mmx, 8)
125 CALL_2X_PIXELS(put_no_rnd_pixels16_y2_mmx, put_no_rnd_pixels8_y2_mmx, 8)
127 CALL_2X_PIXELS(avg_no_rnd_pixels16_xy2_mmx, avg_no_rnd_pixels8_xy2_mmx, 8)
128 CALL_2X_PIXELS(put_no_rnd_pixels16_xy2_mmx, put_no_rnd_pixels8_xy2_mmx, 8)
133 #define DEF(x, y) x ## _ ## y ## _mmx
134 #define SET_RND MOVQ_WTWO
135 #define PAVGBP(a, b, c, d, e, f) PAVGBP_MMX(a, b, c, d, e, f)
136 #define PAVGB(a, b, c, e) PAVGB_MMX(a, b, c, e)
141 #define DEF(x, y) ff_ ## x ## _ ## y ## _mmx
162 #define HPELDSP_AVG_PIXELS16(CPUEXT) \
163 CALL_2X_PIXELS(put_no_rnd_pixels16_x2 ## CPUEXT, ff_put_no_rnd_pixels8_x2 ## CPUEXT, 8) \
164 CALL_2X_PIXELS(put_pixels16_y2 ## CPUEXT, ff_put_pixels8_y2 ## CPUEXT, 8) \
165 CALL_2X_PIXELS(put_no_rnd_pixels16_y2 ## CPUEXT, ff_put_no_rnd_pixels8_y2 ## CPUEXT, 8) \
166 CALL_2X_PIXELS(avg_pixels16 ## CPUEXT, ff_avg_pixels8 ## CPUEXT, 8) \
167 CALL_2X_PIXELS(avg_pixels16_x2 ## CPUEXT, ff_avg_pixels8_x2 ## CPUEXT, 8) \
168 CALL_2X_PIXELS(avg_pixels16_y2 ## CPUEXT, ff_avg_pixels8_y2 ## CPUEXT, 8) \
169 CALL_2X_PIXELS(avg_pixels16_xy2 ## CPUEXT, ff_avg_pixels8_xy2 ## CPUEXT, 8) \
170 CALL_2X_PIXELS(avg_approx_pixels16_xy2## CPUEXT, ff_avg_approx_pixels8_xy2## CPUEXT, 8)
172 HPELDSP_AVG_PIXELS16(_3dnow)
173 HPELDSP_AVG_PIXELS16(_mmxext)
177 #define SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU) \
178 if (HAVE_MMX_EXTERNAL) \
179 c->PFX ## _pixels_tab IDX [0] = PFX ## _pixels ## SIZE ## _ ## CPU;
182 #define SET_HPEL_FUNCS(PFX, IDX, SIZE, CPU) \
184 SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU) \
185 c->PFX ## _pixels_tab IDX [1] = PFX ## _pixels ## SIZE ## _x2_ ## CPU; \
186 c->PFX ## _pixels_tab IDX [2] = PFX ## _pixels ## SIZE ## _y2_ ## CPU; \
187 c->PFX ## _pixels_tab IDX [3] = PFX ## _pixels ## SIZE ## _xy2_ ## CPU; \
190 #define SET_HPEL_FUNCS(PFX, IDX, SIZE, CPU) \
192 SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU) \
204 if (HAVE_MMX_EXTERNAL) {
216 #if HAVE_MMXEXT_EXTERNAL
243 if (flags & CODEC_FLAG_BITEXACT && CONFIG_VP3_DECODER) {
252 #if HAVE_AMD3DNOW_EXTERNAL
279 if (flags & CODEC_FLAG_BITEXACT && CONFIG_VP3_DECODER) {
288 #if HAVE_SSE2_EXTERNAL
306 #if HAVE_SSSE3_EXTERNAL