[MPlayer-dev-eng] [PATCH] Multiple problems with tfields filter

John Lindgren john.lindgren at tds.net
Sun Jan 31 22:34:47 CET 2010


Hi,

I recently started using the tfields=1 filter for deinterlacing when
watching DVD's, and noticed some problems, and while trying to fix them,
I stumbled on some more.  A couple of these are merely for the sake of
correctness; a couple are noticeable only when the filter is applied to
a non-planar video format, i.e. when using OpenGL output instead of Xv.

      * Fix deint() interpolating even lines instead of odd and vice
        versa.
      * Fix deint() mixing color channels when applied to non-planar
        formats.
      * Fix deint() interpolating bottom line from random data past
        image boundary.
      * Optimize deint() by reducing number of operations in innermost
        loop.
      * Fix continue_buffered_image() to pass width to deint() in bytes,
        not pixels.
      * Fix continue_buffered_image() to recalculate pts value when "i"
        counter changes.

By the way, MPlayer's manual page needs updating.  Contrary to the
manual page, tfields *does* work in MPlayer, not only MEncoder, and does
not need the -fps command line switch to work correctly.

John Lindgren
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tfields.c.diff
Type: text/x-patch
Size: 2755 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100131/af1cfcea/attachment.bin>


More information about the MPlayer-dev-eng mailing list