Bug 752254 - qcms - Prefer precache output curves even if a A2B/B2A CLUT is present. r=jmuizelaar

--HG--
extra : rebase_source : fb5135434d7c7c80656a54e21b6e3b6216210b71
This commit is contained in:
Benoit Girard 2012-05-22 14:51:29 -04:00
parent cc763143d7
commit 03519e232c

View File

@ -994,13 +994,15 @@ void qcms_profile_precache_output_transform(qcms_profile *profile)
if (profile->color_space != RGB_SIGNATURE)
return;
/* don't precache since we will use the B2A LUT */
if (profile->B2A0)
return;
if (qcms_supports_iccv4) {
/* don't precache since we will use the B2A LUT */
if (profile->B2A0)
return;
/* don't precache since we will use the mBA LUT */
if (profile->mBA)
return;
/* don't precache since we will use the mBA LUT */
if (profile->mBA)
return;
}
/* don't precache if we do not have the TRC curves */
if (!profile->redTRC || !profile->greenTRC || !profile->blueTRC)