• Miguel Casas's avatar
    media/gpu: FIX disable-VP8 decoding on BDW -- for VA-API only · 43b04d3a
    Miguel Casas authored
    crrev.com/c/2398906 wired |disable_accelerated_vp8_decode| for the video
    profile enumerations. This is usually correct, because ChromeOS devices
    come with only one of those APIs, but some devices (namely guado, rikku
    and buddy), are Chromeboxes with VA-API (because they are Intel) and
    V4L2 (for a video acceleration chipset). In this case, the GPU driver
    workaround should apply to the VA only.
    
    This CL basically removes the profile filtering from the top level
    profile enumerations in gpu_mojo_media_client.cc and
    gpu_video_decode_accelerator_factory.cc, and pushes it down the class
    callstack to VaapiWrapper.
    
    Bug: 1126058, b/167923822, b/168645037
    Change-Id: Ic435826303cb01d71f6554acba798b38c5f0b8fc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2419262Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Commit-Queue: Miguel Casas <mcasas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#808538}
    43b04d3a
vaapi_unittest.cc 9.21 KB