• Francois Buergisser's avatar
    media/gpu/v4l2: Abstract buffer usage inside reference · 92a67a9a
    Francois Buergisser authored
    The writable buffer references are passing their buffers to
    the decode surface to set the controls, requests or config store
    settings which is making the writable buffer references aware of the
    decoded surface.
    This patch removes references to the decode surfaces in the writable
    buffer reference and at the same time simplifies to the decode surface
    submission.
    
    BUG=chromium:1009921
    TEST=ran tast with video.DecodeAccelVD.vp8_resolution_switch on veyron_minnie.
    TEST=ran tast with video.DecodeAccelVD.h264_resolution_switch on veyron_minnie.
    TEST=ran tast with video.DecodeAccelVD.vp8 on veyron_minnie.
    TEST=ran tast with video.DecodeAccelVD.h264 on veyron_minnie.
    TEST=ran tast with video.DecodeAccel.vp8 on veyron_minnie.
    TEST=ran tast with video.DecodeAccel.h264 on veyron_minnie.
    TEST=ran tast with video.DecodeAccelVD.vp8_resolution_switch on kevin.
    TEST=ran tast with video.DecodeAccelVD.h264_resolution_switch on kevin.
    TEST=ran tast with video.DecodeAccelVD.vp8 on kevin.
    TEST=ran tast with video.DecodeAccelVD.h264 on kevin.
    TEST=ran tast with video.DecodeAccel.vp8 on kevin.
    TEST=ran tast with video.DecodeAccel.h264 on kevin.
    Signed-off-by: default avatarFrancois Buergisser <fbuergisser@chromium.org>
    Change-Id: I5097a2bb9b2ce1ede7e7ad573d37a47d15dfaf26
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1969411Reviewed-by: default avatarAlexandre Courbot <acourbot@chromium.org>
    Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#730065}
    92a67a9a
v4l2_decode_surface.h 6.11 KB