Home
last modified time | relevance | path

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

/external/libvncserver/libvncserver/
Dtableinit24.c37 unsigned int nEntries = 1 << in->bitsPerPixel; in rfbInitColourMapSingleTable24() local
41 *table = (char *)malloc(nEntries * 3 + 1); in rfbInitColourMapSingleTable24()
44 for (i = 0; i < nEntries; i++) { in rfbInitColourMapSingleTable24()
82 int nEntries = 1 << in->bitsPerPixel; in rfbInitTrueColourSingleTable24() local
85 *table = (char *)malloc(nEntries * 3 + 1); in rfbInitTrueColourSingleTable24()
88 for (i = 0; i < nEntries; i++) { in rfbInitTrueColourSingleTable24()
143 int nEntries = inMax + 1; in rfbInitOneRGBTable24() local
147 for (i = 0; i < nEntries; i++) { in rfbInitOneRGBTable24()
Dtableinittctemplate.c66 int nEntries = 1 << in->bitsPerPixel; in rfbInitTrueColourSingleTableOUT() local
69 *table = (char *)malloc(nEntries * sizeof(OUT_T)); in rfbInitTrueColourSingleTableOUT()
72 for (i = 0; i < nEntries; i++) { in rfbInitTrueColourSingleTableOUT()
126 int nEntries = inMax + 1; in rfbInitOneRGBTableOUT() local
128 for (i = 0; i < nEntries; i++) { in rfbInitOneRGBTableOUT()
Dtableinitcmtemplate.c51 uint32_t nEntries = 1 << in->bitsPerPixel; in rfbInitColourMapSingleTableOUT() local
55 *table = (char *)malloc(nEntries * sizeof(OUT_T)); in rfbInitColourMapSingleTableOUT()
58 for (i = 0; i < nEntries; i++) { in rfbInitColourMapSingleTableOUT()
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsgamma.c213 cmsToneCurve* AllocateToneCurveStruct(cmsContext ContextID, cmsInt32Number nEntries, in AllocateToneCurveStruct() argument
221 if (nEntries > 65530 || nEntries < 0) { 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()
608 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.c1141 if (!_cmsWriteUInt32Number(io, Curve ->nEntries)) return FALSE; in Type_Curve_Write()
1142 return _cmsWriteUInt16Array(io, Curve ->nEntries, Curve ->Table16); in Type_Curve_Write()
1676 if ((Tables ->TheCurves[i]->nEntries == 2) && in Write8bitTables()
1685 if (Tables ->TheCurves[i]->nEntries != 256) { in Write8bitTables()
1963 …d16bitTables(cmsContext ContextID, cmsIOHANDLER* io, cmsPipeline* lut, int nChannels, int nEntries) in Read16bitTables() argument
1969 if (nEntries <= 0) return TRUE; in Read16bitTables()
1972 if (nEntries < 2) return FALSE; in Read16bitTables()
1980 Tables[i] = cmsBuildTabulatedToneCurve16(ContextID, nEntries, NULL); in Read16bitTables()
1983 if (!_cmsReadUInt16Array(io, nEntries, Tables[i]->Table16)) goto Error; in Read16bitTables()
2010 int nEntries; in Write16bitTables() local
[all …]
Dcmsopt.c725 int AtBegin = (int) floor((cmsFloat64Number) g ->nEntries * 0.02 + 0.5); // Cutoff at 2% in SlopeLimiting()
726 int AtEnd = g ->nEntries - AtBegin - 1; // And 98% in SlopeLimiting()
750 for (i = AtEnd; i < (int) g ->nEntries; i++) in SlopeLimiting()
922 int nEntries = g ->nEntries; in IsDegenerated() local
924 for (i=0; i < nEntries; i++) { in IsDegenerated()
931 if (Zeros > (nEntries / 4)) return TRUE; // Degenerated, mostly zeros in IsDegenerated()
932 if (Poles > (nEntries / 4)) return TRUE; // Degenerated, mostly 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.h783 cmsUInt32Number nEntries; // Number of table elements member
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestClassOverride.java56 static final int nEntries = customClasses.length; field in TestClassOverride
69 : c >= nEntries ? super.classify(c) in classify()
/external/icu/android_icu4j/src/main/tests/android/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/lcms2-2.6/include/
Dlcms2_plugin.h532 cmsUInt32Number nEntries; member
Dlcms2.h1154 …XPORT cmsBuildTabulatedToneCurve16(cmsContext ContextID, cmsInt32Number nEntries, const cmsUInt16N…
1155 …T cmsBuildTabulatedToneCurveFloat(cmsContext ContextID, cmsUInt32Number nEntries, const cmsFloat32…
/external/aac/libAACenc/src/
Dadj_thr.cpp147 const INT nEntries; member
281 size = bits2PeConfigTab[i].nEntries; in FDKaacEnc_InitBits2PeFactor()
/external/icu/icu4c/source/test/cintltst/
Dcbiditst.c4530 static const int nEntries = UPRV_LENGTHOF(customClasses); in overrideBidiClass() local
4534 return c >= nEntries ? U_BIDI_CLASS_DEFAULT : customClasses[c]; in overrideBidiClass()