Loading lib_enc/ivas_core_enc_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -707,10 +707,10 @@ ivas_error ivas_core_enc_fx( q_shift = sub( sub( q_re_im_buf[n], 1 ), st->cldfbSynTd->Q_cldfb_state ); // cldfb_state_fx will be used in cldfbSynthesis_ivas_fx and has to be aligned with (q_re_im_buf[n] - 1) IF( GT_32( q_shift, 0 ) ) { FOR( int i = 0; i < CLDFB_NO_COL_MAX; i++ ) FOR( int ts = 0; ts < CLDFB_NO_COL_MAX; i++ ) { scale_sig32( realBuffer_fx[n][i], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( imagBuffer_fx[n][i], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( realBuffer_fx[n][ts], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( imagBuffer_fx[n][ts], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); } q_re_im_buf[n] = add( st->cldfbSynTd->Q_cldfb_state, 1 ); } Loading Loading
lib_enc/ivas_core_enc_fx.c +3 −3 Original line number Diff line number Diff line Loading @@ -707,10 +707,10 @@ ivas_error ivas_core_enc_fx( q_shift = sub( sub( q_re_im_buf[n], 1 ), st->cldfbSynTd->Q_cldfb_state ); // cldfb_state_fx will be used in cldfbSynthesis_ivas_fx and has to be aligned with (q_re_im_buf[n] - 1) IF( GT_32( q_shift, 0 ) ) { FOR( int i = 0; i < CLDFB_NO_COL_MAX; i++ ) FOR( int ts = 0; ts < CLDFB_NO_COL_MAX; i++ ) { scale_sig32( realBuffer_fx[n][i], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( imagBuffer_fx[n][i], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( realBuffer_fx[n][ts], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( imagBuffer_fx[n][ts], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); } q_re_im_buf[n] = add( st->cldfbSynTd->Q_cldfb_state, 1 ); } Loading