[vlc-devel] [PATCH] Soft field repeat support for deinterlacer

Juha Jeronen juha.jeronen at jyu.fi
Wed Feb 9 21:00:05 CET 2011


Hi all,

Here is a new version of my patch #2 (repeat_pict support) based on
Laurent's comments. This replaces my earlier posted patch #2.

Changes with regard to previous version:

- Do not make assumptions about frame delay (offset), but let the
algorithms decide. This enables Yadif2x to work correctly.
- Compute output PTSs in Deinterlace() in a centralized way.
- Use a for loop for output frame alloc and PTS setting.

The frame offset mechanism, along with its rationale, is documented in
the source, just below the filter_sys_t structure.

Note: patch #1 is also needed to get correct PTSs in streams containing
soft field repeats (repeat_pict). Patch #1 is still the original
version, which can be found here:

http://mailman.videolan.org/pipermail/vlc-devel/2011-January/078588.html

 -J

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Soft-field-repeat-support-for-deinterlacer.patch
Type: text/x-patch
Size: 18927 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110209/91faef17/attachment.bin>


More information about the vlc-devel mailing list