31 #define RESAMPLE_FUNCS(type, opt) \
32 int ff_resample_common_##type##_##opt(ResampleContext *c, void *dst, \
33 const void *src, int sz, int upd); \
34 int ff_resample_linear_##type##_##opt(ResampleContext *c, void *dst, \
35 const void *src, int sz, int upd)
54 : ff_resample_common_int16_mmxext;
58 : ff_resample_common_int16_sse2;
62 : ff_resample_common_int16_xop;
68 : ff_resample_common_float_sse;
72 : ff_resample_common_float_avx;
76 : ff_resample_common_float_fma3;
80 : ff_resample_common_float_fma4;
86 : ff_resample_common_double_sse2;
static int sse(MpegEncContext *s, uint8_t *src1, uint8_t *src2, int w, int h, int stride)
#define EXTERNAL_SSE(flags)
enum AVSampleFormat format
#define EXTERNAL_AVX_FAST(flags)
#define EXTERNAL_SSE2(flags)
#define EXTERNAL_FMA4(flags)
av_cold void swri_resample_dsp_x86_init(ResampleContext *c)
struct ResampleContext::@184 dsp
#define AV_CPU_FLAG_AVXSLOW
AVX supported, but slow when using YMM registers (e.g. Bulldozer)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
int(* resample)(struct ResampleContext *c, void *dst, const void *src, int n, int update_ctx)
#define EXTERNAL_MMXEXT(flags)
#define EXTERNAL_FMA3(flags)
#define EXTERNAL_XOP(flags)
#define RESAMPLE_FUNCS(type, opt)