Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmspack.c41 #define REVERSE_FLAVOR_8(x) ((cmsUInt8Number) (0xff-(x)))
95 cmsUInt8Number* UnrollChunkyBytes(register _cmsTRANSFORM* info, in UnrollChunkyBytes()
97 register cmsUInt8Number* accum, in UnrollChunkyBytes()
142 cmsUInt8Number* UnrollPlanarBytes(register _cmsTRANSFORM* info, in UnrollPlanarBytes()
144 register cmsUInt8Number* accum, in UnrollPlanarBytes()
152 cmsUInt8Number* Init = accum; in UnrollPlanarBytes()
172 cmsUInt8Number* Unroll4Bytes(register _cmsTRANSFORM* info, in Unroll4Bytes()
174 register cmsUInt8Number* accum, in Unroll4Bytes()
189 cmsUInt8Number* Unroll4BytesReverse(register _cmsTRANSFORM* info, in Unroll4BytesReverse()
191 register cmsUInt8Number* accum, in Unroll4BytesReverse()
[all …]
Dcmsalpha.c33 cmsINLINE cmsUInt8Number _cmsQuickSaturateByte(cmsFloat64Number d) in _cmsQuickSaturateByte()
39 return (cmsUInt8Number) _cmsQuickFloorWord(d); in _cmsQuickSaturateByte()
74 cmsUInt8Number n = *(cmsUInt8Number*)src; in from8to16()
81 *(cmsFloat32Number*)dst = (*(cmsUInt8Number*)src) / 255.0f; in from8toFLT()
87 *(cmsFloat64Number*)dst = (*(cmsUInt8Number*)src) / 255.0; in from8toDBL()
93 cmsFloat32Number n = (*(cmsUInt8Number*)src) / 255.0f; in from8toHLF()
103 *(cmsUInt8Number*) dst = FROM_16_TO_8(n); in from16to8()
135 *(cmsUInt8Number*)dst = _cmsQuickSaturateByte(n * 255.0f); in fromFLTto8()
172 *(cmsUInt8Number*)dst = _cmsQuickSaturateByte(n * 255.0f); in fromHLFto8()
199 *(cmsUInt8Number*)dst = _cmsQuickSaturateByte(n * 255.0); in fromDBLto8()
[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 …]
Dcmsxform.c248 cmsUInt8Number* accum; in FloatXFORM()
249 cmsUInt8Number* output; in FloatXFORM()
261 accum = (cmsUInt8Number*)in + strideIn; in FloatXFORM()
262 output = (cmsUInt8Number*)out + strideOut; in FloatXFORM()
313 cmsUInt8Number* accum; in NullFloatXFORM()
314 cmsUInt8Number* output; in NullFloatXFORM()
325 accum = (cmsUInt8Number*) in + strideIn; in NullFloatXFORM()
326 output = (cmsUInt8Number*) out + strideOut; in NullFloatXFORM()
350 cmsUInt8Number* accum; in NullXFORM()
351 cmsUInt8Number* output; in NullXFORM()
[all …]
Dcmsmd5.c32 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs) in byteReverse()
53 cmsUInt8Number in[64];
175 void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len) in MD5add()
190 cmsUInt8Number *p = (cmsUInt8Number *) ctx->in + t; in MD5add()
223 cmsUInt8Number *p; in MD5finish()
249 byteReverse((cmsUInt8Number *) ctx->buf, 4); in MD5finish()
265 cmsUInt8Number* Mem = NULL; in cmsMD5computeID()
286 Mem = (cmsUInt8Number*) _cmsMalloc(ContextID, BytesNeeded); in cmsMD5computeID()
Dcmstypes.c458 cmsUInt8Number* ColorantOrder; in Type_ColorantOrderType_Read()
465 …ColorantOrder = (cmsUInt8Number*) _cmsCalloc(self ->ContextID, cmsMAXCHANNELS, sizeof(cmsUInt8Numb… in Type_ColorantOrderType_Read()
469 memset(ColorantOrder, 0xFF, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Read()
471 if (io ->Read(io, ColorantOrder, sizeof(cmsUInt8Number), Count) != Count) { in Type_ColorantOrderType_Read()
486 cmsUInt8Number* ColorantOrder = (cmsUInt8Number*) Ptr; in Type_ColorantOrderType_Write()
496 sz = Count * sizeof(cmsUInt8Number); in Type_ColorantOrderType_Write()
508 return _cmsDupMem(self ->ContextID, Ptr, cmsMAXCHANNELS * sizeof(cmsUInt8Number)); in Type_ColorantOrderType_Dup()
825 if (io -> Read(io, BinData ->data, sizeof(cmsUInt8Number), LenOfData) != LenOfData) { in Type_Data_Read()
879 cmsUInt8Number ScriptCodeCount; in Type_Text_Description_Read()
930 if (SizeOfTag >= sizeof(cmsUInt16Number) + sizeof(cmsUInt8Number) + 67) { in Type_Text_Description_Read()
[all …]
Dcmsio0.c139 cmsUInt8Number* Block; // Points to allocated memory
150 cmsUInt8Number* Ptr; in MemoryRead()
259 fm ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, size); in cmsOpenIOhandlerFromMem()
280 fm ->Block = (cmsUInt8Number*) Buffer; in cmsOpenIOhandlerFromMem()
678 cmsUInt8Number* pByte = (cmsUInt8Number*) &DWord; in _validatedVersion()
679 cmsUInt8Number temp1; in _validatedVersion()
680 cmsUInt8Number temp2; in _validatedVersion()
682 if (*pByte > 0x09) *pByte = (cmsUInt8Number) 0x09; in _validatedVersion()
687 *(pByte+1) = (cmsUInt8Number)(temp1 | temp2); in _validatedVersion()
688 *(pByte+2) = (cmsUInt8Number)0; in _validatedVersion()
[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.c463 static cmsUInt8Number Shift[512] = {
Dcmscgats.c112 cmsUInt8Number* Block;
186 cmsUInt8Number* Base;
187 cmsUInt8Number* Ptr; // For save-to-mem behaviour
1079 cmsUInt8Number* ptr; in AllocChunk()
1095 it8 ->Allocator.Block = (cmsUInt8Number*) AllocBigBlock(it8, it8 ->Allocator.BlockSize); in AllocChunk()
1795 sd.Base = (cmsUInt8Number*) MemPtr; in cmsIT8SaveToMem()
2231 int IsMyBlock(cmsUInt8Number* Buffer, int n) in IsMyBlock()
2274 cmsUInt8Number Ptr[133]; in IsMyFile()
2304 type = IsMyBlock((cmsUInt8Number*)Ptr, len); in cmsIT8LoadFromMem()
Dcmsnamed.c144 cmsUInt8Number* Ptr; in AddMLUBlock()
165 Ptr = (cmsUInt8Number*) mlu ->MemPool; in AddMLUBlock()
350 … return (wchar_t*) ((cmsUInt8Number*) mlu ->MemPool + v -> StrW); // Found exact match in _cmsMLUgetWide()
366 return(wchar_t*) ((cmsUInt8Number*) mlu ->MemPool + v ->StrW); in _cmsMLUgetWide()
Dcmserr.c183 chunk ->Block = (cmsUInt8Number*) _cmsMalloc(ContextID, Initial); in _cmsCreateSubAllocChunk()
241 cmsUInt8Number* ptr; in _cmsSubAlloc()
Dlcms2_internal.h104 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & …
379 cmsUInt8Number* Block;
Dcmsopt.c912 cmsUInt8Number r, g, b; in PrelinEval8()
1325 cmsUInt8Number x; in FastEvaluateCurves8()
1587 cmsUInt8Number b = FROM_16_TO_8(w); in FillSecondShaper()
/external/pdfium/third_party/lcms/
D0010-memory-leak-Type_Curve_Read.patch21 - if (io ->Read(io, &v, sizeof(cmsUInt8Number), 1) != 1) return NULL;
22 + if (io ->Read(io, &v, sizeof(cmsUInt8Number), 1) != 1) {
/external/pdfium/third_party/lcms/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
563 cmsUInt8Number data[1];
589 cmsUInt8Number ID8[16];
1444 CMSAPI void CMSEXPORT cmsGetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* Prof…
1455 CMSAPI void CMSEXPORT cmsSetHeaderProfileID(cmsHPROFILE hProfile, cmsUInt8Number* Prof…