-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SkiaRenderer: Use bit depth in YUV to RGB conversion
In VideoResourceUpdater::CreateForHardwarePlanes, set the bit depth of the video. Include bit depth in ColorConversionSkFilterCache parameters. Apply the workaround that treats 16-bit content as 10-bit to more places in gfx::ColorSpace. Bug: 1348566, 1381100 Change-Id: I8383c01eadad2a41547722752d0734b7950e67af Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4002050 Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Commit-Queue: ccameron chromium <ccameron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1067342}
- Loading branch information
1 parent
40f712f
commit 3804dfb
Showing
6 changed files
with
44 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters