summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMarti Maria <marti.maria@littlecms.com>2022-01-06 18:42:34 +0100
committerMarti Maria <marti.maria@littlecms.com>2022-01-06 18:42:34 +0100
commita98c03cc8dd3e57e4c86a1d067e3dce803cdfbd9 (patch)
treebdaa0c8f494344eda3a6c1234efb0142b7014c20 /plugins
parent058c8211966424bad5cf9b8b38db26c415852a03 (diff)
downloadlcms2-a98c03cc8dd3e57e4c86a1d067e3dce803cdfbd9.tar.gz
Final changes for 2.13
- typos - changelog - readme.1st
Diffstat (limited to 'plugins')
-rw-r--r--plugins/fast_float/src/fast_16_tethra.c2
-rw-r--r--plugins/fast_float/src/fast_8_curves.c2
-rw-r--r--plugins/fast_float/src/fast_8_tethra.c2
-rw-r--r--plugins/fast_float/src/fast_float_15bits.c6
-rw-r--r--plugins/fast_float/src/fast_float_cmyk.c2
-rw-r--r--plugins/fast_float/src/fast_float_curves.c2
-rw-r--r--plugins/fast_float/src/fast_float_internal.h2
-rw-r--r--plugins/fast_float/testbed/fast_float_testbed.c4
8 files changed, 11 insertions, 11 deletions
diff --git a/plugins/fast_float/src/fast_16_tethra.c b/plugins/fast_float/src/fast_16_tethra.c
index 4343c8f..ffe20c0 100644
--- a/plugins/fast_float/src/fast_16_tethra.c
+++ b/plugins/fast_float/src/fast_16_tethra.c
@@ -328,7 +328,7 @@ cmsBool Optimize16BitRGBTransform(_cmsTransform2Fn* TransformFn,
// For empty transforms, do nothing
if (*Lut == NULL) return FALSE;
- // This is a loosy optimization! does not apply in floating-point cases
+ // This is a lossy optimization! does not apply in floating-point cases
if (T_FLOAT(*InputFormat) || T_FLOAT(*OutputFormat)) return FALSE;
// Only on 16-bit
diff --git a/plugins/fast_float/src/fast_8_curves.c b/plugins/fast_float/src/fast_8_curves.c
index e234441..ba4d607 100644
--- a/plugins/fast_float/src/fast_8_curves.c
+++ b/plugins/fast_float/src/fast_8_curves.c
@@ -378,7 +378,7 @@ cmsBool Optimize8ByJoiningCurves(_cmsTransform2Fn* TransformFn,
Curves8Data* Data;
cmsUInt32Number nChans;
- // This is a loosy optimization! does not apply in floating-point cases
+ // This is a lossy optimization! does not apply in floating-point cases
if (T_FLOAT(*InputFormat) || T_FLOAT(*OutputFormat)) return FALSE;
// Only on 8-bit
diff --git a/plugins/fast_float/src/fast_8_tethra.c b/plugins/fast_float/src/fast_8_tethra.c
index 3302e01..3e29dd1 100644
--- a/plugins/fast_float/src/fast_8_tethra.c
+++ b/plugins/fast_float/src/fast_8_tethra.c
@@ -355,7 +355,7 @@ cmsBool Optimize8BitRGBTransform(_cmsTransform2Fn* TransformFn,
// For empty transforms, do nothing
if (*Lut == NULL) return FALSE;
- // This is a loosy optimization! does not apply in floating-point cases
+ // This is a lossy optimization! does not apply in floating-point cases
if (T_FLOAT(*InputFormat) || T_FLOAT(*OutputFormat)) return FALSE;
// Only on 8-bit
diff --git a/plugins/fast_float/src/fast_float_15bits.c b/plugins/fast_float/src/fast_float_15bits.c
index 8a53dd7..6141490 100644
--- a/plugins/fast_float/src/fast_float_15bits.c
+++ b/plugins/fast_float/src/fast_float_15bits.c
@@ -331,7 +331,7 @@ cmsUInt8Number* Pack15bitsPlanar(CMSREGISTER struct _cmstransform_struct* CMMcar
-// Generic falltrough
+// Generic fallthrough
static
cmsUInt8Number* Unroll15bitsChunky(CMSREGISTER struct _cmstransform_struct* CMMcargo,
CMSREGISTER cmsUInt16Number Values[],
@@ -468,7 +468,7 @@ cmsUInt8Number* PackNBytesSwapDither(CMSREGISTER struct _cmstransform_struct* C
// The factory for 15 bits. This function returns a pointer to specialized function
// that would deal with the asked format. It return a pointer to NULL if the format
-// is not supported. This is tha basis of formatter plug-in for 15 bit formats.
+// is not supported. This is the basis of formatter plug-in for 15 bit formats.
CMSCHECKPOINT cmsFormatter CMSEXPORT Formatter_15Bit_Factory(cmsUInt32Number Type,
cmsFormatterDirection Dir,
cmsUInt32Number dwFlags)
@@ -517,7 +517,7 @@ CMSCHECKPOINT cmsFormatter CMSEXPORT Formatter_15Bit_Factory(cmsUInt32Number Typ
Result.Fmt16 = (Dir == cmsFormatterInput) ? Unroll15bitsPlanar : Pack15bitsPlanar;
break;
- // Falltrough for remaining (corner) cases
+ // Fallthrough for remaining (corner) cases
case TYPE_GRAY_15_REV:
case TYPE_GRAY_15_SE:
case TYPE_GRAYA_15:
diff --git a/plugins/fast_float/src/fast_float_cmyk.c b/plugins/fast_float/src/fast_float_cmyk.c
index f6157a1..b576e43 100644
--- a/plugins/fast_float/src/fast_float_cmyk.c
+++ b/plugins/fast_float/src/fast_float_cmyk.c
@@ -340,7 +340,7 @@ cmsBool OptimizeCLUTCMYKTransform(_cmsTransform2Fn* TransformFn,
// For empty transforms, do nothing
if (*Lut == NULL) return FALSE;
- // This is a loosy optimization! does not apply in floating-point cases
+ // This is a lossy optimization! does not apply in floating-point cases
if (!T_FLOAT(*InputFormat) || !T_FLOAT(*OutputFormat)) return FALSE;
// Only on 8-bit
diff --git a/plugins/fast_float/src/fast_float_curves.c b/plugins/fast_float/src/fast_float_curves.c
index b87e06f..48dd0b6 100644
--- a/plugins/fast_float/src/fast_float_curves.c
+++ b/plugins/fast_float/src/fast_float_curves.c
@@ -390,7 +390,7 @@ cmsBool KCurveIsLinear(CurvesFloatData* data)
}
-// Create linearization tables with a reasonable number of entries. Precission is about 32 bits.
+// Create linearization tables with a reasonable number of entries. Precision is about 32 bits.
static
CurvesFloatData* ComputeCompositeCurves(cmsUInt32Number nChan, cmsPipeline* Src)
{
diff --git a/plugins/fast_float/src/fast_float_internal.h b/plugins/fast_float/src/fast_float_internal.h
index f3bcddd..34e2eac 100644
--- a/plugins/fast_float/src/fast_float_internal.h
+++ b/plugins/fast_float/src/fast_float_internal.h
@@ -27,7 +27,7 @@
#define REQUIRED_LCMS_VERSION 2120
-// Unused parameter warning supression
+// Unused parameter warning suppression
#define UNUSED_PARAMETER(x) ((void)x)
// For testbed
diff --git a/plugins/fast_float/testbed/fast_float_testbed.c b/plugins/fast_float/testbed/fast_float_testbed.c
index a88cf57..cb3d12a 100644
--- a/plugins/fast_float/testbed/fast_float_testbed.c
+++ b/plugins/fast_float/testbed/fast_float_testbed.c
@@ -45,7 +45,7 @@ typedef struct { cmsFloat32Number L, a, b; } Scanline_LabFloat;
#define FROM_15_TO_8(x15) (cmsUInt8Number) (((cmsUInt64Number) x15 * 0xFF + 0x4000) >> 15)
-// Floating point acuracy for tests
+// Floating point accuracy for tests
#define EPSILON_FLOAT_TESTS 0.005
// A flushed printf
@@ -83,7 +83,7 @@ void Fail(const char* frm, ...)
vsprintf(ReasonToFailBuffer, frm, args);
FatalErrorQuit(0, 0, ReasonToFailBuffer);
- // unreacheable va_end(args);
+ // unreachable va_end(args);
}