Heroine Virtual Ltd. wrote:
chromakey.C has a number of lines like:
as = (s - sat - min_s / min_s) / 2;
Did you mean
I'm not sure where the fellow is that encoded that plug-in but their
seemed be a problem with the plug-in where zero did not equal zero.
This was with the spill compensation level. If you set this to zero you
still have spill compensation. You can only totally eliminate the
effect by pushing the spill threshold up.
A maths error of the kind you mention seems a likely cause.
Graham
as = (s - sat - 1.0) / 2;
or
as = (s - (sat - min_s) / min_s) / 2;
or
as = ((s - sat - min_s) / min_s) / 2;
These probably need parentheses to do the intended effect. Other
problem lines are:
av = (s - min_v / min_v) / 2;
avm = 1 / 2 + (v - max_v_out / max_v_out) / 2;
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra