aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorDenes Balatoni <dbalatoni@programozo.hu>2007-07-19 07:24:43 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-07-19 07:24:43 +0000
commit90c1d7b400458ef297e85afb0ab6915af8016f7d (patch)
tree5345fda4ae7bc4f9e2af5838ad31cf641e53b895 /libswscale/yuv2rgb.c
parent1e7f363804cb9fbe4eb8193a5711fdfd00619776 (diff)
downloadffmpeg-90c1d7b400458ef297e85afb0ab6915af8016f7d.tar.gz
UltraSPARC VIS yuv2rgb
patch by Denes Balatoni: [dbalatoni interware hu] original thread: [FFmpeg-devel] [PATCH] UltraSPARC VIS yuv2rgb third try date: 07/17/2007 08:35 PM Originally committed as revision 23825 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 5262c20817..065c0e8ae8 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -39,6 +39,10 @@
#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);