> Certainly there may be advantages if the transform may be shared 
> between threads without locking, and there are very clear advantages 
> if the transforms may be simultaneously generated by multiple 
> threads, or if a transform may be cloned by a thread (into fast local 
> memory) for its use.
>

The idea on lcms-2 is a cmsDoTransform() is re-entrant and same
transform can be shared between threads. The locking happens only
if 1-pixel caché is being used, and in this case once per
cmsDoTransform() call.

So, you could try to inhibit caché (there is a flag to do so) or
process large chunks of data in each cmsDoTransform(). Probably
there is a room for improvement, but the basis are already in the code.

Regards
Marti


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to