[webkit-changes] [WebKit/WebKit] de69fd: Use CVBufferGetAttachment or IOSurfaceGetYCbCrMatr...
mwyrzykowski
noreply at github.com
Wed Oct 18 09:10:56 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: de69fde68bd5ee275c25c52a160b3fc803366368
https://github.com/WebKit/WebKit/commit/de69fde68bd5ee275c25c52a160b3fc803366368
Author: Mike Wyrzykowski <mwyrzykowski at apple.com>
Date: 2023-10-18 (Wed, 18 Oct 2023)
Changed paths:
M Source/WebGPU/WebGPU/BindGroup.mm
Log Message:
-----------
Use CVBufferGetAttachment or IOSurfaceGetYCbCrMatrix instead of hard coding the YCbCr matrix
https://bugs.webkit.org/show_bug.cgi?id=258938
<radar://111858329>
Reviewed by Dan Glastonbury.
Support other video and full formats than 709 video.
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::pixelRangeFromPixelFormat):
(WebGPU::transferFunctionFromString):
(WebGPU::colorSpaceConversionMatrixForPixelBuffer):
Canonical link: https://commits.webkit.org/269470@main
More information about the webkit-changes
mailing list