[webkit-changes] [WebKit/WebKit] 2a9d6e: [GStreamer] Rebrand colorspace handling to common ...
Philippe Normand
noreply at github.com
Mon Nov 7 04:04:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a9d6e23045c352a05def5c4da6f2d2a4a07a20e
https://github.com/WebKit/WebKit/commit/2a9d6e23045c352a05def5c4da6f2d2a4a07a20e
Author: Philippe Normand <philn at igalia.com>
Date: 2022-11-07 (Mon, 07 Nov 2022)
Changed paths:
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h
M Source/WebCore/platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp
Log Message:
-----------
[GStreamer] Rebrand colorspace handling to common facilities
https://bugs.webkit.org/show_bug.cgi?id=247524
Reviewed by Xabier Rodriguez-Calvar.
We had some basic GstVideoInfo -> PlatformVideoColorSpace conversion in VideoTrackPrivateGStreamer.
This now lives in GStreamerCommon along with a GstCaps -> PlatformVideoColorSpace and
PlatformVideoColorSpace -> GstCaps utilities. Those will be useful to improve the
VideoFrameGStreamer implementation for the WebCodecs backend.
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::videoColorSpaceFromCaps):
(WebCore::videoColorSpaceFromInfo):
(WebCore::fillVideoInfoColorimetryFromColorSpace):
* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.h:
* Source/WebCore/platform/graphics/gstreamer/VideoTrackPrivateGStreamer.cpp:
(WebCore::VideoTrackPrivateGStreamer::updateConfigurationFromCaps):
Canonical link: https://commits.webkit.org/256396@main
More information about the webkit-changes
mailing list