diff options
Diffstat (limited to 'gamut')
-rwxr-xr-x[-rw-r--r--] | gamut/GenRMGam.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/GenVisGam.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/Jamfile | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/License.txt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/Readme.txt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/afiles | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/fakegam.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/gammap.c | 8 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/gammap.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/gammap.txt | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/gamut.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/gamut.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/isecvol.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/maptest.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/nearsmth.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/nearsmth.h | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/smthtest.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/surftest.c | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | gamut/viewgam.c | 0 |
19 files changed, 5 insertions, 3 deletions
diff --git a/gamut/GenRMGam.c b/gamut/GenRMGam.c index 5a62eee..5a62eee 100644..100755 --- a/gamut/GenRMGam.c +++ b/gamut/GenRMGam.c diff --git a/gamut/GenVisGam.c b/gamut/GenVisGam.c index 12d8d9d..12d8d9d 100644..100755 --- a/gamut/GenVisGam.c +++ b/gamut/GenVisGam.c diff --git a/gamut/Jamfile b/gamut/Jamfile index e97d0df..e97d0df 100644..100755 --- a/gamut/Jamfile +++ b/gamut/Jamfile diff --git a/gamut/License.txt b/gamut/License.txt index a871fcf..a871fcf 100644..100755 --- a/gamut/License.txt +++ b/gamut/License.txt diff --git a/gamut/Readme.txt b/gamut/Readme.txt index 56e7e13..56e7e13 100644..100755 --- a/gamut/Readme.txt +++ b/gamut/Readme.txt diff --git a/gamut/afiles b/gamut/afiles index 951926b..951926b 100644..100755 --- a/gamut/afiles +++ b/gamut/afiles diff --git a/gamut/fakegam.c b/gamut/fakegam.c index ec40457..ec40457 100644..100755 --- a/gamut/fakegam.c +++ b/gamut/fakegam.c diff --git a/gamut/gammap.c b/gamut/gammap.c index 03b9502..2fd00a3 100644..100755 --- 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 index 247ff65..247ff65 100644..100755 --- a/gamut/gammap.h +++ b/gamut/gammap.h diff --git a/gamut/gammap.txt b/gamut/gammap.txt index f751248..f751248 100644..100755 --- a/gamut/gammap.txt +++ b/gamut/gammap.txt diff --git a/gamut/gamut.c b/gamut/gamut.c index 14b45c7..14b45c7 100644..100755 --- a/gamut/gamut.c +++ b/gamut/gamut.c diff --git a/gamut/gamut.h b/gamut/gamut.h index e74f942..e74f942 100644..100755 --- a/gamut/gamut.h +++ b/gamut/gamut.h diff --git a/gamut/isecvol.c b/gamut/isecvol.c index 58eea9d..58eea9d 100644..100755 --- a/gamut/isecvol.c +++ b/gamut/isecvol.c diff --git a/gamut/maptest.c b/gamut/maptest.c index ae74a1c..ae74a1c 100644..100755 --- a/gamut/maptest.c +++ b/gamut/maptest.c diff --git a/gamut/nearsmth.c b/gamut/nearsmth.c index c65704e..c65704e 100644..100755 --- a/gamut/nearsmth.c +++ b/gamut/nearsmth.c diff --git a/gamut/nearsmth.h b/gamut/nearsmth.h index 82afab3..82afab3 100644..100755 --- a/gamut/nearsmth.h +++ b/gamut/nearsmth.h diff --git a/gamut/smthtest.c b/gamut/smthtest.c index 71ba1e2..71ba1e2 100644..100755 --- a/gamut/smthtest.c +++ b/gamut/smthtest.c diff --git a/gamut/surftest.c b/gamut/surftest.c index ca2a786..ca2a786 100644..100755 --- a/gamut/surftest.c +++ b/gamut/surftest.c diff --git a/gamut/viewgam.c b/gamut/viewgam.c index 9a7a2f5..9a7a2f5 100644..100755 --- a/gamut/viewgam.c +++ b/gamut/viewgam.c |