Loading lib_com/options.h +0 −3 Original line number Diff line number Diff line Loading @@ -113,11 +113,8 @@ #define FIX_TMP_714 #define BASOP_NOGLOB_TMP_715 #define EVS_FUNC_MODIFIED //#define DEBUGGING //#define DBG_WAV_WRITER #define EVS_FLOAT_ENC //#define DUMPS_ENABLED //#define WMOPS #define FIX_667_DISABLE_INITIAL_PLC_SUPPRESSION #define IVAS_CNST #define REMOVE_IVAS_UNUSED_PARAMETERS_WARNING /*temporary operation on unused EVS parameters to remove warnings, these parameters will be used in IVAS */ Loading lib_dec/ivas_sba_dec.c +2 −4 Original line number Diff line number Diff line Loading @@ -1570,12 +1570,10 @@ void ivas_sba_dec_digest_tc( { #ifndef IVAS_FLOAT_FIXED ivas_td_decorr_process( st_ivas->hDiracDecBin->hTdDecorr, p_tc, decorr_signal, nSamplesToDecorr ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING for ( i = 0; i < st_ivas->hDiracDecBin->hTdDecorr->num_apd_outputs; i++ ) { #ifdef DUMPS_ENABLED dbgwrite_txt( decorr_signal[i], nSamplesToDecorr, "fixed.txt", NULL ); #endif } #endif #else Loading Loading @@ -1605,7 +1603,7 @@ void ivas_sba_dec_digest_tc( { decorr_signal[i][j] = ( decorr_signal_fx[i][j] ) / (float) ( 1 << q_format ); } #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( decorr_signal[i], nSamplesToDecorr, "fixed.txt", NULL ); #endif } Loading lib_dec/ivas_sba_rendering_internal.c +5 −7 Original line number Diff line number Diff line Loading @@ -42,12 +42,10 @@ #ifdef IVAS_FLOAT_FIXED #include "ivas_prot_fx.h" #include "prot_fx.h" #endif // IVAS_FLOAT_FIXED //#ifdef DUMPS_ENABLED #endif #ifdef DEBUGGING #include "debug.h" //#endif // DUMPS_ENABLED #endif /*-------------------------------------------------------------------------* * ivas_sba2MC_cldfb() Loading Loading @@ -913,9 +911,9 @@ void ivas_sba_mix_matrix_determiner_fx( move16(); ivas_agc_dec_process_fx( hSpar->hAgcDec, ( output_fx ), ( output_fx ), nchan_transport, output_frame ); Q_p_output = sub( Q_p_output, 3 ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( &output[0][0], output_frame, "fix_ivas_agc_dec_process_output.txt", NULL ); #endif // DUMPS_ENABLED #endif /* Convert numeric range back */ FOR( ch = 0; ch < nchan_out; ch++ ) Loading lib_dec/ivas_spar_decoder.c +4 −6 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ *******************************************************************************************************/ #include <stdint.h> #include <math.h> #include <assert.h> #include "options.h" #include "ivas_stat_dec.h" #include "prot.h" Loading @@ -41,18 +43,14 @@ #include "ivas_rom_dec.h" #include "ivas_stat_com.h" #include "stat_com.h" #include <math.h> #include <assert.h> #include "wmc_auto.h" #ifdef IVAS_FLOAT_FIXED #include "prot_fx.h" #include "ivas_prot_fx.h" #endif //#ifdef DUMPS_ENABLED #ifdef DEBUGGING #include "debug.h" //#endif #endif /*-------------------------------------------------------------------* * Local function prototypes Loading lib_dec/ivas_stereo_dft_dec_fx.c +4 −4 Original line number Diff line number Diff line Loading @@ -3926,9 +3926,9 @@ void stereo_dft_dec_read_BS_fx( rc_uni_dec_init_fx( &range_uni_dec_state, bit_stream_side + *nb_bits, max_bits - *nb_bits ); hStereoDft->res_global_gain_fx = ECSQ_dequantize_gain_fx( I ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( &hStereoDft->res_global_gain, 1, "fixed_res_global_gain.txt", NULL ); #endif // DUMPS_ENABLED #endif ecsq_inst.config_index = sub( shl( hStereoDft->res_cod_mode[k_offset], 1 ), 1 ); Loading @@ -3946,9 +3946,9 @@ void stereo_dft_dec_read_BS_fx( ECSQ_dequantize_vector_fx( dec, hStereoDft->res_global_gain_fx, hStereoDft->res_cod_line_max, res_buf_fx ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( res_buf, hStereoDft->res_cod_line_max, "fixed_res_buf.txt", NULL ); #endif // DUMPS_ENABLED #endif } ELSE { Loading Loading
lib_com/options.h +0 −3 Original line number Diff line number Diff line Loading @@ -113,11 +113,8 @@ #define FIX_TMP_714 #define BASOP_NOGLOB_TMP_715 #define EVS_FUNC_MODIFIED //#define DEBUGGING //#define DBG_WAV_WRITER #define EVS_FLOAT_ENC //#define DUMPS_ENABLED //#define WMOPS #define FIX_667_DISABLE_INITIAL_PLC_SUPPRESSION #define IVAS_CNST #define REMOVE_IVAS_UNUSED_PARAMETERS_WARNING /*temporary operation on unused EVS parameters to remove warnings, these parameters will be used in IVAS */ Loading
lib_dec/ivas_sba_dec.c +2 −4 Original line number Diff line number Diff line Loading @@ -1570,12 +1570,10 @@ void ivas_sba_dec_digest_tc( { #ifndef IVAS_FLOAT_FIXED ivas_td_decorr_process( st_ivas->hDiracDecBin->hTdDecorr, p_tc, decorr_signal, nSamplesToDecorr ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING for ( i = 0; i < st_ivas->hDiracDecBin->hTdDecorr->num_apd_outputs; i++ ) { #ifdef DUMPS_ENABLED dbgwrite_txt( decorr_signal[i], nSamplesToDecorr, "fixed.txt", NULL ); #endif } #endif #else Loading Loading @@ -1605,7 +1603,7 @@ void ivas_sba_dec_digest_tc( { decorr_signal[i][j] = ( decorr_signal_fx[i][j] ) / (float) ( 1 << q_format ); } #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( decorr_signal[i], nSamplesToDecorr, "fixed.txt", NULL ); #endif } Loading
lib_dec/ivas_sba_rendering_internal.c +5 −7 Original line number Diff line number Diff line Loading @@ -42,12 +42,10 @@ #ifdef IVAS_FLOAT_FIXED #include "ivas_prot_fx.h" #include "prot_fx.h" #endif // IVAS_FLOAT_FIXED //#ifdef DUMPS_ENABLED #endif #ifdef DEBUGGING #include "debug.h" //#endif // DUMPS_ENABLED #endif /*-------------------------------------------------------------------------* * ivas_sba2MC_cldfb() Loading Loading @@ -913,9 +911,9 @@ void ivas_sba_mix_matrix_determiner_fx( move16(); ivas_agc_dec_process_fx( hSpar->hAgcDec, ( output_fx ), ( output_fx ), nchan_transport, output_frame ); Q_p_output = sub( Q_p_output, 3 ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( &output[0][0], output_frame, "fix_ivas_agc_dec_process_output.txt", NULL ); #endif // DUMPS_ENABLED #endif /* Convert numeric range back */ FOR( ch = 0; ch < nchan_out; ch++ ) Loading
lib_dec/ivas_spar_decoder.c +4 −6 Original line number Diff line number Diff line Loading @@ -31,6 +31,8 @@ *******************************************************************************************************/ #include <stdint.h> #include <math.h> #include <assert.h> #include "options.h" #include "ivas_stat_dec.h" #include "prot.h" Loading @@ -41,18 +43,14 @@ #include "ivas_rom_dec.h" #include "ivas_stat_com.h" #include "stat_com.h" #include <math.h> #include <assert.h> #include "wmc_auto.h" #ifdef IVAS_FLOAT_FIXED #include "prot_fx.h" #include "ivas_prot_fx.h" #endif //#ifdef DUMPS_ENABLED #ifdef DEBUGGING #include "debug.h" //#endif #endif /*-------------------------------------------------------------------* * Local function prototypes Loading
lib_dec/ivas_stereo_dft_dec_fx.c +4 −4 Original line number Diff line number Diff line Loading @@ -3926,9 +3926,9 @@ void stereo_dft_dec_read_BS_fx( rc_uni_dec_init_fx( &range_uni_dec_state, bit_stream_side + *nb_bits, max_bits - *nb_bits ); hStereoDft->res_global_gain_fx = ECSQ_dequantize_gain_fx( I ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( &hStereoDft->res_global_gain, 1, "fixed_res_global_gain.txt", NULL ); #endif // DUMPS_ENABLED #endif ecsq_inst.config_index = sub( shl( hStereoDft->res_cod_mode[k_offset], 1 ), 1 ); Loading @@ -3946,9 +3946,9 @@ void stereo_dft_dec_read_BS_fx( ECSQ_dequantize_vector_fx( dec, hStereoDft->res_global_gain_fx, hStereoDft->res_cod_line_max, res_buf_fx ); #ifdef DUMPS_ENABLED #ifdef DEBUGGING dbgwrite_txt( res_buf, hStereoDft->res_cod_line_max, "fixed_res_buf.txt", NULL ); #endif // DUMPS_ENABLED #endif } ELSE { Loading