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_8_tethra.c7
-rw-r--r--plugins/fast_float/src/fast_float_lab.c5
-rw-r--r--plugins/fast_float/src/fast_float_tethra.c6
3 files changed, 12 insertions, 6 deletions
diff --git a/plugins/fast_float/src/fast_8_tethra.c b/plugins/fast_float/src/fast_8_tethra.c
index 98601d1..26a5a5d 100644
--- a/plugins/fast_float/src/fast_8_tethra.c
+++ b/plugins/fast_float/src/fast_8_tethra.c
@@ -249,11 +249,12 @@ void PerformanceEval8(struct _cmstransform_struct *CMMcargo,
*out[OutChan] = FROM_16_TO_8(res16);
out[OutChan] += DestIncrements[OutChan];
- if (ain)
- *out[TotalOut] = *ain;
-
}
+ if (ain) {
+ *out[TotalOut] = *ain;
+ out[TotalOut] += DestIncrements[TotalOut];
+ }
}
diff --git a/plugins/fast_float/src/fast_float_lab.c b/plugins/fast_float/src/fast_float_lab.c
index 553d5fe..d392a84 100644
--- a/plugins/fast_float/src/fast_float_lab.c
+++ b/plugins/fast_float/src/fast_float_lab.c
@@ -316,7 +316,10 @@ void LabCLUTEval(struct _cmstransform_struct* CMMcargo,
}
if (xin)
- *out[TotalOut] = *xin;
+ {
+ *(cmsFloat32Number*) (out[TotalOut]) = *xin;
+ out[TotalOut] += DestIncrements[TotalOut];
+ }
}
strideIn += Stride->BytesPerLineIn;
diff --git a/plugins/fast_float/src/fast_float_tethra.c b/plugins/fast_float/src/fast_float_tethra.c
index 982ff20..0e3015a 100644
--- a/plugins/fast_float/src/fast_float_tethra.c
+++ b/plugins/fast_float/src/fast_float_tethra.c
@@ -210,8 +210,10 @@ void FloatCLUTEval(struct _cmstransform_struct* CMMcargo,
out[OutChan] += DestIncrements[OutChan];
}
- if (ain)
- *out[TotalOut] = *ain;
+ if (ain) {
+ *(cmsFloat32Number*)(out[TotalOut]) = *ain;
+ out[TotalOut] += DestIncrements[TotalOut];
+ }
}
strideIn += Stride->BytesPerLineIn;