bluceldg / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

3/4 scale bug on odd widths #433

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
set LIBYUV_WIDTH=1276
set LIBYUV_HEIGHT=720

out\release\libyuv_unittest.exe --gtest_catch_exceptions=0 
--gtest_filter=*.Scale*
Note: Google Test filter = *.Scale*
[==========] Running 72 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 72 tests from libyuvTest
[       OK ] libyuvTest.ScaleDownBy8_Box (1081 ms)
[ RUN      ] libyuvTest.ScaleDownBy3by4_None
filter 0 -      413 us C -      195 us OPT
c:\src\libyuv2\trunk\unit_test\scale_test.cc(291): error: Expected: (diff) <= 
(0), actual: 254 vs 0
[  FAILED  ] libyuvTest.ScaleDownBy3by4_None (799 ms)
[ RUN      ] libyuvTest.ScaleDownBy3by4_Linear
filter 1 -     1818 us C -      354 us OPT
c:\src\libyuv2\trunk\unit_test\scale_test.cc(291): error: Expected: (diff) <= 
(3), actual: 210 vs 3
[  FAILED  ] libyuvTest.ScaleDownBy3by4_Linear (1434 ms)
[ RUN      ] libyuvTest.ScaleDownBy3by4_Bilinear
filter 2 -     2185 us C -      414 us OPT
c:\src\libyuv2\trunk\unit_test\scale_test.cc(291): error: Expected: (diff) <= 
(3), actual: 176 vs 3
[  FAILED  ] libyuvTest.ScaleDownBy3by4_Bilinear (1677 ms)
[ RUN      ] libyuvTest.ScaleDownBy3by4_Box
filter 3 -     2345 us C -      413 us OPT
c:\src\libyuv2\trunk\unit_test\scale_test.cc(291): error: Expected: (diff) <= 
(3), actual: 175 vs 3
[  FAILED  ] libyuvTest.ScaleDownBy3by4_Box (1669 ms)

Original issue reported on code.google.com by fbarch...@google.com on 30 Apr 2015 at 2:19

GoogleCodeExporter commented 9 years ago
https://webrtc-codereview.appspot.com/49219004

Original comment by fbarch...@google.com on 30 Apr 2015 at 2:21

GoogleCodeExporter commented 9 years ago
fixed in r1391

Original comment by fbarch...@google.com on 30 Apr 2015 at 8:57