/external/pdfium/third_party/lcms2-2.6/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; 560 cmsUInt32Number len; 561 cmsUInt32Number flag; 590 cmsUInt32Number ID32[4]; 601 cmsUInt32Number size; // Profile size in bytes 603 cmsUInt32Number version; // Format version number [all …]
|
/external/pdfium/third_party/lcms2-2.6/src/ |
D | lcms2_internal.h | 58 #define _cmsALIGNLONG(x) (((x)+(sizeof(cmsUInt32Number)-1)) & ~(sizeof(cmsUInt32Number)-1)) 326 void* _cmsPluginMalloc(cmsContext ContextID, cmsUInt32Number size); 367 cmsUInt32Number BlockSize; 368 cmsUInt32Number Used; 383 _cmsSubAllocator* _cmsCreateSubAlloc(cmsContext ContextID, cmsUInt32Number Initial); 385 void* _cmsSubAlloc(_cmsSubAllocator* s, cmsUInt32Number size); 386 void* _cmsSubAllocDup(_cmsSubAllocator* s, const void *ptr, cmsUInt32Number size); 650 cmsUInt32Number StrW; // Offset to current unicode string 651 cmsUInt32Number Len; // Length in bytes 665 cmsUInt32Number PoolSize; // The maximum allocated size [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() 191 cmsUInt32Number Size, cmsUInt32Number Stride) in cmsDoTransformStride() 207 void* out, cmsUInt32Number Size, cmsUInt32Number Stride) in FloatXFORM() 213 cmsUInt32Number i, j; in FloatXFORM() 257 cmsUInt32Number Size, in NullFloatXFORM() 258 cmsUInt32Number Stride) in NullFloatXFORM() 263 cmsUInt32Number i, n; in NullFloatXFORM() 281 void* out, cmsUInt32Number Size, in NullXFORM() 282 cmsUInt32Number Stride) in NullXFORM() 287 cmsUInt32Number i, n; in NullXFORM() [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 | 59 cmsUInt32Number Type; 60 cmsUInt32Number Mask; 66 cmsUInt32Number Type; 67 cmsUInt32Number Mask; 97 register cmsUInt32Number Stride) in UnrollChunkyBytes() 144 register cmsUInt32Number Stride) in UnrollPlanarBytes() 174 register cmsUInt32Number Stride) in Unroll4Bytes() 191 register cmsUInt32Number Stride) in Unroll4BytesReverse() 208 register cmsUInt32Number Stride) in Unroll4BytesSwapFirst() 226 register cmsUInt32Number Stride) in Unroll4BytesSwap() [all …]
|
D | cmserr.c | 69 #define MAX_MEMORY_FOR_ALLOC ((cmsUInt32Number)(1024U*1024U*512U)) 84 void* _cmsMallocDefaultFn(cmsContext ContextID, cmsUInt32Number size) 95 void* _cmsMallocZeroDefaultFn(cmsContext ContextID, cmsUInt32Number size) 120 void* _cmsReallocDefaultFn(cmsContext ContextID, void* Ptr, cmsUInt32Number size) 134 void* _cmsCallocDefaultFn(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) 136 cmsUInt32Number Total = num * size; 156 void* _cmsDupDefaultFn(cmsContext ContextID, const void* Org, cmsUInt32Number size) 263 void* CMSEXPORT _cmsMalloc(cmsContext ContextID, cmsUInt32Number size) in _cmsMalloc() 269 void* CMSEXPORT _cmsMallocZero(cmsContext ContextID, cmsUInt32Number size) in _cmsMallocZero() 277 void* CMSEXPORT _cmsCalloc(cmsContext ContextID, cmsUInt32Number num, cmsUInt32Number size) in _cmsCalloc() [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 | cmsio0.c | 43 cmsUInt32Number Pointer; // Points to current location 47 cmsUInt32Number NULLRead(cmsIOHANDLER* iohandler, void *Buffer, cmsUInt32Number size, cmsUInt32Numb… in NULLRead() 51 cmsUInt32Number len = size * count; in NULLRead() 59 cmsBool NULLSeek(cmsIOHANDLER* iohandler, cmsUInt32Number offset) in NULLSeek() 68 cmsUInt32Number NULLTell(cmsIOHANDLER* iohandler) in NULLTell() 75 cmsBool NULLWrite(cmsIOHANDLER* iohandler, cmsUInt32Number size, const void *Ptr) in NULLWrite() 139 cmsUInt32Number Size; // Size of allocated memory 140 cmsUInt32Number Pointer; // Points to current location 146 cmsUInt32Number MemoryRead(struct _cms_io_handler* iohandler, void *Buffer, cmsUInt32Number size, c… in MemoryRead() 150 cmsUInt32Number len = size * count; in MemoryRead() [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 | cmshalf.c | 33 static cmsUInt32Number Mantissa[2048] = { 393 static cmsUInt32Number Exponent[64] = { 509 cmsUInt32Number num; in _cmsHalf2Float() 522 cmsUInt32Number num; in _cmsFloat2Half() 525 cmsUInt32Number n, j; in _cmsFloat2Half() 531 return (cmsUInt16Number) ((cmsUInt32Number) Base[ j ] + (( n & 0x007fffff) >> Shift[ j ])); in _cmsFloat2Half()
|
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 | 31 void byteReverse(cmsUInt8Number * buf, cmsUInt32Number longs) in byteReverse() 35 cmsUInt32Number t = _cmsAdjustEndianess32(*(cmsUInt32Number *) buf); in byteReverse() 36 *(cmsUInt32Number *) buf = t; in byteReverse() 37 buf += sizeof(cmsUInt32Number); in byteReverse() 50 cmsUInt32Number buf[4]; 51 cmsUInt32Number bits[2]; 67 void MD5_Transform(cmsUInt32Number buf[4], cmsUInt32Number in[16]) in MD5_Transform() 70 register cmsUInt32Number a, b, c, d; in MD5_Transform() 174 void MD5add(cmsHANDLE Handle, cmsUInt8Number* buf, cmsUInt32Number len) in MD5add() 177 cmsUInt32Number t; in MD5add() [all …]
|
D | cmsnamed.c | 33 cmsMLU* CMSEXPORT cmsMLUalloc(cmsContext ContextID, cmsUInt32Number nItems) in cmsMLUalloc() 65 cmsUInt32Number size; in GrowMLUpool() 140 cmsBool AddMLUBlock(cmsMLU* mlu, cmsUInt32Number size, const wchar_t *Block, in AddMLUBlock() 143 cmsUInt32Number Offset; in AddMLUBlock() 185 cmsUInt32Number i, len = (cmsUInt32Number) strlen(ASCIIString)+1; in cmsMLUsetASCII() 208 cmsUInt32Number mywcslen(const wchar_t *s) in mywcslen() 216 return (cmsUInt32Number)(p - s); in mywcslen() 225 cmsUInt32Number len; in cmsMLUsetWide() 230 len = (cmsUInt32Number) (mywcslen(WideString) + 1) * sizeof(wchar_t); in cmsMLUsetWide() 297 cmsUInt32Number *len, in _cmsMLUgetWide() [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() 203 cmsUInt32Number tmp; in _cmsRead15Fixed16Number() 207 if (io -> Read(io, &tmp, sizeof(cmsUInt32Number), 1) != 1) in _cmsRead15Fixed16Number() 276 cmsBool CMSEXPORT _cmsWriteUInt16Array(cmsIOHANDLER* io, cmsUInt32Number n, const cmsUInt16Number*… in _cmsWriteUInt16Array() [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 187 cmsUInt32Number Used; 188 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 …]
|
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() 368 …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 327 cmsUInt32Number i; in XFormSampler16() 352 cmsUInt32Number i, n; in AllCurvesAreLinear() 471 cmsUInt32Number i, nOuts, nIns; in FixWhiteMisalignment() 549 …mpling(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* O… in OptimizeByResampling() 941 …zation(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* O… in OptimizeByComputingLinearization() 946 cmsUInt32Number t, i; in OptimizeByComputingLinearization() 1256 cmsUInt32Number i; in FastIdentity16() 1267 …Curves(cmsPipeline** Lut, cmsUInt32Number Intent, cmsUInt32Number* InputFormat, cmsUInt32Number* O… in OptimizeByJoiningCurves() 1271 cmsUInt32Number i, j; in OptimizeByJoiningCurves() [all …]
|
D | cmsio1.c | 825 cmsBool CMSEXPORT cmsIsCLUT(cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUInt32Number UsedDire… in cmsIsCLUT() 856 cmsUInt32Number Intent, cmsUInt32Number UsedDirection) in cmsIsIntentSupported() 879 cmsUInt32Number i; in _cmsReadProfileSequence() 933 cmsSEQ* _cmsCompileProfileSequence(cmsContext ContextID, cmsUInt32Number nProfiles, cmsHPROFILE hPr… in _cmsCompileProfileSequence() 935 cmsUInt32Number i; in _cmsCompileProfileSequence() 1001 cmsUInt32Number CMSEXPORT cmsGetProfileInfo(cmsHPROFILE hProfile, cmsInfoType Info, in cmsGetProfileInfo() 1003 wchar_t* Buffer, cmsUInt32Number BufferSize) in cmsGetProfileInfo() 1012 cmsUInt32Number CMSEXPORT cmsGetProfileInfoASCII(cmsHPROFILE hProfile, cmsInfoType Info, in cmsGetProfileInfoASCII() 1014 char* Buffer, cmsUInt32Number BufferSize) in cmsGetProfileInfoASCII()
|
D | cmsgamma.c | 151 memmove(fl->FunctionTypes, Plugin ->FunctionTypes, fl->nFunctions * sizeof(cmsUInt32Number)); in _cmsRegisterParametricCurvesPlugin() 152 memmove(fl->ParameterCount, Plugin ->ParameterCount, fl->nFunctions * sizeof(cmsUInt32Number)); in _cmsRegisterParametricCurvesPlugin() 605 cmsUInt32Number CMSEXPORT cmsGetToneCurveEstimatedTableEntries(const cmsToneCurve* t) in cmsGetToneCurveEstimatedTableEntries() 669 cmsToneCurve* CMSEXPORT cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntr… in cmsBuildTabulatedToneCurveFloat() 717 cmsUInt32Number size; in cmsBuildParametricToneCurve() 770 cmsUInt32Number i; in cmsFreeToneCurve() 837 const cmsToneCurve* Y, cmsUInt32Number nResultingPoints) in cmsJoinToneCurve() 843 cmsUInt32Number i; in cmsJoinToneCurve() 1129 cmsUInt32Number i; in cmsIsToneCurveLinear() 1267 cmsUInt32Number i; in cmsEstimateGamma()
|
D | cmscam02.c | 52 cmsUInt32Number surround; 115 cmsUInt32Number i; in ChromaticAdaptation() 152 cmsUInt32Number i; in NonlinearCompression() 299 cmsUInt32Number i; in InverseNonlinearity() 339 cmsUInt32Number i; in InverseChromaticAdaptation()
|
D | cmsvirt.c | 740 cmsUInt32Number Dimensions[MAX_INPUT_DIMENSIONS]; in cmsCreateBCHSWabstractProfileTHR() 889 cmsUInt32Number dwFlags) in FixColorSpaces() 1028 cmsUInt32Number n; in FindCombination() 1045 …msTransform2DeviceLink(cmsHTRANSFORM hTransform, cmsFloat64Number Version, cmsUInt32Number dwFlags) in cmsTransform2DeviceLink() 1048 cmsUInt32Number FrmIn, FrmOut, ChansIn, ChansOut; in cmsTransform2DeviceLink() 1049 cmsUInt32Number ColorSpaceBitsIn, ColorSpaceBitsOut; in cmsTransform2DeviceLink()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_jpx_opj.cpp | 434 cmsUInt32Number in_type; in color_apply_icc_profile() 435 cmsUInt32Number out_type; in color_apply_icc_profile() 446 cmsUInt32Number intent = cmsGetHeaderRenderingIntent(in_prof); in color_apply_icc_profile() 491 cmsUInt32Number nr_samples = max * 3 * sizeof(unsigned char); in color_apply_icc_profile() 502 cmsDoTransform(transform, inbuf, outbuf, (cmsUInt32Number)max); in color_apply_icc_profile() 516 cmsUInt32Number nr_samples = max * 3 * sizeof(unsigned short); in color_apply_icc_profile() 527 cmsDoTransform(transform, inbuf, outbuf, (cmsUInt32Number)max); in color_apply_icc_profile() 542 cmsUInt32Number nr_samples = in color_apply_icc_profile() 543 (cmsUInt32Number)max * 3 * sizeof(unsigned char); in color_apply_icc_profile() 562 cmsDoTransform(transform, inbuf, outbuf, (cmsUInt32Number)max); in color_apply_icc_profile()
|