[FFmpeg-cvslog] r32256 - trunk/libswscale/swscale-test.c

ramiro subversion
Thu Sep 16 02:41:09 CEST 2010


Author: ramiro
Date: Thu Sep 16 02:41:08 2010
New Revision: 32256

Log:
swscale-test: always use bilinear scaler to get output for SSD

Modified:
   trunk/libswscale/swscale-test.c

Modified: trunk/libswscale/swscale-test.c
==============================================================================
--- trunk/libswscale/swscale-test.c	Wed Sep 15 21:52:37 2010	(r32255)
+++ trunk/libswscale/swscale-test.c	Thu Sep 16 02:41:08 2010	(r32256)
@@ -194,7 +194,7 @@ static int doTest(uint8_t *ref[4], int r
                 goto end;
             }
         }
-        outContext= sws_getContext(dstW, dstH, dstFormat, w, h, PIX_FMT_YUVA420P, flags, NULL, NULL, NULL);
+        outContext= sws_getContext(dstW, dstH, dstFormat, w, h, PIX_FMT_YUVA420P, SWS_BILINEAR, NULL, NULL, NULL);
         if (!outContext) {
             fprintf(stderr, "Failed to get %s ---> %s\n",
                     av_pix_fmt_descriptors[dstFormat].name,



More information about the ffmpeg-cvslog mailing list