Searched refs:i4_dbf_prev (Results 1 – 2 of 2) sorted by relevance
/external/libhevc/encoder/ |
D | vbr_storage_vbv.c | 322 WORD32 i4_dbf_max, i4_dbf_min, i4_dbf_prev, i4_vbv_size, i4_dbf_desired; in get_max_tgt_bits_dvd_comp() local 328 i4_dbf_prev = ps_vbr_storage_vbv->i4_cur_buf_size; in get_max_tgt_bits_dvd_comp() 341 i4_dbf_desired = (i4_dbf_max - i4_rem_bits_in_gop / i4_rem_frms_in_gop - i4_dbf_prev) / in get_max_tgt_bits_dvd_comp() 343 i4_dbf_desired += i4_dbf_prev; in get_max_tgt_bits_dvd_comp() 346 i4_dbf_prev += ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period; in get_max_tgt_bits_dvd_comp() 347 if(i4_dbf_prev > ps_vbr_storage_vbv->i4_max_buf_size) in get_max_tgt_bits_dvd_comp() 349 i4_dbf_prev = ps_vbr_storage_vbv->i4_max_buf_size; in get_max_tgt_bits_dvd_comp() 352 i4_max_tgt_bits = MAX(0, (i4_dbf_prev - i4_dbf_desired)); in get_max_tgt_bits_dvd_comp()
|
/external/libavc/encoder/ |
D | irc_vbr_storage_vbv.c | 289 WORD32 i4_dbf_max, i4_dbf_min, i4_dbf_prev, i4_vbv_size, i4_dbf_desired; in irc_get_max_tgt_bits_dvd_comp() local 295 i4_dbf_prev = ps_vbr_storage_vbv->i4_cur_buf_size; in irc_get_max_tgt_bits_dvd_comp() 309 - i4_dbf_prev) / i4_rem_frms_in_gop; in irc_get_max_tgt_bits_dvd_comp() 310 i4_dbf_desired += i4_dbf_prev; in irc_get_max_tgt_bits_dvd_comp() 313 i4_dbf_prev += ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period; in irc_get_max_tgt_bits_dvd_comp() 314 if(i4_dbf_prev > ps_vbr_storage_vbv->i4_max_buf_size) in irc_get_max_tgt_bits_dvd_comp() 316 i4_dbf_prev = ps_vbr_storage_vbv->i4_max_buf_size; in irc_get_max_tgt_bits_dvd_comp() 319 i4_max_tgt_bits = MAX(0, (i4_dbf_prev - i4_dbf_desired)); in irc_get_max_tgt_bits_dvd_comp()
|