[vlc-devel] CrystalHD decoder

Laurent Aimar fenrir at elivagar.org
Fri Dec 10 10:38:05 CET 2010


On Fri, Dec 10, 2010 at 10:29:24AM +0100, Jean-Baptiste Kempf wrote:
> On Tue, Dec 07, 2010 at 11:11:10PM +0100, Jean-Baptiste Kempf wrote :
> > On Tue, Dec 07, 2010 at 08:38:33PM +0100, Laurent Aimar wrote :
> > > > +    /* Set output properties */
> > > > +    p_dec->fmt_out.i_cat          = VIDEO_ES;
> > > > +    p_dec->fmt_out.i_codec        = VLC_CODEC_YUYV;
> > >  I probably already asked you but doesn't CrystalHD support planar YUV?
> > MODE422_YUY2
> > MODE422_UYVY
> > MODE420
> 
> YUY2, UYVY and NV12 (hot topic, NV12, here, those days ;) )
> are the only one sure to be supported.
 In VLC, with the current code, you probably loose less functionnality with
YUY2 (but you still loose a lot of filters).
 On the other hand, if you cannot avoid a copy, then using NV12 and copying
while converting to YV12 would probably be best.

-- 
fenrir




More information about the vlc-devel mailing list