/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmspcs.c | 93 cmsFloat64Number ISum; in cmsXYZ2xyY() 110 cmsFloat64Number f(cmsFloat64Number t) in f() 112 const cmsFloat64Number Limit = (24.0/116.0) * (24.0/116.0) * (24.0/116.0); in f() 121 cmsFloat64Number f_1(cmsFloat64Number t) in f_1() 123 const cmsFloat64Number Limit = (24.0/116.0); in f_1() 136 cmsFloat64Number fx, fy, fz; in cmsXYZ2Lab() 154 cmsFloat64Number x, y, z; in cmsLab2XYZ() 170 cmsFloat64Number L2float2(cmsUInt16Number v) in L2float2() 172 return (cmsFloat64Number) v / 652.800; in L2float2() 177 cmsFloat64Number ab2float2(cmsUInt16Number v) in ab2float2() [all …]
|
D | cmscam02.c | 35 cmsFloat64Number XYZ[3]; 36 cmsFloat64Number RGB[3]; 37 cmsFloat64Number RGBc[3]; 38 cmsFloat64Number RGBp[3]; 39 cmsFloat64Number RGBpa[3]; 40 cmsFloat64Number a, b, h, e, H, A, J, Q, s, t, C, M; 41 cmsFloat64Number abC[2]; 42 cmsFloat64Number abs[2]; 43 cmsFloat64Number abM[2]; 50 cmsFloat64Number LA, Yb; [all …]
|
D | cmswtpnt.c | 48 cmsBool CMSEXPORT cmsWhitePointFromTemp(cmsCIExyY* WhitePoint, cmsFloat64Number TempK) in cmsWhitePointFromTemp() 50 cmsFloat64Number x, y; in cmsWhitePointFromTemp() 51 cmsFloat64Number T, T2, T3; in cmsWhitePointFromTemp() 98 cmsFloat64Number mirek; // temp (in microreciprocal kelvin) 99 cmsFloat64Number ut; // u coord of intersection w/ blackbody locus 100 cmsFloat64Number vt; // v coord of intersection w/ blackbody locus 101 cmsFloat64Number tt; // slope of ISOTEMPERATURE. line 144 cmsBool CMSEXPORT cmsTempFromWhitePoint(cmsFloat64Number* TempK, const cmsCIExyY* WhitePoint) in cmsTempFromWhitePoint() 147 cmsFloat64Number us,vs; in cmsTempFromWhitePoint() 148 cmsFloat64Number uj,vj,tj,di,dj,mi,mj; in cmsTempFromWhitePoint() [all …]
|
D | cmsmtrx.c | 30 #define DSWAP(x, y) {cmsFloat64Number tmp = (x); (x)=(y); (y)=tmp;} 34 void CMSEXPORT _cmsVEC3init(cmsVEC3* r, cmsFloat64Number x, cmsFloat64Number y, cmsFloat64Number z) in _cmsVEC3init() 58 cmsFloat64Number CMSEXPORT _cmsVEC3dot(const cmsVEC3* u, const cmsVEC3* v) in _cmsVEC3dot() 64 cmsFloat64Number CMSEXPORT _cmsVEC3length(const cmsVEC3* a) in _cmsVEC3length() 72 cmsFloat64Number CMSEXPORT _cmsVEC3distance(const cmsVEC3* a, const cmsVEC3* b) in _cmsVEC3distance() 74 cmsFloat64Number d1 = a ->n[VX] - b ->n[VX]; in _cmsVEC3distance() 75 cmsFloat64Number d2 = a ->n[VY] - b ->n[VY]; in _cmsVEC3distance() 76 cmsFloat64Number d3 = a ->n[VZ] - b ->n[VZ]; in _cmsVEC3distance() 92 cmsBool CloseEnough(cmsFloat64Number a, cmsFloat64Number b) in CloseEnough() 131 cmsFloat64Number det, c0, c1, c2; in _cmsMAT3inverse()
|
D | cmspack.c | 774 cmsFloat64Number* Pt = (cmsFloat64Number*) accum; in UnrollLabDoubleTo16() 783 return accum + sizeof(cmsFloat64Number); in UnrollLabDoubleTo16() 788 accum += sizeof(cmsCIELab) + T_EXTRA(info ->InputFormat) * sizeof(cmsFloat64Number); in UnrollLabDoubleTo16() 836 cmsFloat64Number* Pt = (cmsFloat64Number*) accum; in UnrollXYZDoubleTo16() 844 return accum + sizeof(cmsFloat64Number); in UnrollXYZDoubleTo16() 850 accum += sizeof(cmsCIEXYZ) + T_EXTRA(info ->InputFormat) * sizeof(cmsFloat64Number); in UnrollXYZDoubleTo16() 930 cmsFloat64Number v; in UnrollDoubleTo16() 933 cmsFloat64Number maximum = IsInkSpace(info ->InputFormat) ? 655.35 : 65535.0; in UnrollDoubleTo16() 944 v = (cmsFloat32Number) ((cmsFloat64Number*) accum)[(i + start) * Stride]; in UnrollDoubleTo16() 946 v = (cmsFloat32Number) ((cmsFloat64Number*) accum)[i + start]; in UnrollDoubleTo16() [all …]
|
D | cmssm.c | 44 cmsFloat64Number r; 45 cmsFloat64Number alpha; 46 cmsFloat64Number theta; 101 cmsFloat64Number _cmsAtan2(cmsFloat64Number y, cmsFloat64Number x) in _cmsAtan2() 103 cmsFloat64Number a; in _cmsAtan2() 122 cmsFloat64Number L, a, b; in ToSpherical() 144 cmsFloat64Number sin_alpha; in ToCartesian() 145 cmsFloat64Number cos_alpha; in ToCartesian() 146 cmsFloat64Number sin_theta; in ToCartesian() 147 cmsFloat64Number cos_theta; in ToCartesian() [all …]
|
D | cmscnvrt.c | 38 cmsFloat64Number AdaptationStates[], 51 cmsFloat64Number AdaptationStates[], 64 cmsFloat64Number AdaptationStates[], 77 cmsFloat64Number AdaptationStates[], 186 cmsFloat64Number ax, ay, az, bx, by, bz, tx, ty, tz; in ComputeBlackPointCompensation() 218 cmsFloat64Number CHAD2Temp(const cmsMAT3* Chad) in CHAD2Temp() 224 cmsFloat64Number TempK; in CHAD2Temp() 250 void Temp2CHAD(cmsMAT3* Chad, cmsFloat64Number Temp) in Temp2CHAD() 263 cmsBool ComputeAbsoluteIntent(cmsFloat64Number AdaptationState, in ComputeAbsoluteIntent() 306 cmsFloat64Number TempSrc, TempDest, Temp; in ComputeAbsoluteIntent() [all …]
|
D | cmsgamma.c | 58 static cmsFloat64Number DefaultEvalParametricFn(cmsInt32Number Type, const cmsFloat64Number Params[… 313 cmsFloat64Number DefaultEvalParametricFn(cmsInt32Number Type, const cmsFloat64Number Params[], cmsF… in DefaultEvalParametricFn() 315 cmsFloat64Number e, Val, disc; in DefaultEvalParametricFn() 574 cmsFloat64Number EvalSegmentedFn(const cmsToneCurve *g, cmsFloat64Number R) in EvalSegmentedFn() 626 int EntriesByGamma(cmsFloat64Number Gamma) in EntriesByGamma() 638 cmsFloat64Number R, Val; in cmsBuildSegmentedToneCurve() 657 R = (cmsFloat64Number) i / (nGridPoints-1); in cmsBuildSegmentedToneCurve() 713 …uildParametricToneCurve(cmsContext ContextID, cmsInt32Number Type, const cmsFloat64Number Params[]) in cmsBuildParametricToneCurve() 733 size = c->ParameterCount[Pos] * sizeof(cmsFloat64Number); in cmsBuildParametricToneCurve() 742 cmsToneCurve* CMSEXPORT cmsBuildGamma(cmsContext ContextID, cmsFloat64Number Gamma) in cmsBuildGamma() [all …]
|
D | cmssamp.c | 47 cmsFloat64Number States[4] = { 1.0, 1.0, 1.0, 1.0 }; in CreateRoundtripXForm() 284 cmsFloat64Number RootOfLeastSquaresFitQuadraticCurve(int n, cmsFloat64Number x[], cmsFloat64Number … in RootOfLeastSquaresFitQuadraticCurve() 373 cmsFloat64Number inRamp[256], outRamp[256]; in cmsDetectDestinationBlackPoint() 374 cmsFloat64Number MinL, MaxL; in cmsDetectDestinationBlackPoint() 376 cmsFloat64Number yRamp[256]; in cmsDetectDestinationBlackPoint() 377 cmsFloat64Number x[256], y[256]; in cmsDetectDestinationBlackPoint() 378 cmsFloat64Number lo, hi; in cmsDetectDestinationBlackPoint() 464 Lab.L = (cmsFloat64Number) (l * 100.0) / 255.0; in cmsDetectDestinationBlackPoint() 540 cmsFloat64Number ff = yRamp[l]; in cmsDetectDestinationBlackPoint()
|
D | cmslut.c | 318 cmsFloat64Number Tmp; in EvaluateMatrix() 352 …NewElem ->Double = (cmsFloat64Number*) _cmsDupMem(mpe ->ContextID, Data ->Double, sz * sizeof(cmsF… in MatrixElemDup() 355 NewElem ->Offset = (cmsFloat64Number*) _cmsDupMem(mpe ->ContextID, in MatrixElemDup() 356 … Data ->Offset, mpe -> OutputChannels * sizeof(cmsFloat64Number)) ; in MatrixElemDup() 380 const cmsFloat64Number* Matrix, const cmsFloat64Number* Offset) in cmsStageAllocMatrix() 403 NewElem ->Double = (cmsFloat64Number*) _cmsCalloc(ContextID, n, sizeof(cmsFloat64Number)); in cmsStageAllocMatrix() 417 … NewElem ->Offset = (cmsFloat64Number*) _cmsCalloc(ContextID, Cols, sizeof(cmsFloat64Number)); in cmsStageAllocMatrix() 739 cmsUInt16Number _cmsQuantizeVal(cmsFloat64Number i, int MaxSamples) in _cmsQuantizeVal() 741 cmsFloat64Number x; in _cmsQuantizeVal() 743 x = ((cmsFloat64Number) i * 65535.) / (cmsFloat64Number) (MaxSamples - 1); in _cmsQuantizeVal() [all …]
|
D | lcms2_internal.h | 131 cmsINLINE int _cmsQuickFloor(cmsFloat64Number val) in _cmsQuickFloor() 136 …const cmsFloat64Number _lcms_double2fixmagic = 68719476736.0 * 1.5; // 2^36 * 1.5, (52-16=36) use… in _cmsQuickFloor() 138 cmsFloat64Number val; in _cmsQuickFloor() 153 cmsINLINE cmsUInt16Number _cmsQuickFloorWord(cmsFloat64Number d) in _cmsQuickFloorWord() 159 cmsINLINE cmsUInt16Number _cmsQuickSaturateWord(cmsFloat64Number d) in _cmsQuickSaturateWord() 485 cmsFloat64Number AdaptationState; 875 cmsFloat64Number AdaptationStates[], 887 cmsUInt16Number _cmsQuantizeVal(cmsFloat64Number i, int MaxSamples); 909 cmsFloat64Number AdaptationStates[], 989 cmsFloat64Number AdaptationState; [all …]
|
D | cmsvirt.c | 366 cmsFloat64Number InkLimit = *(cmsFloat64Number *) Cargo; in InkLimitingSampler() 367 cmsFloat64Number SumCMY, SumCMYK, Ratio; in InkLimitingSampler() 395 cmsFloat64Number Limit) in cmsCreateInkLimitingDeviceLinkTHR() 467 …CMSEXPORT cmsCreateInkLimitingDeviceLink(cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit) in cmsCreateInkLimitingDeviceLink() 631 cmsFloat64Number Parameters[5]; in Build_sRGBGamma() 678 cmsFloat64Number Brightness; 679 cmsFloat64Number Contrast; 680 cmsFloat64Number Hue; 681 cmsFloat64Number Saturation; 728 cmsFloat64Number Bright, in cmsCreateBCHSWabstractProfileTHR() [all …]
|
D | cmsgmt.c | 39 const cmsFloat64Number AdaptationStates[], in _cmsChain2Lab() 46 cmsFloat64Number AdaptationList[256]; in _cmsChain2Lab() 98 const cmsFloat64Number AdaptationStates[], in ComputeKToLstar() 145 const cmsFloat64Number AdaptationStates[], in _cmsBuildKToneCurve() 202 cmsFloat64Number Thereshold; // The thereshold after which is considered out of gamut 220 cmsFloat64Number dE1, dE2, ErrorRatio; in GamutSampler() 291 cmsFloat64Number AdaptationStates[], in _cmsCreateGamutCheckPipeline() 305 cmsFloat64Number AdaptationList[256]; in _cmsCreateGamutCheckPipeline() 459 cmsFloat64Number CMSEXPORT cmsDetectTAC(cmsHPROFILE hProfile) in cmsDetectTAC()
|
D | cmsplugin.c | 201 cmsBool CMSEXPORT _cmsRead15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number* n) in _cmsRead15Fixed16Number() 331 cmsBool CMSEXPORT _cmsWrite15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number n) in _cmsWrite15Fixed16Number() 359 cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8) in _cms8Fixed8toDouble() 366 return (cmsFloat64Number) ((cmsFloat64Number) msb + ((cmsFloat64Number) lsb / 256.0)); in _cms8Fixed8toDouble() 369 cmsUInt16Number CMSEXPORT _cmsDoubleTo8Fixed8(cmsFloat64Number val) in _cmsDoubleTo8Fixed8() 376 cmsFloat64Number CMSEXPORT _cms15Fixed16toDouble(cmsS15Fixed16Number fix32) in _cms15Fixed16toDouble() 378 cmsFloat64Number floater, sign, mid; in _cms15Fixed16toDouble() 387 mid = (cmsFloat64Number) FracPart / 65536.0; in _cms15Fixed16toDouble() 388 floater = (cmsFloat64Number) Whole + mid; in _cms15Fixed16toDouble() 394 cmsS15Fixed16Number CMSEXPORT _cmsDoubleTo15Fixed16(cmsFloat64Number v) in _cmsDoubleTo15Fixed16()
|
D | cmsopt.c | 374 cmsFloat64Number px, py, pz, pw; in PatchLUT() 389 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0; in PatchLUT() 390 py = ((cmsFloat64Number) At[1] * (p16->Domain[1])) / 65535.0; in PatchLUT() 391 pz = ((cmsFloat64Number) At[2] * (p16->Domain[2])) / 65535.0; in PatchLUT() 392 pw = ((cmsFloat64Number) At[3] * (p16->Domain[3])) / 65535.0; in PatchLUT() 412 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0; in PatchLUT() 413 py = ((cmsFloat64Number) At[1] * (p16->Domain[1])) / 65535.0; in PatchLUT() 414 pz = ((cmsFloat64Number) At[2] * (p16->Domain[2])) / 65535.0; in PatchLUT() 431 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0; in PatchLUT() 725 int AtBegin = (int) floor((cmsFloat64Number) g ->nEntries * 0.02 + 0.5); // Cutoff at 2% in SlopeLimiting() [all …]
|
D | cmscgats.c | 157 cmsFloat64Number dnum; // real value 533 cmsFloat64Number xpow10(int n) in xpow10() 535 return pow(10, (cmsFloat64Number) n); in xpow10() 543 it8->dnum = (cmsFloat64Number) inum; in ReadReal() 553 cmsFloat64Number frac = 0.0; // fraction in ReadReal() 590 if ((cmsFloat64Number) e * 10L < INT_MAX) in ReadReal() 605 cmsFloat64Number ParseFloatNumber(const char *Buffer) in ParseFloatNumber() 607 cmsFloat64Number dnum = 0.0; in ParseFloatNumber() 628 cmsFloat64Number frac = 0.0; // fraction in ParseFloatNumber() 667 if ((cmsFloat64Number) e * 10L < INT_MAX) in ParseFloatNumber() [all …]
|
D | cmsxform.c | 57 cmsFloat64Number CMSEXPORT cmsSetAdaptationStateTHR(cmsContext ContextID, cmsFloat64Number d) in cmsSetAdaptationStateTHR() 59 cmsFloat64Number prev; in cmsSetAdaptationStateTHR() 77 cmsFloat64Number CMSEXPORT cmsSetAdaptationState(cmsFloat64Number d) in cmsSetAdaptationState() 805 cmsFloat64Number AdaptationStates[], in cmsCreateExtendedTransform() 953 cmsFloat64Number AdaptationStates[256]; in cmsCreateMultiprofileTransformTHR() 1035 cmsFloat64Number Adaptation[4]; in cmsCreateProofingTransformTHR()
|
D | cmstypes.c | 332 cmsTagTypeSignature DecideXYZtype(cmsFloat64Number ICCVersion, const void *Data) in DecideXYZtype() 396 cmsBool SaveOneChromaticity(cmsFloat64Number x, cmsFloat64Number y, cmsIOHANDLER* io) in SaveOneChromaticity() 523 cmsFloat64Number* array_double; in Type_S15Fixed16_Read() 528 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number)); in Type_S15Fixed16_Read() 547 cmsFloat64Number* Value = (cmsFloat64Number*) Ptr; in Type_S15Fixed16_Write() 563 return _cmsDupMem(self ->ContextID, Ptr, n * sizeof(cmsFloat64Number)); in Type_S15Fixed16_Dup() 583 cmsFloat64Number* array_double; in Type_U16Fixed16_Read() 589 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number)); in Type_U16Fixed16_Read() 600 array_double[i] = (cmsFloat64Number) (v / 65536.0); in Type_U16Fixed16_Read() 610 cmsFloat64Number* Value = (cmsFloat64Number*) Ptr; in Type_U16Fixed16_Write() [all …]
|
D | cmsio1.c | 58 static const cmsFloat64Number GrayInputMatrix[] = { (InpAdj*cmsD50X), (InpAdj*cmsD50Y), (InpAdj*c… 59 static const cmsFloat64Number OneToThreeInputMatrix[] = { 1, 1, 1 }; 60 static const cmsFloat64Number PickYMatrix[] = { 0, (OutpAdj*cmsD50Y), 0 }; 61 static const cmsFloat64Number PickLstarMatrix[] = { 1, 0, 0 }; 245 …neInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 3, (cmsFloat64Number*) &Mat, NULL)… in BuildRGBInputMatrixShaper() 506 …neInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 3, (cmsFloat64Number*) &Inv, NULL)… in BuildRGBOutputMatrixShaper()
|
D | cmsps2.c | 294 return (cmsUInt8Number) floor((cmsFloat64Number) w / 257.0 + 0.5); in Word2Byte() 470 cmsFloat64Number gamma; in Emit1Gamma() 733 int EmitCIEBasedABC(cmsIOHANDLER* m, cmsFloat64Number* Matrix, cmsToneCurve** CurveSet, cmsCIEXYZ* … in EmitCIEBasedABC() 937 cmsFloat64Number* GetPtrToMatrix(const cmsStage* mpe) in GetPtrToMatrix() 976 rc = EmitCIEBasedABC(m, (cmsFloat64Number *) &Mat, in WriteInputMatrixShaper()
|
D | cmsio0.c | 969 void CMSEXPORT cmsSetProfileVersion(cmsHPROFILE hProfile, cmsFloat64Number Version) in cmsSetProfileVersion() 978 cmsFloat64Number CMSEXPORT cmsGetProfileVersion(cmsHPROFILE hProfile) in cmsGetProfileVersion() 1145 cmsFloat64Number Version = cmsGetProfileVersion((cmsHPROFILE) Icc); in SaveTags() 1587 cmsFloat64Number Version; in cmsWriteTag()
|
/external/pdfium/third_party/lcms2-2.6/include/ |
D | lcms2_plugin.h | 72 cmsFloat64Number n[3]; 82 … CMSEXPORT _cmsVEC3init(cmsVEC3* r, cmsFloat64Number x, cmsFloat64Number y, cmsFloat64… 85 CMSAPI cmsFloat64Number CMSEXPORT _cmsVEC3dot(const cmsVEC3* u, const cmsVEC3* v); 86 CMSAPI cmsFloat64Number CMSEXPORT _cmsVEC3length(const cmsVEC3* a); 87 CMSAPI cmsFloat64Number CMSEXPORT _cmsVEC3distance(const cmsVEC3* a, const cmsVEC3* b); 142 CMSAPI cmsBool CMSEXPORT _cmsRead15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number* n); 151 CMSAPI cmsBool CMSEXPORT _cmsWrite15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number n); 174 CMSAPI cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8); 175 CMSAPI cmsUInt16Number CMSEXPORT _cmsDoubleTo8Fixed8(cmsFloat64Number val); 177 CMSAPI cmsFloat64Number CMSEXPORT _cms15Fixed16toDouble(cmsS15Fixed16Number fix32); [all …]
|
D | lcms2.h | 93 typedef double cmsFloat64Number; typedef 930 cmsFloat64Number X; 931 cmsFloat64Number Y; 932 cmsFloat64Number Z; 937 cmsFloat64Number x; 938 cmsFloat64Number y; 939 cmsFloat64Number Y; 944 cmsFloat64Number L; 945 cmsFloat64Number a; 946 cmsFloat64Number b; [all …]
|