[webkit-changes] [WebKit/WebKit] 0a2267: Add abstract decoder support in LibWebRTCCodecsProxy
youennf
noreply at github.com
Wed Dec 7 01:44:57 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0a22679f00e8b64805cf40c8d6c50a98a7fda1a8
https://github.com/WebKit/WebKit/commit/0a22679f00e8b64805cf40c8d6c50a98a7fda1a8
Author: Youenn Fablet <youennf at gmail.com>
Date: 2022-12-07 (Wed, 07 Dec 2022)
Changed paths:
M Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp
M Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
A Source/WebCore/platform/mediastream/cocoa/WebRTCVideoDecoder.h
A Source/WebCore/platform/mediastream/cocoa/WebRTCVideoDecoder.mm
M Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.h
M Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm
M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp
Log Message:
-----------
Add abstract decoder support in LibWebRTCCodecsProxy
https://bugs.webkit.org/show_bug.cgi?id=248753
rdar://problem/102976377
Reviewed by Eric Carlson.
Add WebRTCVideoDecoder interface to allow moving WebRTC decoders from libwebrtc to WebCore.
This is better to do this since we are now using these decoders for WebCodecs.
Add a specific class to wrap existing libwebrtc decoders with the new interface.
* Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.cpp:
* Source/WebCore/PAL/pal/cf/CoreMediaSoftLink.h:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/platform/mediastream/cocoa/WebRTCVideoDecoder.h: Added.
* Source/WebCore/platform/mediastream/cocoa/WebRTCVideoDecoder.mm: Added.
(WebCore::WebRTCVideoDecoder::createFromLocalDecoder):
* Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.h:
* Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm:
(WebKit::LibWebRTCCodecsProxy::stopListeningForIPC):
(WebKit::LibWebRTCCodecsProxy::createLocalDecoder):
(WebKit::LibWebRTCCodecsProxy::createDecoder):
(WebKit::LibWebRTCCodecsProxy::releaseDecoder):
(WebKit::LibWebRTCCodecsProxy::flushDecoder):
(WebKit::LibWebRTCCodecsProxy::setDecoderFormatDescription):
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp:
Canonical link: https://commits.webkit.org/257463@main
More information about the webkit-changes
mailing list