projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a79101
)
test widths all down to one. this tests whether the scalers correctly switch
author
Ivo van Poorten
<ivop@euronet.nl>
Wed, 18 Apr 2007 14:22:42 +0000
(14:22 +0000)
committer
Ivo van Poorten
<ivop@euronet.nl>
Wed, 18 Apr 2007 14:22:42 +0000
(14:22 +0000)
to plain C when width < unit size of assembly code.
Originally committed as revision 23018 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/cs_test.c
patch
|
blob
|
history
diff --git
a/libswscale/cs_test.c
b/libswscale/cs_test.c
index 96834f898d5b5d213ccee01c8051f78135dc112c..90c8099c3094aae599c1df5dbbed5d672723bfd5 100644
(file)
--- a/
libswscale/cs_test.c
+++ b/
libswscale/cs_test.c
@@
-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;