changeset 27638:8f1fd6221f8a

Print all cases that are tested, not just the ones that are bad.
author michael
date Mon, 29 Sep 2008 01:14:27 +0000
parents 5abf906c09c8
children 34973f69dc42
files libswscale/swscale-example.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale-example.c	Mon Sep 29 01:08:01 2008 +0000
+++ b/libswscale/swscale-example.c	Mon Sep 29 01:14:27 2008 +0000
@@ -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 @@
     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: