[vlc-devel] [PATCH 1/2] Add encoder for YCbCr 4:2:0 over RTP (RFC 4175)

Rémi Denis-Courmont remi at remlab.net
Mon Feb 2 12:07:16 CET 2015


Le 2015-02-01 11:57, Jean-Baptiste Kempf a écrit :
> On 31 Jan, Tristan Matthews wrote :
>> diff --git a/include/vlc_fourcc.h b/include/vlc_fourcc.h
>> index 5f4f8f9..fd67797 100644
>> --- a/include/vlc_fourcc.h
>> +++ b/include/vlc_fourcc.h
>> @@ -275,6 +275,8 @@
>>  #define VLC_CODEC_CYUV            VLC_FOURCC('c','y','u','v')
>>  /* 10-bit 4:2:2 Component YCbCr */
>>  #define VLC_CODEC_V210            VLC_FOURCC('v','2','1','0')
>> +/* I420 packed for RTP (RFC 4175) */
>> +#define VLC_CODEC_R420            VLC_FOURCC('r','4','2','0')
>
> Why do you need a special codec?

Because there is no existing FOURCC for that pixel format, or is there?

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list