Commit 7a0fb801 authored by multrus's avatar multrus
Browse files

Merge branch 'main' into basop-2635-elevation-index-calculation-not-rounded-in-add_vertex_fx

parents 3eab7884 5cd83b26
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1548,7 +1548,7 @@ static Word32 find_poc_peak_fx(
            tmp13_e = 0, tmp15_e = 0;
            tmp13 = BASOP_Util_Divide1616_Scale( abs_s( itd_cand[n] ), hPOC->shift_limit, &tmp13_e );
            tmp14 = L_mult( 6554 /*0.2f Q15*/, tmp13 ); // tmp13_e
            tmp15 = BASOP_Util_Add_Mant32Exp( 644245120 /*0.75f in Q31*/, 0, L_negate( tmp14 ), tmp13_e, &tmp15_e );
            tmp15 = BASOP_Util_Add_Mant32Exp( 644245120 /*0.3f in Q31*/, 0, L_negate( tmp14 ), tmp13_e, &tmp15_e );
            tmp15 = Mpy_32_32( tmp15, peakQ_fx[n] ); // tmp15_e + peakQ_e[n]
            move16();
            move16();