On second look I think the simplification Larry suggested won't work.

There are X number of Porter-Duff operations and Y number of blend
modes. If I am doing such simplifications, I will have to do it for
each pair (Porter-Duff operation, blend mode), and that would be
X = 12, Y = 20, X*Y=240 functions.

A Porter-Duff operation/function will take
a function pointer to a blend mode function. That way I
will get the combination like in the formula we talked about.
But I am afraid, without much math simplification.
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to