[MPlayer-dev-eng] [PATCH]Support packed YUV422 in vo vdpau

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Mar 28 20:38:26 CET 2009


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

[...]
> Adding two different ways to calculate the same thing is rarely more
> than a cause for future problems.

Yes, thank you for the hint!

[...]
> > @@ -906,7 +931,7 @@
> >      if (!IMGFMT_IS_VDPAU(image_format)) return VO_FALSE;
> >      if (mpi->type != MP_IMGTYPE_NUMBERED) return VO_FALSE;
> >  
> > -    rndr = get_surface(mpi->number);
> > +    rndr = get_surface(mpi->number, VDP_CHROMA_TYPE_420);
> 
> I know the current code is already like that, but what happens with
> hardware-decoding 422-coded MPEG-2 (ffmpeg -vcodec mpeg2video -pix_fmt
> yuv422p or e.g. the output of the FFmpeg mxf_d10 regression test).

Unfortunately, current nvidia hardware only supports 420 decoding.

Carl Eugen





More information about the MPlayer-dev-eng mailing list