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)
static int sse(MpegEncContext *s, uint8_t *src1, uint8_t *src2, int w, int h, int stride)
#define EXTERNAL_SSE(flags)
enum AVSampleFormat format
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
#define EXTERNAL_AVX_FAST(flags)
#define EXTERNAL_SSE2(flags)
#define EXTERNAL_FMA4(flags)
av_cold void swri_resample_dsp_x86_init(ResampleContext *c)
int(* resample_common)(struct ResampleContext *c, void *dst, const void *src, int n, int update_ctx)
#define EXTERNAL_FMA3_FAST(flags)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
int(* resample_linear)(struct ResampleContext *c, void *dst, const void *src, int n, int update_ctx)
#define EXTERNAL_MMXEXT(flags)
struct ResampleContext::@316 dsp
#define EXTERNAL_XOP(flags)
#define RESAMPLE_FUNCS(type, opt)