Lines Matching refs:sfbMaxScaleSpec
103 INT *RESTRICT sfbMaxScaleSpec, in FDKaacEnc_CalcSfbMaxScaleSpec() argument
115 sfbMaxScaleSpec[i] = (maxSpc==(FIXP_DBL)0) ? (DFRACT_BITS-2) : CntLeadingZeros(maxSpc)-1; in FDKaacEnc_CalcSfbMaxScaleSpec()
128 INT *RESTRICT sfbMaxScaleSpec, in FDKaacEnc_CheckBandEnergyOptim() argument
141 scale = fixMax(0, sfbMaxScaleSpec[i]-4); in FDKaacEnc_CheckBandEnergyOptim()
162 scale = fixMax(0,sfbMaxScaleSpec[nr]-4); in FDKaacEnc_CheckBandEnergyOptim()
178 INT *RESTRICT sfbMaxScaleSpec, in FDKaacEnc_CalcBandEnergyOptimLong() argument
190 …INT leadingBits = sfbMaxScaleSpec[i]-4; /* max sfbWidth = 96 ; 2^7=128 => 7/2 = 4 (spc*… in FDKaacEnc_CalcBandEnergyOptimLong()
211 FIXP_DBL scaleDiff = (sfbMaxScaleSpec[i]-4)*FL2FXCONST_DBL(2.0/64); in FDKaacEnc_CalcBandEnergyOptimLong()
223 INT scale = fixMin((sfbMaxScaleSpec[i]-4)<<1,(DFRACT_BITS-1)); in FDKaacEnc_CalcBandEnergyOptimLong()
237 INT scale = fixMin( ((sfbMaxScaleSpec[i]-4)+shiftBits)<<1, (DFRACT_BITS-1)); in FDKaacEnc_CalcBandEnergyOptimLong()
254 INT *RESTRICT sfbMaxScaleSpec, in FDKaacEnc_CalcBandEnergyOptimShort() argument
263 …int leadingBits = sfbMaxScaleSpec[i]-3; /* max sfbWidth = 36 ; 2^6=64 => 6/2 = 3 (spc*s… in FDKaacEnc_CalcBandEnergyOptimShort()
275 …INT scale = (2*(sfbMaxScaleSpec[i]-3))-1; /* max sfbWidth = 36 ; 2^6=64 => 6/2 = 3 (spc*sp… in FDKaacEnc_CalcBandEnergyOptimShort()