From 3edf199855337af191c246fc4aa30231239d2c2c Mon Sep 17 00:00:00 2001 From: rtyag Date: Wed, 15 Jan 2025 23:04:40 +1100 Subject: [PATCH] use mvr2s function for core coder input dump --- lib_enc/ivas_core_pre_proc_front.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib_enc/ivas_core_pre_proc_front.c b/lib_enc/ivas_core_pre_proc_front.c index 0c31acdf1..79003e297 100644 --- a/lib_enc/ivas_core_pre_proc_front.c +++ b/lib_enc/ivas_core_pre_proc_front.c @@ -229,10 +229,7 @@ ivas_error pre_proc_front_ivas( #ifdef DEBUG_MODE_INFO { int16_t tmp_dmx_in[L_FRAME48k]; - for ( int16_t isample = 0; isample < input_frame; isample++ ) - { - tmp_dmx_in[isample] = (int16_t) signal_in[isample - NS2SA( st->input_Fs, ACELP_LOOK_NS )]; - } + mvr2s( signal_in - NS2SA( st->input_Fs, ACELP_LOOK_NS ), tmp_dmx_in, input_frame ); dbgwrite( tmp_dmx_in, sizeof( int16_t ), input_frame, 1, strcat( fname( debug_dir, "ivas_input_dmx", 0, ch_idx + 1, ENC ), ".pcm" ) ); } #endif -- GitLab