Hello,
We’d like to use LittleCMS with planar images (first all the red pixel,
afterwards all the green…), and speed it up with OpenMP threaded processing at
the same time.
It works nicely without OpenMP of course, just doing:
cmsDoTransfrom(trans, source, destination, planesize);
However if you want to parallize it with OpenMP, you would need a possibility
to chunk the work e.g.:
#pragma omp parallel for
for (int i=0;i<height;i++)
cmsDoTransfrom(trans, source + i*width , destination + i*width , width,
planesize);
So you would need an extra parameter for the size of the plane, that’s used as
offset between the color memory areas (which is not the same as the buffer
size, that is way smaller, just a stripe).
Might also be it's possible today already and I’m missing something…
Thanks in advance
Oliver
(Second try of message to the list, first was swallowed (?)
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user