Commit c5fbc868 authored by vaclav's avatar vaclav
Browse files

port NONBE_FIX_1028_1DB_TCX_LEVEL_DROP

parent 0b6dbe08
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -128,7 +128,8 @@
#define FIX_998_UNUSED_FUNCTION                         /* FhG: issue 998: delete unused funtion ivas_dirac_dec_get_response_split_order */ 
#define NONBE_FIX_1014_1015_1016_OSBA_JBM_STEREO              /* FhG: issues #1014, #1015, #1016: fix tc buffer info update in the discrete ism renderer */
#define NONBE_FIX_987_PARAMC_BINAURAL_REVERB_RENDERING       /* FhG: issue 987: solution b: downmix HOA3 to stereo a input for the reverberator */

#define NONBE_FIX_1028_1DB_TCX_LEVEL_DROP           
                                                             /* VA: Harmonize the logic setting LP weighting factor between TCX encoder and TCX decoder */
/* #################### End BASOP porting switches ############################ */

#endif
+4 −0
Original line number Diff line number Diff line
@@ -1272,7 +1272,11 @@ void open_decoder_LPD_ivas_fx(
        st->inv_gamma = GAMMA16k_INV;
        move16();
    }
#ifdef NONBE_FIX_1028_1DB_TCX_LEVEL_DROP
    ELSE IF( GT_16( st->element_mode, EVS_MONO ) && GT_32( st->sr_core, INT_FS_16k ) )
#else
    ELSE IF( GT_32( st->sr_core, INT_FS_16k ) && EQ_16( st->element_mode, IVAS_CPE_MDCT ) )
#endif
    {
        st->gamma = GAMMA16k;
        move16();