Home
last modified time | relevance | path

Searched refs:cmsUInt32Number (Results 1 – 25 of 36) sorted by relevance

12

/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h99 CMSAPI void CMSEXPORT cmsSignalError(cmsContext ContextID, cmsUInt32Number ErrorCode…
103 CMSAPI void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size);
104 CMSAPI void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size);
105 …* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number siz…
106 CMSAPI void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number Ne…
108 …id* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size);
117 cmsUInt32Number UsedSpace;
118 cmsUInt32Number ReportedSize;
121 cmsUInt32Number (* Read)(struct _cms_io_handler* iohandler, void *Buffer,
122 cmsUInt32Number size,
[all …]
Dlcms2.h117 typedef unsigned int cmsUInt32Number; typedef
119 typedef unsigned long cmsUInt32Number; typedef
153 typedef cmsUInt32Number cmsUInt64Number[2];
158 typedef cmsUInt32Number cmsSignature;
161 typedef cmsUInt32Number cmsU16Fixed16Number;
569 cmsUInt32Number len;
570 cmsUInt32Number flag;
599 cmsUInt32Number ID32[4];
610 cmsUInt32Number size; // Profile size in bytes
612 cmsUInt32Number version; // Format version number
[all …]
/external/pdfium/third_party/lcms/src/
Dlcms2_internal.h57 #define _cmsALIGNLONG(x) (((x)+(sizeof(cmsUInt32Number)-1)) & ~(sizeof(cmsUInt32Number)-1))
112 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & …
391 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size);
432 cmsUInt32Number BlockSize;
433 cmsUInt32Number Used;
448 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial);
450 void* _cmsSubAlloc(_cmsSubAllocator* s, cmsUInt32Number size);
451 void* _cmsSubAllocDup(_cmsSubAllocator* s, const void *ptr, cmsUInt32Number size);
715 cmsUInt32Number StrW; // Offset to current unicode string
716 cmsUInt32Number Len; // Length in bytes
[all …]
Dcmspack.c60 cmsUInt32Number Type;
61 cmsUInt32Number Mask;
67 cmsUInt32Number Type;
68 cmsUInt32Number Mask;
98 register cmsUInt32Number Stride) in UnrollChunkyBytes()
100 cmsUInt32Number nChan = T_CHANNELS(info -> InputFormat); in UnrollChunkyBytes()
101 cmsUInt32Number DoSwap = T_DOSWAP(info ->InputFormat); in UnrollChunkyBytes()
102 cmsUInt32Number Reverse = T_FLAVOR(info ->InputFormat); in UnrollChunkyBytes()
103 cmsUInt32Number SwapFirst = T_SWAPFIRST(info -> InputFormat); in UnrollChunkyBytes()
104 cmsUInt32Number Extra = T_EXTRA(info -> InputFormat); in UnrollChunkyBytes()
[all …]
Dcmsalpha.c44 cmsUInt32Number trueBytesSize(cmsUInt32Number Format) in trueBytesSize()
46 cmsUInt32Number fmt_bytes = T_BYTES(Format); in trueBytesSize()
272 int FormatterPos(cmsUInt32Number frm) in FormatterPos()
274 cmsUInt32Number b = T_BYTES(frm); in FormatterPos()
294 cmsFormatterAlphaFn _cmsGetFormatterAlpha(cmsContext id, cmsUInt32Number in, cmsUInt32Number out) in _cmsGetFormatterAlpha()
320 void ComputeIncrementsForChunky(cmsUInt32Number Format, in ComputeIncrementsForChunky()
321 cmsUInt32Number ComponentStartingOrder[], in ComputeIncrementsForChunky()
322 cmsUInt32Number ComponentPointerIncrements[]) in ComputeIncrementsForChunky()
324 cmsUInt32Number channels[cmsMAXCHANNELS]; in ComputeIncrementsForChunky()
325 cmsUInt32Number extra = T_EXTRA(Format); in ComputeIncrementsForChunky()
[all …]
Dcmstypes.c123 cmsBool _cmsWriteWCharArray(cmsIOHANDLER* io, cmsUInt32Number n, const wchar_t* Array) in _cmsWriteWCharArray()
125 cmsUInt32Number i; in _cmsWriteWCharArray()
139 cmsBool _cmsReadWCharArray(cmsIOHANDLER* io, cmsUInt32Number n, wchar_t* Array) in _cmsReadWCharArray()
141 cmsUInt32Number i; in _cmsReadWCharArray()
165 cmsUInt32Number n,
166 cmsUInt32Number SizeOfTag);
174 cmsUInt32Number Count, in ReadPositionTable()
175 cmsUInt32Number BaseOffset, in ReadPositionTable()
179 cmsUInt32Number i; in ReadPositionTable()
180 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in ReadPositionTable()
[all …]
Dcmsxform.c178 cmsUInt32Number Size) in cmsDoTransform()
197 cmsUInt32Number Size, cmsUInt32Number Stride) in cmsDoTransformStride()
215 cmsUInt32Number PixelsPerLine, in cmsDoTransformLineStride()
216 cmsUInt32Number LineCount, in cmsDoTransformLineStride()
217 cmsUInt32Number BytesPerLineIn, in cmsDoTransformLineStride()
218 cmsUInt32Number BytesPerLineOut, in cmsDoTransformLineStride()
219 cmsUInt32Number BytesPerPlaneIn, in cmsDoTransformLineStride()
220 cmsUInt32Number BytesPerPlaneOut) in cmsDoTransformLineStride()
244 cmsUInt32Number PixelsPerLine, in FloatXFORM()
245 cmsUInt32Number LineCount, in FloatXFORM()
[all …]
Dcmsps2.c403 void EmitIntent(cmsIOHANDLER* m, cmsUInt32Number RenderingIntent) in EmitIntent()
469 cmsUInt32Number i; in Emit1Gamma()
537 cmsBool GammaTableEquals(cmsUInt16Number* g1, cmsUInt16Number* g2, cmsUInt32Number nEntries) in GammaTableEquals()
546 void EmitNGamma(cmsIOHANDLER* m, cmsUInt32Number n, cmsToneCurve* g[]) in EmitNGamma()
548 cmsUInt32Number i; in EmitNGamma()
588 cmsUInt32Number i; in OutputValueSampler()
600 cmsUInt32Number nOutputs; in OutputValueSampler()
671 cmsUInt32Number i; in WriteCLUT()
771 int EmitCIEBasedDEF(cmsIOHANDLER* m, cmsPipeline* Pipeline, cmsUInt32Number Intent, cmsCIEXYZ* Blac… in EmitCIEBasedDEF()
831 cmsToneCurve* ExtractGray2Y(cmsContext ContextID, cmsHPROFILE hProfile, cmsUInt32Number Intent) in ExtractGray2Y()
[all …]
Dcmsgmt.c33 cmsUInt32Number nProfiles, in _cmsChain2Lab()
34 cmsUInt32Number InputFormat, in _cmsChain2Lab()
35 cmsUInt32Number OutputFormat, in _cmsChain2Lab()
36 const cmsUInt32Number Intents[], in _cmsChain2Lab()
40 cmsUInt32Number dwFlags) in _cmsChain2Lab()
47 cmsUInt32Number IntentList[256]; in _cmsChain2Lab()
48 cmsUInt32Number i; in _cmsChain2Lab()
93 cmsUInt32Number nPoints, in ComputeKToLstar()
94 cmsUInt32Number nProfiles, in ComputeKToLstar()
95 const cmsUInt32Number Intents[], in ComputeKToLstar()
[all …]
Dcmscnvrt.c34 cmsUInt32Number nProfiles,
35 cmsUInt32Number Intents[],
39 cmsUInt32Number dwFlags);
47 cmsUInt32Number nProfiles,
48 cmsUInt32Number Intents[],
52 cmsUInt32Number dwFlags);
60 cmsUInt32Number nProfiles,
61 cmsUInt32Number Intents[],
65 cmsUInt32Number dwFlags);
73 cmsUInt32Number nProfiles,
[all …]
Dcmslut.c33 cmsUInt32Number InputChannels, in _cmsStageAllocPlaceholder()
34 cmsUInt32Number OutputChannels, in _cmsStageAllocPlaceholder()
70 cmsStage* CMSEXPORT cmsStageAllocIdentity(cmsContext ContextID, cmsUInt32Number nChannels) in cmsStageAllocIdentity()
83 void FromFloatTo16(const cmsFloat32Number In[], cmsUInt16Number Out[], cmsUInt32Number n) in FromFloatTo16()
85 cmsUInt32Number i; in FromFloatTo16()
94 void From16ToFloat(const cmsUInt16Number In[], cmsFloat32Number Out[], cmsUInt32Number n) in From16ToFloat()
96 cmsUInt32Number i; in From16ToFloat()
110 cmsBool CMSEXPORT cmsPipelineCheckAndRetreiveStages(const cmsPipeline* Lut, cmsUInt32Number n, ...) in cmsPipelineCheckAndRetreiveStages()
113 cmsUInt32Number i; in cmsPipelineCheckAndRetreiveStages()
172 cmsUInt32Number i; in EvaluateCurves()
[all …]
Dcmsio0.c44 cmsUInt32Number Pointer; // Points to current location
48 cmsUInt32Number NULLRead(cmsIOHANDLER* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Numb… in NULLRead()
52 cmsUInt32Number len = size * count; in NULLRead()
60 cmsBool NULLSeek(cmsIOHANDLER* iohandler, cmsUInt32Number offset) in NULLSeek()
69 cmsUInt32Number NULLTell(cmsIOHANDLER* iohandler) in NULLTell()
76 cmsBool NULLWrite(cmsIOHANDLER* iohandler, cmsUInt32Number size, const void *Ptr) in NULLWrite()
140 cmsUInt32Number Size; // Size of allocated memory
141 cmsUInt32Number Pointer; // Points to current location
147 cmsUInt32Number MemoryRead(struct _cms_io_handler* iohandler, void *Buffer, cmsUInt32Number size, c… in MemoryRead()
151 cmsUInt32Number len = size * count; in MemoryRead()
[all …]
Dcmshalf.c34 static const cmsUInt32Number Mantissa[2048] = {
394 static const cmsUInt32Number Exponent[64] = {
510 cmsUInt32Number num; in _cmsHalf2Float()
523 cmsUInt32Number num; in _cmsFloat2Half()
526 cmsUInt32Number n, j; in _cmsFloat2Half()
532 return (cmsUInt16Number) ((cmsUInt32Number) Base[ j ] + (( n & 0x007fffff) >> Shift[ j ])); in _cmsFloat2Half()
Dcmsplugin.c58 cmsUInt32Number CMSEXPORT _cmsAdjustEndianess32(cmsUInt32Number DWord) in _cmsAdjustEndianess32()
137 cmsBool CMSEXPORT _cmsReadUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, cmsUInt16Number* Array) in _cmsReadUInt16Array()
139 cmsUInt32Number i; in _cmsReadUInt16Array()
156 cmsBool CMSEXPORT _cmsReadUInt32Number(cmsIOHANDLER* io, cmsUInt32Number* n) in _cmsReadUInt32Number()
158 cmsUInt32Number tmp; in _cmsReadUInt32Number()
162 if (io -> Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsReadUInt32Number()
171 cmsUInt32Number tmp; in _cmsReadFloat32Number()
175 if (io->Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsReadFloat32Number()
221 cmsUInt32Number tmp; in _cmsRead15Fixed16Number()
225 if (io -> Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsRead15Fixed16Number()
[all …]
Dcmsmd5.c32 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs) in byteReverse()
36 cmsUInt32Number t = _cmsAdjustEndianess32(*(cmsUInt32Number *) buf); in byteReverse()
37 *(cmsUInt32Number *) buf = t; in byteReverse()
38 buf += sizeof(cmsUInt32Number); in byteReverse()
51 cmsUInt32Number buf[4];
52 cmsUInt32Number bits[2];
68 void MD5_Transform(cmsUInt32Number buf[4], cmsUInt32Number in[16]) in MD5_Transform()
71 register cmsUInt32Number a, b, c, d; in MD5_Transform()
175 void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len) in MD5add()
178 cmsUInt32Number t; in MD5add()
[all …]
Dcmsnamed.c33 cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems) in cmsMLUalloc()
65 cmsUInt32Number size; in GrowMLUpool()
95 cmsUInt32Number AllocatedEntries; in GrowMLUtable()
121 cmsUInt32Number i; in SearchMLUEntry()
140 cmsBool AddMLUBlock(cmsMLU* mlu, cmsUInt32Number size, const wchar_t *Block, in AddMLUBlock()
143 cmsUInt32Number Offset; in AddMLUBlock()
213 cmsUInt32Number i, len = (cmsUInt32Number) strlen(ASCIIString); in cmsMLUsetASCII()
236 cmsUInt32Number mywcslen(const wchar_t *s) in mywcslen()
244 return (cmsUInt32Number)(p - s); in mywcslen()
252 cmsUInt32Number len; in cmsMLUsetWide()
[all …]
Dcmserr.c78 void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsMalloc()
84 void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) in _cmsMallocZero()
92 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc()
94 cmsUInt32Number total = num * size; in _cmsCalloc()
102 void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) in _cmsRealloc()
114 void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) in _cmsDupMem()
172 _cmsSubAllocator_chunk* _cmsCreateSubAllocChunk(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAllocChunk()
202 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAlloc()
240 void* _cmsSubAlloc(_cmsSubAllocator* sub, cmsUInt32Number size) in _cmsSubAlloc()
242 cmsUInt32Number Free = sub -> h ->BlockSize - sub -> h -> Used; in _cmsSubAlloc()
[all …]
Dcmsopt.c40cmsUInt32Number X0[256], Y0[256], Z0[256]; // Precomputed nodes and offsets for 8-bit input data
52 cmsUInt32Number nInputs;
53 cmsUInt32Number nOutputs;
97 cmsUInt32Number nCurves; // Number of curves
98 cmsUInt32Number nElements; // Elements in curves
341 cmsUInt32Number i; in PrelinEval16()
386 cmsUInt32Number nInputs, cmsToneCurve** In, in PrelinOpt16alloc()
387 cmsUInt32Number nOutputs, cmsToneCurve** Out ) in PrelinOpt16alloc()
389 cmsUInt32Number i; in PrelinOpt16alloc()
446 cmsUInt32Number i; in XFormSampler16()
[all …]
Dcmsintrp.c40 …unction DefaultInterpolatorsFactory(cmsUInt32Number nInputChannels, cmsUInt32Number nOutputChannel…
111 const cmsUInt32Number nSamples[], in _cmsComputeInterpParamsEx()
112 cmsUInt32Number InputChan, cmsUInt32Number OutputChan, in _cmsComputeInterpParamsEx()
114 cmsUInt32Number dwFlags) in _cmsComputeInterpParamsEx()
117 cmsUInt32Number i; in _cmsComputeInterpParamsEx()
161 cmsInterpParams* _cmsComputeInterpParams(cmsContext ContextID, cmsUInt32Number nSamples, in _cmsComputeInterpParams()
162cmsUInt32Number InputChan, cmsUInt32Number OutputChan, const void* Table, cmsUInt32Number dwFlags) in _cmsComputeInterpParams()
165 cmsUInt32Number Samples[MAX_INPUT_DIMENSIONS]; in _cmsComputeInterpParams()
186 cmsUInt32Number dif = (cmsUInt32Number) (h - l) * a + 0x8000; in LinearInterp()
273 cmsUInt32Number OutChan; in Eval1Input()
[all …]
Dcmscgats.c113 cmsUInt32Number BlockSize;
114 cmsUInt32Number Used;
143 cmsUInt32Number TablesCount; // How many tables in this stream
144 cmsUInt32Number nTable; // The actual table
188 cmsUInt32Number Used;
189 cmsUInt32Number Max;
358 static void* AllocChunk(cmsIT8* it8, cmsUInt32Number size);
416 cmsBool BuildAbsolutePath(const char *relPath, const char *basePath, char *buffer, cmsUInt32Number in BuildAbsolutePath()
419 cmsUInt32Number len; in BuildAbsolutePath()
436 len = (cmsUInt32Number) (tail - buffer); in BuildAbsolutePath()
[all …]
Dcmssamp.c41 cmsHTRANSFORM CreateRoundtripXForm(cmsHPROFILE hProfile, cmsUInt32Number nIntent) in CreateRoundtripXForm()
49 cmsUInt32Number Intents[4]; in CreateRoundtripXForm()
65 cmsUInt32Number Intent, in BlackPointAsDarkerColorant()
67 cmsUInt32Number dwFlags) in BlackPointAsDarkerColorant()
72 cmsUInt32Number nChannels; in BlackPointAsDarkerColorant()
73 cmsUInt32Number dwFormat; in BlackPointAsDarkerColorant()
191 …tBlackPoint(cmsCIEXYZ* BlackPoint, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number d… in cmsDetectBlackPoint()
347 …nBlackPoint(cmsCIEXYZ* BlackPoint, cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number d… in cmsDetectDestinationBlackPoint()
/external/pdfium/third_party/lcms/
D0000-cmserr-changes.patch26 -#define MAX_MEMORY_FOR_ALLOC ((cmsUInt32Number)(1024U*1024U*512U))
41 -void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size)
52 +void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size)
59 -void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size)
60 +void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size)
77 +void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size)
83 + cmsUInt32Number total = num * size;
94 -void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size)
96 +void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size)
111 -void* _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size)
[all …]
D0030-const-data.patch5 @@ -252,7 +252,7 @@ int FormatterPos(cmsUInt32Number frm)
7 cmsFormatterAlphaFn _cmsGetFormatterAlpha(cmsContext id, cmsUInt32Number in, cmsUInt32Number out)
60 cmsUInt32Number size;
74 -static cmsUInt32Number Mantissa[2048] = {
75 +static const cmsUInt32Number Mantissa[2048] = {
79 @@ -377,7 +377,7 @@ static cmsUInt32Number Mantissa[2048] = {
92 -static cmsUInt32Number Exponent[64] = {
93 +static const cmsUInt32Number Exponent[64] = {
97 @@ -405,7 +405,7 @@ static cmsUInt32Number Exponent[64] = {
D0032-cgats-allocation.patch9 - t-> Data = (char**)AllocChunk (it8, ((cmsUInt32Number) t->nSamples + 1) * ((cmsUInt32Number) t…
16 + t->Data = (char**)AllocChunk(it8, ((cmsUInt32Number)t->nSamples + 1) * ((cmsUInt32Number)t…
/external/oss-fuzz/projects/lcms/
Dcms_transform_fuzzer.c19 cmsUInt32Number nSrcComponents = cmsChannelsOf(srcCS); in LLVMFuzzerTestOneInput()
20 cmsUInt32Number srcFormat; in LLVMFuzzerTestOneInput()
29 cmsUInt32Number intent = 0; in LLVMFuzzerTestOneInput()
30 cmsUInt32Number flags = 0; in LLVMFuzzerTestOneInput()

12