/external/pdfium/third_party/lcms2-2.6/src/ |
cmsintrp.c | 216 cmsINLINE cmsFloat32Number fclamp(cmsFloat32Number v) 223 void LinLerp1Dfloat(const cmsFloat32Number Value[], 224 cmsFloat32Number Output[], 227 cmsFloat32Number y1, y0; 228 cmsFloat32Number val2, rest; 230 const cmsFloat32Number* LutTable = (cmsFloat32Number*) p ->Table; 289 void Eval1InputFloat(const cmsFloat32Number Value[], 290 cmsFloat32Number Output[] [all...] |
cmspack.c | 30 // cmsFloat32Number (4 bytes per component) and double (marked as 0 bytes per component 805 cmsFloat32Number* Pt = (cmsFloat32Number*) accum; 813 return accum + sizeof(cmsFloat32Number); 817 Lab.L = ((cmsFloat32Number*) accum)[0]; 818 Lab.a = ((cmsFloat32Number*) accum)[1]; 819 Lab.b = ((cmsFloat32Number*) accum)[2]; 822 accum += (3 + T_EXTRA(info ->InputFormat)) * sizeof(cmsFloat32Number); 865 cmsFloat32Number* Pt = (cmsFloat32Number*) accum [all...] |
cmslut.c | 62 void EvaluateIdentity(const cmsFloat32Number In[], 63 cmsFloat32Number Out[], 66 memmove(Out, In, mpe ->InputChannels * sizeof(cmsFloat32Number)); 83 void FromFloatTo16(const cmsFloat32Number In[], cmsUInt16Number Out[], cmsUInt32Number n) 94 void From16ToFloat(const cmsUInt16Number In[], cmsFloat32Number Out[], cmsUInt32Number n) 99 Out[i] = (cmsFloat32Number) In[i] / 65535.0F; 167 void EvaluateCurves(const cmsFloat32Number In[], 168 cmsFloat32Number Out[], 312 void EvaluateMatrix(const cmsFloat32Number In[], 313 cmsFloat32Number Out[] [all...] |
cmsgamma.c | 287 p ->Segments[i].SampledPoints = (cmsFloat32Number*) _cmsDupMem(ContextID, Segments[i].SampledPoints, sizeof(cmsFloat32Number) * Segments[i].nGridPoints); 586 cmsFloat32Number R1 = (cmsFloat32Number) (R - g ->Segments[i].x0) / (g ->Segments[i].x1 - g ->Segments[i].x0); 587 cmsFloat32Number Out; 669 cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32Number values[]) 691 Seg[1].SampledPoints = (cmsFloat32Number*) values; 841 cmsFloat32Number t, x; 842 cmsFloat32Number* Res = NULL; 852 Res = (cmsFloat32Number*) _cmsCalloc(ContextID, nResultingPoints, sizeof(cmsFloat32Number)) [all...] |
cmsgmt.c | 105 cmsFloat32Number cmyk[4]; 106 cmsFloat32Number* SampledPoints; 111 SampledPoints = (cmsFloat32Number*) _cmsCalloc(ContextID, nPoints, sizeof(cmsFloat32Number)); 119 cmyk[3] = (cmsFloat32Number) ((i * 100.0) / (nPoints-1)); 122 SampledPoints[i]= (cmsFloat32Number) (1.0 - Lab.L / 100.0); // Negate K for easier operation 418 cmsFloat32Number MaxTAC; 419 cmsFloat32Number MaxInput[cmsMAXCHANNELS]; 430 cmsFloat32Number RoundTrip[cmsMAXCHANNELS]; 432 cmsFloat32Number Sum [all...] |
cmsnamed.c | 657 void EvalNamedColorPCS(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsStage *mpe) 668 Out[0] = (cmsFloat32Number) (NamedColorList->List[index].PCS[0] / 65535.0); 669 Out[1] = (cmsFloat32Number) (NamedColorList->List[index].PCS[1] / 65535.0); 670 Out[2] = (cmsFloat32Number) (NamedColorList->List[index].PCS[2] / 65535.0); 675 void EvalNamedColor(const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsStage *mpe) 686 Out[j] = (cmsFloat32Number) (NamedColorList->List[index].DeviceColorant[j] / 65535.0);
|
lcms2_internal.h | 833 typedef void (* _cmsPipelineEvalFloatFn)(const cmsFloat32Number In[], 834 cmsFloat32Number Out[], 930 cmsFloat32Number _cmsHalf2Float(cmsUInt16Number h); 931 cmsUInt16Number _cmsFloat2Half(cmsFloat32Number flt); [all...] |
cmsopt.c | 326 cmsFloat32Number InFloat[cmsMAXCHANNELS], OutFloat[cmsMAXCHANNELS]; 334 InFloat[i] = (cmsFloat32Number) (In[i] / 65535.0); 947 cmsFloat32Number v, In[cmsMAXCHANNELS], Out[cmsMAXCHANNELS]; [all...] |
cmsplugin.c | 169 cmsBool CMSEXPORT _cmsReadFloat32Number(cmsIOHANDLER* io, cmsFloat32Number* n) 175 if (io -> Read(io, &tmp, sizeof(cmsFloat32Number), 1) != 1) 181 *n = *(cmsFloat32Number*) &tmp; 304 cmsBool CMSEXPORT _cmsWriteFloat32Number(cmsIOHANDLER* io, cmsFloat32Number n)
|
cmscnvrt.c | 818 // The CLUT will be stored at 16 bits, but calculations are performed at cmsFloat32Number precision 823 cmsFloat32Number Inf[4], Outf[4]; 824 cmsFloat32Number LabK[4]; 831 Inf[i] = (cmsFloat32Number) (In[i] / 65535.0); [all...] |
cmsxform.c | 211 cmsFloat32Number fIn[cmsMAXCHANNELS], fOut[cmsMAXCHANNELS]; 212 cmsFloat32Number OutOfGamut; 262 cmsFloat32Number fIn[cmsMAXCHANNELS]; [all...] |
cmshalf.c | [all...] |
cmstypes.c | [all...] |
/external/pdfium/third_party/lcms2-2.6/include/ |
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[], 338 // cmsFloat32Number (bps = 4) or double (bps = 0) types are requested via FormatterFloat callback. Others come across 349 cmsFloat32Number Values[], 353 // This type holds a pointer to a formatter that can be either 16 bits or cmsFloat32Number 485 typedef void (* _cmsStageEvalFn) (const cmsFloat32Number In[], cmsFloat32Number Out[], const cmsStage* mpe); 527 cmsFloat32Number* TFloat; // Points to the cmsFloat32Number tabl [all...] |
lcms2.h | 92 typedef float cmsFloat32Number; [all...] |