[FFmpeg-devel] [PATCH v2 07/16] swscale/utils: fix XYZ primaries tagging
Michael Niedermayer
michael at niedermayer.cc
Wed Dec 11 02:56:39 EET 2024
On Fri, Dec 06, 2024 at 03:32:06PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> Swscale currently handles XYZ by embedding a forced conversion to
> BT.709 RGB with a hardcoded matrix. This is not ideal, but to preserve the
> status quo and avoid any unexpected changes in behavior, this patch merely
> fixes the inferred primaries tag to match the reality.
>
> In the future, I would like to handle XYZ properly, via direct conversion
> to the target colorspace (or possibly simply by using a more fitting
> RGB intermediate like SMPTE428), but for now just keep the status quo.
> ---
> libswscale/utils.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
ok
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241211/3f11d720/attachment.sig>
More information about the ffmpeg-devel
mailing list