Loading lib_dec/ivas_dec.c +10 −0 Original line number Diff line number Diff line Loading @@ -379,6 +379,10 @@ ivas_error ivas_dec( { int16_t nchan_ism, sba_ch_idx; #ifdef FIX_1518 int16_t sba_mono_flag = ( st_ivas->hDecoderConfig->nchan_out == 1 ) ? 1 : 0; #endif set_s( nb_bits_metadata, 0, MAX_SCE + 1 ); nchan_ism = st_ivas->nchan_ism; if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC ) Loading Loading @@ -443,6 +447,12 @@ ivas_error ivas_dec( ivas_sba_dirac_stereo_dec( st_ivas, &p_output[sba_ch_idx], output_frame ); } #ifdef FIX_1518 else if ( sba_mono_flag && st_ivas->ism_mode == ISM_MODE_NONE ) { v_multc( p_output[0], 2.0f, p_output[0], output_frame ); } #endif /* HP filtering */ for ( n = 0; n < getNumChanSynthesis( st_ivas ); n++ ) Loading Loading
lib_dec/ivas_dec.c +10 −0 Original line number Diff line number Diff line Loading @@ -379,6 +379,10 @@ ivas_error ivas_dec( { int16_t nchan_ism, sba_ch_idx; #ifdef FIX_1518 int16_t sba_mono_flag = ( st_ivas->hDecoderConfig->nchan_out == 1 ) ? 1 : 0; #endif set_s( nb_bits_metadata, 0, MAX_SCE + 1 ); nchan_ism = st_ivas->nchan_ism; if ( st_ivas->ism_mode == ISM_SBA_MODE_DISC ) Loading Loading @@ -443,6 +447,12 @@ ivas_error ivas_dec( ivas_sba_dirac_stereo_dec( st_ivas, &p_output[sba_ch_idx], output_frame ); } #ifdef FIX_1518 else if ( sba_mono_flag && st_ivas->ism_mode == ISM_MODE_NONE ) { v_multc( p_output[0], 2.0f, p_output[0], output_frame ); } #endif /* HP filtering */ for ( n = 0; n < getNumChanSynthesis( st_ivas ); n++ ) Loading