[vlc-commits] [Git][videolan/vlc][master] avcodec/chroma: map VLC_CODEC_XYZ12 to AV_PIX_FMT_XYZ12BE

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Sep 9 20:02:20 UTC 2023



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
b8e72e4c by Steve Lhomme at 2023-09-09T19:32:49+00:00
avcodec/chroma: map VLC_CODEC_XYZ12 to AV_PIX_FMT_XYZ12BE

It's not an RGB chroma and has a fixed memory layout as Big-Endian
according to the string in fourcc_list.

- - - - -


1 changed file:

- modules/codec/avcodec/chroma.c


Changes:

=====================================
modules/codec/avcodec/chroma.c
=====================================
@@ -212,7 +212,7 @@ static const struct
     {VLC_CODEC_GBRA_PLANAR_16B, AV_PIX_FMT_GBRAP16BE, 0, 0, 0 },
 
     /* XYZ */
-    {VLC_CODEC_XYZ12, AV_PIX_FMT_XYZ12, 0xfff0, 0xfff0, 0xfff0},
+    {VLC_CODEC_XYZ12, AV_PIX_FMT_XYZ12BE, 0, 0, 0 },
     { 0, 0, 0, 0, 0 }
 };
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b8e72e4ce4467ea1cd253f9fcfee8f0500f37451

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/b8e72e4ce4467ea1cd253f9fcfee8f0500f37451
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list