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

Jean-Baptiste Kempf jb at videolan.org
Tue Feb 3 16:51:44 CET 2015


On 03 Feb, Rémi Denis-Courmont wrote :
> 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.

So far, there is no 4:2:0 10-bits format defined in the headers.
The only thing there is, is v210, for 4:2:2 10bits, and we don't display
that yet in OpenGL...

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list