Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Dvbr_storage_vbv.c207 WORD32 i4_cur_buf; in get_vbv_buffer_status() local
211 i4_cur_buf = ps_vbr_storage_vbv->i4_cur_buf_size; in get_vbv_buffer_status()
213 &i4_cur_buf, (ps_vbr_storage_vbv->i4_max_bits_inflow_per_frm_period + i4_error_bits)); in get_vbv_buffer_status()
215 if(i4_cur_buf > ps_vbr_storage_vbv->i4_max_buf_size) in get_vbv_buffer_status()
217 i4_cur_buf = ps_vbr_storage_vbv->i4_max_buf_size; in get_vbv_buffer_status()
220 pi4_num_bits_to_prevent_vbv_underflow[0] = i4_cur_buf; in get_vbv_buffer_status()
222 i4_cur_buf -= i4_total_frame_bits; in get_vbv_buffer_status()
223 if(i4_cur_buf < 0) in get_vbv_buffer_status()
227 else if(i4_cur_buf > ps_vbr_storage_vbv->i4_max_buf_size) in get_vbv_buffer_status()
231 else if(i4_cur_buf < (ps_vbr_storage_vbv->i4_max_buf_size >> 2)) in get_vbv_buffer_status()
/external/libavc/encoder/
Dirc_vbr_storage_vbv.c190 WORD32 i4_cur_buf; in irc_get_vbv_buffer_status() local
195 i4_cur_buf = ps_vbr_storage_vbv->i4_cur_buf_size; in irc_get_vbv_buffer_status()
197 &i4_cur_buf, in irc_get_vbv_buffer_status()
201 if(i4_cur_buf > ps_vbr_storage_vbv->i4_max_buf_size) in irc_get_vbv_buffer_status()
203 i4_cur_buf = ps_vbr_storage_vbv->i4_max_buf_size; in irc_get_vbv_buffer_status()
206 pi4_num_bits_to_prevent_vbv_underflow[0] = i4_cur_buf; in irc_get_vbv_buffer_status()
208 i4_cur_buf -= i4_total_frame_bits; in irc_get_vbv_buffer_status()
209 if(i4_cur_buf < 0) in irc_get_vbv_buffer_status()
213 else if(i4_cur_buf > ps_vbr_storage_vbv->i4_max_buf_size) in irc_get_vbv_buffer_status()
217 else if(i4_cur_buf < (ps_vbr_storage_vbv->i4_max_buf_size >> 2)) in irc_get_vbv_buffer_status()