Searched refs:commonScale (Results 1 – 3 of 3) sorted by relevance
/external/aac/libAACdec/src/ |
D | stereo.cpp | 182 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/ |
D | tran_det.cpp | 383 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()
|
D | env_est.cpp | 597 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()
|