Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mm2/Little-CMS.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/fast_float/src/fast_float_cmyk.c5
-rw-r--r--plugins/fast_float/src/fast_float_lab.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/fast_float/src/fast_float_cmyk.c b/plugins/fast_float/src/fast_float_cmyk.c
index a0a23de..0b68fad 100644
--- a/plugins/fast_float/src/fast_float_cmyk.c
+++ b/plugins/fast_float/src/fast_float_cmyk.c
@@ -304,8 +304,9 @@ void FloatCMYKCLUTEval(struct _cmstransform_struct *CMMcargo,
}
if (ain)
- *out[TotalOut] = *ain;
-
+ *(cmsFloat32Number*)(out[TotalOut]) = *(cmsFloat32Number*)ain;
+ ain += SourceIncrements[4];
+ out[TotalOut] += DestIncrements[TotalOut];
}
strideIn += Stride->BytesPerLineIn;
diff --git a/plugins/fast_float/src/fast_float_lab.c b/plugins/fast_float/src/fast_float_lab.c
index 2f31d7d..376e93d 100644
--- a/plugins/fast_float/src/fast_float_lab.c
+++ b/plugins/fast_float/src/fast_float_lab.c
@@ -317,7 +317,8 @@ void LabCLUTEval(struct _cmstransform_struct* CMMcargo,
if (xin)
{
- *(cmsFloat32Number*) (out[TotalOut]) = *xin;
+ *(cmsFloat32Number*) (out[TotalOut]) = *(cmsFloat32Number*)xin;
+ xin += SourceIncrements[3];
out[TotalOut] += DestIncrements[TotalOut];
}
}