• Hirokazu Honda's avatar
    media/gpu/test/VFValidator: Add validation by comparing each byte value · e9781080
    Hirokazu Honda authored
    VideoFrameValidator validates frames by comparing with expected md5sum. The
    validation is appropriate for deterministic image/video processing like video
    decoding and format conversion among YUVs. There are various non-deterministic
    image/video processing like frame scaling. So that VideoFrameValidator can
    verify resulted frames in such cases, this enables VideoFrameValidator to
    validate by comparing each byte of a given buffer with one of an expected
    buffer.
    
    Bug: 917951
    Test: image_processor_test on atlas (pass) and eve (fail due to b/141724493)
    Change-Id: I19dac5df329d9c838edc184dedf2582cd72beead
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866114
    Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
    Reviewed-by: default avatarDavid Staessens <dstaessens@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#710226}
    e9781080
video_frame_helpers.cc 15.5 KB