Commit dad95a0b authored by Vladimir Malenovsky's avatar Vladimir Malenovsky
Browse files

Change masking noise threshold to its minimal value of 1 instead of 0

parent f5aed6ae
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -104,6 +104,9 @@

#define FIX_1962_FORMAT_CONV_SPECTRAL_DIFF                   /* FhG: Improved precision of targetEnergy in ivas_ls_setup_conversion_process_mdct_fx() */
#define FIX_2003_CON_TCX_OVERFLOW                            /* FhG: Use a dynamic scaling factor for the synth buffer at the output of con_tcx_ivas_fx() */

#define FIX_2048_DELTA_MASKING_NOISE_Q15                     /* VA: Change the threshold for masking noise from 0 to 1 to maintain consistency with the FLOAT code */

/* #################### Start BASOP porting switches ############################ */

#define NONBE_1244_FIX_SWB_BWE_MEMORY                   /* VA: issue 1244: fix to SWB BWE memory in case of switching from FB coding - pending a review by Huawei */
+4 −0
Original line number Diff line number Diff line
@@ -24,7 +24,11 @@
#define ST_PERIODOG_FACT_Q15         29491 /* 0.9 in Q15, short-term filter factor for periodogram */
#define CNA_ACT_DN_FACT_Q15          22938 /* 0.7 in Q15, downward updating factor for CNA during active frames */
#define FIRST_CNA_NOISE_UPD_FRAMES   5     /* minimum number of CN initialization frames */
#ifdef FIX_2048_DELTA_MASKING_NOISE_Q15
#define DELTA_MASKING_NOISE_Q15      1
#else
#define DELTA_MASKING_NOISE_Q15      0
#endif
#define LOG_10_BASE_2                1783446566 /* Q29 */
#define GAIN_Q_OFFSET_IVAS_FX        45
#define LOG_10_BASE_2_BY_10_Q31      713378606