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 | 564 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes() local 568 if (preShift != 0) preShift++; in apply_inter_tes() 570 subsample_power_low_sf[i] += (low_sf + preShift) * 2 + postShift + 1; in apply_inter_tes() 572 scaleValues(bufferReal, lowSubband, -preShift); in apply_inter_tes() 573 scaleValues(bufferImag, lowSubband, -preShift); in apply_inter_tes() 602 int preShift = 1 - CntLeadingZeros(maxVal); in apply_inter_tes() local 604 if (preShift != 0) preShift++; in apply_inter_tes() 607 subsample_power_high_sf[i] += (high_sf + preShift) * 2 + postShift + 1; in apply_inter_tes() 610 -preShift); in apply_inter_tes() 612 -preShift); in apply_inter_tes() [all …]
|