Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f10733ef7744ff20f5cb4bbe94d430bf100bb62d
https://github.com/WebKit/WebKit/commit/f10733ef7744ff20f5cb4bbe94d430bf100bb62d
Author: Youenn Fablet <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH264.h
M Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH264.mm
M Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH265.h
M Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH265.mm
M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp
M Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h
Log Message:
-----------
Migrate encoded video frame qp parsing from GPUProcess to WebProcess
rdar://188190275
https://bugs.webkit.org/show_bug.cgi?id=324983
Reviewed by Eric Carlson.
We do not need to do qp parsing in the GPU Process, especially since it is only
useful for the webrtc code path.
We move it to LibWebRTCCodecs::completedEncoding in the webrtc specific code
path.
No change of behavior, covered by existing tests like
LayoutTests/webrtc/h265.html.
* Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH264.h:
* Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH264.mm:
(WebCore::GPUVideoEncoderVTBH264::convertAndNotify):
* Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH265.h:
* Source/WebCore/platform/video-codecs/cocoa/GPUVideoEncoderVTBH265.mm:
(WebCore::GPUVideoEncoderVTBH265::convertAndNotify):
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.cpp:
(WebKit::LibWebRTCCodecs::createEncoderInternal):
(WebKit::toWebKitEncodedFrameInfo):
(WebKit::LibWebRTCCodecs::completedEncoding):
* Source/WebKit/WebProcess/GPU/webrtc/LibWebRTCCodecs.h:
(WebKit::LibWebRTCCodecs::Encoder::Encoder):
Canonical link: https://commits.webkit.org/321774@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications