Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 71c6f87c37cc6d6d4b06f88d5281c7734712a6ec
      
https://github.com/WebKit/WebKit/commit/71c6f87c37cc6d6d4b06f88d5281c7734712a6ec
  Author: Philippe Normand <[email protected]>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp
    M Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp
    M Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.cpp
    M Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.h
    M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp
    M Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.h

  Log Message:
  -----------
  [GStreamer][WebCodecs] Improve VPx encoding accuracy
https://bugs.webkit.org/show_bug.cgi?id=266966

Reviewed by Xabier Rodriguez-Calvar.

The codec string passed to the encoder is now parsed and converted to an 
input/output caps pair to
be used by the internal encoder. VPx encoders are now more accurately handling 
colorspace
informations. As follow-up, a similar approach can be used for avc and av1 
cases.

* Source/WebCore/platform/graphics/gstreamer/VideoDecoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoDecoder::GStreamerInternalVideoDecoder):
(WebCore::GStreamerInternalVideoDecoder::decode):
* Source/WebCore/platform/graphics/gstreamer/VideoEncoderGStreamer.cpp:
(WebCore::GStreamerInternalVideoEncoder::initialize):
* Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.cpp:
(WebCore::vpxCapsFromCodecString):
(WebCore::GStreamerCodecUtilities::capsFromCodecString):
(WebCore::GStreamerCodecUtilities::parseVP9Profile): Deleted.
* Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.h:
* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.cpp:
(videoEncoderSetEncoder):
(videoEncoderSetFormat):
(webkit_video_encoder_class_init):
* Source/WebCore/platform/gstreamer/VideoEncoderPrivateGStreamer.h:
(videoEncoderSetFormat):

Canonical link: https://commits.webkit.org/272806@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to