[vlc-devel] RGB chroma mess
Francois Cartegnie
fcvlcdev at free.fr
Wed Mar 7 22:16:40 CET 2018
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
More information about the vlc-devel
mailing list