• Hirokazu Honda's avatar
    media/gpu/test VideoFrameValidator: Compare each decoded picture (yuv) with golden md5 · adc481c9
    Hirokazu Honda authored
    Decoded pictures (i.e. yuv format) on h264, vp8 and vp9 must be identical on any
    platforms, except its pixel format and device alignment.
    VideoFrameValidator checks soundness of each decoded picture comparing its
    md5sum value with golden md5sum.
    VideoFrameMapper used by VideoFrameValidator map decoded pictures and converts
    them, by libyuv, to I420 picture to resolve pixel format and device alignment
    differences.
    
    This change is the first step for it. VideoFrameValidator would support non
    tiled buffers.
    
    BUG=chromium:856562
    TEST=VDA unittest on h264, vp8 and vp9 with --frame_validator at veyron_minnie and kevin,
    $ ./video_decode_accelerator_unittest --test_video_data=test-25fps.vp8:320:240:250:250:35:150:11 --ozone-platform=gbm --gtest_filter=Thumbnail/VideoDecodeAcceleratorParamTest.TestSimpleDecode/0 --test_import --frame_validator
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: Iddd284bd47b2a5bb9921dc8d54f9d77ed694f5ad
    Reviewed-on: https://chromium-review.googlesource.com/c/1172266
    Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
    Reviewed-by: default avatarAlexandre Courbot <acourbot@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#601216}
    adc481c9
BUILD.gn 17.2 KB