[vlc-devel] [PATCH 2/2] Add VideoToolbox based decoder

Rémi Denis-Courmont remi at remlab.net
Tue Feb 3 16:02:34 CET 2015


Le 2015-02-03 13:56, Jean-Baptiste Kempf a écrit :
> On 02 Feb, Rémi Denis-Courmont wrote :
>> > +    p_dec->fmt_out.i_codec = VLC_CODEC_YV12;
>>
>> YV12 for 10-bits seems very odd. Ditto for non-4:2:0.
>
> The VT library does the conversion and the dithering internally.

Of course the GPU or video DSP would easily downsample. But by the time 
VLC 3.0 comes out, and considering Apple's brand positioning, I would 
certainly expect real 10-bits output support. So I think that forcing 
8-bits here is a bad idea even if it works.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list