#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
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".