Closed GoogleCodeExporter closed 9 years ago
rotate has its own width/height variables which are set to 128x128
for (iw = 16; iw < rotate_max_w_ && !err; iw += 2) {
for (ih = 8; ih < rotate_max_h_ && !err; ++ih) {
and the tests exhaustively try all resolutions up to that size.
suggest testing 1 size, but settable.
Original comment by fbarch...@google.com
on 24 Oct 2012 at 7:40
djb2 had hard coded size. removed the 'test' and use benchmark, which respects
size and compares properly.
hard coded destination sizes for scale makes sense, but extremely large sizes
removed.
c:\src\libyuv\trunk>sed "s/\(.*(\)\([0-9]*\)\( ms)\)/\2 - \1\2\3/g" |
\cygwin\bin\sort -rn | grep ms
90 - [ OK ] libyuvTest.ARGBScaleTo1366x768 (90 ms)
59 - [ OK ] libyuvTest.ScaleTo1366x768 (59 ms)
38 - [ OK ] libyuvTest.ARGBScaleTo853x480 (38 ms)
25 - [ OK ] libyuvTest.ScaleTo853x480 (25 ms)
5 - [ OK ] libyuvTest.ARGBScaleDownBy5 (5 ms)
5 - [ OK ] libyuvTest.ARGBScaleDownBy34 (5 ms)
5 - [ OK ] libyuvTest.ARGBScaleDownBy2 (5 ms)
5 - [ OK ] libyuvTest.ARGBScaleDownBy16 (5 ms)
4 - [ OK ] libyuvTest.ARGBScaleDownBy8 (4 ms)
4 - [ OK ] libyuvTest.ARGBScaleDownBy4 (4 ms)
4 - [ OK ] libyuvTest.ARGBScaleDownBy38 (4 ms)
3 - [ OK ] libyuvTest.Ssim (3 ms)
3 - [ OK ] libyuvTest.ARGBRotate90 (3 ms)
3 - [ OK ] libyuvTest.ARGBRotate180_Odd (3 ms)
Original comment by fbarch...@google.com
on 24 Oct 2012 at 7:44
linux reduced to: 465 tests from 1 test case ran. (950 ms total)
arm test 464 tests from 1 test case ran. (2172 ms total)
Original comment by fbarch...@google.com
on 25 Oct 2012 at 5:16
Original comment by fbarch...@chromium.org
on 25 Oct 2012 at 9:37
Original issue reported on code.google.com by
fbarch...@google.com
on 24 Oct 2012 at 7:26