/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmsintrp.c | 216 cmsINLINE cmsFloat32Number fclamp(cmsFloat32Number v) in fclamp() 223 void LinLerp1Dfloat(const cmsFloat32Number Value[], in LinLerp1Dfloat() 224 cmsFloat32Number Output[], in LinLerp1Dfloat() 227 cmsFloat32Number y1, y0; in LinLerp1Dfloat() 228 cmsFloat32Number val2, rest; in LinLerp1Dfloat() 230 const cmsFloat32Number* LutTable = (cmsFloat32Number*) p ->Table; in LinLerp1Dfloat() 289 void Eval1InputFloat(const cmsFloat32Number Value[], in Eval1InputFloat() 290 cmsFloat32Number Output[], in Eval1InputFloat() 293 cmsFloat32Number y1, y0; in Eval1InputFloat() 294 cmsFloat32Number val2, rest; in Eval1InputFloat() [all …]
|
D | cmspack.c | 805 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollLabFloatTo16() 813 return accum + sizeof(cmsFloat32Number); in UnrollLabFloatTo16() 817 Lab.L = ((cmsFloat32Number*) accum)[0]; in UnrollLabFloatTo16() 818 Lab.a = ((cmsFloat32Number*) accum)[1]; in UnrollLabFloatTo16() 819 Lab.b = ((cmsFloat32Number*) accum)[2]; in UnrollLabFloatTo16() 822 accum += (3 + T_EXTRA(info ->InputFormat)) * sizeof(cmsFloat32Number); in UnrollLabFloatTo16() 865 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollXYZFloatTo16() 873 return accum + sizeof(cmsFloat32Number); in UnrollXYZFloatTo16() 878 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; in UnrollXYZFloatTo16() 886 … accum += 3 * sizeof(cmsFloat32Number) + T_EXTRA(info ->InputFormat) * sizeof(cmsFloat32Number); in UnrollXYZFloatTo16() [all …]
|
D | cmslut.c | 62 void EvaluateIdentity(const cmsFloat32Number In[], in EvaluateIdentity() 63 cmsFloat32Number Out[], in EvaluateIdentity() 66 memmove(Out, In, mpe ->InputChannels * sizeof(cmsFloat32Number)); in EvaluateIdentity() 83 void FromFloatTo16(const cmsFloat32Number In[], cmsUInt16Number Out[], cmsUInt32Number n) in FromFloatTo16() 94 void From16ToFloat(const cmsUInt16Number In[], cmsFloat32Number Out[], cmsUInt32Number n) in From16ToFloat() 99 Out[i] = (cmsFloat32Number) In[i] / 65535.0F; in From16ToFloat() 167 void EvaluateCurves(const cmsFloat32Number In[], in EvaluateCurves() 168 cmsFloat32Number Out[], in EvaluateCurves() 312 void EvaluateMatrix(const cmsFloat32Number In[], in EvaluateMatrix() 313 cmsFloat32Number Out[], in EvaluateMatrix() [all …]
|
D | cmsgamma.c | 287 …->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segments[i].SampledPoints,… in AllocateToneCurveStruct() 586 …cmsFloat32Number R1 = (cmsFloat32Number) (R - g ->Segments[i].x0) / (g ->Segments[i].x1 - g ->Segm… in EvalSegmentedFn() 587 cmsFloat32Number Out; in EvalSegmentedFn() 669 …atedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]) in cmsBuildTabulatedToneCurveFloat() 691 Seg[1].SampledPoints = (cmsFloat32Number*) values; in cmsBuildTabulatedToneCurveFloat() 841 cmsFloat32Number t, x; in cmsJoinToneCurve() 842 cmsFloat32Number* Res = NULL; in cmsJoinToneCurve() 852 Res = (cmsFloat32Number*) _cmsCalloc(ContextID, nResultingPoints, sizeof(cmsFloat32Number)); in cmsJoinToneCurve() 858 t = (cmsFloat32Number) i / (nResultingPoints-1); in cmsJoinToneCurve() 1009 …Bool smooth2(cmsContext ContextID, cmsFloat32Number w[], cmsFloat32Number y[], cmsFloat32Number z[… in smooth2() [all …]
|
D | cmshalf.c | 505 cmsFloat32Number _cmsHalf2Float(cmsUInt16Number h) in _cmsHalf2Float() 508 cmsFloat32Number flt; in _cmsHalf2Float() 518 cmsUInt16Number _cmsFloat2Half(cmsFloat32Number flt) in _cmsFloat2Half() 521 cmsFloat32Number flt; in _cmsFloat2Half()
|
D | cmsgmt.c | 105 cmsFloat32Number cmyk[4]; in ComputeKToLstar() 106 cmsFloat32Number* SampledPoints; in ComputeKToLstar() 111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number)); in ComputeKToLstar() 119 cmyk[3] = (cmsFloat32Number) ((i * 100.0) / (nPoints-1)); in ComputeKToLstar() 122 SampledPoints[i]= (cmsFloat32Number) (1.0 - Lab.L / 100.0); // Negate K for easier operation in ComputeKToLstar() 418 cmsFloat32Number MaxTAC; 419 cmsFloat32Number MaxInput[cmsMAXCHANNELS]; 430 cmsFloat32Number RoundTrip[cmsMAXCHANNELS]; in EstimateTAC() 432 cmsFloat32Number Sum; in EstimateTAC()
|
D | cmsnamed.c | 657 void EvalNamedColorPCS(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsStage *mpe) in EvalNamedColorPCS() 668 Out[0] = (cmsFloat32Number) (NamedColorList->List[index].PCS[0] / 65535.0); in EvalNamedColorPCS() 669 Out[1] = (cmsFloat32Number) (NamedColorList->List[index].PCS[1] / 65535.0); in EvalNamedColorPCS() 670 Out[2] = (cmsFloat32Number) (NamedColorList->List[index].PCS[2] / 65535.0); in EvalNamedColorPCS() 675 void EvalNamedColor(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsStage *mpe) in EvalNamedColor() 686 Out[j] = (cmsFloat32Number) (NamedColorList->List[index].DeviceColorant[j] / 65535.0); in EvalNamedColor()
|
D | lcms2_internal.h | 833 typedef void (* _cmsPipelineEvalFloatFn)(const cmsFloat32Number In[], 834 cmsFloat32Number Out[], 930 cmsFloat32Number _cmsHalf2Float(cmsUInt16Number h); 931 cmsUInt16Number _cmsFloat2Half(cmsFloat32Number flt);
|
D | cmsopt.c | 326 cmsFloat32Number InFloat[cmsMAXCHANNELS], OutFloat[cmsMAXCHANNELS]; in XFormSampler16() 334 InFloat[i] = (cmsFloat32Number) (In[i] / 65535.0); in XFormSampler16() 947 cmsFloat32Number v, In[cmsMAXCHANNELS], Out[cmsMAXCHANNELS]; in OptimizeByComputingLinearization() 996 v = (cmsFloat32Number) ((cmsFloat64Number) i / (PRELINEARIZATION_POINTS - 1)); in OptimizeByComputingLinearization() 1270 cmsFloat32Number InFloat[cmsMAXCHANNELS], OutFloat[cmsMAXCHANNELS]; in OptimizeByJoiningCurves() 1305 InFloat[j] = (cmsFloat32Number) ((cmsFloat64Number) i / (PRELINEARIZATION_POINTS - 1)); in OptimizeByJoiningCurves() 1449 cmsFloat32Number R, y; in FillFirstShaper() 1453 R = (cmsFloat32Number) (i / 255.0); in FillFirstShaper() 1465 cmsFloat32Number R, Val; in FillSecondShaper() 1469 R = (cmsFloat32Number) (i / 16384.0); in FillSecondShaper()
|
D | cmsplugin.c | 169 cmsBool CMSEXPORT _cmsReadFloat32Number(cmsIOHANDLER* io, cmsFloat32Number* n) in _cmsReadFloat32Number() 175 if (io -> Read(io, &tmp, sizeof(cmsFloat32Number), 1) != 1) in _cmsReadFloat32Number() 181 *n = *(cmsFloat32Number*) &tmp; in _cmsReadFloat32Number() 304 cmsBool CMSEXPORT _cmsWriteFloat32Number(cmsIOHANDLER* io, cmsFloat32Number n) in _cmsWriteFloat32Number()
|
D | cmscnvrt.c | 823 cmsFloat32Number Inf[4], Outf[4]; in BlackPreservingSampler() 824 cmsFloat32Number LabK[4]; in BlackPreservingSampler() 831 Inf[i] = (cmsFloat32Number) (In[i] / 65535.0); in BlackPreservingSampler()
|
D | cmsxform.c | 211 cmsFloat32Number fIn[cmsMAXCHANNELS], fOut[cmsMAXCHANNELS]; in FloatXFORM() 212 cmsFloat32Number OutOfGamut; in FloatXFORM() 262 cmsFloat32Number fIn[cmsMAXCHANNELS]; in NullFloatXFORM()
|
D | cmstypes.c | 3905 cmsFloat32Number PrevBreak = -1E22F; // - infinite in ReadSegmentedCurve() 3953 cmsFloat32Number f; in ReadSegmentedCurve() 3967 …Segments[i].SampledPoints = (cmsFloat32Number*) _cmsCalloc(self ->ContextID, Count, sizeof(cmsFloa… in ReadSegmentedCurve() 4109 … if (!_cmsWriteFloat32Number(io, (cmsFloat32Number) ActualSeg ->Params[j])) goto Error; in WriteSegmentedCurve() 4197 cmsFloat32Number v; in Type_MPEmatrix_Read() 4206 cmsFloat32Number v; in Type_MPEmatrix_Read() 4237 if (!_cmsWriteFloat32Number(io, (cmsFloat32Number) Matrix->Double[i])) return FALSE; in Type_MPEmatrix_Write() 4248 if (!_cmsWriteFloat32Number(io, (cmsFloat32Number) Matrix->Offset[i])) return FALSE; in Type_MPEmatrix_Write() 4746 … cmsFloat32Number v = cmsEvalToneCurveFloat(Curves[i], (cmsFloat32Number) (j / 255.0)); in Type_vcgt_Write()
|
/external/pdfium/third_party/lcms2-2.6/include/ |
D | lcms2_plugin.h | 140 CMSAPI cmsBool CMSEXPORT _cmsReadFloat32Number(cmsIOHANDLER* io, cmsFloat32Number* n); 149 CMSAPI cmsBool CMSEXPORT _cmsWriteFloat32Number(cmsIOHANDLER* io, cmsFloat32Number n); 265 typedef void (* _cmsInterpFnFloat)(cmsFloat32Number const Input[], 266 cmsFloat32Number Output[], 349 cmsFloat32Number Values[], 485 typedef void (* _cmsStageEvalFn) (const cmsFloat32Number In[], cmsFloat32Number Out[], const cm… 527 cmsFloat32Number* TFloat; // Points to the cmsFloat32Number table
|
D | lcms2.h | 92 typedef float cmsFloat32Number; typedef 1140 cmsFloat32Number x0, x1; // Domain; for x0 < x <= x1 1144 cmsFloat32Number* SampledPoints; // Points to an array of floats if Type == 0 1155 …tedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]); 1163 CMSAPI cmsFloat32Number CMSEXPORT cmsEvalToneCurveFloat(const cmsToneCurve* Curve, cmsFloat32Numbe… 1197 …I void CMSEXPORT cmsPipelineEvalFloat(const cmsFloat32Number In[], cmsFloat32Number O… 1198 … CMSEXPORT cmsPipelineEvalReverseFloat(cmsFloat32Number Target[], cmsFloat32Number Result[], cms… 1222 …nGridPoints, cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number* Table); 1225 …lutPoints[], cmsUInt32Number inputChan, cmsUInt32Number outputChan, const cmsFloat32Number* Table); 1241 typedef cmsInt32Number (* cmsSAMPLERFLOAT)(register const cmsFloat32Number In[], [all …]
|