1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

test widths all down to one. this tests whether the scalers correctly switch

to plain C when width < unit size of assembly code.

Originally committed as revision 23018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Ivo van Poorten 2007-04-18 14:22:42 +00:00
parent 9a79101f1e
commit 0c4c70e5ef

View File

@ -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;