1. class ROI looks really nice.

2. Do we need a separate function "parallel_image" for each image
processing operation since most of them will have different signatures,
different number of input images, etc.,  and threads in parallel_image are
managed in a way that depends on the signature of the function being called?

We can get away with something much better I think, could we have a case
statement on lines 455 and 462 in src/maketx/maketx.cpp, to handle
functions with different signatures? The case would branch based on a
parameter that would say which signature we are dealing with, it could be
an enum. No matter what the signature is, this should work, assuming the
image processing function works with image regions. I mean, if it works
with image regions, it can be divided, so we are fine.

Stefan
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to