Re: [Lcms-user] Problems with non-perceptual intents in LCMS2
An ICC-based CMM for color management
Brought to you by:
mm2
From: <mar...@li...> - 2010-02-26 10:17:39
|
> 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 |