Home
last modified time | relevance | path

Searched refs:i4_ebf (Results 1 – 5 of 5) sorted by relevance

/external/libavc/encoder/
Dirc_cbr_buffer_control.c46 WORD32 i4_ebf; member
159 ps_cbr_buffer->i4_ebf = 0; in irc_init_cbr_buffer()
222 - ps_cbr_buffer->i4_ebf; in irc_cbr_buffer_constraint_check()
232 - (ps_cbr_buffer->i4_ebf - i4_drain_bits_per_frame); in irc_cbr_buffer_constraint_check()
254 - ps_cbr_buffer->i4_ebf; in irc_vbr_stream_buffer_constraint_check()
289 i4_cur_enc_buf = ps_cbr_buffer->i4_ebf + i4_tot_consumed_bits; in irc_get_cbr_buffer_status()
359 ps_cbr_buffer->i4_ebf += i4_tot_consumed_bits; in irc_update_cbr_buffer()
365 ps_cbr_buffer->i4_ebf -= (i4_drain_bits_per_frame + i4_error_bits); in irc_update_cbr_buffer()
367 if(ps_cbr_buffer->i4_ebf < 0) in irc_update_cbr_buffer()
368 ps_cbr_buffer->i4_ebf = 0; in irc_update_cbr_buffer()
[all …]
/external/libhevc/encoder/
Dcbr_buffer_control.c67 WORD32 i4_ebf; /* Encoder Buffer Fullness */ member
195 ps_cbr_buffer->i4_ebf = 0; in init_cbr_buffer()
451 i4_cur_enc_buf = ps_cbr_buffer->i4_ebf + i4_tot_consumed_bits; in get_cbr_buffer_status()
538 ps_cbr_buffer->i4_ebf += i4_tot_consumed_bits; in update_cbr_buffer()
542 ps_cbr_buffer->i4_ebf -= (i4_drain_bits_per_frame + i4_error_bits); in update_cbr_buffer()
547 ps_cbr_buffer->i4_ebf += i4_tot_consumed_bits; in update_cbr_buffer()
548 ps_cbr_buffer->i4_ebf -= in update_cbr_buffer()
549 ((MIN(ps_cbr_buffer->i4_peak_drain_rate_frame, ps_cbr_buffer->i4_ebf)) + i4_error_bits); in update_cbr_buffer()
568 if(ps_cbr_buffer->i4_ebf < 0) in update_cbr_buffer()
571 ps_cbr_buffer->i4_ebf = 0; in update_cbr_buffer()
[all …]
Drate_control_api.c1038 i4_ebf; in clip_qp_based_on_prev_ref() local
1047 i4_ebf = get_cbr_ebf(ps_rate_control_api->ps_cbr_buffer); in clip_qp_based_on_prev_ref()
1049 if(i4_ebf > (WORD32)(0.9f * max_buffer_level)) in clip_qp_based_on_prev_ref()
1377 i4_ebf; in get_frame_level_qp() local
1386 i4_ebf = get_cbr_ebf(ps_rate_control_api->ps_cbr_buffer); in get_frame_level_qp()
1388 if(i4_ebf > (WORD32)(0.9f * max_buffer_level)) in get_frame_level_qp()
1545 WORD32 i4_ebf = rc_get_ebf(ps_rate_control_api), in get_frame_level_qp() local
1546 i4_max_ebf = i4_ebf + i4_buf_based_max_bits; in get_frame_level_qp()
1549 float f_buffer_fullness = (float)i4_ebf / i4_max_ebf; in get_frame_level_qp()
1551 i4_clip_flag = i4_clip_flag && (i4_ebf < (i4_max_ebf * 0.5f)); in get_frame_level_qp()
Dbit_allocation.c1463 WORD32 i4_drain_bits_per_frame = get_buf_max_drain_rate(ps_cbr_buffer), i4_ebf; in get_cur_frm_est_texture_bits() local
1472 i4_ebf = get_cbr_ebf(ps_cbr_buffer); in get_cur_frm_est_texture_bits()
1474 if(i4_ebf > (WORD32)(0.8f * max_buffer_level)) in get_cur_frm_est_texture_bits()
1479 if(i4_ebf > (WORD32)(0.6f * max_buffer_level)) in get_cur_frm_est_texture_bits()
2620 WORD32 i4_ebf, in rc_update_bit_distribution_gop_level_2pass() argument
2646 i4_ebf = MAX(i4_ebf, 0); in rc_update_bit_distribution_gop_level_2pass()
Dbit_allocation.h261 WORD32 i4_ebf,