[vlc-devel] [PATCH] IVTC: alternate cadence detector collection
Juha Jeronen
juha.jeronen at jyu.fi
Mon Feb 7 02:35:07 CET 2011
Hi all,
For anyone curious about actually trying out this stuff, here is an
assortment of two alternative cadence detectors for the IVTC filter.
Patch #6 (applies on top of #5) is my implementation of the "Vektor-like
interlace scores" approach I mentioned in last week's post.
The patch also contains a fix to the simplistic outlier detector, which
got borked when I added the TFF/BFF restriction logic.
Patch #7 (applies on top of #6) contains my test version of the
identical output detector, which I also mentioned in the post.
The code is, to put it mildly, a mess - definitely not meant for review
at this point. From these, it should be clear why I said I need to
refactor the cadence detector logic ;)
I'll clean up this stuff along with the rest of the IVTC subsystem
before I post it officially. This version can be considered as an
archive of what was originally tried.
I probably won't include this second "Vektor-like" algorithm into the
final version, since it sometimes locks on incorrectly. The other
algorithms are better at admitting that they don't know.
I'm as of yet undecided on whether to include the duplicate output based
detector. It's potentially useful for watching borked streams (hard
deinterlace, or IVTC without decimation), but I need to evaluate
carefully that it doesn't break anything. I will also need to refactor
it to avoid unnecessary code duplication.
And finally, I'm unsure whether I'll include my original cadence
detector. The best combination out of the four tried so far are the
"original Vektor-like" (field repeat based, in patch #5) and the
duplicate output detector (patch #7).
That's it for today,
-J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fixed-statistics-Vektorlike-algo-with-intl-scores.patch
Type: text/x-patch
Size: 12574 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110207/f1842aa4/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Detect-repeated-output-frames-preliminary-version.patch
Type: text/x-patch
Size: 17542 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110207/f1842aa4/attachment-0001.bin>
More information about the vlc-devel
mailing list