Searched refs:preShift (Results 1 – 2 of 2) sorted by relevance
/external/aac/libSBRdec/src/ |
D | transcendent.h | 235 int preShift, postShift, index, shift; in FDK_divide_MantExp() local 239 preShift = CntLeadingZeros(FX_SGL2FX_DBL(b_m)); in FDK_divide_MantExp() 257 shift = (FRACT_BITS - 2 - INV_TABLE_BITS - preShift); in FDK_divide_MantExp() 279 *ptrResult_e = a_e - b_e + 1 + preShift - postShift; in FDK_divide_MantExp() 291 int preShift, postShift, index, shift; in FDK_divide_MantExp() local 295 preShift = CntLeadingZeros(b_m); in FDK_divide_MantExp() 313 shift = (DFRACT_BITS - 2 - INV_TABLE_BITS - preShift); in FDK_divide_MantExp() 335 *ptrResult_e = a_e - b_e + 1 + preShift - postShift; in FDK_divide_MantExp()
|
D | env_calc.cpp | 567 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes() local 571 if (preShift != 0) preShift++; in apply_inter_tes() 573 subsample_power_low_sf[i] += (low_sf + preShift) * 2 + postShift + 1; in apply_inter_tes() 575 scaleValues(bufferReal, lowSubband, -preShift); in apply_inter_tes() 576 scaleValues(bufferImag, lowSubband, -preShift); in apply_inter_tes() 605 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes() local 607 if (preShift != 0) preShift++; in apply_inter_tes() 610 subsample_power_high_sf[i] += (high_sf + preShift) * 2 + postShift + 1; in apply_inter_tes() 613 -preShift); in apply_inter_tes() 615 -preShift); in apply_inter_tes() [all …]
|