[webkit-changes] [WebKit/WebKit] ff57fb: [GStreamer][GL] Missing support for P010 video format
Philippe Normand
noreply at github.com
Mon Jul 10 01:43:54 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ff57fb336bb501c2d8d318ccfe8124678439fccc
https://github.com/WebKit/WebKit/commit/ff57fb336bb501c2d8d318ccfe8124678439fccc
Author: Philippe Normand <philn at igalia.com>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
M Source/WebCore/platform/graphics/gbm/DMABufFormat.h
M Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp
M Source/WebCore/platform/graphics/gstreamer/DMABufVideoSinkGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp
Log Message:
-----------
[GStreamer][GL] Missing support for P010 video format
https://bugs.webkit.org/show_bug.cgi?id=259031
Reviewed by Žan Doberšek.
The DMABuf sink can now negotiate P010 and P016 formats with upstream video decoders, such as
vah265dec. This makes hevc playback smooth on capable Intel GPUs at least.
* Source/WebCore/platform/graphics/gbm/DMABufFormat.h:
(WebCore::DMABufFormat::Plane::Plane):
(WebCore::DMABufFormat::create<DMABufFormat::FourCC::P010>):
(WebCore::DMABufFormat::create<DMABufFormat::FourCC::P016>):
(WebCore::DMABufFormat::create):
* Source/WebCore/platform/graphics/gbm/GBMBufferSwapchain.cpp:
(WebCore::isBufferFormatSupported):
* Source/WebCore/platform/graphics/gstreamer/DMABufVideoSinkGStreamer.cpp:
* Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
(WebCore::fourccValue):
* Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp:
(WebCore::TextureMapperPlatformLayerProxyDMABuf::DMABufLayer::paintToTextureMapper):
Canonical link: https://commits.webkit.org/265896@main
More information about the webkit-changes
mailing list