Home
last modified time | relevance | path

Searched refs:granuleShift (Results 1 – 2 of 2) sorted by relevance

/external/aac/libSACenc/src/
Dsacenc_dmx_tdom_enh.cpp352 int granuleShift = in fdk_sacenc_apply_enhancedTimeDomainDmx() local
356 granuleShift = fixMax( in fdk_sacenc_apply_enhancedTimeDomainDmx()
357 3, granuleShift + in fdk_sacenc_apply_enhancedTimeDomainDmx()
392 partialL += fPow2Div2(inputL) >> (granuleShift - 3); in fdk_sacenc_apply_enhancedTimeDomainDmx()
393 partialR += fPow2Div2(inputR) >> (granuleShift - 3); in fdk_sacenc_apply_enhancedTimeDomainDmx()
394 partialX += fMultDiv2(inputL, inputR) >> (granuleShift - 3); in fdk_sacenc_apply_enhancedTimeDomainDmx()
397 fixpAddNorm(partialL, granuleShift - 2 * in_margin, &bbNrgLeft_m, in fdk_sacenc_apply_enhancedTimeDomainDmx()
399 fixpAddNorm(partialR, granuleShift - 2 * in_margin, &bbNrgRight_m, in fdk_sacenc_apply_enhancedTimeDomainDmx()
401 fixpAddNorm(partialX, granuleShift - 2 * in_margin, &bbXNrg_m, &bbXNrg_e); in fdk_sacenc_apply_enhancedTimeDomainDmx()
/external/aac/libAACenc/src/
Dmetadata_compressor.cpp1276 const int granuleShift = getShiftFactor(granuleLength) - 1; in FDK_DRC_Generator_Calc() local
1311 accu += fPow2Div2(y) >> (granuleShift - 1); /* partial energy */ in FDK_DRC_Generator_Calc()
1314 fixpAdd(accu, granuleShift + 2 * WEIGHTING_FILTER_SHIFT, &level_b, in FDK_DRC_Generator_Calc()
1327 const int granuleShift = getShiftFactor(granuleLength); in FDK_DRC_Generator_Calc() local
1345 accu += fPow2Div2((FIXP_PCM)pSamples[i]) >> (granuleShift - 1); in FDK_DRC_Generator_Calc()
1348 fixpAdd(accu, granuleShift, &level_b, in FDK_DRC_Generator_Calc()