Loading lib_enc/ivas_init_enc_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -898,7 +898,8 @@ ivas_error ivas_init_encoder_fx( st_ivas->nCPE = shr( hEncoderConfig->nchan_inp, CPE_CHANNELS_LOG2 ); /* Q0 */ move16(); tmp_br = L_shl( Mpy_32_32_r( ivas_total_brate, one_by_q_level[hEncoderConfig->nchan_inp] ), 1 ); i = sub( hEncoderConfig->nchan_inp, 1 ); tmp_br = L_shl( Mpy_32_32_r( L_sub( ivas_total_brate, ivas_total_brate % i ), one_by_q_level[i] - 1 ), 1 ); FOR( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) { IF( ( error = create_cpe_enc_fx( st_ivas, cpe_id, tmp_br ) ) != IVAS_ERR_OK ) Loading Loading
lib_enc/ivas_init_enc_fx.c +2 −1 Original line number Diff line number Diff line Loading @@ -898,7 +898,8 @@ ivas_error ivas_init_encoder_fx( st_ivas->nCPE = shr( hEncoderConfig->nchan_inp, CPE_CHANNELS_LOG2 ); /* Q0 */ move16(); tmp_br = L_shl( Mpy_32_32_r( ivas_total_brate, one_by_q_level[hEncoderConfig->nchan_inp] ), 1 ); i = sub( hEncoderConfig->nchan_inp, 1 ); tmp_br = L_shl( Mpy_32_32_r( L_sub( ivas_total_brate, ivas_total_brate % i ), one_by_q_level[i] - 1 ), 1 ); FOR( cpe_id = 0; cpe_id < st_ivas->nCPE; cpe_id++ ) { IF( ( error = create_cpe_enc_fx( st_ivas, cpe_id, tmp_br ) ) != IVAS_ERR_OK ) Loading