Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e2da729cfdb7f1016578760776ee1baa4367532b
https://github.com/WebKit/WebKit/commit/e2da729cfdb7f1016578760776ee1baa4367532b
Author: Jean-Yves Avenard <[email protected]>
Date: 2025-12-15 (Mon, 15 Dec 2025)
Changed paths:
M Source/WebCore/platform/graphics/AV1Utilities.cpp
M Source/WebCore/platform/graphics/AV1Utilities.h
M
Source/WebCore/platform/graphics/avfoundation/FormatDescriptionUtilities.cpp
M Source/WebCore/platform/graphics/cocoa/AV1UtilitiesCocoa.h
M Source/WebCore/platform/graphics/cocoa/AV1UtilitiesCocoa.mm
M Source/WebCore/platform/video-codecs/cocoa/RTCVideoDecoderVTBAV1.mm
Log Message:
-----------
parseSequenceHeaderOBU should return a AV1CodecConfigurationRecord
https://bugs.webkit.org/show_bug.cgi?id=304108
rdar://166439682
Reviewed by Youenn Fablet.
Replace ParsedSequenceHeaderParameters with AV1CodecConfigurationRecord
Amend AV1CodecConfigurationRecord to store video dimensions
Have parseAV1DecoderConfigurationRecord take a span and use a BitReader instead
of a JSC::DataView
This avoids two memory allocations.
Amend parseSequenceHeaderOBU to fully decode the Sequence Header OBU and
retrieved the full colour profile when possible.
We'll use this method in a future change to create a VideoInfo structure
where full colour profile is required.
* Source/WebCore/platform/graphics/AV1Utilities.cpp:
(WebCore::parseAV1DecoderConfigurationRecord):
(WebCore::parseSequenceHeaderOBU):
* Source/WebCore/platform/graphics/AV1Utilities.h:
* Source/WebCore/platform/graphics/cocoa/AV1UtilitiesCocoa.h:
* Source/WebCore/platform/graphics/cocoa/AV1UtilitiesCocoa.mm:
(WebCore::readULEBSize):
(WebCore::getSequenceHeaderOBU):
(WebCore::computeAV1InputFormat):
* Source/WebCore/platform/video-codecs/cocoa/RTCVideoDecoderVTBAV1.mm:
(BitReader::BitReader): Deleted.
(BitReader::read): Deleted.
(BitReader::readBit): Deleted.
(readULEBSize): Deleted.
(getSequenceHeaderOBU): Deleted.
(parseSequenceHeaderOBU): Deleted.
(computeAV1InputFormat): Deleted.
Canonical link: https://commits.webkit.org/304474@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications