despill filter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

despill filter

Michael Koch

I'm just testing chromakey and despill filters. I haven't yet figured
out how to get good results. There is one thing I don't understand.

Line 70 in vf_despill.c
Is "green * factor" correct? Shouldn't that be "blue * factor"?
Similar question also in line 72, where it should be "green * factor".

It seems lines 75-77 can be simplified:
red  = FFMAX(red + spillmap * (redscale + brightness), 0.f);
And it can be made even faster if (redscale + brightness) is calculated
in advance outside the loop.

ffmpeg-user mailing list
[hidden email]

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".