Home
last modified time | relevance | path

Searched refs:cmsUInt8Number (Results 1 – 15 of 15) sorted by relevance

/external/pdfium/third_party/lcms2-2.6/src/
Dcmspack.c40 #define REVERSE_FLAVOR_8(x) ((cmsUInt8Number) (0xff-(x)))
94 cmsUInt8Number* UnrollChunkyBytes(register _cmsTRANSFORM* info, in UnrollChunkyBytes()
96 register cmsUInt8Number* accum, in UnrollChunkyBytes()
141 cmsUInt8Number* UnrollPlanarBytes(register _cmsTRANSFORM* info, in UnrollPlanarBytes()
143 register cmsUInt8Number* accum, in UnrollPlanarBytes()
151 cmsUInt8Number* Init = accum; in UnrollPlanarBytes()
171 cmsUInt8Number* Unroll4Bytes(register _cmsTRANSFORM* info, in Unroll4Bytes()
173 register cmsUInt8Number* accum, in Unroll4Bytes()
188 cmsUInt8Number* Unroll4BytesReverse(register _cmsTRANSFORM* info, in Unroll4BytesReverse()
190 register cmsUInt8Number* accum, in Unroll4BytesReverse()
[all …]
Dcmsxform.c209 cmsUInt8Number* accum; in FloatXFORM()
210 cmsUInt8Number* output; in FloatXFORM()
215 accum = (cmsUInt8Number*) in; in FloatXFORM()
216 output = (cmsUInt8Number*) out; in FloatXFORM()
260 cmsUInt8Number* accum; in NullFloatXFORM()
261 cmsUInt8Number* output; in NullFloatXFORM()
265 accum = (cmsUInt8Number*) in; in NullFloatXFORM()
266 output = (cmsUInt8Number*) out; in NullFloatXFORM()
284 cmsUInt8Number* accum; in NullXFORM()
285 cmsUInt8Number* output; in NullXFORM()
[all …]
Dcmsplugin.c41 cmsUInt8Number* pByte = (cmsUInt8Number*) &Word; in _cmsAdjustEndianess16()
42 cmsUInt8Number tmp; in _cmsAdjustEndianess16()
62 cmsUInt8Number* pByte = (cmsUInt8Number*) &DWord; in _cmsAdjustEndianess32()
63 cmsUInt8Number temp1; in _cmsAdjustEndianess32()
64 cmsUInt8Number temp2; in _cmsAdjustEndianess32()
84 cmsUInt8Number* pIn = (cmsUInt8Number*) QWord; in _cmsAdjustEndianess64()
85 cmsUInt8Number* pOut = (cmsUInt8Number*) Result; in _cmsAdjustEndianess64()
111 cmsBool CMSEXPORT _cmsReadUInt8Number(cmsIOHANDLER* io, cmsUInt8Number* n) in _cmsReadUInt8Number()
113 cmsUInt8Number tmp; in _cmsReadUInt8Number()
117 if (io -> Read(io, &tmp, sizeof(cmsUInt8Number), 1) != 1) in _cmsReadUInt8Number()
[all …]
Dcmsmd5.c31 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs) in byteReverse()
52 cmsUInt8Number in[64];
174 void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len) in MD5add()
189 cmsUInt8Number *p = (cmsUInt8Number *) ctx->in + t; in MD5add()
222 cmsUInt8Number *p; in MD5finish()
248 byteReverse((cmsUInt8Number *) ctx->buf, 4); in MD5finish()
264 cmsUInt8Number* Mem = NULL; in cmsMD5computeID()
285 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); in cmsMD5computeID()
320 cmsUInt8Number* Mem; in cmsMD5computeIDExt()
325 Mem = (cmsUInt8Number*)_cmsMalloc(NULL,size); in cmsMD5computeIDExt()
Dcmstypes.c452 cmsUInt8Number* ColorantOrder; in Type_ColorantOrderType_Read()
459 …ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read()
463 memset(ColorantOrder, 0xFF, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Read()
465 if (io ->Read(io, ColorantOrder, sizeof(cmsUInt8Number), Count) != Count) { in Type_ColorantOrderType_Read()
480 cmsUInt8Number* ColorantOrder = (cmsUInt8Number*) Ptr; in Type_ColorantOrderType_Write()
490 sz = Count * sizeof(cmsUInt8Number); in Type_ColorantOrderType_Write()
502 return _cmsDupMem(self ->ContextID, Ptr, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Dup()
819 if (io -> Read(io, BinData ->data, sizeof(cmsUInt8Number), LenOfData) != LenOfData) { in Type_Data_Read()
873 cmsUInt8Number ScriptCodeCount; in Type_Text_Description_Read()
924 if (SizeOfTag >= sizeof(cmsUInt16Number) + sizeof(cmsUInt8Number) + 67) { in Type_Text_Description_Read()
[all …]
Dcmsps2.c292 cmsUInt8Number Word2Byte(cmsUInt16Number w) in Word2Byte()
294 return (cmsUInt8Number) floor((cmsFloat64Number) w / 257.0 + 0.5); in Word2Byte()
314 void WriteByte(cmsIOHANDLER* m, cmsUInt8Number b) in WriteByte()
649 cmsUInt8Number wByteOut; // Value as byte in OutputValueSampler()
841 cmsUInt8Number Gray = (cmsUInt8Number) i; in ExtractGray2Y()
Dcmshalf.c462 static cmsUInt8Number Shift[512] = {
Dcmsio0.c138 cmsUInt8Number* Block; // Points to allocated memory
149 cmsUInt8Number* Ptr; in MemoryRead()
258 fm ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, size); in cmsOpenIOhandlerFromMem()
279 fm ->Block = (cmsUInt8Number*) Buffer; in cmsOpenIOhandlerFromMem()
881 void CMSEXPORT cmsGetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* ProfileID) in cmsGetHeaderProfileID()
887 void CMSEXPORT cmsSetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* ProfileID) in cmsSetHeaderProfileID()
1137 cmsUInt8Number* Data; in SaveTags()
1157 Data = (cmsUInt8Number*) Icc -> TagPtrs[i]; in SaveTags()
Dcmscgats.c112 cmsUInt8Number* Block;
185 cmsUInt8Number* Base;
186 cmsUInt8Number* Ptr; // For save-to-mem behaviour
1078 cmsUInt8Number* ptr; in AllocChunk()
1094 it8 ->Allocator.Block = (cmsUInt8Number*) AllocBigBlock(it8, it8 ->Allocator.BlockSize); in AllocChunk()
1794 sd.Base = (cmsUInt8Number*) MemPtr; in cmsIT8SaveToMem()
2230 int IsMyBlock(cmsUInt8Number* Buffer, int n) in IsMyBlock()
2273 cmsUInt8Number Ptr[133]; in IsMyFile()
2303 type = IsMyBlock((cmsUInt8Number*)Ptr, len); in cmsIT8LoadFromMem()
Dcmsnamed.c144 cmsUInt8Number* Ptr; in AddMLUBlock()
165 Ptr = (cmsUInt8Number*) mlu ->MemPool; in AddMLUBlock()
324 … return (wchar_t*) ((cmsUInt8Number*) mlu ->MemPool + v -> StrW); // Found exact match in _cmsMLUgetWide()
340 return(wchar_t*) ((cmsUInt8Number*) mlu ->MemPool + v ->StrW); in _cmsMLUgetWide()
Dcmserr.c371 chunk ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, Initial); in _cmsCreateSubAllocChunk()
429 cmsUInt8Number* ptr; in _cmsSubAlloc()
Dlcms2_internal.h97 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((rgb) * 65281 + 8388608) >> 24) & 0xFF)
366 cmsUInt8Number* Block;
Dcmsopt.c830 cmsUInt8Number r, g, b; in PrelinEval8()
1225 cmsUInt8Number x; in FastEvaluateCurves8()
1479 cmsUInt8Number b = FROM_16_TO_8(w); in FillSecondShaper()
/external/pdfium/third_party/lcms2-2.6/include/
Dlcms2_plugin.h137 CMSAPI cmsBool CMSEXPORT _cmsReadUInt8Number(cmsIOHANDLER* io, cmsUInt8Number* n);
146 CMSAPI cmsBool CMSEXPORT _cmsWriteUInt8Number(cmsIOHANDLER* io, cmsUInt8Number n);
343 typedef cmsUInt8Number* (* cmsFormatter16)(register struct _cmstransform_struct* CMMcargo,
345 register cmsUInt8Number* Buffer,
348 typedef cmsUInt8Number* (* cmsFormatterFloat)(struct _cmstransform_struct* CMMcargo,
350 cmsUInt8Number* Buffer,
Dlcms2.h84 typedef unsigned char cmsUInt8Number; // That is guaranteed by the C99 spec typedef
562 cmsUInt8Number data[1];
588 cmsUInt8Number ID8[16];
1439 CMSAPI void CMSEXPORT cmsGetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* Prof…
1450 CMSAPI void CMSEXPORT cmsSetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* Prof…