Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms2-2.6/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.c488 cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile) in cmsGetProfileContextID() argument
490 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetProfileContextID()
498 cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile) in cmsGetTagCount() argument
500 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetTagCount()
507 cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n) in cmsGetTagSignature() argument
509 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetTagSignature()
634 cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig) in cmsIsTag() argument
636 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) (void*) hProfile; in cmsIsTag()
815 cmsUInt32Number CMSEXPORT cmsGetHeaderRenderingIntent(cmsHPROFILE hProfile) in cmsGetHeaderRenderingIntent() argument
817 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsGetHeaderRenderingIntent()
[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.h752 cmsTagTypeSignature _cmsGetTagTrueType(cmsHPROFILE hProfile, cmsTagSignature sig);
860 cmsPipeline* _cmsReadInputLUT(cmsHPROFILE hProfile, int Intent);
861 cmsPipeline* _cmsReadOutputLUT(cmsHPROFILE hProfile, int Intent);
862 cmsPipeline* _cmsReadDevicelinkLUT(cmsHPROFILE hProfile, int Intent);
865 cmsBool _cmsReadMediaWhitePoint(cmsCIEXYZ* Dest, cmsHPROFILE hProfile);
866 cmsBool _cmsReadCHAD(cmsMAT3* Dest, cmsHPROFILE hProfile);
880 cmsSEQ* _cmsReadProfileSequence(cmsHPROFILE hProfile);
881 cmsBool _cmsWriteProfileSequence(cmsHPROFILE hProfile, const cmsSEQ* seq);
Dcmsmd5.c260 cmsBool CMSEXPORT cmsMD5computeID(cmsHPROFILE hProfile) in cmsMD5computeID() argument
266 _cmsICCPROFILE* Icc = (_cmsICCPROFILE*) hProfile; in cmsMD5computeID()
269 _cmsAssert(hProfile != NULL); in cmsMD5computeID()
271 ContextID = cmsGetProfileContextID(hProfile); in cmsMD5computeID()
282 if (!cmsSaveProfileToMem(hProfile, NULL, &BytesNeeded)) goto Error; in cmsMD5computeID()
289 if (!cmsSaveProfileToMem(hProfile, Mem, &BytesNeeded)) goto Error; in cmsMD5computeID()
Dcmscnvrt.c530 cmsHPROFILE hProfile; in DefaultICCintents() local
550 hProfile = hProfiles[i]; in DefaultICCintents()
551 ClassSig = cmsGetDeviceClass(hProfile); in DefaultICCintents()
568 ColorSpaceIn = cmsGetColorSpace(hProfile); in DefaultICCintents()
569 ColorSpaceOut = cmsGetPCS(hProfile); in DefaultICCintents()
573 ColorSpaceIn = cmsGetPCS(hProfile); in DefaultICCintents()
574 ColorSpaceOut = cmsGetColorSpace(hProfile); in DefaultICCintents()
588 Lut = _cmsReadDevicelinkLUT(hProfile, Intent); in DefaultICCintents()
608 Lut = _cmsReadInputLUT(hProfile, Intent); in DefaultICCintents()
614 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.c729 cmsHPROFILE hProfile = hProfiles[i]; in GetXFormColorSpaces() local
734 if (hProfile == NULL) return FALSE; in GetXFormColorSpaces()
736 cls = cmsGetDeviceClass(hProfile); in GetXFormColorSpaces()
741 ColorSpaceOut = (nProfiles > 1) ? cmsGetPCS(hProfile) : cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
746 ColorSpaceIn = cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
747 ColorSpaceOut = cmsGetPCS(hProfile); in GetXFormColorSpaces()
751 ColorSpaceIn = cmsGetPCS(hProfile); in GetXFormColorSpaces()
752 ColorSpaceOut = cmsGetColorSpace(hProfile); in GetXFormColorSpaces()
Dcmspack.c3346 cmsUInt32Number CMSEXPORT cmsFormatterForColorspaceOfProfile(cmsHPROFILE hProfile, cmsUInt32Number … in cmsFormatterForColorspaceOfProfile() argument
3349 cmsColorSpaceSignature ColorSpace = cmsGetColorSpace(hProfile); in cmsFormatterForColorspaceOfProfile()
3359 cmsUInt32Number CMSEXPORT cmsFormatterForPCSOfProfile(cmsHPROFILE hProfile, cmsUInt32Number nBytes,… in cmsFormatterForPCSOfProfile() argument
3362 cmsColorSpaceSignature ColorSpace = cmsGetPCS(hProfile); in cmsFormatterForPCSOfProfile()
/external/pdfium/third_party/lcms2-2.6/include/
Dlcms2.h1416 CMSAPI cmsContext CMSEXPORT cmsGetProfileContextID(cmsHPROFILE hProfile);
1417 CMSAPI cmsInt32Number CMSEXPORT cmsGetTagCount(cmsHPROFILE hProfile);
1418 CMSAPI cmsTagSignature CMSEXPORT cmsGetTagSignature(cmsHPROFILE hProfile, cmsUInt32Number n);
1419 CMSAPI cmsBool CMSEXPORT cmsIsTag(cmsHPROFILE hProfile, cmsTagSignature sig);
1422 CMSAPI void* CMSEXPORT cmsReadTag(cmsHPROFILE hProfile, cmsTagSignature sig);
1423 CMSAPI cmsBool CMSEXPORT cmsWriteTag(cmsHPROFILE hProfile, cmsTagSignature sig, const voi…
1424 CMSAPI cmsBool CMSEXPORT cmsLinkTag(cmsHPROFILE hProfile, cmsTagSignature sig, cmsTagSign…
1425 CMSAPI cmsTagSignature CMSEXPORT cmsTagLinkedTo(cmsHPROFILE hProfile, cmsTagSignature sig);
1428 CMSAPI cmsInt32Number CMSEXPORT cmsReadRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, void* B…
1429 CMSAPI cmsBool CMSEXPORT cmsWriteRawTag(cmsHPROFILE hProfile, cmsTagSignature sig, const …
[all …]
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_icc.cpp287 cmsHPROFILE hProfile = in GetProfileCS() local
289 if (!hProfile) { in GetProfileCS()
292 cs = GetProfileCSFromHandle(hProfile); in GetProfileCS()
293 if (hProfile) { in GetProfileCS()
294 cmsCloseProfile(hProfile); in GetProfileCS()