Loading lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ #define FIX_BASOP_2520_PARAMBIN_THRESHOLD_FIX /* Nokia: BASOP issue 2520: Fix wrong threshold in ParamBin */ #define FIX_BASOP_2510_UNNECESSARY_ASSERT /* Nokia: BASOP issue 2510: Fix by removing assert */ #define FIX_2515_TDREND_PORT_ERROR_SCALING /* Nokia: BASOP issue 2515: Fix port error by changing to correct scaling */ //#define FIX_BASOP_2517_CLICK_IN_OMASA_LTV /* FhG: BASOP #2517: preserve precision by removing one-bit headroom from Q_min and allowing saturation during buffer scaling */ #define FIX_BASOP_2517_CLICK_IN_OMASA_LTV /* FhG: BASOP #2517: preserve precision by removing one-bit headroom from Q_min and allowing saturation during buffer scaling */ /* ##################### End NON-BE switches ########################### */ Loading lib_enc/ivas_core_pre_proc_front_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -517,7 +517,7 @@ void pre_proc_front_ivas_fx( #endif set16_fx( temp1F_icatdmResampBuf_fx, 0, L_FILT_MAX ); new_inp_out_size = modify_Fs_fx( temp1F_icatdmResampBuf_fx, NS2SA_FX2( input_Fs, DELAY_FIR_RESAMPL_NS ), input_Fs, new_inp_12k8_fx + L_FRAME, INT_FS_12k8, mem_decim_dummy_fx, 0, &Q_new_inp, &mem_decim_size ); /* st->q_inp */ #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( new_inp_12k8_fx + L_FRAME, new_inp_out_size, negate( Q_new_inp ) ); /* scaling back to st->q_inp*/ #else Scale_sig( new_inp_12k8_fx + L_FRAME, new_inp_out_size, negate( Q_new_inp ) ); /* scaling back to st->q_inp*/ Loading lib_enc/ivas_core_pre_proc_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -917,11 +917,11 @@ void ivas_compute_core_buffers_fx( } ELSE IF( EQ_32( input_Fs, 32000 ) || EQ_32( input_Fs, 48000 ) ) { #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( st->mem_decim16k_fx, 2 * L_FILT_MAX, sub( Q_old_inp_16k, st->q_mem_decim16k_fx ) ); /* Q_old_inp_16k */ #endif size_modified = modify_Fs_fx( signal_in_fx, input_frame, input_Fs, new_inp_16k_fx, sr_core, st->mem_decim16k_fx, 0, &Q_tmp, &mem_decim16k_size ); /* Q0 */ #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( new_inp_16k_fx, size_modified, negate( Q_tmp ) ); /* scaling back to Q_old_inp_16k */ #else Scale_sig( new_inp_16k_fx, size_modified, negate( Q_tmp ) ); /* scaling back to Q_old_inp_16k */ Loading Loading @@ -972,7 +972,7 @@ void ivas_compute_core_buffers_fx( } ELSE IF( EQ_32( input_Fs, 32000 ) || EQ_32( input_Fs, 48000 ) ) { #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( st->mem_decim16k_fx, 2 * L_FILT_MAX, sub( Q_old_inp_16k, st->q_mem_decim16k_fx ) ); /* Q_old_inp_16k */ #endif /* reconstruct past segment of input signal when switching from MDCT stereo */ Loading Loading
lib_com/options.h +1 −1 Original line number Diff line number Diff line Loading @@ -114,7 +114,7 @@ #define FIX_BASOP_2520_PARAMBIN_THRESHOLD_FIX /* Nokia: BASOP issue 2520: Fix wrong threshold in ParamBin */ #define FIX_BASOP_2510_UNNECESSARY_ASSERT /* Nokia: BASOP issue 2510: Fix by removing assert */ #define FIX_2515_TDREND_PORT_ERROR_SCALING /* Nokia: BASOP issue 2515: Fix port error by changing to correct scaling */ //#define FIX_BASOP_2517_CLICK_IN_OMASA_LTV /* FhG: BASOP #2517: preserve precision by removing one-bit headroom from Q_min and allowing saturation during buffer scaling */ #define FIX_BASOP_2517_CLICK_IN_OMASA_LTV /* FhG: BASOP #2517: preserve precision by removing one-bit headroom from Q_min and allowing saturation during buffer scaling */ /* ##################### End NON-BE switches ########################### */ Loading
lib_enc/ivas_core_pre_proc_front_fx.c +1 −1 Original line number Diff line number Diff line Loading @@ -517,7 +517,7 @@ void pre_proc_front_ivas_fx( #endif set16_fx( temp1F_icatdmResampBuf_fx, 0, L_FILT_MAX ); new_inp_out_size = modify_Fs_fx( temp1F_icatdmResampBuf_fx, NS2SA_FX2( input_Fs, DELAY_FIR_RESAMPL_NS ), input_Fs, new_inp_12k8_fx + L_FRAME, INT_FS_12k8, mem_decim_dummy_fx, 0, &Q_new_inp, &mem_decim_size ); /* st->q_inp */ #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( new_inp_12k8_fx + L_FRAME, new_inp_out_size, negate( Q_new_inp ) ); /* scaling back to st->q_inp*/ #else Scale_sig( new_inp_12k8_fx + L_FRAME, new_inp_out_size, negate( Q_new_inp ) ); /* scaling back to st->q_inp*/ Loading
lib_enc/ivas_core_pre_proc_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -917,11 +917,11 @@ void ivas_compute_core_buffers_fx( } ELSE IF( EQ_32( input_Fs, 32000 ) || EQ_32( input_Fs, 48000 ) ) { #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( st->mem_decim16k_fx, 2 * L_FILT_MAX, sub( Q_old_inp_16k, st->q_mem_decim16k_fx ) ); /* Q_old_inp_16k */ #endif size_modified = modify_Fs_fx( signal_in_fx, input_frame, input_Fs, new_inp_16k_fx, sr_core, st->mem_decim16k_fx, 0, &Q_tmp, &mem_decim16k_size ); /* Q0 */ #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( new_inp_16k_fx, size_modified, negate( Q_tmp ) ); /* scaling back to Q_old_inp_16k */ #else Scale_sig( new_inp_16k_fx, size_modified, negate( Q_tmp ) ); /* scaling back to Q_old_inp_16k */ Loading Loading @@ -972,7 +972,7 @@ void ivas_compute_core_buffers_fx( } ELSE IF( EQ_32( input_Fs, 32000 ) || EQ_32( input_Fs, 48000 ) ) { #if defined( NONBE_FIX_ISSUE_2206 ) && not defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) #if defined( NONBE_FIX_ISSUE_2206 ) && !defined( FIX_BASOP_2517_CLICK_IN_OMASA_LTV ) scale_sig( st->mem_decim16k_fx, 2 * L_FILT_MAX, sub( Q_old_inp_16k, st->q_mem_decim16k_fx ) ); /* Q_old_inp_16k */ #endif /* reconstruct past segment of input signal when switching from MDCT stereo */ Loading