[MPlayer-dev-eng] [PATCH]Implement advanced deinterlacing for vdpau with SW decoders

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Mar 14 19:52:43 CET 2009


Hi Reimar!

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

> > +        VdpVideoSurface const past_pict[2] =
> > {surface_render[(vid_surface_num+2)&3].surface,
> > +surface_render[(vid_surface_num+1)&3].surface};
> > +        int current_pict = (deint > 2) ? (vid_surface_num + 3) & 3 :
> > vid_surface_num;
> 
> That can't work because you don't (and without some architectural
> changes can't) make sure that these surfaces have not already been
> reused and a new frame rendered on them.

Sorry, I don't understand.
Could you explain how this can happen?

Carl Eugen





More information about the MPlayer-dev-eng mailing list