Continuity Fixer port for Vapoursynth,
cf.ContinuityFixer(src, left, top, right, bottom, radius)
src, is mandatory. left, top, right, and bottom are optional and default to zero.
radius is optional, it default to the shortest dimension of the clip [usually the height].
Since V6 the plugin can repair all the planes in a single call [for a maximum of three]
#repair two left row on the luma plane and one left row on the chroma planes with a radius of 10 for the luma plane and 5 for the chroma planes
fix = core.cf.ContinuityFixer(src, [2,1,1], [0,0,0], [0,0,0], [0,0,0], [10,5,5])
For large repair value [the four sides] the plugin create strange artifact and is not pixel exact to the avs version, i don't know what cause this but for sane values [less then 10 pixel, maybe more] the output is the same as the avs version. Fixed in V5
g++ -c continuity.cpp -O2 -msse2 -mfpmath=sse -o continuity.o
g++ -shared -Wl,--dll,--add-stdcall-alias -o continuity.dll continuity.o
$ g++ -c -std=gnu++11 -fPIC -I. -o continuity.o continuity.cpp
$ g++ -shared -fPIC -o libcf.so continuity.o
Mirkosp, JEEB, HolyWu, jackoneill and Myrsloik