Home
last modified time | relevance | path

Searched refs:hProfile (Results 1 – 14 of 14) sorted by relevance

/external/pdfium/third_party/lcms/src/
Dcmsio1.c64 cmsBool _cmsReadMediaWhitePoint(cmsCIEXYZ* Dest, cmsHPROFILE hProfile) in _cmsReadMediaWhitePoint() argument
70 Tag = (cmsCIEXYZ*) cmsReadTag(hProfile, cmsSigMediaWhitePointTag); in _cmsReadMediaWhitePoint()
79 if (cmsGetEncodedICCversion(hProfile) < 0x4000000) { in _cmsReadMediaWhitePoint()
81 if (cmsGetDeviceClass(hProfile) == cmsSigDisplayClass) { in _cmsReadMediaWhitePoint()
94 cmsBool _cmsReadCHAD(cmsMAT3* Dest, cmsHPROFILE hProfile) in _cmsReadCHAD() argument
100 Tag = (cmsMAT3*) cmsReadTag(hProfile, cmsSigChromaticAdaptationTag); in _cmsReadCHAD()
111 if (cmsGetEncodedICCversion(hProfile) < 0x4000000) { in _cmsReadCHAD()
113 if (cmsGetDeviceClass(hProfile) == cmsSigDisplayClass) { in _cmsReadCHAD()
115 cmsCIEXYZ* White = (cmsCIEXYZ*) cmsReadTag(hProfile, cmsSigMediaWhitePointTag); in _cmsReadCHAD()
133 cmsBool ReadICCMatrixRGB2XYZ(cmsMAT3* r, cmsHPROFILE hProfile) in ReadICCMatrixRGB2XYZ() argument
[all …]
Dcmsvirt.c33 cmsBool SetTextTags(cmsHPROFILE hProfile, const wchar_t* Description) in SetTextTags() argument
37 cmsContext ContextID = cmsGetProfileContextID(hProfile); in SetTextTags()
47 if (!cmsWriteTag(hProfile, cmsSigProfileDescriptionTag, DescriptionMLU)) goto Error; in SetTextTags()
48 if (!cmsWriteTag(hProfile, cmsSigCopyrightTag, CopyrightMLU)) goto Error; in SetTextTags()
63 cmsBool SetSeqDescTag(cmsHPROFILE hProfile, const char* Model) in SetSeqDescTag() argument
66 cmsContext ContextID = cmsGetProfileContextID(hProfile); in SetSeqDescTag()
86 if (!_cmsWriteProfileSequence(hProfile, Seq)) goto Error; in SetSeqDescTag()
476 cmsHPROFILE hProfile; in cmsCreateLab2ProfileTHR() local
479hProfile = cmsCreateRGBProfileTHR(ContextID, WhitePoint == NULL ? cmsD50_xyY() : WhitePoint, NULL,… in cmsCreateLab2ProfileTHR()
480 if (hProfile == NULL) return NULL; in cmsCreateLab2ProfileTHR()
[all …]
Dcmsio0.c474 cmsIOHANDLER* CMSEXPORT cmsGetProfileIOhandler(cmsHPROFILE hProfile) in cmsGetProfileIOhandler() argument
476 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*)hProfile; in cmsGetProfileIOhandler()
515 cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile) in cmsGetProfileContextID() argument
517 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetProfileContextID()
525 cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile) in cmsGetTagCount() argument
527 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetTagCount()
534 cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n) in cmsGetTagSignature() argument
536 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetTagSignature()
661 cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig) in cmsIsTag() argument
663 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) (void*) hProfile; in cmsIsTag()
[all …]
Dcmssamp.c41 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()
[all …]
Dcmsps2.c346 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, int 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, int Intent, cmsUInt32Number dwFlags) 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()
[all …]
Dlcms2_internal.h765 cmsTagTypeSignature _cmsGetTagTrueType(cmsHPROFILE hProfile, cmsTagSignature sig);
875 cmsPipeline* _cmsReadInputLUT(cmsHPROFILE hProfile, int Intent);
876 cmsPipeline* _cmsReadOutputLUT(cmsHPROFILE hProfile, int Intent);
877 cmsPipeline* _cmsReadDevicelinkLUT(cmsHPROFILE hProfile, int Intent);
880 cmsBool _cmsReadMediaWhitePoint(cmsCIEXYZ* Dest, cmsHPROFILE hProfile);
881 cmsBool _cmsReadCHAD(cmsMAT3* Dest, cmsHPROFILE hProfile);
895 cmsSEQ* _cmsReadProfileSequence(cmsHPROFILE hProfile);
896 cmsBool _cmsWriteProfileSequence(cmsHPROFILE hProfile, const cmsSEQ* seq);
Dcmsmd5.c261 cmsBool CMSEXPORT cmsMD5computeID(cmsHPROFILE hProfile) in cmsMD5computeID() argument
267 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsMD5computeID()
270 _cmsAssert(hProfile != NULL); in cmsMD5computeID()
272 ContextID = cmsGetProfileContextID(hProfile); in cmsMD5computeID()
283 if (!cmsSaveProfileToMem(hProfile, NULL, &BytesNeeded)) goto Error; in cmsMD5computeID()
290 if (!cmsSaveProfileToMem(hProfile, Mem, &BytesNeeded)) goto Error; in cmsMD5computeID()
Dcmscnvrt.c533 cmsHPROFILE hProfile; in DefaultICCintents() local
553 hProfile = hProfiles[i]; in DefaultICCintents()
554 ClassSig = cmsGetDeviceClass(hProfile); in DefaultICCintents()
571 ColorSpaceIn = cmsGetColorSpace(hProfile); in DefaultICCintents()
572 ColorSpaceOut = cmsGetPCS(hProfile); in DefaultICCintents()
576 ColorSpaceIn = cmsGetPCS(hProfile); in DefaultICCintents()
577 ColorSpaceOut = cmsGetColorSpace(hProfile); in DefaultICCintents()
591 Lut = _cmsReadDevicelinkLUT(hProfile, Intent); in DefaultICCintents()
611 Lut = _cmsReadInputLUT(hProfile, Intent); in DefaultICCintents()
617 Lut = _cmsReadOutputLUT(hProfile, Intent); in DefaultICCintents()
Dcmsgmt.c459 cmsFloat64Number CMSEXPORT cmsDetectTAC(cmsHPROFILE hProfile) in cmsDetectTAC() argument
465 cmsContext ContextID = cmsGetProfileContextID(hProfile); in cmsDetectTAC()
468 if (cmsGetDeviceClass(hProfile) != cmsSigOutputClass) { in cmsDetectTAC()
473 dwFormatter = cmsFormatterForColorspaceOfProfile(hProfile, 4, TRUE); in cmsDetectTAC()
485hProfile, dwFormatter, INTENT_PERCEPTUAL, cmsFLAGS_NOOPTIMIZE|cmsFLAGS_NOCACHE); in cmsDetectTAC()
Dcmsxform.c911 cmsHPROFILE hProfile = hProfiles[i]; in GetXFormColorSpaces() local
916 if (hProfile == NULL) return FALSE; in GetXFormColorSpaces()
918 cls = cmsGetDeviceClass(hProfile); in GetXFormColorSpaces()
923 ColorSpaceOut = (nProfiles > 1) ? cmsGetPCS(hProfile) : cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
928 ColorSpaceIn = cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
929 ColorSpaceOut = cmsGetPCS(hProfile); in GetXFormColorSpaces()
933 ColorSpaceIn = cmsGetPCS(hProfile); in GetXFormColorSpaces()
934 ColorSpaceOut = cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
Dcmspack.c3330 cmsUInt32Number CMSEXPORT cmsFormatterForColorspaceOfProfile(cmsHPROFILE hProfile, cmsUInt32Number … in cmsFormatterForColorspaceOfProfile() argument
3333 cmsColorSpaceSignature ColorSpace = cmsGetColorSpace(hProfile); in cmsFormatterForColorspaceOfProfile()
3343 cmsUInt32Number CMSEXPORT cmsFormatterForPCSOfProfile(cmsHPROFILE hProfile, cmsUInt32Number nBytes,… in cmsFormatterForPCSOfProfile() argument
3346 cmsColorSpaceSignature ColorSpace = cmsGetPCS(hProfile); in cmsFormatterForPCSOfProfile()
/external/pdfium/third_party/lcms/include/
Dlcms2.h1421 CMSAPI cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile);
1422 CMSAPI cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
1423 CMSAPI cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n);
1424 CMSAPI cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig);
1427 CMSAPI void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig);
1428 CMSAPI cmsBool CMSEXPORT cmsWriteTag(cmsHPROFILE hProfile, cmsTagSignature sig, const voi…
1429 CMSAPI cmsBool CMSEXPORT cmsLinkTag(cmsHPROFILE hProfile, cmsTagSignature sig, cmsTagSign…
1430 CMSAPI cmsTagSignature CMSEXPORT cmsTagLinkedTo(cmsHPROFILE hProfile, cmsTagSignature sig);
1433 CMSAPI cmsInt32Number CMSEXPORT cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, void* B…
1434 CMSAPI cmsBool CMSEXPORT cmsWriteRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, const …
[all …]
/external/pdfium/third_party/lcms/
D0027-changes-from-beginning-of-time.patch93 @@ -479,6 +479,14 @@ cmsIOHANDLER* CMSEXPORT cmsGetProfileIOhandler(cmsHPROFILE hProfile)
135 cmsBool CMSEXPORT cmsSaveProfileToFile(cmsHPROFILE hProfile, const char* FileName)
140 @@ -201,7 +201,11 @@ cmsPipeline* BuildGrayInputMatrixPipeline(cmsHPROFILE hProfile)
146 + // memory pointed by GrayTRC will be freed when hProfile is closed.
D0018-backport-c0a98d86.patch18 @@ -1475,6 +1475,17 @@ void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig)