]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/yuv2rgb.c
cosmetics: sort lines (correctly)
[ffmpeg] / libswscale / yuv2rgb.c
index 8ece0f61831bfc94c517c700d2d33964b75fb7f8..b90f78c1fb6d167ab08388d0204e1ea3d395ca2a 100644 (file)
 #include "swscale.h"
 #include "swscale_internal.h"
 
-#ifdef HAVE_VIS
-#include "yuv2rgb_vis.c"
-#endif
-
-#ifdef HAVE_MLIB
-#include "yuv2rgb_mlib.c"
-#endif
-
 #define DITHER1XBPP // only for mmx
 
 const uint8_t  __attribute__((aligned(8))) dither_2x2_4[2][8]={
@@ -188,7 +180,7 @@ static volatile uint64_t attribute_used __attribute__((aligned(8))) r5Dither;
 #define RENAME(a) a ## _MMX2
 #include "yuv2rgb_template.c"
 
-#endif /* defined(ARCH_X86) */
+#endif /* HAVE_MMX */
 
 const int32_t Inverse_Table_6_9[8][4] = {
     {117504, 138453, 13954, 34903}, /* no sequence_display_extension */
@@ -627,7 +619,7 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
         if (t) return t;
     }
 #endif
-#ifdef HAVE_MLIB
+#ifdef CONFIG_MLIB
     {
         SwsFunc t= yuv2rgb_init_mlib(c);
         if (t) return t;