• Hirokazu Honda's avatar
    media/gpu/test/VFValidator: Get model frame by callback · cd4c2f1b
    Hirokazu Honda authored
    VideoFrameValidator compares a video frame passed on Process()
    with the model frame. The model frames are set at
    Initialize() and VideoFrameValidator keeps them during the test.
    
    The memory usage of the model frame can be large if we use
    VideoFrameValidator for encoder test. We would rather give
    VideoFrameValidator a callback to get a model frame, so that
    we can keep model frames needed at that time in the test.
    
    Bug: 1044452
    Test: image_processor_test on kevin
    Change-Id: Id3a4a76c8d149bb5e4b349ab67a087bc9bdaf45d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2024769
    Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
    Reviewed-by: default avatarDavid Staessens <dstaessens@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#744628}
    cd4c2f1b
video_frame_validator.cc 9.62 KB