/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
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) 48 return (cmsUInt16Number) a; 52 cmsINLINE cmsUInt16Number FomLabV4ToLabV2(cmsUInt16Number x) 54 return (cmsUInt16Number) (((x << 8) + 0x80) / 257); 95 register cmsUInt16Number wIn[] [all...] |
cmsnamed.c | 119 int SearchMLUEntry(cmsMLU* mlu, cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode) 141 cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode) 188 cmsUInt16Number Lang = _cmsAdjustEndianess16(*(cmsUInt16Number*) LanguageCode); 189 cmsUInt16Number Cntry = _cmsAdjustEndianess16(*(cmsUInt16Number*) CountryCode); 223 cmsUInt16Number Lang = _cmsAdjustEndianess16(*(cmsUInt16Number*) Language) [all...] |
cmsintrp.c | 176 cmsINLINE cmsUInt16Number LinearInterp(cmsS15Fixed16Number a, cmsS15Fixed16Number l, cmsS15Fixed16Number h) 180 return (cmsUInt16Number) (dif); 186 void LinLerp1D(register const cmsUInt16Number Value[], 187 register cmsUInt16Number Output[], 190 cmsUInt16Number y1, y0; 193 const cmsUInt16Number* LutTable = (cmsUInt16Number*) p ->Table; 258 void Eval1Input(register const cmsUInt16Number Input[], 259 register cmsUInt16Number Output[], 266 const cmsUInt16Number* LutTable = (cmsUInt16Number*) p16 -> Table [all...] |
lcms2_internal.h | 96 #define FROM_8_TO_16(rgb) (cmsUInt16Number) ((((cmsUInt16Number) (rgb)) << 8)|(rgb)) 153 cmsINLINE cmsUInt16Number _cmsQuickFloorWord(cmsFloat64Number d) 155 return (cmsUInt16Number) _cmsQuickFloor(d - 32767.0) + 32767U; 159 cmsINLINE cmsUInt16Number _cmsQuickSaturateWord(cmsFloat64Number d) 471 cmsUInt16Number AlarmCodes[cmsMAXCHANNELS]; 647 cmsUInt16Number Language; 648 cmsUInt16Number Country; 674 cmsUInt16Number PCS[3]; 675 cmsUInt16Number DeviceColorant[cmsMAXCHANNELS] [all...] |
cmspcs.c | 170 cmsFloat64Number L2float2(cmsUInt16Number v) 177 cmsFloat64Number ab2float2(cmsUInt16Number v) 183 cmsUInt16Number L2Fix2(cmsFloat64Number L) 189 cmsUInt16Number ab2Fix2(cmsFloat64Number ab) 196 cmsFloat64Number L2float4(cmsUInt16Number v) 203 cmsFloat64Number ab2float4(cmsUInt16Number v) 209 void CMSEXPORT cmsLabEncoded2FloatV2(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) 217 void CMSEXPORT cmsLabEncoded2Float(cmsCIELab* Lab, const cmsUInt16Number wLab[3]) 245 void CMSEXPORT cmsFloat2LabEncodedV2(cmsUInt16Number wLab[3], const cmsCIELab* fLab) 278 cmsUInt16Number L2Fix4(cmsFloat64Number L [all...] |
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[], 206 register cmsUInt16Number Output[], 215 void PrelinEval16(register const cmsUInt16Number Input[], 216 register cmsUInt16Number Output[], 220 cmsUInt16Number StageABC[MAX_INPUT_DIMENSIONS] [all...] |
cmsplugin.c | 37 cmsUInt16Number CMSEXPORT _cmsAdjustEndianess16(cmsUInt16Number Word) 124 cmsBool CMSEXPORT _cmsReadUInt16Number(cmsIOHANDLER* io, cmsUInt16Number* n) 126 cmsUInt16Number tmp; 130 if (io -> Read(io, &tmp, sizeof(cmsUInt16Number), 1) != 1) 137 cmsBool CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array) 263 cmsBool CMSEXPORT _cmsWriteUInt16Number(cmsIOHANDLER* io, cmsUInt16Number n) 265 cmsUInt16Number tmp; 270 if (io -> Write(io, sizeof(cmsUInt16Number), &tmp) != 1) 276 cmsBool CMSEXPORT _cmsWriteUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, const cmsUInt16Number* Array [all...] |
cmsgmt.c | 214 int GamutSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo)
219 cmsUInt16Number Proof[cmsMAXCHANNELS], Proof2[cmsMAXCHANNELS];
259 Out[0] = (cmsUInt16Number) _cmsQuickFloor((dE1 - t->Thereshold) + .5);
270 Out[0] = (cmsUInt16Number) _cmsQuickFloor((ErrorRatio - t->Thereshold) + .5);
427 int EstimateTAC(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void * Cargo)
|
cmsps2.c | 292 cmsUInt8Number Word2Byte(cmsUInt16Number w) 301 cmsUInt8Number L2Byte(cmsUInt16Number w) 307 return (cmsUInt8Number) ((cmsUInt16Number) (ww >> 8) & 0xFF); 537 cmsBool GammaTableEquals(cmsUInt16Number* g1, cmsUInt16Number* g2, int nEntries) 539 return memcmp(g1, g2, nEntries* sizeof(cmsUInt16Number)) == 0; 585 int OutputValueSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo) 598 cmsUInt16Number* Black; 599 cmsUInt16Number* White [all...] |
cmsxform.c | 93 void CMSEXPORT cmsSetAlarmCodesTHR(cmsContext ContextID, const cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) 104 void CMSEXPORT cmsGetAlarmCodesTHR(cmsContext ContextID, cmsUInt16Number AlarmCodesP[cmsMAXCHANNELS]) 113 void CMSEXPORT cmsSetAlarmCodes(const cmsUInt16Number NewAlarm[cmsMAXCHANNELS]) 120 void CMSEXPORT cmsGetAlarmCodes(cmsUInt16Number OldAlarm[cmsMAXCHANNELS]) 286 cmsUInt16Number wIn[cmsMAXCHANNELS]; 309 cmsUInt16Number wIn[cmsMAXCHANNELS], wOut[cmsMAXCHANNELS]; 328 const cmsUInt16Number wIn[], 329 cmsUInt16Number wOut[]) 331 cmsUInt16Number wOutOfGamut; 336 cmsUInt16Number i [all...] |
cmstypes.c | 126 if (!_cmsWriteUInt16Number(io, (cmsUInt16Number) Array[i])) return FALSE; 137 cmsUInt16Number tmp; 351 cmsUInt16Number nChans, Table; 872 cmsUInt16Number ScriptCodeCode, Dummy; 913 if (SizeOfTag < UnicodeCount*sizeof(cmsUInt16Number)) goto Done; 916 if (!io ->Read(io, &Dummy, sizeof(cmsUInt16Number), 1)) goto Done; 918 SizeOfTag -= UnicodeCount*sizeof(cmsUInt16Number); 924 if (SizeOfTag >= sizeof(cmsUInt16Number) + sizeof(cmsUInt8Number) + 67) { 1000 // * cmsUInt16Number scCode; * ScriptCode code [all...] |
cmslut.c | 83 void FromFloatTo16(const cmsFloat32Number In[], cmsUInt16Number Out[], cmsUInt32Number n) 94 void From16ToFloat(const cmsUInt16Number In[], cmsFloat32Number Out[], cmsUInt32Number n) 454 cmsUInt16Number In16[MAX_STAGE_CHANNELS], Out16[MAX_STAGE_CHANNELS]; 507 NewElem ->Tab.T = (cmsUInt16Number*) _cmsDupMem(mpe ->ContextID, Data ->Tab.T, Data ->nEntries * sizeof (cmsUInt16Number)); 554 const cmsUInt16Number* Table) 589 NewElem ->Tab.T = (cmsUInt16Number*) _cmsCalloc(ContextID, n, sizeof(cmsUInt16Number)); 614 const cmsUInt16Number* Table) 703 int IdentitySampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void * Cargo [all...] |
cmsgamma.c | 215 const cmsUInt16Number* Values) 256 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); 611 const cmsUInt16Number* CMSEXPORT cmsGetToneCurveEstimatedTable(const cmsToneCurve* t) 620 cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16Number Values[]) 878 int GetInterval(cmsFloat64Number In, const cmsUInt16Number LutTable[], const struct _cms_interp_struc* p) [all...] |
cmsvirt.c | 364 int InkLimitingSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo) 688 int bchswSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo) 827 cmsUInt16Number Zero[2] = { 0, 0 }; [all...] |
cmscnvrt.c | 693 int BlackPreservingGrayOnlySampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo) 820 int BlackPreservingSampler(register const cmsUInt16Number In[], register cmsUInt16Number Out[], register void* Cargo) [all...] |
cmshalf.c | 379 static cmsUInt16Number Offset[64] = { 407 static cmsUInt16Number Base[512] = { [all...] |
cmssamp.c | 69 cmsUInt16Number *Black;
|
cmsio1.c | 172 cmsUInt16Number Zero[2] = { 0x8080, 0x8080 }; [all...] |
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/ |
lcms2_plugin.h | 132 CMSAPI cmsUInt16Number CMSEXPORT _cmsAdjustEndianess16(cmsUInt16Number Word); 138 CMSAPI cmsBool CMSEXPORT _cmsReadUInt16Number(cmsIOHANDLER* io, cmsUInt16Number* n); 144 CMSAPI cmsBool CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array); 147 CMSAPI cmsBool CMSEXPORT _cmsWriteUInt16Number(cmsIOHANDLER* io, cmsUInt16Number n); 153 CMSAPI cmsBool 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[] [all...] |
lcms2.h | 97 typedef unsigned short cmsUInt16Number; 99 typedef unsigned int cmsUInt16Number; 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/ |
fx_codec_jpx_opj.cpp | 480 cmsUInt16Number RGB[3];
|