42 #define DITHER1XBPP // only for MMX
53 #if HAVE_MMX_INLINE && HAVE_6REGS
55 #undef COMPILE_TEMPLATE_MMXEXT
56 #define COMPILE_TEMPLATE_MMXEXT 0
57 #define RENAME(a) a ## _mmx
62 #if HAVE_MMXEXT_INLINE && HAVE_6REGS
64 #undef COMPILE_TEMPLATE_MMXEXT
65 #define COMPILE_TEMPLATE_MMXEXT 1
66 #define RENAME(a) a ## _mmxext
74 #if HAVE_MMX_INLINE && HAVE_6REGS
77 #if HAVE_MMXEXT_INLINE
81 return yuv420_rgb24_mmxext;
83 return yuv420_bgr24_mmxext;
92 #if HAVE_7REGS && CONFIG_SWSCALE_ALPHA
93 return yuva420_rgb32_mmx;
97 return yuv420_rgb32_mmx;
100 #if HAVE_7REGS && CONFIG_SWSCALE_ALPHA
101 return yuva420_bgr32_mmx;
105 return yuv420_bgr32_mmx;
107 return yuv420_rgb24_mmx;
109 return yuv420_bgr24_mmx;
111 return yuv420_rgb16_mmx;
113 return yuv420_rgb15_mmx;
packed RGB 8:8:8, 24bpp, RGBRGB...
av_cold SwsFunc ff_yuv2rgb_init_x86(SwsContext *c)
static atomic_int cpu_flags
Macro definitions for various function/variable attributes.
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples)
enum AVPixelFormat dstFormat
Destination pixel format.
#define INLINE_MMX(flags)
#define DECLARE_ASM_CONST(n, t, v)
Declare a static constant aligned variable appropriate for use in inline assembly code...
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.
#define INLINE_MMXEXT(flags)
enum AVPixelFormat srcFormat
Source pixel format.
#define AV_PIX_FMT_RGB555
#define AV_PIX_FMT_RGB565