# HG changeset patch # User ivo # Date 1176906162 0 # Node ID 16ae5604c82b804706e41203dadfe1be84e5439e # Parent 4995261836456c6fac4b0a4e6a1b9b62b1899a74 test widths all down to one. this tests whether the scalers correctly switch to plain C when width < unit size of assembly code. diff -r 499526183645 -r 16ae5604c82b libswscale/cs_test.c --- a/libswscale/cs_test.c Wed Apr 18 09:58:04 2007 +0000 +++ b/libswscale/cs_test.c Wed Apr 18 14:22:42 2007 +0000 @@ -118,7 +118,7 @@ av_log(NULL, AV_LOG_INFO,"."); memset(srcBuffer, srcByte, SIZE); - for(width=32; width<64; width++){ + for(width=63; width>0; width--){ int dstOffset; for(dstOffset=128; dstOffset<196; dstOffset+=4){ int srcOffset;