Commit 2e7c99a9 authored by vaillancour's avatar vaillancour
Browse files

proposal for #800

parent 82ff6a30
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];
        }
    }
+1 −0
Original line number Diff line number Diff line
@@ -146,6 +146,7 @@
#define FIX_778_STEREO_BRATE_SWITCHING
#define FIX_774_ENERGY_BURST                    /* Fix 0 bit BWE */
#define FIX_729_MISSING_RESCALING
#define FIX_800_PROPOSAL_HB_LPC_COEFFICIENT     /* Proposal to fix wrong shape of TDBWE, #800 */ 
/* ################## End DEVELOPMENT switches ######################### */

/* clang-format on */