Commit 837f655c authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Decoder MSAN issue fix, warnings fix

parent a31b7341
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@
#define ONE_IN_Q29                      536870912
#define ONE_IN_Q30                      1073741824
#define ONE_IN_Q31                      0x7fffffff
#define MINUS_ONE_IN_Q31                      -2147483648
#define MINUS_ONE_IN_Q31                0x80000000
#define TWO_IN_Q29                      1073741824
#define FOUR_IN_Q28                     1073741824

+1 −0
Original line number Diff line number Diff line
@@ -5782,6 +5782,7 @@ void decoder_tcx_imdct_fx(
    move16();
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT_QWIN
    Word16 q_acelp_zir_fx = 0;
    set16_fx( acelp_zir_fx, 0, L_FRAME_MAX / 2 );
#else
    Word16 shift_q = sub( q_x, q_win );
#endif
+4 −1
Original line number Diff line number Diff line
@@ -1233,7 +1233,10 @@ void ivas_mdct_core_reconstruct_fx(
        IF( st->core != ACELP_CORE )
        {
#ifdef FIX_1348_BIT_PRECISION_IMPROVEMENT_QWIN
            Word16 q_win0, q_winFB0;
            Word16 q_win0 = Q15;
            move16();
            Word16 q_winFB0 = Q15;
            move16();
#else
            Scale_sig( st->hTcxDec->syn_Overl_TDACFB, L_FRAME_MAX / 2, sub( q_win, st->hTcxDec->Q_syn_Overl_TDACFB ) ); // st->hTcxDec->Q_syn_Overl_TDACFB -> q_win
            st->hTcxDec->Q_syn_Overl_TDACFB = q_win;