diff options
author | Marti <marti.maria@tktbrainpower.com> | 2016-04-22 09:50:02 +0200 |
---|---|---|
committer | Marti <marti.maria@tktbrainpower.com> | 2016-04-22 09:50:02 +0200 |
commit | 7fa92eb7ad115e8761157a0ae16c04d0bb183285 (patch) | |
tree | ecf4af8aa3e31b9e5c9a4ae40eceb193b40aeafb | |
parent | 154e30a5cc815268f1320046de1457a7e9165098 (diff) | |
download | lcms2-7fa92eb7ad115e8761157a0ae16c04d0bb183285.tar.gz |
minor cosmethics
-rw-r--r-- | src/cmsopt.c | 4 | ||||
-rw-r--r-- | src/cmsxform.c | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/cmsopt.c b/src/cmsopt.c index 426ba88..2fba94b 100644 --- a/src/cmsopt.c +++ b/src/cmsopt.c @@ -1033,8 +1033,8 @@ cmsBool OptimizeByComputingLinearization(cmsPipeline** Lut, cmsUInt32Number Inte cmsColorSpaceSignature ColorSpace, OutputColorSpace; cmsStage* OptimizedPrelinMpe; cmsStage* mpe; - cmsToneCurve** OptimizedPrelinCurves; - _cmsStageCLutData* OptimizedPrelinCLUT; + cmsToneCurve** OptimizedPrelinCurves; + _cmsStageCLutData* OptimizedPrelinCLUT; // This is a loosy optimization! does not apply in floating-point cases diff --git a/src/cmsxform.c b/src/cmsxform.c index be491af..0364d06 100644 --- a/src/cmsxform.c +++ b/src/cmsxform.c @@ -396,18 +396,18 @@ void PrecalculatedXFORM(_cmsTRANSFORM* p, for (i = 0; i < LineCount; i++) { - accum = (cmsUInt8Number*)in + strideIn; - output = (cmsUInt8Number*)out + strideOut; + accum = (cmsUInt8Number*)in + strideIn; + output = (cmsUInt8Number*)out + strideOut; - for (j = 0; j < PixelsPerLine; j++) { + for (j = 0; j < PixelsPerLine; j++) { - accum = p->FromInput(p, wIn, accum, Stride->BytesPerPlaneIn); - p ->Lut ->Eval16Fn(wIn, wOut, p -> Lut->Data); - output = p->ToOutput(p, wOut, output, Stride->BytesPerPlaneOut); - } + accum = p->FromInput(p, wIn, accum, Stride->BytesPerPlaneIn); + p->Lut->Eval16Fn(wIn, wOut, p->Lut->Data); + output = p->ToOutput(p, wOut, output, Stride->BytesPerPlaneOut); + } - strideIn += Stride->BytesPerLineIn; - strideOut += Stride->BytesPerLineOut; + strideIn += Stride->BytesPerLineIn; + strideOut += Stride->BytesPerLineOut; } } |