Lines Matching refs:scalePrev
343 INT scaleCur, scalePrev, commonScale; in extractBBEnv() local
419 scalePrev = fixMax(fixMin(partNrgSF - pPartNrgPrevSF[0], DFRACT_BITS - 1), in extractBBEnv()
427 if ((scaleCur < 0) && (scalePrev < 0)) { in extractBBEnv()
429 scalePrev = -scalePrev; in extractBBEnv()
432 (fMultDiv2(alpha, partNrgPrev[pb]) << scalePrev)) in extractBBEnv()
437 } else if ((scaleCur >= 0) && (scalePrev >= 0)) { in extractBBEnv()
440 (fMultDiv2(alpha, partNrgPrev[pb]) >> scalePrev)) in extractBBEnv()
445 } else if ((scaleCur < 0) && (scalePrev >= 0)) { in extractBBEnv()
449 (fMultDiv2(alpha, partNrgPrev[pb]) >> scalePrev)) in extractBBEnv()
455 scalePrev = -scalePrev; in extractBBEnv()
458 (fMultDiv2(alpha, partNrgPrev[pb]) << scalePrev)) in extractBBEnv()
475 scalePrev = fixMin(commonScale - pFrameNrgPrevSF[0], DFRACT_BITS - 1); in extractBBEnv()
481 scalePrev)) in extractBBEnv()
530 scalePrev = fixMin(commonScale - pNormNrgPrevSF[0], DFRACT_BITS - 1); in extractBBEnv()
535 scalePrev)) in extractBBEnv()