66 #define mask16b mask15b 79 #define BY ((int)( 0.098*(1<<RGB2YUV_SHIFT)+0.5)) 80 #define BV ((int)(-0.071*(1<<RGB2YUV_SHIFT)+0.5)) 81 #define BU ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5)) 82 #define GY ((int)( 0.504*(1<<RGB2YUV_SHIFT)+0.5)) 83 #define GV ((int)(-0.368*(1<<RGB2YUV_SHIFT)+0.5)) 84 #define GU ((int)(-0.291*(1<<RGB2YUV_SHIFT)+0.5)) 85 #define RY ((int)( 0.257*(1<<RGB2YUV_SHIFT)+0.5)) 86 #define RV ((int)( 0.439*(1<<RGB2YUV_SHIFT)+0.5)) 87 #define RU ((int)(-0.148*(1<<RGB2YUV_SHIFT)+0.5)) 91 #define COMPILE_TEMPLATE_MMXEXT 0 92 #define COMPILE_TEMPLATE_AMD3DNOW 0 93 #define COMPILE_TEMPLATE_SSE2 0 97 #define RENAME(a) a ## _MMX 98 #include "rgb2rgb_template.c" 102 #undef COMPILE_TEMPLATE_MMXEXT 103 #define COMPILE_TEMPLATE_MMXEXT 1 104 #define RENAME(a) a ## _MMXEXT 105 #include "rgb2rgb_template.c" 109 #undef COMPILE_TEMPLATE_SSE2 110 #define COMPILE_TEMPLATE_SSE2 1 111 #define RENAME(a) a ## _SSE2 112 #include "rgb2rgb_template.c" 116 #undef COMPILE_TEMPLATE_MMXEXT 117 #undef COMPILE_TEMPLATE_SSE2 118 #undef COMPILE_TEMPLATE_AMD3DNOW 119 #define COMPILE_TEMPLATE_MMXEXT 0 120 #define COMPILE_TEMPLATE_SSE2 0 121 #define COMPILE_TEMPLATE_AMD3DNOW 1 122 #define RENAME(a) a ## _3DNOW 123 #include "rgb2rgb_template.c" 142 rgb2rgb_init_3DNOW();
144 rgb2rgb_init_MMXEXT();
#define INLINE_SSE2(flags)
av_cold void rgb2rgb_init_x86(void)
Macro definitions for various function/variable attributes.
#define INLINE_MMX(flags)
#define INLINE_AMD3DNOW(flags)
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
#define INLINE_MMXEXT(flags)
DECLARE_ASM_CONST(8, int, deringThreshold)