[webkit-changes] [WebKit/WebKit] a79825: [GStreamer] Extend colorspace mapping

Philippe Normand noreply at github.com
Mon Nov 28 01:38:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a7982573d1006845bf257888d3cc5edf7df219d4
      https://github.com/WebKit/WebKit/commit/a7982573d1006845bf257888d3cc5edf7df219d4
  Author: Philippe Normand <philn at igalia.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp

  Log Message:
  -----------
  [GStreamer] Extend colorspace mapping
https://bugs.webkit.org/show_bug.cgi?id=248347

Reviewed by Xabier Rodriguez-Calvar.

GST_VIDEO_COLOR_MATRIX_BT601 was mishandled, it corresponds to SMPTE170M. The
matrix/transfer/primaries mappings now handle most WebCore colorimetry enums.

* Source/WebCore/platform/graphics/gstreamer/GStreamerCommon.cpp:
(WebCore::videoColorSpaceFromInfo):
(WebCore::fillVideoInfoColorimetryFromColorSpace):

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




More information about the webkit-changes mailing list