Revert "media/gpu/vaapiWrapper: Don't use hw decoder with hybrid driver for smaller resolutions"
This reverts commit e95b4797. Reason for revert: This breaks lower resolution test cases in ARC++/ARCVM. Original change's description: > 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} TBR=mcasas@chromium.org,hiroh@chromium.org,andrescj@chromium.org,chromium-scoped@luci-project-accounts.iam.gserviceaccount.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: b:171041334,b:175509204,b:175515392 Change-Id: I31705d7af2c586f17f4b17722f26cae49d4bd9e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2588674Reviewed-by:Hirokazu Honda <hiroh@chromium.org> Reviewed-by:
David Staessens <dstaessens@chromium.org> Commit-Queue: David Staessens <dstaessens@chromium.org> Cr-Commit-Position: refs/heads/master@{#836923}
Showing
Please register or sign in to comment