Loading lib_com/ivas_prot.h +1 −1 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ ivas_error pre_proc_front_ivas( const IVAS_FORMAT ivas_format, /* i : IVAS format */ const int16_t MCT_flag, /* i : hMCT handle allocated (1) or not (0) */ const int32_t ivas_total_brate /* i : IVAS total bitrate */ #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , const int16_t ch_idx #endif ); Loading lib_com/options.h +1 −5 Original line number Diff line number Diff line Loading @@ -75,10 +75,6 @@ /*#define DEBUG_MODE_INFO_PLC */ /* define to output PLC related parameters */ /*#define DEBUG_MODE_INFO_ALLRAD*/ /* define to output generated HOA decoding mtx */ /*#define DEBUG_MODE_LFE */ /* define to output LFE relevant parameters */ #ifdef DEBUG_MODE_INFO_TWEAK #define DEBUG_MODE_INFO_CORE_CODER_IN /*dump core coder input*/ #endif #endif #ifdef DEBUG_MODE_MDCT Loading lib_enc/ivas_core_pre_proc_front.c +8 −5 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ #include "ivas_prot.h" #include "wmc_auto.h" #include <math.h> #ifdef DEBUG_MODE_INFO #include "string.h" #endif /*---------------------------------------------------------------* Loading Loading @@ -110,7 +113,7 @@ ivas_error pre_proc_front_ivas( const IVAS_FORMAT ivas_format, /* i : IVAS format */ const int16_t MCT_flag, /* i : hMCT handle allocated (1) or not (0) */ const int32_t ivas_total_brate /* i : IVAS total bitrate - for setting the DTX */ #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , const int16_t ch_idx #endif Loading Loading @@ -223,14 +226,14 @@ ivas_error pre_proc_front_ivas( } } #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO { int16_t tmpF[L_FRAME48k]; int16_t tmp_dmx_in[L_FRAME48k]; for ( int16_t isample = 0; isample < input_frame; isample++ ) { tmpF[isample] = (int16_t) signal_in[isample]; tmp_dmx_in[isample] = (int16_t) signal_in[isample]; } dbgwrite( &tmpF, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) ); dbgwrite( &tmp_dmx_in, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) ); } #endif Loading lib_enc/ivas_cpe_enc.c +5 −9 Original line number Diff line number Diff line Loading @@ -458,10 +458,6 @@ ivas_error ivas_cpe_enc( } #ifdef DEBUG_MODE_INFO for ( n = 0; n < n_CoreChannels; n++ ) { dbgwrite( sts[0]->input - NS2SA( sts[0]->input_Fs, ACELP_LOOK_NS ), sizeof( float ), input_frame, 1, fname( debug_dir, "input_DMX", n, sts[n]->id_element, ENC ) ); } dbgwrite( &hCPE->element_mode, sizeof( int16_t ), 1, input_frame, fname( debug_dir, "element_mode", 0, sts[0]->id_element, ENC ) ); #endif Loading @@ -475,9 +471,9 @@ ivas_error ivas_cpe_enc( &ener[n], &relE[n], A[n], Aw[n], epsP[n], lsp_new[n], lsp_mid[n], &vad_hover_flag[n], &attack_flag[n], realBuffer[n], imagBuffer[n], old_wsp[n], pitch_fr[n], voicing_fr[n], &loc_harm[n], &cor_map_sum[n], &vad_flag_dtx[n], enerBuffer[n], fft_buff[n], A[0], lsp_new[0], currFlatness[n], tdm_ratio_idx, fr_bands, Etot_LR, lf_E, localVAD_HE_SAD, band_energies_LR, 0, st_ivas->hSpar != NULL ? st_ivas->hSpar->front_vad_flag : 0, 0, 0, ivas_format, st_ivas->hMCT != NULL, ivas_total_brate #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , ( (cpe_id * CPE_CHANNELS) + n) ( st_ivas->nSCE + ( cpe_id * CPE_CHANNELS ) + n ) #endif ); if ( error != IVAS_ERR_OK ) Loading lib_enc/ivas_ism_enc.c +5 −5 Original line number Diff line number Diff line Loading @@ -176,9 +176,9 @@ ivas_error ivas_ism_enc( &ener[sce_id][0], &relE[sce_id][0], A[sce_id][0], Aw[sce_id][0], epsP[sce_id][0], lsp_new[sce_id][0], lsp_mid[sce_id][0], &vad_hover_flag[sce_id][0], &attack_flag[sce_id][0], realBuffer[sce_id][0], imagBuffer[sce_id][0], old_wsp[sce_id][0], pitch_fr[sce_id][0], voicing_fr[sce_id][0], &loc_harm[sce_id][0], &cor_map_sum[sce_id][0], &vad_flag_dtx[sce_id][0], enerBuffer[sce_id][0], fft_buff[sce_id][0], A[sce_id][0], lsp_new[sce_id][0], currFlatness[0], 0, fr_bands, Etot_LR, lf_E, localVAD_HE_SAD, NULL, 0, 0, 0, 0, ISM_FORMAT, 0, st_ivas->hEncoderConfig->ivas_total_brate #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , sce_id st->id_element #endif ); if ( error != IVAS_ERR_OK ) Loading Loading
lib_com/ivas_prot.h +1 −1 Original line number Diff line number Diff line Loading @@ -201,7 +201,7 @@ ivas_error pre_proc_front_ivas( const IVAS_FORMAT ivas_format, /* i : IVAS format */ const int16_t MCT_flag, /* i : hMCT handle allocated (1) or not (0) */ const int32_t ivas_total_brate /* i : IVAS total bitrate */ #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , const int16_t ch_idx #endif ); Loading
lib_com/options.h +1 −5 Original line number Diff line number Diff line Loading @@ -75,10 +75,6 @@ /*#define DEBUG_MODE_INFO_PLC */ /* define to output PLC related parameters */ /*#define DEBUG_MODE_INFO_ALLRAD*/ /* define to output generated HOA decoding mtx */ /*#define DEBUG_MODE_LFE */ /* define to output LFE relevant parameters */ #ifdef DEBUG_MODE_INFO_TWEAK #define DEBUG_MODE_INFO_CORE_CODER_IN /*dump core coder input*/ #endif #endif #ifdef DEBUG_MODE_MDCT Loading
lib_enc/ivas_core_pre_proc_front.c +8 −5 Original line number Diff line number Diff line Loading @@ -43,6 +43,9 @@ #include "ivas_prot.h" #include "wmc_auto.h" #include <math.h> #ifdef DEBUG_MODE_INFO #include "string.h" #endif /*---------------------------------------------------------------* Loading Loading @@ -110,7 +113,7 @@ ivas_error pre_proc_front_ivas( const IVAS_FORMAT ivas_format, /* i : IVAS format */ const int16_t MCT_flag, /* i : hMCT handle allocated (1) or not (0) */ const int32_t ivas_total_brate /* i : IVAS total bitrate - for setting the DTX */ #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , const int16_t ch_idx #endif Loading Loading @@ -223,14 +226,14 @@ ivas_error pre_proc_front_ivas( } } #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO { int16_t tmpF[L_FRAME48k]; int16_t tmp_dmx_in[L_FRAME48k]; for ( int16_t isample = 0; isample < input_frame; isample++ ) { tmpF[isample] = (int16_t) signal_in[isample]; tmp_dmx_in[isample] = (int16_t) signal_in[isample]; } dbgwrite( &tmpF, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) ); dbgwrite( &tmp_dmx_in, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) ); } #endif Loading
lib_enc/ivas_cpe_enc.c +5 −9 Original line number Diff line number Diff line Loading @@ -458,10 +458,6 @@ ivas_error ivas_cpe_enc( } #ifdef DEBUG_MODE_INFO for ( n = 0; n < n_CoreChannels; n++ ) { dbgwrite( sts[0]->input - NS2SA( sts[0]->input_Fs, ACELP_LOOK_NS ), sizeof( float ), input_frame, 1, fname( debug_dir, "input_DMX", n, sts[n]->id_element, ENC ) ); } dbgwrite( &hCPE->element_mode, sizeof( int16_t ), 1, input_frame, fname( debug_dir, "element_mode", 0, sts[0]->id_element, ENC ) ); #endif Loading @@ -475,9 +471,9 @@ ivas_error ivas_cpe_enc( &ener[n], &relE[n], A[n], Aw[n], epsP[n], lsp_new[n], lsp_mid[n], &vad_hover_flag[n], &attack_flag[n], realBuffer[n], imagBuffer[n], old_wsp[n], pitch_fr[n], voicing_fr[n], &loc_harm[n], &cor_map_sum[n], &vad_flag_dtx[n], enerBuffer[n], fft_buff[n], A[0], lsp_new[0], currFlatness[n], tdm_ratio_idx, fr_bands, Etot_LR, lf_E, localVAD_HE_SAD, band_energies_LR, 0, st_ivas->hSpar != NULL ? st_ivas->hSpar->front_vad_flag : 0, 0, 0, ivas_format, st_ivas->hMCT != NULL, ivas_total_brate #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , ( (cpe_id * CPE_CHANNELS) + n) ( st_ivas->nSCE + ( cpe_id * CPE_CHANNELS ) + n ) #endif ); if ( error != IVAS_ERR_OK ) Loading
lib_enc/ivas_ism_enc.c +5 −5 Original line number Diff line number Diff line Loading @@ -176,9 +176,9 @@ ivas_error ivas_ism_enc( &ener[sce_id][0], &relE[sce_id][0], A[sce_id][0], Aw[sce_id][0], epsP[sce_id][0], lsp_new[sce_id][0], lsp_mid[sce_id][0], &vad_hover_flag[sce_id][0], &attack_flag[sce_id][0], realBuffer[sce_id][0], imagBuffer[sce_id][0], old_wsp[sce_id][0], pitch_fr[sce_id][0], voicing_fr[sce_id][0], &loc_harm[sce_id][0], &cor_map_sum[sce_id][0], &vad_flag_dtx[sce_id][0], enerBuffer[sce_id][0], fft_buff[sce_id][0], A[sce_id][0], lsp_new[sce_id][0], currFlatness[0], 0, fr_bands, Etot_LR, lf_E, localVAD_HE_SAD, NULL, 0, 0, 0, 0, ISM_FORMAT, 0, st_ivas->hEncoderConfig->ivas_total_brate #ifdef DEBUG_MODE_INFO_CORE_CODER_IN #ifdef DEBUG_MODE_INFO , sce_id st->id_element #endif ); if ( error != IVAS_ERR_OK ) Loading