[vlc-devel] [vlc-commits] Reserve FOURCC's for RV12 and AV16 XVideo formats
Laurent Aimar
fenrir at elivagar.org
Tue Feb 15 21:35:34 CET 2011
Hi,
On Tue, Feb 15, 2011 at 06:20:43PM +0100, Rémi Denis-Courmont wrote:
> +/* 12 bits RGB stored on 16 bits */
> +#define VLC_CODEC_RGB12 VLC_FOURCC('R','V','1','2')
> +/* 16 bits VLC RGBA */
> +#define VLC_CODEC_RGBA16 VLC_FOURCC('A','V','1','6')
> /* 15 bits RGB stored on 16 bits */
> #define VLC_CODEC_RGB15 VLC_FOURCC('R','V','1','5')
> /* 16 bits RGB store on a 16 bits */
> diff --git a/src/misc/fourcc.c b/src/misc/fourcc.c
> index d1dac2f..c4cecce 100644
> --- a/src/misc/fourcc.c
> +++ b/src/misc/fourcc.c
> @@ -662,6 +662,10 @@ static const entry_t p_list_video[] = {
>
> B(VLC_CODEC_RGB8, "8 bits RGB"),
> A("RGB2"),
> + B(VLC_CODEC_RGB15, "12 bits RGB"),
> + A("RV12"),
> + B(VLC_CODEC_RGB15, "16 bits RGBA"),
> + A("AV16"),
Don't you mean VLC_CODEC_RGB12/VLC_CODEC_RGBA16 instead of VLC_CODEC_RGB15, ?
--
fenrir
More information about the vlc-devel
mailing list