summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-example.c
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/swscale-example.c')
-rw-r--r--libswscale/swscale-example.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/libswscale/swscale-example.c b/libswscale/swscale-example.c
index 4bb42162ef..b5f8d5e230 100644
--- a/libswscale/swscale-example.c
+++ b/libswscale/swscale-example.c
@@ -133,14 +133,11 @@ 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);
- }
+ 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:
@@ -157,10 +154,6 @@ static int doTest(uint8_t *ref[3], int refStride[3], int w, int h, int srcFormat
return res;
}
-void fast_memcpy(void *a, void *b, int s){ //FIXME
- memcpy(a, b, s);
-}
-
static void selfTest(uint8_t *src[3], int stride[3], int w, int h){
enum PixelFormat srcFormat, dstFormat;
int srcW, srcH, dstW, dstH;