Home
last modified time | relevance | path

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

/external/pdfium/third_party/lcms/src/
Dcmsgamma.c213 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsUInt32Number nEntries, in AllocateToneCurveStruct() argument
221 if (nEntries > 65530) { in AllocateToneCurveStruct()
226 if (nEntries == 0 && nSegments == 0) { in AllocateToneCurveStruct()
252 if (nEntries == 0) { in AllocateToneCurveStruct()
256 p ->Table16 = (cmsUInt16Number*) _cmsCalloc(ContextID, nEntries, sizeof(cmsUInt16Number)); in AllocateToneCurveStruct()
260 p -> nEntries = nEntries; in AllocateToneCurveStruct()
263 if (Values != NULL && (nEntries > 0)) { in AllocateToneCurveStruct()
265 for (i=0; i < nEntries; i++) in AllocateToneCurveStruct()
298 …p ->InterpParams = _cmsComputeInterpParams(ContextID, p ->nEntries, 1, 1, p->Table16, CMS_LERP_FLA… in AllocateToneCurveStruct()
716 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, cmsUInt32Number 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.c1161 if (!_cmsWriteUInt32Number(io, Curve ->nEntries)) return FALSE; in Type_Curve_Write()
1162 return _cmsWriteUInt16Array(io, Curve ->nEntries, Curve ->Table16); in Type_Curve_Write()
1697 if ((Tables ->TheCurves[i]->nEntries == 2) && in Write8bitTables()
1706 if (Tables ->TheCurves[i]->nEntries != 256) { in Write8bitTables()
1984 cmsUInt32Number nChannels, cmsUInt32Number nEntries) in Read16bitTables() argument
1990 if (nEntries <= 0) return TRUE; in Read16bitTables()
1993 if (nEntries < 2) return FALSE; in Read16bitTables()
2001 Tables[i] = cmsBuildTabulatedToneCurve16(ContextID, nEntries, NULL); in Read16bitTables()
2004 if (!_cmsReadUInt16Array(io, nEntries, Tables[i]->Table16)) goto Error; in Read16bitTables()
2031 cmsUInt32Number nEntries; in Write16bitTables() local
[all …]
Dcmsopt.c845 int AtBegin = (int) floor((cmsFloat64Number) g ->nEntries * 0.02 + 0.5); // Cutoff at 2% in SlopeLimiting()
846 int AtEnd = (int) g ->nEntries - AtBegin - 1; // And 98% in SlopeLimiting()
870 for (i = AtEnd; i < (int) g ->nEntries; i++) in SlopeLimiting()
1041 cmsUInt32Number nEntries = g ->nEntries; in IsDegenerated() local
1043 for (i=0; i < nEntries; i++) { in IsDegenerated()
1050 if (Zeros > (nEntries / 20)) return TRUE; // Degenerated, many zeros in IsDegenerated()
1051 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.h848 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 -…
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.h1167 …PORT cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsUInt32Number nEntries, const cmsUInt16N…
1168 …T cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32…
/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.c4538 static const int nEntries = UPRV_LENGTHOF(customClasses); in overrideBidiClass() local
4542 return c >= nEntries ? U_BIDI_CLASS_DEFAULT : customClasses[c]; in overrideBidiClass()