changeset 31709:23da85584b4f

swscale-test: change order tests are run, maintaining the same algorithm for sequential geometries instead of running all algorithms sequentially for each geometry.
author ramiro
date Fri, 23 Jul 2010 20:26:32 +0000
parents 210a4368604f
children fdf6c4b7aa3a
files libswscale/swscale-test.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale-test.c	Fri Jul 23 13:12:31 2010 +0000
+++ b/libswscale/swscale-test.c	Fri Jul 23 20:26:32 2010 +0000
@@ -218,9 +218,9 @@
                    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]);
         }