diff options
author | Benoit Girard <mozilla@wavicle-2.local> | 2010-08-01 18:45:13 -0400 |
---|---|---|
committer | Benoit Girard <mozilla@wavicle-2.local> | 2010-08-01 18:45:13 -0400 |
commit | f2c9535d0b1613eaa6720c86ebab7a92f72fa59a (patch) | |
tree | 5a2bd1fc94e165a600b6b39ecfc4af0cd99679fe /transform.c | |
parent | bc4eafb77a3479532ab0ef968c0287a8aea9b3c2 (diff) |
Review comments: Explained 33 sample size, rename xyz to pcs in some places, fix spelling
Diffstat (limited to 'transform.c')
-rw-r--r-- | transform.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/transform.c b/transform.c index cded207..72e5535 100644 --- a/transform.c +++ b/transform.c @@ -1115,6 +1115,11 @@ qcms_transform* qcms_transform_create( } if (in->A2B0 || out->B2A0 || in->mAB || out->mAB) { + // Precache the transformation to a CLUT 33x33x33 in size. + // 33 is used by many profiles and works well in pratice. + // This evenly divides 256 into blocks of 8x8x8. + // TODO For transforming small data sets of about 200x200 or less + // precaching should be avoided. qcms_transform *result = qcms_transform_precacheLUT_float(transform, in, out, 33, in_type); if (!result) { assert(0 && "precacheLUT failed"); |