Lines Matching refs:hProfile
41 cmsHTRANSFORM CreateRoundtripXForm(cmsHPROFILE hProfile, cmsUInt32Number nIntent) in CreateRoundtripXForm() argument
43 cmsContext ContextID = cmsGetProfileContextID(hProfile); in CreateRoundtripXForm()
51 hProfiles[0] = hLab; hProfiles[1] = hProfile; hProfiles[2] = hProfile; hProfiles[3] = hLab; in CreateRoundtripXForm()
148 cmsBool BlackPointUsingPerceptualBlack(cmsCIEXYZ* BlackPoint, cmsHPROFILE hProfile) in BlackPointUsingPerceptualBlack() argument
155 if (!cmsIsIntentSupported(hProfile, INTENT_PERCEPTUAL, LCMS_USED_AS_INPUT)) { in BlackPointUsingPerceptualBlack()
161 hRoundTrip = CreateRoundtripXForm(hProfile, INTENT_PERCEPTUAL); in BlackPointUsingPerceptualBlack()
191 cmsBool CMSEXPORT cmsDetectBlackPoint(cmsCIEXYZ* BlackPoint, cmsHPROFILE hProfile, cmsUInt32Number … in cmsDetectBlackPoint() argument
196 devClass = cmsGetDeviceClass(hProfile); in cmsDetectBlackPoint()
214 if ((cmsGetEncodedICCversion(hProfile) >= 0x4000000) && in cmsDetectBlackPoint()
218 if (cmsIsMatrixShaper(hProfile)) in cmsDetectBlackPoint()
219 … return BlackPointAsDarkerColorant(hProfile, INTENT_RELATIVE_COLORIMETRIC, BlackPoint, 0); in cmsDetectBlackPoint()
233 if (cmsIsTag(hProfile, cmsSigMediaBlackPointTag) && in cmsDetectBlackPoint()
241 BlackPtr = cmsReadTag(hProfile, cmsSigMediaBlackPointTag); in cmsDetectBlackPoint()
245 _cmsReadMediaWhitePoint(&MediaWhite, hProfile); in cmsDetectBlackPoint()
268 (cmsGetDeviceClass(hProfile) == cmsSigOutputClass) && in cmsDetectBlackPoint()
269 (cmsGetColorSpace(hProfile) == cmsSigCmykData)) in cmsDetectBlackPoint()
270 return BlackPointUsingPerceptualBlack(BlackPoint, hProfile); in cmsDetectBlackPoint()
273 return BlackPointAsDarkerColorant(hProfile, Intent, BlackPoint, dwFlags); in cmsDetectBlackPoint()
347 cmsBool CMSEXPORT cmsDetectDestinationBlackPoint(cmsCIEXYZ* BlackPoint, cmsHPROFILE hProfile, cmsUI… in cmsDetectDestinationBlackPoint() argument
362 devClass = cmsGetDeviceClass(hProfile); in cmsDetectDestinationBlackPoint()
381 if ((cmsGetEncodedICCversion(hProfile) >= 0x4000000) && in cmsDetectDestinationBlackPoint()
385 if (cmsIsMatrixShaper(hProfile)) in cmsDetectDestinationBlackPoint()
386 … return BlackPointAsDarkerColorant(hProfile, INTENT_RELATIVE_COLORIMETRIC, BlackPoint, 0); in cmsDetectDestinationBlackPoint()
397 ColorSpace = cmsGetColorSpace(hProfile); in cmsDetectDestinationBlackPoint()
398 if (!cmsIsCLUT(hProfile, Intent, LCMS_USED_AS_OUTPUT ) || in cmsDetectDestinationBlackPoint()
404 return cmsDetectBlackPoint(BlackPoint, hProfile, Intent, dwFlags); in cmsDetectDestinationBlackPoint()
416 if (!cmsDetectBlackPoint(&IniXYZ, hProfile, Intent, dwFlags)) { in cmsDetectDestinationBlackPoint()
436 hRoundTrip = CreateRoundtripXForm(hProfile, Intent); in cmsDetectDestinationBlackPoint()