Loading lib_dec/acelp_core_dec_fx.c +6 −1 Original line number Diff line number Diff line Loading @@ -2089,7 +2089,8 @@ ivas_error acelp_core_dec_fx( Q_real = sub( norm_l( max_val ), 3 ) /* Guard bits */; #ifdef FIX_2217_ASSERT_IN_IVAS_CORE_DECODER_WITH_MC scf = L_norm_arr( st->cldfbSyn->cldfb_state_fx, st->cldfbSyn->p_filter_length ); Q_real = s_min( Q_real, scf ); scf = s_min( scf, sub( Q_real, Q11 ) ); Q_real = add( scf, Q11 ); #endif FOR( i = 0; i < CLDFB_NO_COL_MAX; i++ ) { Loading @@ -2097,7 +2098,11 @@ ivas_error acelp_core_dec_fx( scale_sig32( imagBuffer_fx[i], CLDFB_NO_CHANNELS_MAX, Q_real ); // Q_real } #ifdef FIX_2217_ASSERT_IN_IVAS_CORE_DECODER_WITH_MC scale_sig32( st->cldfbSyn->cldfb_state_fx, st->cldfbSyn->p_filter_length, scf ); // Q10 - > (Q_real-1) #else scale_sig32( st->cldfbSyn->cldfb_state_fx, st->cldfbSyn->p_filter_length, sub( Q_real, Q11 ) ); // Q10 - > (Q_real-1) #endif st->cldfbSyn->Q_cldfb_state = sub( Q_real, 1 ); move16(); Loading Loading
lib_dec/acelp_core_dec_fx.c +6 −1 Original line number Diff line number Diff line Loading @@ -2089,7 +2089,8 @@ ivas_error acelp_core_dec_fx( Q_real = sub( norm_l( max_val ), 3 ) /* Guard bits */; #ifdef FIX_2217_ASSERT_IN_IVAS_CORE_DECODER_WITH_MC scf = L_norm_arr( st->cldfbSyn->cldfb_state_fx, st->cldfbSyn->p_filter_length ); Q_real = s_min( Q_real, scf ); scf = s_min( scf, sub( Q_real, Q11 ) ); Q_real = add( scf, Q11 ); #endif FOR( i = 0; i < CLDFB_NO_COL_MAX; i++ ) { Loading @@ -2097,7 +2098,11 @@ ivas_error acelp_core_dec_fx( scale_sig32( imagBuffer_fx[i], CLDFB_NO_CHANNELS_MAX, Q_real ); // Q_real } #ifdef FIX_2217_ASSERT_IN_IVAS_CORE_DECODER_WITH_MC scale_sig32( st->cldfbSyn->cldfb_state_fx, st->cldfbSyn->p_filter_length, scf ); // Q10 - > (Q_real-1) #else scale_sig32( st->cldfbSyn->cldfb_state_fx, st->cldfbSyn->p_filter_length, sub( Q_real, Q11 ) ); // Q10 - > (Q_real-1) #endif st->cldfbSyn->Q_cldfb_state = sub( Q_real, 1 ); move16(); Loading