[SCM] libav/experimental: swscale-test: always use bilinear scaler to get output for SSD

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:15:51 UTC 2013


The following commit has been merged in the experimental branch:
commit f1084cb0cd439369f7e07974aebad71386a72ab6
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Thu Sep 16 00:41:08 2010 +0000

    swscale-test: always use bilinear scaler to get output for SSD
    
    Originally committed as revision 32256 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale-test.c b/libswscale/swscale-test.c
index 1ea240d..3562e98 100644
--- a/libswscale/swscale-test.c
+++ b/libswscale/swscale-test.c
@@ -194,7 +194,7 @@ static int doTest(uint8_t *ref[4], int refStride[4], int w, int h,
                 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,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list