switch (c->dstFormat) {
case PIX_FMT_RGB32:
if (CONFIG_SWSCALE_ALPHA && c->srcFormat == PIX_FMT_YUVA420P){
- if (HAVE_7REGS) return yuva420_rgb32_MMX2;
+#if HAVE_7REGS
+ return yuva420_rgb32_MMX2;
+#else
+ break;
+#endif
}else return yuv420_rgb32_MMX2;
case PIX_FMT_BGR24: return yuv420_rgb24_MMX2;
case PIX_FMT_RGB565: return yuv420_rgb16_MMX2;
switch (c->dstFormat) {
case PIX_FMT_RGB32:
if (CONFIG_SWSCALE_ALPHA && c->srcFormat == PIX_FMT_YUVA420P){
- if (HAVE_7REGS) return yuva420_rgb32_MMX;
+#if HAVE_7REGS
+ return yuva420_rgb32_MMX;
+#else
+ break;
+#endif
}else return yuv420_rgb32_MMX;
case PIX_FMT_BGR24: return yuv420_rgb24_MMX;
case PIX_FMT_RGB565: return yuv420_rgb16_MMX;
YUV2RGB_OPERANDS
}
+#if HAVE_7REGS
static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int srcSliceH, uint8_t* dst[], int dstStride[]){
int y, h_size;
YUV2RGB_ENDLOOP(4)
YUV2RGB_OPERANDS_ALPHA
}
+#endif