Lines Matching refs:maxNdx
188 const INT maxSfb, INT* const maxNdx) { in FDKaacEnc_findMaxMerge() argument
198 *maxNdx = lastMaxNdx; in FDKaacEnc_findMaxMerge()
308 INT maxMergeGain, maxNdx, maxNdxNext, maxNdxLast; in FDKaacEnc_gmStage2() local
311 FDKaacEnc_findMaxMerge(mergeGainLookUp, huffsection, maxSfb, &maxNdx); in FDKaacEnc_gmStage2()
316 maxNdxNext = maxNdx + huffsection[maxNdx].sfbCnt; in FDKaacEnc_gmStage2()
319 huffsection[maxNdx].sfbCnt += huffsection[maxNdxNext].sfbCnt; in FDKaacEnc_gmStage2()
320 huffsection[maxNdx].sectionBits += in FDKaacEnc_gmStage2()
324 FDKaacEnc_mergeBitLookUp(bitLookUp[maxNdx], bitLookUp[maxNdxNext]); in FDKaacEnc_gmStage2()
327 if (maxNdx != 0) { in FDKaacEnc_gmStage2()
328 maxNdxLast = huffsection[maxNdx - 1].sfbStart; in FDKaacEnc_gmStage2()
330 huffsection, bitLookUp, sideInfoTab, maxNdxLast, maxNdx, useVCB11); in FDKaacEnc_gmStage2()
332 maxNdxNext = maxNdx + huffsection[maxNdx].sfbCnt; in FDKaacEnc_gmStage2()
334 huffsection[maxNdxNext - 1].sfbStart = huffsection[maxNdx].sfbStart; in FDKaacEnc_gmStage2()
337 mergeGainLookUp[maxNdx] = FDKaacEnc_CalcMergeGain( in FDKaacEnc_gmStage2()
338 huffsection, bitLookUp, sideInfoTab, maxNdx, maxNdxNext, useVCB11); in FDKaacEnc_gmStage2()