diff options
Diffstat (limited to 'plugins/fast_float/src/fast_float_curves.c')
-rw-r--r-- | plugins/fast_float/src/fast_float_curves.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/fast_float/src/fast_float_curves.c b/plugins/fast_float/src/fast_float_curves.c index 2d598d2..b87e06f 100644 --- a/plugins/fast_float/src/fast_float_curves.c +++ b/plugins/fast_float/src/fast_float_curves.c @@ -261,8 +261,8 @@ static void FastEvaluateFloatGrayCurves(struct _cmstransform_struct* CMMcargo, if (nalpha) { - ain = (const cmsUInt8Number*)Input + SourceStartingOrder[1]; - aout = (cmsUInt8Number*)Output + DestStartingOrder[1]; + ain = (const cmsUInt8Number*)Input + SourceStartingOrder[1] + strideIn; + aout = (cmsUInt8Number*)Output + DestStartingOrder[1] + strideOut; } for (ii = 0; ii < PixelsPerLine; ii++) { @@ -325,8 +325,8 @@ static void FastFloatGrayIdentity(struct _cmstransform_struct* CMMcargo, if (nalpha) { - ain = (const cmsUInt8Number*)Input + SourceStartingOrder[1]; - aout = (cmsUInt8Number*)Output + DestStartingOrder[1]; + ain = (const cmsUInt8Number*)Input + SourceStartingOrder[1] + strideIn; + aout = (cmsUInt8Number*)Output + DestStartingOrder[1] + strideOut; } |