Loading lib_dec/ivas_binRenderer_internal_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -981,8 +981,8 @@ static void ivas_binaural_obtain_DMX_fx( ELSE { Word16 div = divide3232( P_in_fx[bandIdx], P_out_fx ); Word16 exp = 0; // divide3232 returns Q15 + following Q16 shift factEQ_fx = Sqrt32( L_shl( div, Q16 ), &exp ); Word16 exp = 16; // divide3232 returns Q15 factEQ_fx = Sqrt32( div, &exp ); factEQ_fx = L_shl( factEQ_fx, sub( exp, 1 ) ); // Q30 } if ( factEQ_fx <= 0 ) Loading Loading
lib_dec/ivas_binRenderer_internal_fx.c +2 −2 Original line number Diff line number Diff line Loading @@ -981,8 +981,8 @@ static void ivas_binaural_obtain_DMX_fx( ELSE { Word16 div = divide3232( P_in_fx[bandIdx], P_out_fx ); Word16 exp = 0; // divide3232 returns Q15 + following Q16 shift factEQ_fx = Sqrt32( L_shl( div, Q16 ), &exp ); Word16 exp = 16; // divide3232 returns Q15 factEQ_fx = Sqrt32( div, &exp ); factEQ_fx = L_shl( factEQ_fx, sub( exp, 1 ) ); // Q30 } if ( factEQ_fx <= 0 ) Loading