Loading lib_enc/ivas_core_enc.c +7 −2 Original line number Diff line number Diff line Loading @@ -92,10 +92,11 @@ ivas_error ivas_core_enc( float old_syn_12k8_16k[CPE_CHANNELS][L_FRAME16k]; /* ACELP core synthesis at 12.8kHz or 16kHz to be used by the SWB BWE */ #ifdef SIMPLIFY_IVAS_CORE float *shb_speech; float *hb_speech; #else float shb_speech[L_FRAME16k]; #endif float hb_speech[L_FRAME16k / 4]; #endif float *new_swb_speech; float new_swb_speech_buffer[L_FRAME48k + STEREO_DFT_OVL_MAX]; float bwe_exc_extended[CPE_CHANNELS][L_FRAME32k + NL_BUFF_OFFSET]; Loading Loading @@ -344,6 +345,10 @@ ivas_error ivas_core_enc( * WB BWE encoding *---------------------------------------------------------------------*/ #ifdef SIMPLIFY_IVAS_CORE hb_speech = new_inp_resamp16k[0]; /* reuse existing buffer: hb_speech[L_FRAME16k/4]; */ #endif if ( input_Fs >= 16000 && st->bwidth < SWB && st->hBWE_TD != NULL ) { /* Common pre-processing for WB TBE and WB BWE */ Loading @@ -368,7 +373,7 @@ ivas_error ivas_core_enc( new_swb_speech = new_swb_speech_buffer + STEREO_DFT_OVL_MAX; #ifdef SIMPLIFY_IVAS_CORE shb_speech = new_inp_resamp16k; /* reuse existing buffer */ shb_speech = new_inp_resamp16k[0]; /* reuse existing buffer: shb_speech[L_FRAME16k] */ #endif if ( !st->Opt_SC_VBR && input_Fs >= 32000 && st->hBWE_TD != NULL ) Loading Loading
lib_enc/ivas_core_enc.c +7 −2 Original line number Diff line number Diff line Loading @@ -92,10 +92,11 @@ ivas_error ivas_core_enc( float old_syn_12k8_16k[CPE_CHANNELS][L_FRAME16k]; /* ACELP core synthesis at 12.8kHz or 16kHz to be used by the SWB BWE */ #ifdef SIMPLIFY_IVAS_CORE float *shb_speech; float *hb_speech; #else float shb_speech[L_FRAME16k]; #endif float hb_speech[L_FRAME16k / 4]; #endif float *new_swb_speech; float new_swb_speech_buffer[L_FRAME48k + STEREO_DFT_OVL_MAX]; float bwe_exc_extended[CPE_CHANNELS][L_FRAME32k + NL_BUFF_OFFSET]; Loading Loading @@ -344,6 +345,10 @@ ivas_error ivas_core_enc( * WB BWE encoding *---------------------------------------------------------------------*/ #ifdef SIMPLIFY_IVAS_CORE hb_speech = new_inp_resamp16k[0]; /* reuse existing buffer: hb_speech[L_FRAME16k/4]; */ #endif if ( input_Fs >= 16000 && st->bwidth < SWB && st->hBWE_TD != NULL ) { /* Common pre-processing for WB TBE and WB BWE */ Loading @@ -368,7 +373,7 @@ ivas_error ivas_core_enc( new_swb_speech = new_swb_speech_buffer + STEREO_DFT_OVL_MAX; #ifdef SIMPLIFY_IVAS_CORE shb_speech = new_inp_resamp16k; /* reuse existing buffer */ shb_speech = new_inp_resamp16k[0]; /* reuse existing buffer: shb_speech[L_FRAME16k] */ #endif if ( !st->Opt_SC_VBR && input_Fs >= 32000 && st->hBWE_TD != NULL ) Loading