Home
last modified time | relevance | path

Searched refs:commonScale (Results 1 – 3 of 3) sorted by relevance

/external/aac/libAACdec/src/
Dstereo.cpp182 int commonScale=lScale > rScale ? lScale:rScale; in CJointStereo_ApplyMS() local
189 commonScale++; in CJointStereo_ApplyMS()
190 leftScale[band]=commonScale; in CJointStereo_ApplyMS()
191 rightScale[band]=commonScale; in CJointStereo_ApplyMS()
193 lScale = fMin(DFRACT_BITS-1, commonScale - lScale); in CJointStereo_ApplyMS()
194 rScale = fMin(DFRACT_BITS-1, commonScale - rScale); in CJointStereo_ApplyMS()
/external/aac/libSBRenc/src/
Dtran_det.cpp383 int scaleFactor0,scaleFactor1,commonScale; in calculateThresholds() local
390 commonScale = fixMin(scaleEnergies[0],scaleEnergies[1]); in calculateThresholds()
393 scaleFactor0 = fixMin((scaleEnergies[0]-commonScale), (DFRACT_BITS-1)); in calculateThresholds()
394 scaleFactor1 = fixMin((scaleEnergies[1]-commonScale), (DFRACT_BITS-1)); in calculateThresholds()
439 temp = ( commonScale<=(DFRACT_BITS-1) ) in calculateThresholds()
440 …Mult(FL2FXCONST_DBL(0.66f), thresholds[i]) + (fMult(FL2FXCONST_DBL(0.34f), std_val) >> commonScale) in calculateThresholds()
445 FDK_ASSERT(commonScale >= 0); in calculateThresholds()
Denv_est.cpp597 INT commonScale,scaleLeft0,scaleLeft1; in calculateSbrEnvelope() local
600 commonScale = fixMin(YBufferScaleLeft[0],YBufferScaleLeft[1]); in calculateSbrEnvelope()
603 commonScale = fixMin(commonScale,YBufferScaleRight[0]); in calculateSbrEnvelope()
604 commonScale = fixMin(commonScale,YBufferScaleRight[1]); in calculateSbrEnvelope()
607 commonScale = commonScale - 7; in calculateSbrEnvelope()
609 scaleLeft0 = YBufferScaleLeft[0] - commonScale; in calculateSbrEnvelope()
610 scaleLeft1 = YBufferScaleLeft[1] - commonScale ; in calculateSbrEnvelope()
614 scaleRight0 = YBufferScaleRight[0] - commonScale; in calculateSbrEnvelope()
615 scaleRight1 = YBufferScaleRight[1] - commonScale; in calculateSbrEnvelope()
809 …tmp1 = ((FIXP_DBL) (commonScale+tmpScale)) << (DFRACT_BITS-1-LD_DATA_SHIFT-1); /* scaled by 1/6… in calculateSbrEnvelope()