Home
last modified time | relevance | path

Searched refs:ps_rbip (Results 1 – 2 of 2) sorted by relevance

/external/libavc/encoder/
Dirc_bit_allocation.c105 static void init_rbip(rem_bit_in_prd_t *ps_rbip, in init_rbip() argument
115 number_t *pvq_rem_bits_in_period = &ps_rbip->vq_rem_bits_in_period; in init_rbip()
134 ps_rbip->i4_tot_frms_in_gop = i4_tot_frms_in_gop; in init_rbip()
135 ps_rbip->i4_num_intra_frm_interval = i4_num_intra_frm_interval; in init_rbip()
136 ps_rbip->i4_bits_per_frm = i4_bits_per_frm; in init_rbip()
139 static void check_update_rbip(rem_bit_in_prd_t *ps_rbip, in check_update_rbip() argument
149 if(i4_new_tot_frms_in_gop != ps_rbip->i4_tot_frms_in_gop) in check_update_rbip()
152 ps_rbip->i4_num_intra_frm_interval in check_update_rbip()
154 - ps_rbip->i4_tot_frms_in_gop); in check_update_rbip()
159 SET_VAR_Q(s_bits_per_frm, ps_rbip->i4_bits_per_frm, 0); in check_update_rbip()
[all …]
/external/libhevc/encoder/
Dbit_allocation.c206 rem_bit_in_prd_t *ps_rbip, in init_rbip() argument
218 ps_rbip->i4_rem_bits_in_period = in init_rbip()
224 ps_rbip->i4_tot_frms_in_gop = i4_tot_frms_in_gop; in init_rbip()
225 ps_rbip->i4_num_intra_frm_interval = i4_num_intra_frm_interval; in init_rbip()
226 ps_rbip->i4_bits_per_frm = i4_bits_per_frm; in init_rbip()
238 static void check_update_rbip(rem_bit_in_prd_t *ps_rbip, pic_handling_handle ps_pic_handling) in check_update_rbip() argument
242 if(i4_new_tot_frms_in_gop != ps_rbip->i4_tot_frms_in_gop) in check_update_rbip()
244 WORD32 i4_num_frames_in_period = ps_rbip->i4_num_intra_frm_interval * in check_update_rbip()
245 (i4_new_tot_frms_in_gop - ps_rbip->i4_tot_frms_in_gop); in check_update_rbip()
247 &ps_rbip->i4_rem_bits_in_period, (ps_rbip->i4_bits_per_frm * i4_num_frames_in_period)); in check_update_rbip()
[all …]