[PATCH] winegstreamer: Fix YUV->RGB conversion by copying colorimetry information.

Akihiro Sagawa sagawa.aki at gmail.com
Sun Nov 15 08:34:33 CST 2020


This patch adds a new GStreamer element called yuvfixup, which copies
colorimetry information from its super upstream source to its sink.
By using yuvfixup element, the colorimetry informaiton match on
videoconvert's sink pad and its source pad. Thus, we can avoid
expensive YUV matrix conversions and do YUV->RGB conversion with matrix.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49535
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
---
 dlls/winegstreamer/Makefile.in   |   3 +-
 dlls/winegstreamer/gst_private.h |   1 +
 dlls/winegstreamer/gstdemux.c    |  28 +++-
 dlls/winegstreamer/main.c        |   2 +
 dlls/winegstreamer/yuvfixup.c    | 248 +++++++++++++++++++++++++++++++
 5 files changed, 274 insertions(+), 8 deletions(-)
 create mode 100644 dlls/winegstreamer/yuvfixup.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winegstreamer-Fix-YUV-RGB-conversion-by-copying-colo.patch
Type: text/x-patch
Size: 13751 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201115/ed2d466f/attachment-0001.bin>


More information about the wine-devel mailing list