Lines Matching refs:hProfile
346 void EmitHeader(cmsIOHANDLER* m, const char* Title, cmsHPROFILE hProfile) in EmitHeader() argument
354 Description = (cmsMLU*) cmsReadTag(hProfile, cmsSigProfileDescriptionTag); in EmitHeader()
355 Copyright = (cmsMLU*) cmsReadTag(hProfile, cmsSigCopyrightTag); in EmitHeader()
831 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent) in ExtractGray2Y() argument
835 …cmsHTRANSFORM xform = cmsCreateTransformTHR(ContextID, hProfile, TYPE_GRAY_8, hXYZ, TYPE_XYZ_DBL, … in ExtractGray2Y()
861 int WriteInputLUT(cmsIOHANDLER* m, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number dw… in WriteInputLUT() argument
874 InputFormat = cmsFormatterForColorspaceOfProfile(hProfile, 2, FALSE); in WriteInputLUT()
878 cmsDetectBlackPoint(&BlackPointAdaptedToD50, hProfile, Intent, 0); in WriteInputLUT()
883 Profiles[0] = hProfile; in WriteInputLUT()
900 cmsToneCurve* Gray2Y = ExtractGray2Y(m ->ContextID, hProfile, Intent); in WriteInputLUT()
947 int WriteInputMatrixShaper(cmsIOHANDLER* m, cmsHPROFILE hProfile, cmsStage* Matrix, cmsStage* Shape… in WriteInputMatrixShaper() argument
953 ColorSpace = cmsGetColorSpace(hProfile); in WriteInputMatrixShaper()
955 cmsDetectBlackPoint(&BlackPointAdaptedToD50, hProfile, INTENT_RELATIVE_COLORIMETRIC, 0); in WriteInputMatrixShaper()
1044 cmsHPROFILE hProfile, in GenerateCSA() argument
1055 if (cmsGetDeviceClass(hProfile) == cmsSigNamedColorClass) { in GenerateCSA()
1057 if (!WriteNamedColorCSA(mem, hProfile, Intent)) goto Error; in GenerateCSA()
1064 cmsColorSpaceSignature ColorSpace = cmsGetPCS(hProfile); in GenerateCSA()
1075 lut = _cmsReadInputLUT(hProfile, Intent); in GenerateCSA()
1082 if (!WriteInputMatrixShaper(mem, hProfile, Matrix, Shaper)) goto Error; in GenerateCSA()
1087 if (!WriteInputLUT(mem, hProfile, Intent, dwFlags)) goto Error; in GenerateCSA()
1173 void EmitPQRStage(cmsIOHANDLER* m, cmsHPROFILE hProfile, int DoBPC, int lIsAbsolute) in EmitPQRStage() argument
1186 _cmsReadMediaWhitePoint(&White, hProfile); in EmitPQRStage()
1277 int WriteOutputLUT(cmsIOHANDLER* m, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number d… in WriteOutputLUT() argument
1297 OutputFormat = cmsFormatterForColorspaceOfProfile(hProfile, 2, FALSE); in WriteOutputLUT()
1300 ColorSpace = cmsGetColorSpace(hProfile); in WriteOutputLUT()
1311 Profiles[1] = hProfile; in WriteOutputLUT()
1338 cmsDetectBlackPoint(&BlackPointAdaptedToD50, hProfile, Intent, 0); in WriteOutputLUT()
1342 EmitPQRStage(m, hProfile, lDoBPC, Intent == INTENT_ABSOLUTE_COLORIMETRIC); in WriteOutputLUT()
1473 cmsHPROFILE hProfile, in GenerateCRD() argument
1481 EmitHeader(mem, "Color Rendering Dictionary (CRD)", hProfile); in GenerateCRD()
1486 if (cmsGetDeviceClass(hProfile) == cmsSigNamedColorClass) { in GenerateCRD()
1488 if (!WriteNamedColorCRD(mem, hProfile, Intent, dwFlags)) { in GenerateCRD()
1496 if (!WriteOutputLUT(mem, hProfile, Intent, dwFlags)) { in GenerateCRD()
1521 cmsHPROFILE hProfile, in cmsGetPostScriptColorResource() argument
1532 rc = GenerateCSA(ContextID, hProfile, Intent, dwFlags, io); in cmsGetPostScriptColorResource()
1537 rc = GenerateCRD(ContextID, hProfile, Intent, dwFlags, io); in cmsGetPostScriptColorResource()
1547 cmsHPROFILE hProfile, in cmsGetPostScriptCRD() argument
1562 …dwBytesUsed = cmsGetPostScriptColorResource(ContextID, cmsPS_RESOURCE_CRD, hProfile, Intent, dwFl… in cmsGetPostScriptCRD()
1574 cmsHPROFILE hProfile, in cmsGetPostScriptCSA() argument
1590 …dwBytesUsed = cmsGetPostScriptColorResource(ContextID, cmsPS_RESOURCE_CSA, hProfile, Intent, dwFl… in cmsGetPostScriptCSA()