Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 18c55a96d72a7803f29356f3f17f361a568b1c2b
https://github.com/WebKit/WebKit/commit/18c55a96d72a7803f29356f3f17f361a568b1c2b
Author: Youenn Fablet <[email protected]>
Date: 2022-12-08 (Thu, 08 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
M Source/WebCore/inspector/agents/InspectorPageAgent.h
M Source/WebCore/platform/cocoa/CoreVideoSoftLink.cpp
M Source/WebCore/platform/cocoa/CoreVideoSoftLink.h
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/inspector/agents/InspectorPageAgent.h:
* 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/257582@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes