Hi,
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.
Michael
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".