media/gpu/vaapiWrapper: Don't use hw decoder with hybrid driver for smaller resolutions
The performance of the decoder with the intel hybrid driver [1] is worse than a sw decoder especially when multiple decoders run simultaneously. For instance, a video call app (e.g. Meet) likely requires us to decode more than 10 smaller resolution videos. The user experience is better by using sw decoders than the hw decoder in these cases. This CL selects sw decoder for QVGA and smaller resolutions by setting the minimum supported resolution of the hw decoder to 321x241. This dimension is selected from the fact that the resolutions of videos in tile layout in Google Meet are QVGA. [1] https://github.com/intel/intel-hybrid-driver Bug: b:171041334 Test: tast run webrtc.* Test: SW decoder is used in https://appr.tc/?vsc=vp9&vrc=vp9&video=minWidth=320,maxWidth=320,minHeight=240,maxHeight=240 Change-Id: I9b19878aae57587bab921481d7dca5087d7f538b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494521 Commit-Queue: Hirokazu Honda <hiroh@chromium.org> Reviewed-by:Andres Calderon Jaramillo <andrescj@chromium.org> Reviewed-by:
Miguel Casas <mcasas@chromium.org> Cr-Commit-Position: refs/heads/master@{#832616}
Showing
Please register or sign in to comment