diff options
author | Marti Maria <marti.maria@littlecms.com> | 2022-08-21 12:46:05 +0300 |
---|---|---|
committer | Marti Maria <marti.maria@littlecms.com> | 2022-08-21 12:46:05 +0300 |
commit | 4e97dbac6a6af43d4ddea4c5b5bb24737725b874 (patch) | |
tree | fcdea94e9c02d817ed8d5ef333fe29ce18dd0ca3 | |
parent | ebf575d837b0715e09277b693f83961143dbc48c (diff) |
Disable plugin for negative handling
Plugin should not get those special modes
-rw-r--r-- | plugins/fast_float/src/fast_float_sup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/fast_float/src/fast_float_sup.c b/plugins/fast_float/src/fast_float_sup.c index fc0f303..961ed55 100644 --- a/plugins/fast_float/src/fast_float_sup.c +++ b/plugins/fast_float/src/fast_float_sup.c @@ -36,6 +36,9 @@ cmsBool Floating_Point_Transforms_Dispatcher(_cmsTransform2Fn* TransformFn, // Softproofing & gamut check does not use plugin, both are activated via following flag. if (*dwFlags & cmsFLAGS_SOFTPROOFING) return FALSE; + // Special flags for reversing are not supported + if (T_FLAVOR(*InputFormat) || T_FLAVOR(*OutputFormat)) return FALSE; + // Try to optimize as a set of curves plus a matrix plus a set of curves if (OptimizeMatrixShaper15(TransformFn, UserData, FreeUserData, Lut, InputFormat, OutputFormat, dwFlags)) return TRUE; |