Loading lib_com/swb_bwe_com_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -785,12 +785,12 @@ Word16 ivas_calc_tilt_bwe_fx( /* o : Tilt in Q24 */ /* Divide Frame Length by 32 */ Word64 W_ener; W_ener = Mpy_32_32( *ptr, *ptr ); *ptr++; ptr++; FOR( j = 1; j < N; j++ ) { /* With the shift by 4 and the L_mult0, no overflow possible for 32 samples */ W_ener = W_mac_32_32( W_ener, *ptr, *ptr ); *ptr++; ptr++; } L_ener_tot = W_round64_L( W_ener ); L_ener_tot = L_max( L_ener_tot, 1 ); /* L_ener_tot is energy, it is always positive, but have to be > 0 for the following division */ Loading Loading
lib_com/swb_bwe_com_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -785,12 +785,12 @@ Word16 ivas_calc_tilt_bwe_fx( /* o : Tilt in Q24 */ /* Divide Frame Length by 32 */ Word64 W_ener; W_ener = Mpy_32_32( *ptr, *ptr ); *ptr++; ptr++; FOR( j = 1; j < N; j++ ) { /* With the shift by 4 and the L_mult0, no overflow possible for 32 samples */ W_ener = W_mac_32_32( W_ener, *ptr, *ptr ); *ptr++; ptr++; } L_ener_tot = W_round64_L( W_ener ); L_ener_tot = L_max( L_ener_tot, 1 ); /* L_ener_tot is energy, it is always positive, but have to be > 0 for the following division */ Loading