Searched defs:granuleShift (Results 1 - 1 of 1) sorted by relevance

/external/aac/libAACenc/src/
H A Dmetadata_compressor.cpp677 WEIGHTING_FILTER_SHIFT is 2 -> scaling about 16, therefore reduce granuleShift by 1.
679 const int granuleShift = getShiftFactor(granuleLength)-1; local
713 accu += fPow2Div2(y)>>(granuleShift-1); /* partial energy */
716 fixpAdd(accu, granuleShift+2*WEIGHTING_FILTER_SHIFT, &level_b, &level_e); /* sup up partial energies */
729 const int granuleShift = getShiftFactor(granuleLength); local
746 accu += fPow2Div2((FIXP_PCM)pSamples[i*drcComp->channels])>>(granuleShift-1);
749 fixpAdd(accu, granuleShift, &level_b, &level_e); /* sup up partial energies */

Completed in 114 milliseconds