[MPlayer-cvslog] r23018 - trunk/libswscale/cs_test.c

ivo subversion at mplayerhq.hu
Wed Apr 18 16:22:42 CEST 2007


Author: ivo
Date: Wed Apr 18 16:22:42 2007
New Revision: 23018

Modified:
   trunk/libswscale/cs_test.c

Log:
test widths all down to one. this tests whether the scalers correctly switch
to plain C when width < unit size of assembly code.


Modified: trunk/libswscale/cs_test.c
==============================================================================
--- trunk/libswscale/cs_test.c	(original)
+++ trunk/libswscale/cs_test.c	Wed Apr 18 16:22:42 2007
@@ -118,7 +118,7 @@ int main(int argc, char **argv)
         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;



More information about the MPlayer-cvslog mailing list