This plug-in is fully functionnal but not extensively tested.
Requirements:
	DoubleWeave BEFORE
	29.97 fps source video
	Source must have gone through Telecine process
	Source must be Interleaved
	Source must be in YUV format

P.S. The plug-in will still work if the requirements are not followed,
     but the result might be rather strange.

Correct use:
	loadplugin("InverseTelecine.dll")
	Avisource(".\Capture.avi")
	DoubleWeave
	InverseTelecine (35,15,10)

Parameters:
	InverseTelecine (High Limit, Low Limit, Threshold)
		High Limit: The limit value at which 2 consecutive 
			    pixels are considered to be different

		Low Limit: The limit value at which 2 non-consecutive
			   pixels are considered to be similar

		Threshold: The limit value at which the next frame
			   in the pulldown process is considered to
			   have "tearing" artifacts and a new "correct"
			   pulldown pair must be calculated.

I recommend using the values in the example "Correct use" as they have
proved to give good results in my rather limited tests.  However, feel
free to test your own values at will.

I've also included the source code so you can check exactly how it
works and make changes (hopefully improvements) to it if you want.
You may also see another Class named "ITTest".  I made this class so
I could check the values returned by "AnalyseFrame".  The parameters
for this class are the same as "InverseTelecine".  If you want to see
how I used it, use this small script:
	loadplugin("InverseTelecine.dll")
	avisource(".\Capture.avi")
	DoubleWeave
	ShowFrameNumber
	ITTest(35,15,10)
	
This will return the frame number "X" where "X" represents the value
returned by "AnalyseFrame" thus enabling you to check the results of
the values used for the parameters.  You should typically see at least
2 frames (usually 3) out of 5 which have low values and 2 with high
values.

Please feel free to communicate any ideas for improvements or new
plug-ins  ^_^
ICQ: 4105331  (Wizard)
Wizard_FL@Hotmail.com