[MPlayer-dev-eng] [PATCH]Implement bob-deinterlacing for VDPAU

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Feb 24 22:48:25 CET 2009


Reimar Döffinger <Reimar.Doeffinger <at> stud.uni-karlsruhe.de> writes:

> On Mon, Feb 23, 2009 at 01:56:53AM +0100, Carl Eugen Hoyos wrote:
> > +    for (i = 0; i <= (deint ? 1 : 0); i++) {
> 
> IMO once you're used to it, !!deint is more readable.
> _But_, this actually should be separate from deint, since as I
> understand it VDPAU supports framerate-doubling and
> non-framerate-doubling deinterlacing for all deinterlacing modes.

To quote <vdpau.h>
 * Note that \ref VdpVideoMixerRender disables de-interlacing
 * when \b current_picture_structure is \ref
 * VDP_VIDEO_MIXER_PICTURE_STRUCTURE_FRAME; frames by definition
 * need no de-interlacing.

But I'll be happy to change it if we find out I misinterpreted this.

Applied with your suggested changes.

Thank you, Carl Eugen




More information about the MPlayer-dev-eng mailing list