int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
static atomic_int cpu_flags
void ff_vector_clip_int32_int_sse2(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
void ff_vector_clipf_sse(float *dst, const float *src, int len, float min, float max)
void ff_vector_clip_int32_sse2(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
#define EXTERNAL_SSE(flags)
av_cold void ff_audiodsp_init_x86(AudioDSPContext *c)
void ff_vector_clip_int32_sse4(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
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
int32_t ff_scalarproduct_int16_mmxext(const int16_t *v1, const int16_t *v2, int order)
#define EXTERNAL_SSE2(flags)
int32_t ff_scalarproduct_int16_sse2(const int16_t *v1, const int16_t *v2, int order)
#define AV_CPU_FLAG_ATOM
Atom processor, some SSSE3 instructions are slower.
void ff_vector_clip_int32_mmx(int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
#define EXTERNAL_SSE4(flags)
#define EXTERNAL_MMX(flags)
#define EXTERNAL_MMXEXT(flags)