Searched refs:i4_drain_rate (Results 1 – 2 of 2) sorted by relevance
/external/libhevc/encoder/ |
D | rate_control_api.c | 1223 WORD32 i4_drain_rate = get_buf_max_drain_rate(ps_rate_control_api->ps_cbr_buffer); in get_frame_level_qp() local 1226 WORD32 i4_expected_ebf = (i4_cur_ebf + i4_total_bits_allocted - i4_drain_rate); in get_frame_level_qp() 1232 i4_drain_rate, (i4_total_bits_allocted - (i4_expected_ebf - i4_max_ebf))); in get_frame_level_qp() 3395 WORD32 i4_drain_rate = get_buf_max_drain_rate(ps_rate_control_api->ps_cbr_buffer); in rc_get_qp_for_scd_frame() local 3398 WORD32 i4_expected_ebf = (i4_cur_ebf + i4_total_bits_allocted - i4_drain_rate); in rc_get_qp_for_scd_frame() 3404 MAX(i4_drain_rate, (i4_total_bits_allocted - (i4_expected_ebf - i4_max_ebf))); in rc_get_qp_for_scd_frame()
|
D | ihevce_rc_interface.c | 5426 WORD32 i4_vbv_buffer_size, i4_drain_rate, i4_currEbf, i4_maxEbf; in ihevce_ebf_based_rc_correction_to_avoid_overflow() local 5436 ps_rc_ctxt->rc_hdl, &i4_vbv_buffer_size, &i4_currEbf, &i4_maxEbf, &i4_drain_rate); in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5475 i8_grwEbf = i8_bitsClipQP - (LWORD64)i4_drain_rate; in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5577 i8_grwEbf = i4_bits_est_for_in_frm_rc - i4_drain_rate; in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5581 i4_drain_rate + (WORD32)(0.85 * i4_vbv_buffer_size) - i4_currEbf; in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5584 if(i4_bits_est_for_in_frm_rc < i4_drain_rate) in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5587 MAX((i4_drain_rate + (WORD32)(0.95 * i4_vbv_buffer_size) - i4_currEbf), in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5588 i4_drain_rate); in ihevce_ebf_based_rc_correction_to_avoid_overflow() 5597 i8_grwEbf = i8_bitsClipQP - i4_drain_rate; in ihevce_ebf_based_rc_correction_to_avoid_overflow()
|