UltraSPARC VIS yuv2rgb
[ffmpeg.git] / libswscale / yuv2rgb.c
index 5262c20..065c0e8 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
@@ -630,6 +634,12 @@ SwsFunc yuv2rgb_get_func_ptr (SwsContext *c)
         }
     }
 #endif
+#ifdef HAVE_VIS
+    {
+        SwsFunc t= yuv2rgb_init_vis(c);
+        if (t) return t;
+    }
+#endif
 #ifdef HAVE_MLIB
     {
         SwsFunc t= yuv2rgb_init_mlib(c);