Hi,

Thanks for reporting. In this case this is correct, for a generic LUT, the private data lut->Data is set to a pointer to the cmsPipeline itself, but in optimized implementations may be different.
Take a look to FastEvaluateCurves8() in cmsopt.c, for an example.

Regards
Marti Maria

El 22/01/2013 21:41, Goya Lin escribió:
In cmslut.c, should it be:

void CMSEXPORT cmsPipelineEval16(const cmsUInt16Number In[], cmsUInt16Number Out[], const cmsPipeline* lut)
{
    _cmsAssert(lut != NULL);
lut ->Eval16Fn(In, Out, *lut*); // instead of lut ->Eval16Fn(In, Out, lut->Data);
}


Since you still use ->Elements in _LUTeval16()

Thanks.




------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d


_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to