42 #define DITHER1XBPP // only for MMX
55 #undef COMPILE_TEMPLATE_MMXEXT
56 #define COMPILE_TEMPLATE_MMXEXT 0
57 #define RENAME(a) a ## _MMX
62 #if HAVE_MMXEXT_INLINE
64 #undef COMPILE_TEMPLATE_MMXEXT
65 #define COMPILE_TEMPLATE_MMXEXT 1
66 #define RENAME(a) a ## _MMXEXT
81 #if HAVE_MMXEXT_INLINE
85 return yuv420_rgb24_MMXEXT;
87 return yuv420_bgr24_MMXEXT;
96 #if HAVE_7REGS && CONFIG_SWSCALE_ALPHA
97 return yuva420_rgb32_MMX;
100 }
else return yuv420_rgb32_MMX;
103 #if HAVE_7REGS && CONFIG_SWSCALE_ALPHA
104 return yuva420_bgr32_MMX;
107 }
else return yuv420_bgr32_MMX;
packed RGB 8:8:8, 24bpp, RGBRGB...
#define AV_CPU_FLAG_MMXEXT
Macro definitions for various function/variable attributes.
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
#define AV_PIX_FMT_RGB555
external api for the swscale stuff
enum AVPixelFormat dstFormat
Destination pixel format.
#define AV_PIX_FMT_RGB565
av_cold SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c)
packed RGB 8:8:8, 24bpp, BGRBGR...
int(* SwsFunc)(struct SwsContext *context, const uint8_t *src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])
int av_get_cpu_flags(void)
Return the flags which specify extensions supported by the CPU.
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
enum AVPixelFormat srcFormat
Source pixel format.
#define DECLARE_ASM_CONST(n, t, v)