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 …]
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 …]
Dcmsio0.c480 cmsIOHANDLER* CMSEXPORT cmsGetProfileIOhandler(cmsHPROFILE hProfile) in cmsGetProfileIOhandler() argument
482 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*)hProfile; in cmsGetProfileIOhandler()
521 cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile) in cmsGetProfileContextID() argument
523 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetProfileContextID()
531 cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile) in cmsGetTagCount() argument
533 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetTagCount()
540 cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n) in cmsGetTagSignature() argument
542 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetTagSignature()
667 cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig) in cmsIsTag() argument
669 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) (void*) hProfile; in cmsIsTag()
[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, 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()
[all …]
Dlcms2_internal.h817 cmsTagTypeSignature _cmsGetTagTrueType(cmsHPROFILE hProfile, cmsTagSignature sig);
927 cmsPipeline* _cmsReadInputLUT(cmsHPROFILE hProfile, cmsUInt32Number Intent);
928 cmsPipeline* _cmsReadOutputLUT(cmsHPROFILE hProfile, cmsUInt32Number Intent);
929 cmsPipeline* _cmsReadDevicelinkLUT(cmsHPROFILE hProfile, cmsUInt32Number Intent);
932 cmsBool _cmsReadMediaWhitePoint(cmsCIEXYZ* Dest, cmsHPROFILE hProfile);
933 cmsBool _cmsReadCHAD(cmsMAT3* Dest, cmsHPROFILE hProfile);
947 cmsSEQ* _cmsReadProfileSequence(cmsHPROFILE hProfile);
948 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.c534 cmsHPROFILE hProfile; in DefaultICCintents() local
554 hProfile = hProfiles[i]; in DefaultICCintents()
555 ClassSig = cmsGetDeviceClass(hProfile); in DefaultICCintents()
572 ColorSpaceIn = cmsGetColorSpace(hProfile); in DefaultICCintents()
573 ColorSpaceOut = cmsGetPCS(hProfile); in DefaultICCintents()
577 ColorSpaceIn = cmsGetPCS(hProfile); in DefaultICCintents()
578 ColorSpaceOut = cmsGetColorSpace(hProfile); in DefaultICCintents()
592 Lut = _cmsReadDevicelinkLUT(hProfile, Intent); in DefaultICCintents()
612 Lut = _cmsReadInputLUT(hProfile, Intent); in DefaultICCintents()
618 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.c919 cmsHPROFILE hProfile = hProfiles[i]; in GetXFormColorSpaces() local
924 if (hProfile == NULL) return FALSE; in GetXFormColorSpaces()
926 cls = cmsGetDeviceClass(hProfile); in GetXFormColorSpaces()
931 ColorSpaceOut = (nProfiles > 1) ? cmsGetPCS(hProfile) : cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
936 ColorSpaceIn = cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
937 ColorSpaceOut = cmsGetPCS(hProfile); in GetXFormColorSpaces()
941 ColorSpaceIn = cmsGetPCS(hProfile); in GetXFormColorSpaces()
942 ColorSpaceOut = cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
Dcmspack.c3328 cmsUInt32Number CMSEXPORT cmsFormatterForColorspaceOfProfile(cmsHPROFILE hProfile, cmsUInt32Number … in cmsFormatterForColorspaceOfProfile() argument
3331 cmsColorSpaceSignature ColorSpace = cmsGetColorSpace(hProfile); in cmsFormatterForColorspaceOfProfile()
3341 cmsUInt32Number CMSEXPORT cmsFormatterForPCSOfProfile(cmsHPROFILE hProfile, cmsUInt32Number nBytes,… in cmsFormatterForPCSOfProfile() argument
3344 cmsColorSpaceSignature ColorSpace = cmsGetPCS(hProfile); in cmsFormatterForPCSOfProfile()
/external/pdfium/third_party/lcms/include/
Dlcms2.h1429 CMSAPI cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile);
1430 CMSAPI cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
1431 CMSAPI cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n);
1432 CMSAPI cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig);
1435 CMSAPI void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig);
1436 CMSAPI cmsBool CMSEXPORT cmsWriteTag(cmsHPROFILE hProfile, cmsTagSignature sig, const voi…
1437 CMSAPI cmsBool CMSEXPORT cmsLinkTag(cmsHPROFILE hProfile, cmsTagSignature sig, cmsTagSign…
1438 CMSAPI cmsTagSignature CMSEXPORT cmsTagLinkedTo(cmsHPROFILE hProfile, cmsTagSignature sig);
1441 CMSAPI cmsUInt32Number CMSEXPORT cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, void* B…
1442 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.
D0031-wrong-tag-element-count.patch5 @@ -1616,6 +1616,7 @@ void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig)