HomeSort by relevance Sort by last modified time
    Searched refs:cmsFloat64Number (Results 1 - 23 of 23) sorted by null

  /external/pdfium/third_party/lcms2-2.6/src/
cmspcs.c 93 cmsFloat64Number ISum;
110 cmsFloat64Number f(cmsFloat64Number t)
112 const cmsFloat64Number Limit = (24.0/116.0) * (24.0/116.0) * (24.0/116.0);
121 cmsFloat64Number f_1(cmsFloat64Number t)
123 const cmsFloat64Number Limit = (24.0/116.0);
136 cmsFloat64Number fx, fy, fz;
154 cmsFloat64Number x, y, z;
170 cmsFloat64Number L2float2(cmsUInt16Number v
    [all...]
cmswtpnt.c 48 cmsBool CMSEXPORT cmsWhitePointFromTemp(cmsCIExyY* WhitePoint, cmsFloat64Number TempK)
50 cmsFloat64Number x, y;
51 cmsFloat64Number T, T2, T3;
52 // cmsFloat64Number M1, M2;
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)
147 cmsFloat64Number us,vs
    [all...]
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)
58 cmsFloat64Number CMSEXPORT _cmsVEC3dot(const cmsVEC3* u, const cmsVEC3* v)
64 cmsFloat64Number CMSEXPORT _cmsVEC3length(const cmsVEC3* a)
72 cmsFloat64Number CMSEXPORT _cmsVEC3distance(const cmsVEC3* a, const cmsVEC3* b)
74 cmsFloat64Number d1 = a ->n[VX] - b ->n[VX];
75 cmsFloat64Number d2 = a ->n[VY] - b ->n[VY];
76 cmsFloat64Number d3 = a ->n[VZ] - b ->n[VZ]
    [all...]
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...]
cmssm.c 44 cmsFloat64Number r;
45 cmsFloat64Number alpha;
46 cmsFloat64Number theta;
101 cmsFloat64Number _cmsAtan2(cmsFloat64Number y, cmsFloat64Number x)
103 cmsFloat64Number a;
122 cmsFloat64Number L, a, b;
144 cmsFloat64Number sin_alpha;
145 cmsFloat64Number cos_alpha
    [all...]
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;
218 cmsFloat64Number CHAD2Temp(const cmsMAT3* Chad)
224 cmsFloat64Number TempK;
250 void Temp2CHAD(cmsMAT3* Chad, cmsFloat64Number Temp)
263 cmsBool ComputeAbsoluteIntent(cmsFloat64Number AdaptationState,
306 cmsFloat64Number TempSrc, TempDest, Temp
    [all...]
cmssamp.c 47 cmsFloat64Number States[4] = { 1.0, 1.0, 1.0, 1.0 };
284 cmsFloat64Number RootOfLeastSquaresFitQuadraticCurve(int n, cmsFloat64Number x[], cmsFloat64Number y[])
345 cmsBool IsMonotonic(int n, const cmsFloat64Number Table[])
348 cmsFloat64Number last;
373 cmsFloat64Number inRamp[256], outRamp[256];
374 cmsFloat64Number MinL, MaxL;
376 cmsFloat64Number yRamp[256];
377 cmsFloat64Number x[256], y[256]
    [all...]
cmspack.c 774 cmsFloat64Number* Pt = (cmsFloat64Number*) accum;
783 return accum + sizeof(cmsFloat64Number);
788 accum += sizeof(cmsCIELab) + T_EXTRA(info ->InputFormat) * sizeof(cmsFloat64Number);
836 cmsFloat64Number* Pt = (cmsFloat64Number*) accum;
844 return accum + sizeof(cmsFloat64Number);
850 accum += sizeof(cmsCIEXYZ) + T_EXTRA(info ->InputFormat) * sizeof(cmsFloat64Number);
930 cmsFloat64Number v;
933 cmsFloat64Number maximum = IsInkSpace(info ->InputFormat) ? 655.35 : 65535.0
    [all...]
cmsgamma.c 58 static cmsFloat64Number DefaultEvalParametricFn(cmsInt32Number Type, const cmsFloat64Number Params[], cmsFloat64Number R);
313 cmsFloat64Number DefaultEvalParametricFn(cmsInt32Number Type, const cmsFloat64Number Params[], cmsFloat64Number R)
315 cmsFloat64Number e, Val, disc;
574 cmsFloat64Number EvalSegmentedFn(const cmsToneCurve *g, cmsFloat64Number R)
626 int EntriesByGamma(cmsFloat64Number Gamma
    [all...]
cmsgmt.c 39 const cmsFloat64Number AdaptationStates[],
46 cmsFloat64Number AdaptationList[256];
98 const cmsFloat64Number AdaptationStates[],
145 const cmsFloat64Number AdaptationStates[],
202 cmsFloat64Number Thereshold; // The thereshold after which is considered out of gamut
220 cmsFloat64Number dE1, dE2, ErrorRatio;
291 cmsFloat64Number AdaptationStates[],
305 cmsFloat64Number AdaptationList[256];
459 cmsFloat64Number CMSEXPORT cmsDetectTAC(cmsHPROFILE hProfile)
cmsvirt.c 366 cmsFloat64Number InkLimit = *(cmsFloat64Number *) Cargo;
367 cmsFloat64Number SumCMY, SumCMYK, Ratio;
395 cmsFloat64Number Limit)
467 cmsHPROFILE CMSEXPORT cmsCreateInkLimitingDeviceLink(cmsColorSpaceSignature ColorSpace, cmsFloat64Number Limit)
631 cmsFloat64Number Parameters[5];
678 cmsFloat64Number Brightness;
679 cmsFloat64Number Contrast;
680 cmsFloat64Number Hue;
681 cmsFloat64Number Saturation
    [all...]
lcms2_internal.h 131 cmsINLINE int _cmsQuickFloor(cmsFloat64Number val)
136 const cmsFloat64Number _lcms_double2fixmagic = 68719476736.0 * 1.5; // 2^36 * 1.5, (52-16=36) uses limited precision to floor
138 cmsFloat64Number val;
153 cmsINLINE cmsUInt16Number _cmsQuickFloorWord(cmsFloat64Number d)
159 cmsINLINE cmsUInt16Number _cmsQuickSaturateWord(cmsFloat64Number d)
485 cmsFloat64Number AdaptationState;
875 cmsFloat64Number AdaptationStates[],
887 cmsUInt16Number _cmsQuantizeVal(cmsFloat64Number i, int MaxSamples);
909 cmsFloat64Number AdaptationStates[],
    [all...]
cmslut.c 106 // then a list of expected types followed with a list of cmsFloat64Number pointers to MPE elements. If
310 // Special care should be taken here because precision loss. A temporary cmsFloat64Number buffer is being used
318 cmsFloat64Number Tmp;
352 NewElem ->Double = (cmsFloat64Number*) _cmsDupMem(mpe ->ContextID, Data ->Double, sz * sizeof(cmsFloat64Number)) ;
355 NewElem ->Offset = (cmsFloat64Number*) _cmsDupMem(mpe ->ContextID,
356 Data ->Offset, mpe -> OutputChannels * sizeof(cmsFloat64Number)) ;
380 const cmsFloat64Number* Matrix, const cmsFloat64Number* Offset)
403 NewElem ->Double = (cmsFloat64Number*) _cmsCalloc(ContextID, n, sizeof(cmsFloat64Number))
    [all...]
cmsplugin.c 201 cmsBool CMSEXPORT _cmsRead15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number* n)
331 cmsBool CMSEXPORT _cmsWrite15Fixed16Number(cmsIOHANDLER* io, cmsFloat64Number n)
359 cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8)
366 return (cmsFloat64Number) ((cmsFloat64Number) msb + ((cmsFloat64Number) lsb / 256.0));
369 cmsUInt16Number CMSEXPORT _cmsDoubleTo8Fixed8(cmsFloat64Number val)
376 cmsFloat64Number CMSEXPORT _cms15Fixed16toDouble(cmsS15Fixed16Number fix32)
378 cmsFloat64Number floater, sign, mid;
387 mid = (cmsFloat64Number) FracPart / 65536.0
    [all...]
cmsxform.c 57 cmsFloat64Number CMSEXPORT cmsSetAdaptationStateTHR(cmsContext ContextID, cmsFloat64Number d)
59 cmsFloat64Number prev;
77 cmsFloat64Number CMSEXPORT cmsSetAdaptationState(cmsFloat64Number d)
805 cmsFloat64Number AdaptationStates[],
    [all...]
cmsopt.c 374 cmsFloat64Number px, py, pz, pw;
389 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0;
390 py = ((cmsFloat64Number) At[1] * (p16->Domain[1])) / 65535.0;
391 pz = ((cmsFloat64Number) At[2] * (p16->Domain[2])) / 65535.0;
392 pw = ((cmsFloat64Number) At[3] * (p16->Domain[3])) / 65535.0;
412 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0;
413 py = ((cmsFloat64Number) At[1] * (p16->Domain[1])) / 65535.0;
414 pz = ((cmsFloat64Number) At[2] * (p16->Domain[2])) / 65535.0;
431 px = ((cmsFloat64Number) At[0] * (p16->Domain[0])) / 65535.0;
725 int AtBegin = (int) floor((cmsFloat64Number) g ->nEntries * 0.02 + 0.5); // Cutoff at 2
    [all...]
cmstypes.c 332 cmsTagTypeSignature DecideXYZtype(cmsFloat64Number ICCVersion, const void *Data)
396 cmsBool SaveOneChromaticity(cmsFloat64Number x, cmsFloat64Number y, cmsIOHANDLER* io)
523 cmsFloat64Number* array_double;
528 array_double = (cmsFloat64Number*) _cmsCalloc(self ->ContextID, n, sizeof(cmsFloat64Number));
547 cmsFloat64Number* Value = (cmsFloat64Number*) Ptr;
563 return _cmsDupMem(self ->ContextID, Ptr, n * sizeof(cmsFloat64Number));
583 cmsFloat64Number* array_double
    [all...]
cmsio1.c 58 static const cmsFloat64Number GrayInputMatrix[] = { (InpAdj*cmsD50X), (InpAdj*cmsD50Y), (InpAdj*cmsD50Z) };
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 !cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 3, (cmsFloat64Number*) &Mat, NULL)))
506 if (!cmsPipelineInsertStage(Lut, cmsAT_END, cmsStageAllocMatrix(ContextID, 3, 3, (cmsFloat64Number*) &Inv, NULL)) ||
    [all...]
cmsps2.c 294 return (cmsUInt8Number) floor((cmsFloat64Number) w / 257.0 + 0.5);
470 cmsFloat64Number gamma;
733 int EmitCIEBasedABC(cmsIOHANDLER* m, cmsFloat64Number* Matrix, cmsToneCurve** CurveSet, cmsCIEXYZ* BlackPoint)
937 cmsFloat64Number* GetPtrToMatrix(const cmsStage* mpe)
976 rc = EmitCIEBasedABC(m, (cmsFloat64Number *) &Mat,
    [all...]
cmscgats.c 157 cmsFloat64Number dnum; // real value
173 char DoubleFormatter[MAXID];// Printf-like 'cmsFloat64Number' formatter
533 cmsFloat64Number xpow10(int n)
535 return pow(10, (cmsFloat64Number) n);
543 it8->dnum = (cmsFloat64Number) inum;
553 cmsFloat64Number frac = 0.0; // fraction
590 if ((cmsFloat64Number) e * 10L < INT_MAX)
605 cmsFloat64Number ParseFloatNumber(const char *Buffer)
607 cmsFloat64Number dnum = 0.0;
628 cmsFloat64Number frac = 0.0; // fractio
    [all...]
cmsio0.c 969 void CMSEXPORT cmsSetProfileVersion(cmsHPROFILE hProfile, cmsFloat64Number Version)
978 cmsFloat64Number CMSEXPORT cmsGetProfileVersion(cmsHPROFILE hProfile)
    [all...]
  /external/pdfium/third_party/lcms2-2.6/include/
lcms2_plugin.h 72 cmsFloat64Number n[3];
82 CMSAPI void CMSEXPORT _cmsVEC3init(cmsVEC3* r, cmsFloat64Number x, cmsFloat64Number y, cmsFloat64Number z);
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)
    [all...]
lcms2.h 93 typedef double cmsFloat64Number;
    [all...]

Completed in 3120 milliseconds