[FFmpeg-devel] [PATCH] yadif port to libavfitler

Stefano Sabatini stefano.sabatini-lala
Sat Sep 25 11:11:12 CEST 2010


On date Wednesday 2010-09-08 17:50:59 +0200, Stefano Sabatini encoded:
> On date Saturday 2010-09-04 12:45:08 +0200, Stefano Sabatini encoded:
> [...]
> > Updated against the av_get_cpu_flags() patch.
> > 
> > Still missing documentation (Baptiste feel free to continue to work on
> > this, I don't even know how did you test it).
> 
> Updated again. Documentation for the second param should be extended,
> (Mplayer docs is outdated as well), also maybe ASM code should be
> placed in /ARCH dirs.
> 
> I'll let someone else work on this though, so don't expect other
> updated patches from me.

Updated, I moved the x86 code to a new libavfilter/x86 dir, and added
documentation for the mode and parity parameters.

Now I see that the implementation is incomplete.  The functionality
implemented in the libmpcodec yadif function continue_buffered_image()
is not implemented in the current code.

The mode parameter allows to set how to output image:
    /**
     * 0: send 1 frame for each frame
     * 1: send 1 frame for each field
     * 2: like 0 but skips spatial interlacing check
     * 3: like 1 but skips spatial interlacing check
     */
    int mode;

Currently mode is checked only in filter_line_c() like this:
        if (yadif->mode < 2) {
        ...
        }

for enabling/disabling the spatial interlacing check (whatever it is).

Regards.
-- 
FFmpeg = Forgiving and Frenzy Multimedia Pacific Emblematic God



More information about the ffmpeg-devel mailing list