Narendrabrsoft / libyuv

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

[ FAILED ] LibYUVColorTest.TestJ420 on ARMv7 #511

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
util/android/test_runner.py gtest -s libyuv_unittest -t 1800 --verbose 
--release --gtest_filter=*ColorTest* -a "--libyuv_width=1280 
--libyuv_height=720 --libyuv_repeat=999 --libyuv_flags=-1"

I   58.996s run_tests_on_device(HT4A2JT03762)  [==========] 1 test from 1 test 
case ran. (3325 ms total)
I   58.996s run_tests_on_device(HT4A2JT03762)  [  PASSED  ] 0 tests.
I   58.996s run_tests_on_device(HT4A2JT03762)  [  FAILED  ] 1 test, listed 
below:
I   58.996s run_tests_on_device(HT4A2JT03762)  [  FAILED  ] 
LibYUVColorTest.TestJ420
I   58.996s run_tests_on_device(HT4A2JT03762)
I   58.996s run_tests_on_device(HT4A2JT03762)   1 FAILED TEST
I   58.996s run_tests_on_device(HT4A2JT03762)
I   58.997s run_tests_on_device(HT4A2JT03762)  FAILURES!!! Tests run: 2, 
Failures: 2, Errors: 0
I   58.997s run_tests_on_device(HT4A2JT03762)  Finished running tests on this 
device.
I   59.014s Main  FINISHED TRY #3/3
I   59.014s Main  1 failed tests remain.
C   59.014s Main  
********************************************************************************
C   59.014s Main  Detailed Logs
C   59.014s Main  
********************************************************************************
C   59.015s Main  [FAIL] LibYUVColorTest.TestJ420:
C   59.015s Main  [ RUN      ] LibYUVColorTest.TestJ420
C   59.015s Main  ../../unit_test/color_test.cc:136: Failure
C   59.015s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.015s Main  static_cast<int>(orig_pixels[i]) evaluates to 0,
C   59.015s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 5, and
C   59.015s Main  4 evaluates to 4.
C   59.015s Main  ../../unit_test/color_test.cc:136: Failure
C   59.015s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.015s Main  static_cast<int>(orig_pixels[i]) evaluates to 0,
C   59.015s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 5, and
C   59.015s Main  4 evaluates to 4.
C   59.015s Main  ../../unit_test/color_test.cc:136: Failure
C   59.015s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.016s Main  static_cast<int>(orig_pixels[i]) evaluates to 0,
C   59.016s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 5, and
C   59.016s Main  4 evaluates to 4.
C   59.016s Main  ../../unit_test/color_test.cc:136: Failure
C   59.016s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.016s Main  static_cast<int>(orig_pixels[i]) evaluates to 0,
C   59.016s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 5, and
C   59.016s Main  4 evaluates to 4.
C   59.016s Main  ../../unit_test/color_test.cc:136: Failure
C   59.016s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.016s Main  static_cast<int>(orig_pixels[i]) evaluates to 5,
C   59.016s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 10, and
C   59.016s Main  4 evaluates to 4.
C   59.016s Main  ../../unit_test/color_test.cc:136: Failure
C   59.016s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.016s Main  static_cast<int>(orig_pixels[i]) evaluates to 5,
C   59.017s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 10, and
C   59.017s Main  4 evaluates to 4.
C   59.017s Main  ../../unit_test/color_test.cc:136: Failure
C   59.017s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.017s Main  static_cast<int>(orig_pixels[i]) evaluates to 5,
C   59.017s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 10, and
C   59.017s Main  4 evaluates to 4.
C   59.017s Main  ../../unit_test/color_test.cc:136: Failure
C   59.017s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.017s Main  static_cast<int>(orig_pixels[i]) evaluates to 5,
C   59.017s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 10, and
C   59.017s Main  4 evaluates to 4.
C   59.017s Main  ../../unit_test/color_test.cc:136: Failure
C   59.017s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.017s Main  static_cast<int>(orig_pixels[i]) evaluates to 254,
C   59.017s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 249, and
C   59.018s Main  4 evaluates to 4.
C   59.018s Main  ../../unit_test/color_test.cc:136: Failure
C   59.018s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.018s Main  static_cast<int>(orig_pixels[i]) evaluates to 254,
C   59.018s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 249, and
C   59.018s Main  4 evaluates to 4.
C   59.018s Main  ../../unit_test/color_test.cc:136: Failure
C   59.018s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.018s Main  static_cast<int>(orig_pixels[i]) evaluates to 254,
C   59.018s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 249, and
C   59.018s Main  4 evaluates to 4.
C   59.018s Main  ../../unit_test/color_test.cc:136: Failure
C   59.018s Main  The difference between static_cast<int>(orig_pixels[i]) and 
static_cast<int>(dst_pixels_opt[i]) is 5, which exceeds 4, where
C   59.018s Main  static_cast<int>(orig_pixels[i]) evaluates to 254,
C   59.018s Main  static_cast<int>(dst_pixels_opt[i]) evaluates to 249, and
C   59.018s Main  4 evaluates to 4.
C   59.019s Main  [  FAILED  ] LibYUVColorTest.TestJ420 (3323 ms)
C   59.019s Main  
********************************************************************************
C   59.019s Main  Summary
C   59.019s Main  
********************************************************************************
C   59.019s Main  [==========] 10 tests ran.
C   59.019s Main  [  PASSED  ] 9 tests.
C   59.019s Main  [  FAILED  ] 1 test, listed below:
C   59.019s Main  [  FAILED  ] LibYUVColorTest.TestJ420
C   59.019s Main
C   59.019s Main  1 FAILED TEST

Original issue reported on code.google.com by fbarch...@chromium.org on 22 Oct 2015 at 6:20

GoogleCodeExporter commented 8 years ago
Fixed in r1520
Increased allowable error to 5 for J420 on Arm.

Should consider improving ARGBToJ420 subsampling accuracy

Original comment by fbarch...@chromium.org on 22 Oct 2015 at 6:28