Loading lib_com/mslvq_com_fx.c +4 −0 Original line number Diff line number Diff line Loading @@ -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]; } } Loading lib_com/options.h +159 −158 Original line number Diff line number Diff line Loading @@ -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 */ Loading Loading
lib_com/mslvq_com_fx.c +4 −0 Original line number Diff line number Diff line Loading @@ -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]; } } Loading
lib_com/options.h +159 −158 Original line number Diff line number Diff line Loading @@ -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 */ Loading