Home
last modified time | relevance | path

Searched refs:i4_bits_per_frm (Results 1 – 6 of 6) sorted by relevance

/external/libavc/encoder/
Dirc_cbr_buffer_control.c120 WORD32 i4_i, i4_bits_per_frm[MAX_NUM_DRAIN_RATES]; in irc_init_cbr_buffer() local
126 i4_bits_per_frm[i]); in irc_init_cbr_buffer()
128 ps_cbr_buffer->i4_drain_bits_per_frame[i] = i4_bits_per_frm[i]; in irc_init_cbr_buffer()
166 - (i4_bits_per_frm[0] * (i4_tgt_frm_rate / 1000))); in irc_init_cbr_buffer()
188 ps_cbr_buffer->i4_low_thr[i4_i] = i4_bits_per_frm[i4_index]; in irc_init_cbr_buffer()
454 WORD32 i4_i, i4_bits_per_frm[MAX_NUM_DRAIN_RATES]; in irc_change_cbr_vbv_tgt_frame_rate() local
460 i4_bits_per_frm[i]); in irc_change_cbr_vbv_tgt_frame_rate()
462 ps_cbr_buffer->i4_drain_bits_per_frame[i] = i4_bits_per_frm[i]; in irc_change_cbr_vbv_tgt_frame_rate()
491 - (i4_bits_per_frm[0] * (i4_tgt_frm_rate / 1000))); in irc_change_cbr_vbv_tgt_frame_rate()
514 ps_cbr_buffer->i4_low_thr[i4_i] = i4_bits_per_frm[i4_index]; in irc_change_cbr_vbv_tgt_frame_rate()
[all …]
Dirc_bit_allocation.c49 WORD32 i4_bits_per_frm; member
63 WORD32 i4_bits_per_frm; member
107 WORD32 i4_bits_per_frm, in init_rbip() argument
117 SET_VAR_Q(vq_bits_per_frm, i4_bits_per_frm, 0); in init_rbip()
136 ps_rbip->i4_bits_per_frm = i4_bits_per_frm; in init_rbip()
159 SET_VAR_Q(s_bits_per_frm, ps_rbip->i4_bits_per_frm, 0); in check_update_rbip()
199 if(i4_new_bits_per_frm != ps_rbip->i4_bits_per_frm) in irc_ba_change_rbip()
209 (i4_new_bits_per_frm - ps_rbip->i4_bits_per_frm), 0); in irc_ba_change_rbip()
246 ps_rbip->i4_bits_per_frm = i4_new_bits_per_frm; in irc_ba_change_rbip()
293 WORD32 i4_bits_per_frm, i4_max_bits_per_frm[MAX_NUM_DRAIN_RATES]; in irc_ba_init_bit_allocation() local
[all …]
Dirc_rate_control_api.c1506 WORD32 i4_bits_per_frm; in irc_get_bits_per_frame() local
1511 i4_bits_per_frm); in irc_get_bits_per_frame()
1513 return (i4_bits_per_frm); in irc_get_bits_per_frame()
/external/libhevc/encoder/
Dcbr_buffer_control.c126 static void set_upper_lower_vbv_threshold(cbr_buffer_t *ps_cbr_buffer, WORD32 i4_bits_per_frm) in set_upper_lower_vbv_threshold() argument
139 ps_cbr_buffer->i4_low_thr[i] = ps_cbr_buffer->i4_inter_frame_int * i4_bits_per_frm; in set_upper_lower_vbv_threshold()
147 ps_cbr_buffer->i4_low_thr[i] = ps_cbr_buffer->i4_inter_frame_int * i4_bits_per_frm; in set_upper_lower_vbv_threshold()
191 WORD32 i4_bits_per_frm[MAX_NUM_DRAIN_RATES]; in init_cbr_buffer() local
212 X_PROD_Y_DIV_Z(u4_bit_rate, 1000, i4_tgt_frm_rate, i4_bits_per_frm[i]); in init_cbr_buffer()
214 ps_cbr_buffer->i4_drain_bits_per_frame[i] = i4_bits_per_frm[i]; in init_cbr_buffer()
226 ps_cbr_buffer->i4_peak_drain_rate_frame = i4_bits_per_frm[0]; in init_cbr_buffer()
293 set_upper_lower_vbv_threshold(ps_cbr_buffer, i4_bits_per_frm[0]); in init_cbr_buffer()
630 WORD32 i4_bits_per_frm[MAX_NUM_DRAIN_RATES]; in change_cbr_vbv_bit_rate() local
635 X_PROD_Y_DIV_Z(i4_bit_rate[i], 1000, ps_cbr_buffer->i4_tgt_frm_rate, i4_bits_per_frm[i]); in change_cbr_vbv_bit_rate()
[all …]
Dbit_allocation.c73 WORD32 i4_bits_per_frm; member
84 WORD32 i4_bits_per_frm; member
208 WORD32 i4_bits_per_frm, in init_rbip() argument
219 i4_bits_per_frm * in init_rbip()
226 ps_rbip->i4_bits_per_frm = i4_bits_per_frm; in init_rbip()
247 &ps_rbip->i4_rem_bits_in_period, (ps_rbip->i4_bits_per_frm * i4_num_frames_in_period)); in check_update_rbip()
264 pic_type_get_intra_frame_interval(ps_pic_handling) * ps_rbip->i4_bits_per_frm; in ret_rbip_default_preenc()
312 ps_rbip->i4_rem_bits_in_period = (ps_rbip->i4_bits_per_frm * ps_rbip->i4_tot_frms_in_gop * in set_rbip()
340 ps_rbip->i4_bits_per_frm = ps_rbip->i4_rem_bits_in_period / i4_num_frames_in_gop; in multi_pass_set_rbip()
345 if(i4_new_bits_per_frm != ps_rbip->i4_bits_per_frm) in change_rbip()
[all …]
Drate_control_api.c2999 WORD32 i4_bits_per_frm; in rc_get_bits_per_frame() local
3005 i4_bits_per_frm); in rc_get_bits_per_frame()
3007 return (i4_bits_per_frm); in rc_get_bits_per_frame()