/external/pdfium/third_party/lcms2-2.6/src/ |
D | cmspack.c | 37 #define CHANGE_ENDIAN(w) (cmsUInt16Number) ((cmsUInt16Number) ((w)<<8)|((w)>>8)) 41 #define REVERSE_FLAVOR_16(x) ((cmsUInt16Number)(0xffff-(x))) 44 cmsINLINE cmsUInt16Number FomLabV2ToLabV4(cmsUInt16Number x) in FomLabV2ToLabV4() 48 return (cmsUInt16Number) a; in FomLabV2ToLabV4() 52 cmsINLINE cmsUInt16Number FomLabV4ToLabV2(cmsUInt16Number x) in FomLabV4ToLabV2() 54 return (cmsUInt16Number) (((x << 8) + 0x80) / 257); in FomLabV4ToLabV2() 95 register cmsUInt16Number wIn[], in UnrollChunkyBytes() 105 cmsUInt16Number v; in UnrollChunkyBytes() 126 cmsUInt16Number tmp = wIn[0]; in UnrollChunkyBytes() 128 memmove(&wIn[0], &wIn[1], (nChan-1) * sizeof(cmsUInt16Number)); in UnrollChunkyBytes() [all …]
|
D | cmsnamed.c | 119 int SearchMLUEntry(cmsMLU* mlu, cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode) in SearchMLUEntry() 141 cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode) in AddMLUBlock() 188 cmsUInt16Number Lang = _cmsAdjustEndianess16(*(cmsUInt16Number*) LanguageCode); in cmsMLUsetASCII() 189 cmsUInt16Number Cntry = _cmsAdjustEndianess16(*(cmsUInt16Number*) CountryCode); in cmsMLUsetASCII() 223 cmsUInt16Number Lang = _cmsAdjustEndianess16(*(cmsUInt16Number*) Language); in cmsMLUsetWide() 224 cmsUInt16Number Cntry = _cmsAdjustEndianess16(*(cmsUInt16Number*) Country); in cmsMLUsetWide() 298 cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode, in _cmsMLUgetWide() 299 cmsUInt16Number* UsedLanguageCode, cmsUInt16Number* UsedCountryCode) in _cmsMLUgetWide() 353 cmsUInt16Number Lang = _cmsAdjustEndianess16(*(cmsUInt16Number*) LanguageCode); in cmsMLUgetASCII() 354 cmsUInt16Number Cntry = _cmsAdjustEndianess16(*(cmsUInt16Number*) CountryCode); in cmsMLUgetASCII() [all …]
|
D | cmsintrp.c | 176 cmsINLINE cmsUInt16Number LinearInterp(cmsS15Fixed16Number a, cmsS15Fixed16Number l, cmsS15Fixed16N… in LinearInterp() 180 return (cmsUInt16Number) (dif); in LinearInterp() 186 void LinLerp1D(register const cmsUInt16Number Value[], in LinLerp1D() 187 register cmsUInt16Number Output[], in LinLerp1D() 190 cmsUInt16Number y1, y0; in LinLerp1D() 193 const cmsUInt16Number* LutTable = (cmsUInt16Number*) p ->Table; in LinLerp1D() 258 void Eval1Input(register const cmsUInt16Number Input[], in Eval1Input() 259 register cmsUInt16Number Output[], in Eval1Input() 266 const cmsUInt16Number* LutTable = (cmsUInt16Number*) p16 -> Table; in Eval1Input() 272 rk = (cmsUInt16Number) FIXED_REST_TO_INT(fk); in Eval1Input() [all …]
|
D | cmspcs.c | 170 cmsFloat64Number L2float2(cmsUInt16Number v) in L2float2() 177 cmsFloat64Number ab2float2(cmsUInt16Number v) in ab2float2() 183 cmsUInt16Number L2Fix2(cmsFloat64Number L) in L2Fix2() 189 cmsUInt16Number ab2Fix2(cmsFloat64Number ab) in ab2Fix2() 196 cmsFloat64Number L2float4(cmsUInt16Number v) in L2float4() 203 cmsFloat64Number ab2float4(cmsUInt16Number v) in ab2float4() 209 void CMSEXPORT cmsLabEncoded2FloatV2(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) in cmsLabEncoded2FloatV2() 217 void CMSEXPORT cmsLabEncoded2Float(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) in cmsLabEncoded2Float() 245 void CMSEXPORT cmsFloat2LabEncodedV2(cmsUInt16Number wLab[3], const cmsCIELab* fLab) in cmsFloat2LabEncodedV2() 278 cmsUInt16Number L2Fix4(cmsFloat64Number L) in L2Fix4() [all …]
|
D | cmshalf.c | 379 static cmsUInt16Number Offset[64] = { 407 static cmsUInt16Number Base[512] = { 505 cmsFloat32Number _cmsHalf2Float(cmsUInt16Number h) in _cmsHalf2Float() 518 cmsUInt16Number _cmsFloat2Half(cmsFloat32Number flt) in _cmsFloat2Half() 531 return (cmsUInt16Number) ((cmsUInt32Number) Base[ j ] + (( n & 0x007fffff) >> Shift[ j ])); in _cmsFloat2Half()
|
D | cmsopt.c | 39 cmsUInt16Number rx[256], ry[256], rz[256]; 86 cmsUInt16Number Shaper2R[16385]; // 1.14 to 0..255 87 cmsUInt16Number Shaper2G[16385]; 88 cmsUInt16Number Shaper2B[16385]; 99 cmsUInt16Number** Curves; // Points to a dynamically allocated array 205 void Eval16nop1D(register const cmsUInt16Number Input[], in Eval16nop1D() 206 register cmsUInt16Number Output[], in Eval16nop1D() 215 void PrelinEval16(register const cmsUInt16Number Input[], in PrelinEval16() 216 register cmsUInt16Number Output[], in PrelinEval16() 220 cmsUInt16Number StageABC[MAX_INPUT_DIMENSIONS]; in PrelinEval16() [all …]
|
D | lcms2_internal.h | 96 #define FROM_8_TO_16(rgb) (cmsUInt16Number) ((((cmsUInt16Number) (rgb)) << 8)|(rgb)) 153 cmsINLINE cmsUInt16Number _cmsQuickFloorWord(cmsFloat64Number d) in _cmsQuickFloorWord() 155 return (cmsUInt16Number) _cmsQuickFloor(d - 32767.0) + 32767U; in _cmsQuickFloorWord() 159 cmsINLINE cmsUInt16Number _cmsQuickSaturateWord(cmsFloat64Number d) in _cmsQuickSaturateWord() 471 cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]; 647 cmsUInt16Number Language; 648 cmsUInt16Number Country; 674 cmsUInt16Number PCS[3]; 675 cmsUInt16Number DeviceColorant[cmsMAXCHANNELS]; 784 cmsUInt16Number* Table16; // The table itself. [all …]
|
D | cmsplugin.c | 37 cmsUInt16Number CMSEXPORT _cmsAdjustEndianess16(cmsUInt16Number Word) in _cmsAdjustEndianess16() 124 cmsBool CMSEXPORT _cmsReadUInt16Number(cmsIOHANDLER* io, cmsUInt16Number* n) in _cmsReadUInt16Number() 126 cmsUInt16Number tmp; in _cmsReadUInt16Number() 130 if (io -> Read(io, &tmp, sizeof(cmsUInt16Number), 1) != 1) in _cmsReadUInt16Number() 137 cmsBool CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array) in _cmsReadUInt16Array() 263 cmsBool CMSEXPORT _cmsWriteUInt16Number(cmsIOHANDLER* io, cmsUInt16Number n) in _cmsWriteUInt16Number() 265 cmsUInt16Number tmp; in _cmsWriteUInt16Number() 270 if (io -> Write(io, sizeof(cmsUInt16Number), &tmp) != 1) in _cmsWriteUInt16Number() 276 cmsBool CMSEXPORT _cmsWriteUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, const cmsUInt16Number*… in _cmsWriteUInt16Array() 359 cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8) in _cms8Fixed8toDouble() [all …]
|
D | cmsps2.c | 292 cmsUInt8Number Word2Byte(cmsUInt16Number w) in Word2Byte() 537 cmsBool GammaTableEquals(cmsUInt16Number* g1, cmsUInt16Number* g2, int nEntries) in GammaTableEquals() 539 return memcmp(g1, g2, nEntries* sizeof(cmsUInt16Number)) == 0; in GammaTableEquals() 585 int OutputValueSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], registe… in OutputValueSampler() 598 cmsUInt16Number* Black; in OutputValueSampler() 599 cmsUInt16Number* White; in OutputValueSampler() 648 cmsUInt16Number wWordOut = Out[i]; in OutputValueSampler() 1020 cmsUInt16Number In[1]; in WriteNamedColorCSA() 1023 In[0] = (cmsUInt16Number) i; in WriteNamedColorCSA() 1387 void BuildColorantList(char *Colorant, int nColorant, cmsUInt16Number Out[]) in BuildColorantList() [all …]
|
D | cmsxform.c | 93 void CMSEXPORT cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodesP[cmsMAXCH… in cmsSetAlarmCodesTHR() 104 void CMSEXPORT cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS… in cmsGetAlarmCodesTHR() 113 void CMSEXPORT cmsSetAlarmCodes(const cmsUInt16Number NewAlarm[cmsMAXCHANNELS]) in cmsSetAlarmCodes() 120 void CMSEXPORT cmsGetAlarmCodes(cmsUInt16Number OldAlarm[cmsMAXCHANNELS]) in cmsGetAlarmCodes() 286 cmsUInt16Number wIn[cmsMAXCHANNELS]; in NullXFORM() 309 cmsUInt16Number wIn[cmsMAXCHANNELS], wOut[cmsMAXCHANNELS]; in PrecalculatedXFORM() 328 const cmsUInt16Number wIn[], in TransformOnePixelWithGamutCheck() 329 cmsUInt16Number wOut[]) in TransformOnePixelWithGamutCheck() 331 cmsUInt16Number wOutOfGamut; in TransformOnePixelWithGamutCheck() 336 cmsUInt16Number i; in TransformOnePixelWithGamutCheck() [all …]
|
D | cmsgmt.c | 214 int GamutSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void… in GamutSampler() 219 cmsUInt16Number Proof[cmsMAXCHANNELS], Proof2[cmsMAXCHANNELS]; in GamutSampler() 259 Out[0] = (cmsUInt16Number) _cmsQuickFloor((dE1 - t->Thereshold) + .5); in GamutSampler() 270 Out[0] = (cmsUInt16Number) _cmsQuickFloor((ErrorRatio - t->Thereshold) + .5); in GamutSampler() 427 int EstimateTAC(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void … in EstimateTAC()
|
D | cmslut.c | 83 void FromFloatTo16(const cmsFloat32Number In[], cmsUInt16Number Out[], cmsUInt32Number n) in FromFloatTo16() 94 void From16ToFloat(const cmsUInt16Number In[], cmsFloat32Number Out[], cmsUInt32Number n) in From16ToFloat() 454 cmsUInt16Number In16[MAX_STAGE_CHANNELS], Out16[MAX_STAGE_CHANNELS]; in EvaluateCLUTfloatIn16() 507 …NewElem ->Tab.T = (cmsUInt16Number*) _cmsDupMem(mpe ->ContextID, Data ->Tab.T, Data ->nEntries * s… in CLUTElemDup() 554 const cmsUInt16Number* Table) in cmsStageAllocCLut16bitGranular() 589 NewElem ->Tab.T = (cmsUInt16Number*) _cmsCalloc(ContextID, n, sizeof(cmsUInt16Number)); in cmsStageAllocCLut16bitGranular() 614 const cmsUInt16Number* Table) in cmsStageAllocCLut16bit() 703 int IdentitySampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register v… in IdentitySampler() 739 cmsUInt16Number _cmsQuantizeVal(cmsFloat64Number i, int MaxSamples) in _cmsQuantizeVal() 755 cmsUInt16Number In[MAX_INPUT_DIMENSIONS+1], Out[MAX_STAGE_CHANNELS]; in cmsStageSampleCLut16bit() [all …]
|
D | cmstypes.c | 126 if (!_cmsWriteUInt16Number(io, (cmsUInt16Number) Array[i])) return FALSE; in _cmsWriteWCharArray() 137 cmsUInt16Number tmp; in _cmsReadWCharArray() 351 cmsUInt16Number nChans, Table; in Type_Chromaticity_Read() 872 cmsUInt16Number ScriptCodeCode, Dummy; in Type_Text_Description_Read() 913 if (SizeOfTag < UnicodeCount*sizeof(cmsUInt16Number)) goto Done; in Type_Text_Description_Read() 916 if (!io ->Read(io, &Dummy, sizeof(cmsUInt16Number), 1)) goto Done; in Type_Text_Description_Read() 918 SizeOfTag -= UnicodeCount*sizeof(cmsUInt16Number); in Type_Text_Description_Read() 924 if (SizeOfTag >= sizeof(cmsUInt16Number) + sizeof(cmsUInt8Number) + 67) { in Type_Text_Description_Read() 1017 if (!_cmsWriteUInt16Array(io, len_filler_alignment+1, (cmsUInt16Number*) Filler)) goto Error; in Type_Text_Description_Write() 1097 cmsUInt16Number SingleGammaFixed; in Type_Curve_Read() [all …]
|
D | cmsgamma.c | 215 const cmsUInt16Number* Values) in AllocateToneCurveStruct() 256 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); in AllocateToneCurveStruct() 611 const cmsUInt16Number* CMSEXPORT cmsGetToneCurveEstimatedTable(const cmsToneCurve* t) in cmsGetToneCurveEstimatedTable() 620 …TabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16Number Values[]) in cmsBuildTabulatedToneCurve16() 878 int GetInterval(cmsFloat64Number In, const cmsUInt16Number LutTable[], const struct _cms_interp_str… in GetInterval() 1223 cmsUInt16Number In, Out; in cmsEvalToneCurveFloat() 1225 In = (cmsUInt16Number) _cmsQuickSaturateWord(v * 65535.0); in cmsEvalToneCurveFloat() 1235 cmsUInt16Number CMSEXPORT cmsEvalToneCurve16(const cmsToneCurve* Curve, cmsUInt16Number v) in cmsEvalToneCurve16() 1237 cmsUInt16Number out; in cmsEvalToneCurve16()
|
D | cmsvirt.c | 364 int InkLimitingSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], registe… in InkLimitingSampler() 688 int bchswSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void… in bchswSampler() 827 cmsUInt16Number Zero[2] = { 0, 0 }; in cmsCreateNULLProfileTHR()
|
D | cmscnvrt.c | 693 int BlackPreservingGrayOnlySampler(register const cmsUInt16Number In[], register cmsUInt16Number Ou… in BlackPreservingGrayOnlySampler() 820 int BlackPreservingSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], reg… in BlackPreservingSampler()
|
D | cmssamp.c | 69 cmsUInt16Number *Black; in BlackPointAsDarkerColorant()
|
D | cmsio1.c | 172 cmsUInt16Number Zero[2] = { 0x8080, 0x8080 }; in BuildGrayInputMatrixPipeline()
|
/external/pdfium/third_party/lcms2-2.6/include/ |
D | lcms2_plugin.h | 132 CMSAPI cmsUInt16Number CMSEXPORT _cmsAdjustEndianess16(cmsUInt16Number Word); 138 CMSAPI cmsBool CMSEXPORT _cmsReadUInt16Number(cmsIOHANDLER* io, cmsUInt16Number* n); 144 … CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array); 147 CMSAPI cmsBool CMSEXPORT _cmsWriteUInt16Number(cmsIOHANDLER* io, cmsUInt16Number n); 153 …CMSEXPORT _cmsWriteUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, const cmsUInt16Number* Array); 174 CMSAPI cmsFloat64Number CMSEXPORT _cms8Fixed8toDouble(cmsUInt16Number fixed8); 175 CMSAPI cmsUInt16Number CMSEXPORT _cmsDoubleTo8Fixed8(cmsFloat64Number val); 258 typedef void (* _cmsInterpFn16)(register const cmsUInt16Number Input[], 259 register cmsUInt16Number Output[], 344 register cmsUInt16Number Values[], [all …]
|
D | lcms2.h | 97 typedef unsigned short cmsUInt16Number; typedef 99 typedef unsigned int cmsUInt16Number; typedef 156 typedef cmsUInt16Number cmsU8Fixed8Number; 568 cmsUInt16Number year; 569 cmsUInt16Number month; 570 cmsUInt16Number day; 571 cmsUInt16Number hours; 572 cmsUInt16Number minutes; 573 cmsUInt16Number seconds; 589 cmsUInt16Number ID16[8]; [all …]
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpx_opj.cpp | 593 cmsUInt16Number RGB[3]; in color_apply_conversion()
|