From f6b8e0eae4374f339487a33e3e4fe5462d5816e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 25 Nov 2017 10:16:00 +0100 Subject: New upstream version 2.0.0 --- gamut/GenRMGam.c | 0 gamut/GenVisGam.c | 0 gamut/Jamfile | 0 gamut/License.txt | 0 gamut/Readme.txt | 0 gamut/afiles | 0 gamut/fakegam.c | 0 gamut/gammap.c | 8 +++++--- gamut/gammap.h | 0 gamut/gammap.txt | 0 gamut/gamut.c | 0 gamut/gamut.h | 0 gamut/isecvol.c | 0 gamut/maptest.c | 0 gamut/nearsmth.c | 0 gamut/nearsmth.h | 0 gamut/smthtest.c | 0 gamut/surftest.c | 0 gamut/viewgam.c | 0 19 files changed, 5 insertions(+), 3 deletions(-) mode change 100644 => 100755 gamut/GenRMGam.c mode change 100644 => 100755 gamut/GenVisGam.c mode change 100644 => 100755 gamut/Jamfile mode change 100644 => 100755 gamut/License.txt mode change 100644 => 100755 gamut/Readme.txt mode change 100644 => 100755 gamut/afiles mode change 100644 => 100755 gamut/fakegam.c mode change 100644 => 100755 gamut/gammap.c mode change 100644 => 100755 gamut/gammap.h mode change 100644 => 100755 gamut/gammap.txt mode change 100644 => 100755 gamut/gamut.c mode change 100644 => 100755 gamut/gamut.h mode change 100644 => 100755 gamut/isecvol.c mode change 100644 => 100755 gamut/maptest.c mode change 100644 => 100755 gamut/nearsmth.c mode change 100644 => 100755 gamut/nearsmth.h mode change 100644 => 100755 gamut/smthtest.c mode change 100644 => 100755 gamut/surftest.c mode change 100644 => 100755 gamut/viewgam.c (limited to 'gamut') diff --git a/gamut/GenRMGam.c b/gamut/GenRMGam.c old mode 100644 new mode 100755 diff --git a/gamut/GenVisGam.c b/gamut/GenVisGam.c old mode 100644 new mode 100755 diff --git a/gamut/Jamfile b/gamut/Jamfile old mode 100644 new mode 100755 diff --git a/gamut/License.txt b/gamut/License.txt old mode 100644 new mode 100755 diff --git a/gamut/Readme.txt b/gamut/Readme.txt old mode 100644 new mode 100755 diff --git a/gamut/afiles b/gamut/afiles old mode 100644 new mode 100755 diff --git a/gamut/fakegam.c b/gamut/fakegam.c old mode 100644 new mode 100755 diff --git a/gamut/gammap.c b/gamut/gammap.c old mode 100644 new mode 100755 index 03b9502..2fd00a3 --- a/gamut/gammap.c +++ b/gamut/gammap.c @@ -1359,10 +1359,12 @@ typedef struct { /* the source image gamut, and map to points outside the */ /* destination gamut) */ - /* See how much to bend the black - compute the color difference */ + /* See how much to bend the black - compute the color difference. */ /* We start out in the direction of dr_be_bp at white, and at */ - /* the end we bend towards the overall bp dr_cs_bp */ + /* the end we bend towards the overall bp dr_cs_bp. */ /* (brad will be 0 for non gmm_bendBP because dr_be_bp dr_cs_bp */ + /* Smaller brad = tighter, more obvious bend, but less black */ + /* hue leaking into neutrals. */ for (brad = 0.0, i = 1; i < 3; i++) { double tt = dr_be_bp[i] - dr_cs_bp[i]; brad += tt * tt; @@ -1419,7 +1421,7 @@ typedef struct { ty = t * t * (3.0 - 2.0 * t); /* spline blend value */ t = (1.0 - t) * ty + t * t; /* spline at t == 0, linear at t == 1 */ - wt *= (1.0 + t * brad); /* Increase weigting with the bend */ + wt *= (1.0 + t * brad); /* Increase weighting with the bend */ } else { t = 0.0; /* stick to straight, it will be close anyway. */ diff --git a/gamut/gammap.h b/gamut/gammap.h old mode 100644 new mode 100755 diff --git a/gamut/gammap.txt b/gamut/gammap.txt old mode 100644 new mode 100755 diff --git a/gamut/gamut.c b/gamut/gamut.c old mode 100644 new mode 100755 diff --git a/gamut/gamut.h b/gamut/gamut.h old mode 100644 new mode 100755 diff --git a/gamut/isecvol.c b/gamut/isecvol.c old mode 100644 new mode 100755 diff --git a/gamut/maptest.c b/gamut/maptest.c old mode 100644 new mode 100755 diff --git a/gamut/nearsmth.c b/gamut/nearsmth.c old mode 100644 new mode 100755 diff --git a/gamut/nearsmth.h b/gamut/nearsmth.h old mode 100644 new mode 100755 diff --git a/gamut/smthtest.c b/gamut/smthtest.c old mode 100644 new mode 100755 diff --git a/gamut/surftest.c b/gamut/surftest.c old mode 100644 new mode 100755 diff --git a/gamut/viewgam.c b/gamut/viewgam.c old mode 100644 new mode 100755 -- cgit v1.2.3