[webkit-changes] [WebKit/WebKit] 21cf92: [Cocoa] Support ST-2094-40 HDR metadata in WebM
Jer Noble
noreply at github.com
Mon Feb 10 13:16:45 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 21cf922c1e0eb63750d31d1ee867adde01b7a687
https://github.com/WebKit/WebKit/commit/21cf922c1e0eb63750d31d1ee867adde01b7a687
Author: Jer Noble <jer.noble at apple.com>
Date: 2025-02-10 (Mon, 10 Feb 2025)
Changed paths:
M Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp
M Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h
M Source/WebCore/platform/MediaSample.h
M Source/WebCore/platform/graphics/cocoa/CMUtilities.mm
M Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp
M Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.h
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
[Cocoa] Support ST-2094-40 HDR metadata in WebM
https://bugs.webkit.org/show_bug.cgi?id=286632
rdar://143771446
Reviewed by Jean-Yves Avenard.
Add support for parsing HDR10+ (aka SMPTE ST 2094-40) per-frame metadata
from WebM's BlockAdditional element, and passing that metadata through
the resulting CMSampleBuffer.
* Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp:
* Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h:
* Source/WebCore/platform/MediaSample.h:
* Source/WebCore/platform/graphics/cocoa/CMUtilities.mm:
(WebCore::toCMSampleBuffer):
* Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.cpp:
(WebCore::WebMParser::OnBlockGroupBegin):
(WebCore::WebMParser::OnBlockGroupEnd):
(WebCore::WebMParser::VideoTrackData::consumeAdditionalBlockData):
* Source/WebCore/platform/graphics/cocoa/SourceBufferParserWebM.h:
(WebCore::WebMParser::TrackData::consumeAdditionalBlockData):
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
Canonical link: https://commits.webkit.org/290180@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list