• Frank Barchard's avatar
    Add LibYUVConvertTest.TestH010ToAR30 unittest · 37f97210
    Frank Barchard authored
    Tests accuracy of H010ToAR30 on grey scale ramp against float
    and computes a histogram to detect number of unique shades for
    each channel.
    
    With 2 step intermediate using 8 bit RGB, the test shows 256
    unique values.
    
    [ RUN      ] LibYUVConvertTest.TestH420ToARGB
    uniques: B 220, G, 220, R 220
    [       OK ] LibYUVConvertTest.TestH420ToARGB (0 ms)
    [ RUN      ] LibYUVConvertTest.TestH010ToARGB
    uniques: B 256, G, 256, R 256
    [       OK ] LibYUVConvertTest.TestH010ToARGB (0 ms)
    [ RUN      ] LibYUVConvertTest.TestH010ToAR30
    uniques: B 256, G, 256, R 256
    [       OK ] LibYUVConvertTest.TestH010ToAR30 (0 ms)
    
    Bug: libyuv:751
    Test  LibYUVConvertTest.TestH010ToAR30 unittest
    
    Change-Id: I6b1e1209247cb00b79b594127b02dae5217dc400
    Reviewed-on: https://chromium-review.googlesource.com/875317Reviewed-by: 's avatarMiguel Casas <mcasas@chromium.org>
    Commit-Queue: Frank Barchard <fbarchard@chromium.org>
    37f97210
Name
Last commit
Last update
..
testdata Loading commit data...
basictypes_test.cc Loading commit data...
color_test.cc Loading commit data...
compare_test.cc Loading commit data...
convert_test.cc Loading commit data...
cpu_test.cc Loading commit data...
cpu_thread_test.cc Loading commit data...
math_test.cc Loading commit data...
planar_test.cc Loading commit data...
rotate_argb_test.cc Loading commit data...
rotate_test.cc Loading commit data...
scale_argb_test.cc Loading commit data...
scale_test.cc Loading commit data...
unit_test.cc Loading commit data...
unit_test.h Loading commit data...
video_common_test.cc Loading commit data...