Searched refs:commonScale (Results 1 – 4 of 4) sorted by relevance
/external/aac/libSACdec/src/ |
D | sac_reshapeBBEnv.cpp | 343 INT scaleCur, scalePrev, commonScale; in extractBBEnv() local 474 commonScale = fixMax(frameNrgSF - SF_ALPHA1 + 1, pFrameNrgPrevSF[0] + 1); in extractBBEnv() 475 scalePrev = fixMin(commonScale - pFrameNrgPrevSF[0], DFRACT_BITS - 1); in extractBBEnv() 476 scaleCur = fixMin(commonScale - frameNrgSF + SF_ALPHA1, DFRACT_BITS - 1); in extractBBEnv() 477 frameNrgSF = commonScale; in extractBBEnv() 529 commonScale = fixMax(envSF - SF_BETA1 + 1, pNormNrgPrevSF[0] + 1); in extractBBEnv() 530 scalePrev = fixMin(commonScale - pNormNrgPrevSF[0], DFRACT_BITS - 1); in extractBBEnv() 531 scaleCur = fixMin(commonScale - envSF + SF_BETA1, DFRACT_BITS - 1); in extractBBEnv() 540 pNormNrgPrevSF[0] = commonScale - clz; in extractBBEnv() 546 sc = commonScale + SF_DIV32 - envSF + se; in extractBBEnv()
|
/external/aac/libAACdec/src/ |
D | stereo.cpp | 716 int commonScale = ((lScale > rScale) ? lScale : rScale); in CJointStereo_ApplyMS() local 718 (windowMaxScale < commonScale) ? commonScale : windowMaxScale; in CJointStereo_ApplyMS() 1105 int commonScale = lScale > rScale ? lScale : rScale; in CJointStereo_ApplyMS() local 1116 commonScale++; in CJointStereo_ApplyMS() 1117 leftScale[band] = commonScale; in CJointStereo_ApplyMS() 1118 rightScale[band] = commonScale; in CJointStereo_ApplyMS() 1120 lScale = fMin(DFRACT_BITS - 1, commonScale - lScale); in CJointStereo_ApplyMS() 1121 rScale = fMin(DFRACT_BITS - 1, commonScale - rScale); in CJointStereo_ApplyMS()
|
/external/aac/libSBRenc/src/ |
D | env_est.cpp | 752 INT commonScale, scaleLeft0, scaleLeft1; in calculateSbrEnvelope() local 755 commonScale = fixMin(YBufferScaleLeft[0], YBufferScaleLeft[1]); in calculateSbrEnvelope() 758 commonScale = fixMin(commonScale, YBufferScaleRight[0]); in calculateSbrEnvelope() 759 commonScale = fixMin(commonScale, YBufferScaleRight[1]); in calculateSbrEnvelope() 762 commonScale = commonScale - 7; in calculateSbrEnvelope() 764 scaleLeft0 = YBufferScaleLeft[0] - commonScale; in calculateSbrEnvelope() 765 scaleLeft1 = YBufferScaleLeft[1] - commonScale; in calculateSbrEnvelope() 769 scaleRight0 = YBufferScaleRight[0] - commonScale; in calculateSbrEnvelope() 770 scaleRight1 = YBufferScaleRight[1] - commonScale; in calculateSbrEnvelope() 941 tmp1 = ((FIXP_DBL)(commonScale + tmpScale)) in calculateSbrEnvelope()
|
D | tran_det.cpp | 479 int scaleFactor0, scaleFactor1, commonScale; in calculateThresholds() local 486 commonScale = fixMin(scaleEnergies[0], scaleEnergies[1]); in calculateThresholds() 489 scaleFactor0 = fixMin((scaleEnergies[0] - commonScale), (DFRACT_BITS - 1)); in calculateThresholds() 490 scaleFactor1 = fixMin((scaleEnergies[1] - commonScale), (DFRACT_BITS - 1)); in calculateThresholds() 537 temp = (commonScale <= (DFRACT_BITS - 1)) in calculateThresholds() 539 (fMult(FL2FXCONST_DBL(0.34f), std_val) >> commonScale) in calculateThresholds() 544 FDK_ASSERT(commonScale >= 0); in calculateThresholds()
|