[vlc-devel] RGB chroma mess

Rémi Denis-Courmont remi at remlab.net
Thu Mar 8 04:10:54 CET 2018


Le 7 mars 2018 23:16:40 GMT+02:00, Francois Cartegnie <fcvlcdev at free.fr> a écrit :
>Le 07/03/2018 à 21:56, Rémi Denis-Courmont a écrit :
>> 
>> I've said it before: remove RV32 and RV24 and rename ARGB and RGBA.
>> Instead, e.g.:
>> VLC_CHROMA_X8R8G8B8_BE,
>> VLC_CHROMA_R8G8B8X8_BE,
>> VLC_CHROMA_R8G8B8X8_LE,
>> VLC_CHROMA_X8R8G8B8_LE,
>> VLC_CHROMA_R8G8B8_BE,
>> VLC_CHROMA_R8G8B8_LE,
>> VLC_CHROMA_A8R8G8B8_BE,
>> VLC_CHROMA_R8G8BA8_BE,
>> VLC_CHROMA_R8G8B8A8_LE and
>> VLC_CHROMA_A8R8G8B8_LE.
>> 
>
>I don't see the point of making the difference between LE and BE, since
>samples will never change with endianess.
>
>Replacing all fourcc (and the "0" notation in avcodec seems more
>friendly for 8 bits components) can only be done with full
>understanding. X11 still requests the opposite as displayed :/
>
>-- 
>Francois Cartegnie
>VideoLAN - VLC Developer
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

W/o endianess notation, it will always be ambiguous what the order is on LE systems.
-- 
Remi Denis-Courmont


More information about the vlc-devel mailing list