diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-29 01:14:27 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-09-29 01:14:27 +0000 |
commit | 0c42ebdc5cf7188bbbdf3dee1dd0eda32ff0dfc4 (patch) | |
tree | 7ba11d96a77c1608a678154b4d2329d95e851d89 /libswscale | |
parent | f627d46a0da66e4f8124424d057fe739eb1aa0c9 (diff) |
Print all cases that are tested, not just the ones that are bad.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27670 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale-example.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c index 4bb42162ef..3e73b52b3b 100644 --- a/libswscale/swscale-example.c +++ b/libswscale/swscale-example.c @@ -27,7 +27,7 @@ #undef HAVE_AV_CONFIG_H #include "libavutil/avutil.h" #include "swscale.h" -#include "swscale_internal.h" +//#include "swscale_internal.h" #include "rgb2rgb.h" static uint64_t getSSD(uint8_t *src1, uint8_t *src2, int stride1, int stride2, int w, int h){ @@ -133,14 +133,12 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat ssdU/= w*h/4; ssdV/= w*h/4; - if (ssdY>100 || ssdU>100 || ssdV>100){ printf(" %s %dx%d -> %s %4dx%4d flags=%2d SSD=%5lld,%5lld,%5lld\n", sws_format_name(srcFormat), srcW, srcH, sws_format_name(dstFormat), dstW, dstH, flags, ssdY, ssdU, ssdV); fflush(stdout); - } end: |