media/gpu: Reject non 8 bit stream in VaapiVDA/V4L2SVD(A)
No existing ChromeOS arm device supports non 8 bit stream decoding. VaapiVideoDecodeAccelerator implementation doesn't support non 8 bit stream decoding. We have relied on underlying implementations (e.g. drivers and firmware) to filter non 8 bit streams. AcceleratedVideoDecoder has a getter function for the bit depth of an input stream. This CL filters out non 8 bit streams in chrome by calling the getter function. Bug: b:174798524 Test: video_decode_accelerator_tests test-25fps.vp9_2 on scarlet and atlas Change-Id: I9071649740cd0ddab889887f09cabf598d38ec09 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576298 Auto-Submit: Hirokazu Honda <hiroh@chromium.org> Commit-Queue: Alexandre Courbot <acourbot@chromium.org> Reviewed-by:Alexandre Courbot <acourbot@chromium.org> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Reviewed-by:
Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#836028}
Showing
Please register or sign in to comment