28 ptrdiff_t
stride,
int h,
int x,
int y);
30 ptrdiff_t
stride,
int h,
int x,
int y);
32 ptrdiff_t
stride,
int h,
int x,
int y);
35 ptrdiff_t
stride,
int h,
int x,
int y);
37 ptrdiff_t
stride,
int h,
int x,
int y);
39 ptrdiff_t
stride,
int h,
int x,
int y);
42 ptrdiff_t
stride,
int h,
int x,
int y);
44 ptrdiff_t
stride,
int h,
int x,
int y);
47 ptrdiff_t
stride,
int h,
int x,
int y);
49 ptrdiff_t
stride,
int h,
int x,
int y);
52 ptrdiff_t
stride,
int h,
int x,
int y);
54 ptrdiff_t
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 ptrdiff_t stride, int h, int x, int y); 72 int high_bit_depth = bit_depth > 8;
93 c->put_h264_chroma_pixels_tab[2] = ff_put_h264_chroma_mc2_10_mmxext;
94 c->avg_h264_chroma_pixels_tab[2] = ff_avg_h264_chroma_mc2_10_mmxext;
95 c->put_h264_chroma_pixels_tab[1] = ff_put_h264_chroma_mc4_10_mmxext;
96 c->avg_h264_chroma_pixels_tab[1] = ff_avg_h264_chroma_mc4_10_mmxext;
99 if (
EXTERNAL_SSE2(cpu_flags) && bit_depth > 8 && bit_depth <= 10) {
100 c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_10_sse2;
101 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_10_sse2;
111 if (
EXTERNAL_AVX(cpu_flags) && bit_depth > 8 && bit_depth <= 10) {
114 c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_10_avx;
115 c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_10_avx;
#define EXTERNAL_MMX(flags)
void ff_put_h264_chroma_mc4_mmx(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
static atomic_int cpu_flags
Macro definitions for various function/variable attributes.
void ff_put_h264_chroma_mc2_mmxext(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
#define EXTERNAL_SSE2(flags)
void ff_avg_h264_chroma_mc8_rnd_mmxext(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
static void bit_depth(AudioStatsContext *s, uint64_t mask, uint64_t imask, AVRational *depth)
void ff_put_h264_chroma_mc4_ssse3(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
void ff_put_h264_chroma_mc8_rnd_mmx(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
av_cold void ff_h264chroma_init_x86(H264ChromaContext *c, int bit_depth)
void ff_avg_h264_chroma_mc8_rnd_ssse3(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
#define CHROMA_MC(OP, NUM, DEPTH, OPT)
#define EXTERNAL_SSSE3(flags)
void ff_avg_h264_chroma_mc4_3dnow(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
void ff_avg_h264_chroma_mc4_mmxext(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
#define EXTERNAL_MMXEXT(flags)
void ff_avg_h264_chroma_mc8_rnd_3dnow(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
void ff_avg_h264_chroma_mc2_mmxext(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
void ff_put_h264_chroma_mc8_rnd_ssse3(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
void ff_avg_h264_chroma_mc4_ssse3(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int h, int x, int y)
#define EXTERNAL_AMD3DNOW(flags)
#define EXTERNAL_AVX(flags)