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;