[FFmpeg-trac] #10839(swscale:closed): incorrect YCoCg to RGB conversion in swscale
FFmpeg
trac at avcodec.org
Thu Feb 1 02:10:49 EET 2024
#10839: incorrect YCoCg to RGB conversion in swscale
---------------------------------------+-----------------------------------
Reporter: Connor Worley | Owner: (none)
Type: defect | Status: closed
Priority: wish | Component: swscale
Version: unspecified | Resolution: wontfix
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------------+-----------------------------------
Comment (by Balling):
See my comment in https://trac.ffmpeg.org/ticket/9132#comment:2
>Identity (and YCgCo) are very different matrices, as the order of
operations are different (MatrixCoefficients 0 (Identity) or 8 (YCgCo) not
only use different equations for the full-to-limited range adjustment but
also perform the full-to-limited range adjustment before applying the
transfer matrix).
There is no point in implementing that, Chrome/Chromium implemented it and
so did Nvidia. See https://github.com/mpv-player/mpv/issues/4340
Mpv has much better code for this that just works. Ffplay uses SDL, that
cannot support it, see #8862
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10839#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list