VaVDA: Use kReduced for H.264 on older boards.
CL:2246846 modified the VaapiVideoDecodeAccelerator to use BufferAllocationMode::kNone for H.264 on Gemini Lake or later. However, for older devices, it started using kSuperReduced mode which caused widespread failures on resolution change tests. This CL brings back the original fallback to kReduced for H.264 which shouldn't have been removed in the previous CL anyway. Bug: b:159661743, b:159659506, 910986, 1054097 Test: video.DecodeAccel.h264_resolution_switch on pyro & caroline. Test: video.Seek.switch_h264_alt on pyro & caroline. Change-Id: I3eb883b8d68c60469751db4a12049ab56e60a0b4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2260937 Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Miguel Casas <mcasas@chromium.org> Reviewed-by:Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#781440}
Showing
Please register or sign in to comment