[webkit-changes] [WebKit/WebKit] 2a0d30: [GStreamer] Harness: Migration from output buffer ...
Philippe Normand
noreply at github.com
Tue Jan 30 05:31:39 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2a0d30d45a600d798a84e443ae9d0ba82556837a
https://github.com/WebKit/WebKit/commit/2a0d30d45a600d798a84e443ae9d0ba82556837a
Author: Philippe Normand <philn at igalia.com>
Date: 2024-01-30 (Tue, 30 Jan 2024)
Changed paths:
M Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp
M Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp
M Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp
M Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp
M Source/WebCore/platform/gstreamer/GStreamerElementHarness.h
M Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstElementHarness.cpp
Log Message:
-----------
[GStreamer] Harness: Migration from output buffer to output sample processing
https://bugs.webkit.org/show_bug.cgi?id=268150
Reviewed by Xabier Rodriguez-Calvar.
Output buffers are now stored in samples along with their caps. This makes the API more coherent.
* Source/WebCore/platform/audio/gstreamer/AudioDecoderGStreamer.cpp:
(WebCore::GStreamerInternalAudioDecoder::GStreamerInternalAudioDecoder):
(WebCore::GStreamerInternalAudioDecoder::decode):
* Source/WebCore/platform/audio/gstreamer/AudioEncoderGStreamer.cpp:
(WebCore::GStreamerAudioEncoder::encode):
(WebCore::GStreamerInternalAudioEncoder::GStreamerInternalAudioEncoder):
* Source/WebCore/platform/graphics/gstreamer/ImageDecoderGStreamer.cpp:
(WebCore::ImageDecoderGStreamer::ImageDecoderGStreamer):
* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::GStreamerInternalVideoDecoder):
(WebCore::GStreamerInternalVideoDecoder::decode):
* Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp:
(WebCore::GStreamerVideoEncoder::encode):
(WebCore::GStreamerInternalVideoEncoder::GStreamerInternalVideoEncoder):
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.cpp:
(WebCore::GStreamerElementHarness::GStreamerElementHarness):
(WebCore::GStreamerElementHarness::reset):
(WebCore::GStreamerElementHarness::Stream::Stream):
(WebCore::GStreamerElementHarness::Stream::pullSample):
(WebCore::GStreamerElementHarness::Stream::chainSample):
(WebCore::GStreamerElementHarness::processOutputSamples):
(WebCore::GStreamerElementHarness::flushBuffers):
(WebCore::GStreamerElementHarness::Stream::pullBuffer): Deleted.
(WebCore::GStreamerElementHarness::Stream::chainBuffer): Deleted.
(WebCore::GStreamerElementHarness::processOutputBuffers): Deleted.
* Source/WebCore/platform/gstreamer/GStreamerElementHarness.h:
(WebCore::GStreamerElementHarness::create):
* Tools/TestWebKitAPI/Tests/WebCore/gstreamer/GstElementHarness.cpp:
(TestWebKitAPI::TEST_F):
Canonical link: https://commits.webkit.org/273741@main
More information about the webkit-changes
mailing list