Commit b210778c authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '800-wrong-lpc-coefficient-for-td-bwe-1-75-kbps-during-td-stereo' into 'main'

proposal for #800

See merge request !394
parents 2588bbe1 f0dc0b16
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1277,7 +1277,11 @@ void deindex_lvq_SHB_fx(
        {
            Word32 temp = Mpy_32_16_1( sigma_BWE_fx[mode * LATTICE_DIM + i], scale );
            temp = Mpy_32_16_1( temp, out[i] );
#ifndef FIX_800_PROPOSAL_HB_LPC_COEFFICIENT
            out[i] = extract_h( temp );
#else
            out[i] = extract_l( temp ); /* Q15 output*/
#endif
            // out[i] *= scale * sigma_BWE_fx[mode * LATTICE_DIM + i];
        }
    }
+159 −158
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@
#define FIX_729_MISSING_RESCALING
#define FIX_798_LSF_SECONDARY_CH_MISSING_CODE  /* Adding the missing code to properly render the secondary channel of TD stereo*/
#define FIX_798_WRONG_CPY_OF_PITCH             /* The copy of the pitch from primary to secondary channel was wrong AND safety check was really wrong */
#define FIX_800_PROPOSAL_HB_LPC_COEFFICIENT     /* Proposal to fix wrong shape of TDBWE, #800 */ 
/* ################## End DEVELOPMENT switches ######################### */

/* clang-format on */