Loading lib_enc/ivas_sce_enc.c +3 −0 Original line number Diff line number Diff line Loading @@ -370,6 +370,9 @@ ivas_error create_sce_enc( } st->total_brate = hSCE->element_brate; /* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */ #ifdef FIX_1283_STEREO_DFT_COLLAPSE st->element_brate = -1; #endif st->mct_chan_mode = MCT_CHAN_MODE_REGULAR; if ( ( error = init_encoder( st, st_ivas, 0, 0, st_ivas->ism_mode, hSCE->element_brate ) ) != IVAS_ERR_OK ) Loading lib_enc/lib_enc.c +1 −3 Original line number Diff line number Diff line Loading @@ -1315,9 +1315,7 @@ ivas_error IVAS_ENC_EncodeFrameToSerial( if ( hEncoderConfig->ivas_format == MONO_FORMAT ) /* EVS mono */ { hCoreCoder->total_brate = hEncoderConfig->ivas_total_brate; /* needed in case of bitrate switching */ #ifdef FIX_1283_STEREO_DFT_COLLAPSE hCoreCoder->element_brate = hEncoderConfig->ivas_total_brate; /* needed in checks in core-coder functions other than mono*/ #endif #ifdef DEBUGGING hCoreCoder->id_element = 0; #endif Loading Loading
lib_enc/ivas_sce_enc.c +3 −0 Original line number Diff line number Diff line Loading @@ -370,6 +370,9 @@ ivas_error create_sce_enc( } st->total_brate = hSCE->element_brate; /* dummy initialization for getting right pointers initialization of input buffers in init_coder_ace_plus() */ #ifdef FIX_1283_STEREO_DFT_COLLAPSE st->element_brate = -1; #endif st->mct_chan_mode = MCT_CHAN_MODE_REGULAR; if ( ( error = init_encoder( st, st_ivas, 0, 0, st_ivas->ism_mode, hSCE->element_brate ) ) != IVAS_ERR_OK ) Loading
lib_enc/lib_enc.c +1 −3 Original line number Diff line number Diff line Loading @@ -1315,9 +1315,7 @@ ivas_error IVAS_ENC_EncodeFrameToSerial( if ( hEncoderConfig->ivas_format == MONO_FORMAT ) /* EVS mono */ { hCoreCoder->total_brate = hEncoderConfig->ivas_total_brate; /* needed in case of bitrate switching */ #ifdef FIX_1283_STEREO_DFT_COLLAPSE hCoreCoder->element_brate = hEncoderConfig->ivas_total_brate; /* needed in checks in core-coder functions other than mono*/ #endif #ifdef DEBUGGING hCoreCoder->id_element = 0; #endif Loading