Home
last modified time | relevance | path

Searched refs:nEntries (Results 1 – 16 of 16) sorted by relevance

/external/pdfium/third_party/lcms/src/
Dcmsgamma.c212 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, in AllocateToneCurveStruct() argument
220 if (nEntries > 65530 || nEntries < 0) { in AllocateToneCurveStruct()
225 if (nEntries <= 0 && nSegments <= 0) { in AllocateToneCurveStruct()
251 if (nEntries <= 0) { in AllocateToneCurveStruct()
255 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); in AllocateToneCurveStruct()
259 p -> nEntries = nEntries; in AllocateToneCurveStruct()
262 if (Values != NULL && (nEntries > 0)) { in AllocateToneCurveStruct()
264 for (i=0; i < nEntries; i++) in AllocateToneCurveStruct()
297 …p ->InterpParams = _cmsComputeInterpParams(ContextID, p ->nEntries, 1, 1, p->Table16, CMS_LERP_FLA… in AllocateToneCurveStruct()
607 return t ->nEntries; in cmsGetToneCurveEstimatedTableEntries()
[all …]
Dcmsps2.c474 if (Table ->nEntries <= 0) return; // Empty table in Emit1Gamma()
498 for (i=0; i < Table->nEntries; i++) { in Emit1Gamma()
537 cmsBool GammaTableEquals(cmsUInt16Number* g1, cmsUInt16Number* g2, int nEntries) in GammaTableEquals() argument
539 return memcmp(g1, g2, nEntries* sizeof(cmsUInt16Number)) == 0; in GammaTableEquals()
554 if (i > 0 && GammaTableEquals(g[i-1]->Table16, g[i]->Table16, g[i]->nEntries)) { in EmitNGamma()
Dcmstypes.c1155 if (!_cmsWriteUInt32Number(io, Curve ->nEntries)) return FALSE; in Type_Curve_Write()
1156 return _cmsWriteUInt16Array(io, Curve ->nEntries, Curve ->Table16); in Type_Curve_Write()
1690 if ((Tables ->TheCurves[i]->nEntries == 2) && in Write8bitTables()
1699 if (Tables ->TheCurves[i]->nEntries != 256) { in Write8bitTables()
1974 …d16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries) in Read16bitTables() argument
1980 if (nEntries <= 0) return TRUE; in Read16bitTables()
1983 if (nEntries < 2) return FALSE; in Read16bitTables()
1991 Tables[i] = cmsBuildTabulatedToneCurve16(ContextID, nEntries, NULL); in Read16bitTables()
1994 if (!_cmsReadUInt16Array(io, nEntries, Tables[i]->Table16)) goto Error; in Read16bitTables()
2021 int nEntries; in Write16bitTables() local
[all …]
Dcmsopt.c807 int AtBegin = (int) floor((cmsFloat64Number) g ->nEntries * 0.02 + 0.5); // Cutoff at 2% in SlopeLimiting()
808 int AtEnd = g ->nEntries - AtBegin - 1; // And 98% in SlopeLimiting()
832 for (i = AtEnd; i < (int) g ->nEntries; i++) in SlopeLimiting()
1004 int nEntries = g ->nEntries; in IsDegenerated() local
1006 for (i=0; i < nEntries; i++) { in IsDegenerated()
1013 if (Zeros > (nEntries / 20)) return TRUE; // Degenerated, many zeros in IsDegenerated()
1014 if (Poles > (nEntries / 20)) return TRUE; // Degenerated, many poles in IsDegenerated()
Dcmslut.c497 NewElem ->nEntries = Data ->nEntries; in CLUTElemDup()
503 …msFloat32Number*) _cmsDupMem(mpe ->ContextID, Data ->Tab.TFloat, Data ->nEntries * sizeof (cmsFloa… in CLUTElemDup()
507 …T = (cmsUInt16Number*) _cmsDupMem(mpe ->ContextID, Data ->Tab.T, Data ->nEntries * sizeof (cmsUInt… in CLUTElemDup()
580 NewElem -> nEntries = n = outputChan * CubeSize(clutPoints, inputChan); in cmsStageAllocCLut16bitGranular()
672 NewElem -> nEntries = n = outputChan * CubeSize(clutPoints, inputChan); in cmsStageAllocCLutFloatGranular()
Dlcms2_internal.h796 cmsUInt32Number nEntries; // Number of table elements member
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestClassOverride.java63 static final int nEntries = customClasses.length; field in TestClassOverride
76 : c >= nEntries ? super.classify(c) in classify()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestClassOverride.java60 static final int nEntries = customClasses.length; field in TestClassOverride
73 : c >= nEntries ? super.classify(c) in classify()
/external/pdfium/third_party/lcms/
D0002-old-performance-fix.patch12 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
D0010-memory-leak-Type_Curve_Read.patch19 for (i=0; i < Data ->nEntries; i++) {
D0027-changes-from-beginning-of-time.patch87 …return AllocateToneCurveStruct(In ->InterpParams ->ContextID, In ->nEntries, In ->nSegments, In -…
/external/pdfium/third_party/lcms/include/
Dlcms2_plugin.h532 cmsUInt32Number nEntries; member
Dlcms2.h1159 …XPORT cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16N…
1160 …T cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32…
/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTModelPOD.cpp771 const unsigned int nEntries, in WriteCPODData() argument
782 case 1: if(!WriteData(pFile, ePODFileData, n.pData, nEntries * n.nStride)) return false; break; in WriteCPODData()
783 …case 2: if(!WriteData16(pFile, ePODFileData, n.pData, nEntries * (n.nStride / 2))) return false; b… in WriteCPODData()
784 …case 4: if(!WriteData32(pFile, ePODFileData, n.pData, nEntries * (n.nStride / 4))) return false; b… in WriteCPODData()
/external/aac/libAACenc/src/
Dadj_thr.cpp153 INT nEntries; member
337 size = bits2PeConfigTab[i].nEntries; in FDKaacEnc_InitBits2PeFactor()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c4537 static const int nEntries = UPRV_LENGTHOF(customClasses); in overrideBidiClass() local
4541 return c >= nEntries ? U_BIDI_CLASS_DEFAULT : customClasses[c]; in overrideBidiClass()