mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
swscale-test: change order tests are run, maintaining the same algorithm for
sequential geometries instead of running all algorithms sequentially for each geometry. Originally committed as revision 31775 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
9fddd14a8e
commit
da78053af0
@ -218,9 +218,9 @@ static void selfTest(uint8_t *ref[4], int refStride[4], int w, int h)
|
|||||||
av_pix_fmt_descriptors[dstFormat].name);
|
av_pix_fmt_descriptors[dstFormat].name);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
|
||||||
|
for (k = 0; flags[k] && !res; k++)
|
||||||
for (i = 0; dstW[i] && !res; i++)
|
for (i = 0; dstW[i] && !res; i++)
|
||||||
for (j = 0; dstH[j] && !res; j++)
|
for (j = 0; dstH[j] && !res; j++)
|
||||||
for (k = 0; flags[k] && !res; k++)
|
|
||||||
res = doTest(ref, refStride, w, h, srcFormat, dstFormat,
|
res = doTest(ref, refStride, w, h, srcFormat, dstFormat,
|
||||||
srcW, srcH, dstW[i], dstH[j], flags[k]);
|
srcW, srcH, dstW[i], dstH[j], flags[k]);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user