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

ramiro subversion
Fri Jul 23 22:26:33 CEST 2010


Author: ramiro
Date: Fri Jul 23 22:26:32 2010
New Revision: 31775

Log:
swscale-test: change order tests are run, maintaining the same algorithm for
sequential geometries instead of running all algorithms sequentially for each
geometry.

Modified:
   trunk/libswscale/swscale-test.c

Modified: trunk/libswscale/swscale-test.c
==============================================================================
--- trunk/libswscale/swscale-test.c	Fri Jul 23 15:12:31 2010	(r31774)
+++ trunk/libswscale/swscale-test.c	Fri Jul 23 22:26:32 2010	(r31775)
@@ -218,9 +218,9 @@ static void selfTest(uint8_t *ref[4], in
                    av_pix_fmt_descriptors[dstFormat].name);
             fflush(stdout);
 
+            for (k = 0; flags[k] && !res; k++)
             for (i = 0; dstW[i] && !res; i++)
                 for (j = 0; dstH[j] && !res; j++)
-                    for (k = 0; flags[k] && !res; k++)
                         res = doTest(ref, refStride, w, h, srcFormat, dstFormat,
                                      srcW, srcH, dstW[i], dstH[j], flags[k]);
         }



More information about the ffmpeg-cvslog mailing list