Home
last modified time | relevance | path

Searched refs:i4_error_bits (Results 1 – 12 of 12) sorted by relevance

/external/libhevc/encoder/
Dvbr_storage_vbv.c140 WORD32 i4_error_bits = get_error_bits(ps_vbr_storage_vbv->ps_error_bits); in update_vbr_vbv() local
145 (ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period + i4_error_bits)); in update_vbr_vbv()
174 WORD32 i4_error_bits = get_error_bits(ps_vbr_storage_vbv->ps_error_bits); in get_max_target_bits() local
178 &i4_cur_buf_size, (ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period + i4_error_bits)); in get_max_target_bits()
208 WORD32 i4_error_bits = get_error_bits(ps_vbr_storage_vbv->ps_error_bits); in get_vbv_buffer_status() local
213 &i4_cur_buf, (ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period + i4_error_bits)); in get_vbv_buffer_status()
289 WORD32 i4_error_bits = get_error_bits(ps_vbr_storage_vbv->ps_error_bits); in get_vbv_buf_fullness() local
293 &i4_cur_buf_size, (ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period + i4_error_bits)); in get_vbv_buf_fullness()
Dcbr_buffer_control.c330 WORD32 i4_error_bits = (e_pic_type == I_PIC) in cbr_buffer_constraint_check() local
346 (ps_cbr_buffer->i4_ebf_estimate - i4_drain_bits_per_frame - i4_error_bits)); in cbr_buffer_constraint_check()
443 WORD32 i4_error_bits = (e_pic_type == I_PIC) in get_cbr_buffer_status() local
462 i4_cur_enc_buf -= (i4_drain_bits_per_frame + i4_error_bits); in get_cbr_buffer_status()
512 WORD32 i4_error_bits = (e_pic_type == I_PIC) in update_cbr_buffer() local
542 ps_cbr_buffer->i4_ebf -= (i4_drain_bits_per_frame + i4_error_bits); in update_cbr_buffer()
543 ps_cbr_buffer->i8_ebf_bit_alloc -= (i4_drain_bits_per_frame + i4_error_bits); 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()
553 (ps_cbr_buffer->i4_drain_bits_per_frame[0] + i4_error_bits); in update_cbr_buffer()
557 (ps_cbr_buffer->i4_drain_bits_per_frame[0] + i4_error_bits); in update_cbr_buffer()
[all …]
Dfixed_point_error_bits.c163 WORD32 i4_error_bits = 0; in get_error_bits() local
179 i4_error_bits = i4_cur_bitrate - ps_error_bits->i4_accum_bitrate; in get_error_bits()
181 return (i4_error_bits); in get_error_bits()
Dcbr_buffer_control.h103 void update_cbr_buf_mismatch_bit(cbr_buffer_handle ps_cbr_buffer, WORD32 i4_error_bits);
Dbit_allocation.c310 static WORD32 set_rbip(rem_bit_in_prd_t *ps_rbip, WORD32 i4_error_bits) in set_rbip() argument
314 i4_error_bits; in set_rbip()
1702 WORD32 i4_error_bits = get_error_bits(ps_bit_allocation->ps_error_bits); in update_cur_frm_consumed_bits() local
1719 (-(i4_total_frame_bits + i4_stuff_bits) + i4_error_bits + in update_cur_frm_consumed_bits()
2589 bit_allocation_t *ps_bit_allocation, WORD32 i4_error_bits) in bit_allocation_update_gop_level_bit_error() argument
2591 ps_bit_allocation->i4_gop_level_bit_error += i4_error_bits; in bit_allocation_update_gop_level_bit_error()
2592 ps_bit_allocation->i4_frame_level_bit_error += i4_error_bits; in bit_allocation_update_gop_level_bit_error()
2594 ps_bit_allocation->i8_cur_gop_bit_consumption -= i4_error_bits; in bit_allocation_update_gop_level_bit_error()
Drate_control_api.c974 WORD32 i4_error_bits = 0, i, i4_bits_per_frame; in rc_get_estimate_bit_error() local
981 i4_error_bits += (ps_rate_control_api->ai4_est_tot_bits[i] - i4_bits_per_frame); in rc_get_estimate_bit_error()
984 return i4_error_bits; in rc_get_estimate_bit_error()
3508 void rc_update_mismatch_error(rate_control_api_t *ps_rate_control_api, WORD32 i4_error_bits) in rc_update_mismatch_error() argument
3511 ps_rate_control_api->ps_bit_allocation, i4_error_bits); in rc_update_mismatch_error()
3514 update_cbr_buf_mismatch_bit(ps_rate_control_api->ps_cbr_buffer, i4_error_bits); in rc_update_mismatch_error()
Dbit_allocation.h232 bit_allocation_handle ps_bit_allocation, WORD32 i4_error_bits);
Drate_control_api.h289 void rc_update_mismatch_error(rate_control_handle ps_rate_control_api, WORD32 i4_error_bits);
/external/libavc/encoder/
Dirc_vbr_storage_vbv.c130 WORD32 i4_error_bits = irc_get_error_bits( in irc_update_vbr_vbv() local
139 + i4_error_bits)); in irc_update_vbr_vbv()
158 WORD32 i4_error_bits = irc_get_error_bits( in irc_get_max_target_bits() local
165 + i4_error_bits)); in irc_get_max_target_bits()
191 WORD32 i4_error_bits = irc_get_error_bits( in irc_get_vbv_buffer_status() local
199 + i4_error_bits)); in irc_get_vbv_buffer_status()
265 WORD32 i4_error_bits = irc_get_error_bits( in irc_vbv_get_vbv_buf_fullness() local
272 + i4_error_bits)); in irc_vbv_get_vbv_buf_fullness()
Dirc_fixed_point_error_bits.c150 WORD32 i4_error_bits = 0; in irc_get_error_bits() local
156 i4_error_bits = ps_error_bits->i4_bitrate in irc_get_error_bits()
160 return (i4_error_bits); in irc_get_error_bits()
Dirc_cbr_buffer_control.c278 WORD32 i4_error_bits = (e_pic_type == I_PIC) ? in irc_get_cbr_buffer_status() local
303 i4_cur_enc_buf -= (i4_drain_bits_per_frame + i4_error_bits); in irc_get_cbr_buffer_status()
348 WORD32 i4_error_bits = (e_pic_type == I_PIC) ? in irc_update_cbr_buffer() local
365 ps_cbr_buffer->i4_ebf -= (i4_drain_bits_per_frame + i4_error_bits); in irc_update_cbr_buffer()
389 WORD32 i4_error_bits = (e_pic_type == I_PIC) ? in irc_get_cbr_bits_to_stuff() local
403 i4_bits_to_stuff = i4_drain_bits_per_frame + i4_error_bits in irc_get_cbr_bits_to_stuff()
Dirc_bit_allocation.c581 WORD32 i4_error_bits = irc_get_error_bits(ps_bit_allocation->ps_error_bits); in irc_ba_update_cur_frm_consumed_bits() local
585 (-i4_total_frame_bits + i4_error_bits)); in irc_ba_update_cur_frm_consumed_bits()