changeset 27801:de9d0f9da2cc

Remove rgb2rgb.h dependency.
author michael
date Mon, 27 Oct 2008 09:03:47 +0000
parents 3c2c696294f1
children 3594f4881efd
files libswscale/swscale-example.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale-example.c	Sun Oct 26 15:41:11 2008 +0000
+++ b/libswscale/swscale-example.c	Mon Oct 27 09:03:47 2008 +0000
@@ -28,7 +28,6 @@
 #include "libavutil/avutil.h"
 #include "swscale.h"
 #include "swscale_internal.h"
-#include "rgb2rgb.h"
 
 static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){
     int x,y;
@@ -207,11 +206,6 @@
             rgb_data[ x + y*4*W]= random();
         }
     }
-#if defined(ARCH_X86)
-    sws_rgb2rgb_init(SWS_CPU_CAPS_MMX*0);
-#else
-    sws_rgb2rgb_init(0);
-#endif
     sws_scale(sws, rgb_src, rgb_stride, 0, H, src, stride);
 
 #if defined(ARCH_X86)