• Francois Buergisser's avatar
    media/gpu/v4l2: Check request support in queue. · 0f8d0fe9
    Francois Buergisser authored
    The queue's support is currently checked in the video decoder but the
    queue should be responsible to check whether it does support requests or not.
    This patch moves the check for the request support to the V4L2Queue
    constructor.
    
    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.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 video_decode_accelerator_tests w/ vp8 & h264 videos but w/o VD on kevin.
    Signed-off-by: default avatarFrancois Buergisser <fbuergisser@chromium.org>
    Change-Id: I8c7559f2e84e0ed0690ba439e121e8b07154ed45
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1950048Reviewed-by: default avatarAlexandre Courbot <acourbot@chromium.org>
    Commit-Queue: Alexandre Courbot <acourbot@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#730059}
    0f8d0fe9
v4l2_device.h 29.7 KB