[vlc-devel] [PATCH 1/4] JJ's deinterlacer changes

Juha Jeronen juha.jeronen at jyu.fi
Fri Jan 14 00:41:45 CET 2011

Hi all,

Posting the latest version of my patch set. I think these are pretty 
much final now, so I would appreciate a review if anyone has the time :)

The new IVTC patch is based upon the version reviewed by j-b and 
Laurent, so those comments have already been taken into account. Thanks 
for helping to make the code better :)

I have since then added a soft telecine remover to the IVTC filter. Now 
discs such as Angel Links or Stellvia of the Universe render correctly. 
Also, the filter now monitors the quality of the cadence detector 
output, and only accepts detections that seem reliable. The frame 
composer is kept running all the time (this no longer causes problems); 
only the timing adjustment and frame drop decisions depend on the 
cadence information.

I have eliminated whitespace errors in the patches, some of which had 
crept in in the original versions. The patches have been tested against 
VLC version from commit 3f50c72acbf4fe8ca4f9631a3bff596cba2d3a05.

So, without further ado:

Attached: patch 1 of 4: the PTS hack to correct timings for streams 
containing repeat_pict. This patch hasn't changed since the previous 
posting, so I'm reposting it just to keep the set together.

Code-wise, this patch is orthogonal with the rest of the set, but 
functionality-wise, this is currently needed to get the PTSs correct 
when repeat_picts are present in the stream. As mentioned before, I have 
tested that this seems to have no ill effects for streams that do not 
contain repeat_pict, and fixes stuttering for streams that do.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-PTS-hack-for-streams-with-repeat_pict.patch
Type: text/x-patch
Size: 4255 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110114/5e4e5faf/attachment.bin>

More information about the vlc-devel mailing list