/external/pdfium/third_party/lcms/include/ |
D | lcms2_plugin.h | 99 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 …]
|
D | lcms2.h | 114 typedef unsigned int cmsUInt32Number; typedef 116 typedef unsigned long cmsUInt32Number; typedef 150 typedef cmsUInt32Number cmsUInt64Number[2]; 155 typedef cmsUInt32Number cmsSignature; 158 typedef cmsUInt32Number cmsU16Fixed16Number; 561 cmsUInt32Number len; 562 cmsUInt32Number flag; 591 cmsUInt32Number ID32[4]; 602 cmsUInt32Number size; // Profile size in bytes 604 cmsUInt32Number version; // Format version number [all …]
|
/external/pdfium/third_party/lcms/src/ |
D | lcms2_internal.h | 57 #define _cmsALIGNLONG(x) (((x)+(sizeof(cmsUInt32Number)-1)) & ~(sizeof(cmsUInt32Number)-1)) 104 #define FROM_16_TO_8(rgb) (cmsUInt8Number) ((((cmsUInt32Number)(rgb) * 65281U + 8388608U) >> 24) & … 339 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size); 380 cmsUInt32Number BlockSize; 381 cmsUInt32Number Used; 396 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial); 398 void* _cmsSubAlloc(_cmsSubAllocator* s, cmsUInt32Number size); 399 void* _cmsSubAllocDup(_cmsSubAllocator* s, const void *ptr, cmsUInt32Number size); 663 cmsUInt32Number StrW; // Offset to current unicode string 664 cmsUInt32Number Len; // Length in bytes [all …]
|
D | cmstypes.c | 118 cmsBool _cmsWriteWCharArray(cmsIOHANDLER* io, cmsUInt32Number n, const wchar_t* Array) in _cmsWriteWCharArray() 120 cmsUInt32Number i; in _cmsWriteWCharArray() 134 cmsBool _cmsReadWCharArray(cmsIOHANDLER* io, cmsUInt32Number n, wchar_t* Array) in _cmsReadWCharArray() 136 cmsUInt32Number i; in _cmsReadWCharArray() 160 cmsUInt32Number n, 161 cmsUInt32Number SizeOfTag); 169 cmsUInt32Number Count, in ReadPositionTable() 170 cmsUInt32Number BaseOffset, in ReadPositionTable() 174 cmsUInt32Number i; in ReadPositionTable() 175 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; in ReadPositionTable() [all …]
|
D | cmsxform.c | 178 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 …]
|
D | cmsalpha.c | 45 int trueBytesSize(cmsUInt32Number Format) in trueBytesSize() 232 int FormatterPos(cmsUInt32Number frm) in FormatterPos() 253 cmsFormatterAlphaFn _cmsGetFormatterAlpha(cmsContext id, cmsUInt32Number in, cmsUInt32Number out) in _cmsGetFormatterAlpha() 279 void ComputeIncrementsForChunky(cmsUInt32Number Format, in ComputeIncrementsForChunky() 280 cmsUInt32Number ComponentStartingOrder[], in ComputeIncrementsForChunky() 281 cmsUInt32Number ComponentPointerIncrements[]) in ComputeIncrementsForChunky() 283 cmsUInt32Number channels[cmsMAXCHANNELS]; in ComputeIncrementsForChunky() 315 cmsUInt32Number tmp = channels[0]; in ComputeIncrementsForChunky() 336 void ComputeIncrementsForPlanar(cmsUInt32Number Format, in ComputeIncrementsForPlanar() 337 cmsUInt32Number BytesPerPlane, in ComputeIncrementsForPlanar() [all …]
|
D | cmsgmt.c | 33 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 …]
|
D | cmspack.c | 60 cmsUInt32Number Type; 61 cmsUInt32Number Mask; 67 cmsUInt32Number Type; 68 cmsUInt32Number Mask; 98 register cmsUInt32Number Stride) in UnrollChunkyBytes() 145 register cmsUInt32Number Stride) in UnrollPlanarBytes() 175 register cmsUInt32Number Stride) in Unroll4Bytes() 192 register cmsUInt32Number Stride) in Unroll4BytesReverse() 209 register cmsUInt32Number Stride) in Unroll4BytesSwapFirst() 227 register cmsUInt32Number Stride) in Unroll4BytesSwap() [all …]
|
D | cmsio0.c | 44 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 …]
|
D | cmscnvrt.c | 34 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 …]
|
D | cmslut.c | 33 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 …]
|
D | cmsps2.c | 469 cmsUInt32Number i; in Emit1Gamma() 588 cmsUInt32Number i; in OutputValueSampler() 600 cmsUInt32Number nOutputs; in OutputValueSampler() 671 cmsUInt32Number i; in WriteCLUT() 861 int WriteInputLUT(cmsIOHANDLER* m, cmsHPROFILE hProfile, int Intent, cmsUInt32Number dwFlags) in WriteInputLUT() 865 cmsUInt32Number nChannels; in WriteInputLUT() 866 cmsUInt32Number InputFormat; in WriteInputLUT() 908 cmsUInt32Number OutFrm = TYPE_Lab_16; in WriteInputLUT() 1044 cmsUInt32Number GenerateCSA(cmsContext ContextID, in GenerateCSA() 1046 cmsUInt32Number Intent, in GenerateCSA() [all …]
|
D | cmsmd5.c | 32 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 …]
|
D | cmserr.c | 76 void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsMalloc() 82 void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) in _cmsMallocZero() 90 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc() 92 cmsUInt32Number total = num * size; in _cmsCalloc() 100 void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number size) in _cmsRealloc() 112 void* CMSEXPORT _cmsDupMem(cmsContext ContextID, const void* Org, cmsUInt32Number size) in _cmsDupMem() 170 _cmsSubAllocator_chunk* _cmsCreateSubAllocChunk(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAllocChunk() 200 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial) in _cmsCreateSubAlloc() 238 void* _cmsSubAlloc(_cmsSubAllocator* sub, cmsUInt32Number size) in _cmsSubAlloc() 240 cmsUInt32Number Free = sub -> h ->BlockSize - sub -> h -> Used; in _cmsSubAlloc() [all …]
|
D | cmshalf.c | 34 static cmsUInt32Number Mantissa[2048] = { 394 static 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()
|
D | cmsnamed.c | 33 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() 212 cmsUInt32Number i, len = (cmsUInt32Number) strlen(ASCIIString); in cmsMLUsetASCII() 235 cmsUInt32Number mywcslen(const wchar_t *s) in mywcslen() 243 return (cmsUInt32Number)(p - s); in mywcslen() 251 cmsUInt32Number len; in cmsMLUsetWide() [all …]
|
D | cmsplugin.c | 58 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() 207 cmsUInt32Number tmp; in _cmsRead15Fixed16Number() 211 if (io -> Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsRead15Fixed16Number() [all …]
|
D | cmsintrp.c | 33 …unction DefaultInterpolatorsFactory(cmsUInt32Number nInputChannels, cmsUInt32Number nOutputChannel… 104 const cmsUInt32Number nSamples[], in _cmsComputeInterpParamsEx() 107 cmsUInt32Number dwFlags) in _cmsComputeInterpParamsEx() 154 …ContextID, int nSamples, int InputChan, int OutputChan, const void* Table, cmsUInt32Number dwFlags) in _cmsComputeInterpParams() 157 cmsUInt32Number Samples[MAX_INPUT_DIMENSIONS]; in _cmsComputeInterpParams() 178 cmsUInt32Number dif = (cmsUInt32Number) (h - l) * a + 0x8000; in LinearInterp() 265 cmsUInt32Number OutChan; in Eval1Input() 296 cmsUInt32Number OutChan; in Eval1InputFloat() 703 cmsUInt32Number TotalOut = p -> nOutputs; in TetrahedralInterp16() 839 cmsUInt32Number i; in Eval4Inputs() [all …]
|
D | cmscgats.c | 113 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; 359 static void* AllocChunk(cmsIT8* it8, cmsUInt32Number size); 417 cmsBool BuildAbsolutePath(const char *relPath, const char *basePath, char *buffer, cmsUInt32Number … in BuildAbsolutePath() 420 cmsUInt32Number len; in BuildAbsolutePath() 437 len = (cmsUInt32Number) (tail - buffer); in BuildAbsolutePath() [all …]
|
D | cmssamp.c | 41 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()
|
D | cmsopt.c | 40 … cmsUInt32Number X0[256], Y0[256], Z0[256]; // Precomputed nodes and offsets for 8-bit input data 413 cmsUInt32Number i; in XFormSampler16() 438 cmsUInt32Number i, n; in AllCurvesAreLinear() 553 cmsUInt32Number i, nOuts, nIns; in FixWhiteMisalignment() 631 …mpling(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* O… in OptimizeByResampling() 1023 …zation(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* O… in OptimizeByComputingLinearization() 1028 cmsUInt32Number t, i; in OptimizeByComputingLinearization() 1356 cmsUInt32Number i; in FastIdentity16() 1367 …Curves(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* O… in OptimizeByJoiningCurves() 1371 cmsUInt32Number i, j; in OptimizeByJoiningCurves() [all …]
|
/external/pdfium/third_party/lcms/ |
D | 0024-verify-size-before-reading.patch | 7 cmsUInt32Number i; 8 cmsUInt32Number *ElementOffsets = NULL, *ElementSizes = NULL; 9 + cmsUInt32Number currentPosition; 12 + // Verify there is enough space left to read two cmsUInt32Number items for Count items. 13 + if (((io->ReportedSize - currentPosition) / (2 * sizeof(cmsUInt32Number))) < Count) 17 … ElementOffsets = (cmsUInt32Number *) _cmsCalloc(io ->ContextID, Count, sizeof(cmsUInt32Number));
|
D | 0000-cmserr-changes.patch | 26 -#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 …]
|
D | 0026-more-unsupported-characters.patch | 5 @@ -1756,8 +1756,8 @@ cmsBool OptimizeMatrixShaper(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUI… 28 …struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number S… 37 @@ -1756,8 +1756,8 @@ cmsBool OptimizeMatrixShaper(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUI… 60 …struct _cms_typehandler_struct* self, cmsIOHANDLER* io, cmsUInt32Number* nItems, cmsUInt32Number S…
|
/external/ImageMagick/MagickCore/ |
D | profile.c | 431 const cmsHPROFILE source_profile,const cmsUInt32Number source_type, in AcquireTransformThreadSet() 432 const cmsHPROFILE target_profile,const cmsUInt32Number target_type, in AcquireTransformThreadSet() 433 const int intent,const cmsUInt32Number flags, in AcquireTransformThreadSet() 463 static void CMSExceptionHandler(cmsContext context,cmsUInt32Number severity, in CMSExceptionHandler() 893 GetStringInfoDatum(profile),(cmsUInt32Number) in ProfileImage() 919 cmsUInt32Number in ProfileImage() 953 (cmsUInt32Number) GetStringInfoLength(icc_profile)); in ProfileImage() 970 source_type=(cmsUInt32Number) TYPE_CMYK_DBL; in ProfileImage() 973 source_type=(cmsUInt32Number) TYPE_CMYK_16; in ProfileImage() 982 source_type=(cmsUInt32Number) TYPE_GRAY_DBL; in ProfileImage() [all …]
|