28 int stride,
int h,
int x,
int y);
30 int stride,
int h,
int x,
int y);
32 int stride,
int h,
int x,
int y);
35 int stride,
int h,
int x,
int y);
37 int stride,
int h,
int x,
int y);
39 int stride,
int h,
int x,
int y);
42 int stride,
int h,
int x,
int y);
44 int stride,
int h,
int x,
int y);
47 int stride,
int h,
int x,
int y);
49 int stride,
int h,
int x,
int y);
52 int stride,
int h,
int x,
int y);
54 int stride,
int h,
int x,
int y);
56 #define CHROMA_MC(OP, NUM, DEPTH, OPT) \
57 void ff_ ## OP ## _h264_chroma_mc ## NUM ## _ ## DEPTH ## _ ## OPT \
58 (uint8_t *dst, uint8_t *src, \
59 int stride, int h, int x, int y);
73 int high_bit_depth = bit_depth > 8;
94 c->put_h264_chroma_pixels_tab[2] = ff_put_h264_chroma_mc2_10_mmxext;
95 c->avg_h264_chroma_pixels_tab[2] = ff_avg_h264_chroma_mc2_10_mmxext;
96 c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_10_mmxext;
97 c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_10_mmxext;
100 if (
EXTERNAL_SSE2(cpu_flags) && bit_depth > 8 && bit_depth <= 10) {
101 c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_10_sse2;
102 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_10_sse2;
112 if (
EXTERNAL_AVX(cpu_flags) && bit_depth > 8 && bit_depth <= 10) {
115 c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_10_avx;
116 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_10_avx;