Loading lib_enc/ivas_stereo_dft_enc_itd_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -1379,7 +1379,7 @@ void stereo_dft_enc_compute_itd_fx( sum_nrg_delta = L_min( sum_nrg_delta, L_negate( L_shl( 1, sum_nrg_delta_e ) ) ); } // angle_rot = fabsf( atanf( 2.0f * ( grand_dot_prod_real ) / sum_nrg_delta ) ); L_temp2 = BASOP_Util_Divide3232_Scale_cadence( grand_dot_prod_real, sum_nrg_delta, &L_temp2_e ); L_temp2 = BASOP_Util_Divide3232_Scale_newton( grand_dot_prod_real, sum_nrg_delta, &L_temp2_e ); L_temp2_e = add( L_temp2_e, sub( add( grand_dot_prod_real_e, 1 ), sum_nrg_delta_e ) ); angle_rot = L_abs( BASOP_util_atan( L_shr_r_sat( L_temp2, ( sub( 6, L_temp2_e ) ) ) ) ); // Q14 #else Loading Loading
lib_enc/ivas_stereo_dft_enc_itd_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -1379,7 +1379,7 @@ void stereo_dft_enc_compute_itd_fx( sum_nrg_delta = L_min( sum_nrg_delta, L_negate( L_shl( 1, sum_nrg_delta_e ) ) ); } // angle_rot = fabsf( atanf( 2.0f * ( grand_dot_prod_real ) / sum_nrg_delta ) ); L_temp2 = BASOP_Util_Divide3232_Scale_cadence( grand_dot_prod_real, sum_nrg_delta, &L_temp2_e ); L_temp2 = BASOP_Util_Divide3232_Scale_newton( grand_dot_prod_real, sum_nrg_delta, &L_temp2_e ); L_temp2_e = add( L_temp2_e, sub( add( grand_dot_prod_real_e, 1 ), sum_nrg_delta_e ) ); angle_rot = L_abs( BASOP_util_atan( L_shr_r_sat( L_temp2, ( sub( 6, L_temp2_e ) ) ) ) ); // Q14 #else Loading