Home
last modified time | relevance | path

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

/external/libavc/encoder/
Dirc_cbr_buffer_control.c277 WORD32 i4_cur_enc_buf; in irc_get_cbr_buffer_status() local
289 i4_cur_enc_buf = ps_cbr_buffer->i4_ebf + i4_tot_consumed_bits; in irc_get_cbr_buffer_status()
292 if(i4_cur_enc_buf > ps_cbr_buffer->i4_buffer_size) in irc_get_cbr_buffer_status()
295 i4_cur_enc_buf = ps_cbr_buffer->i4_buffer_size; in irc_get_cbr_buffer_status()
303 i4_cur_enc_buf -= (i4_drain_bits_per_frame + i4_error_bits); in irc_get_cbr_buffer_status()
309 if(i4_cur_enc_buf < ps_cbr_buffer->i4_stuffing_threshold) in irc_get_cbr_buffer_status()
318 if(i4_cur_enc_buf < 0) in irc_get_cbr_buffer_status()
319 i4_cur_enc_buf = 0; in irc_get_cbr_buffer_status()
336 - i4_cur_enc_buf); in irc_get_cbr_buffer_status()
/external/libhevc/encoder/
Dcbr_buffer_control.c442 WORD32 i4_cur_enc_buf; in get_cbr_buffer_status() local
451 i4_cur_enc_buf = ps_cbr_buffer->i4_ebf + i4_tot_consumed_bits; in get_cbr_buffer_status()
454 if(i4_cur_enc_buf > ps_cbr_buffer->i4_buffer_size) in get_cbr_buffer_status()
457 i4_cur_enc_buf = ps_cbr_buffer->i4_buffer_size; in get_cbr_buffer_status()
462 i4_cur_enc_buf -= (i4_drain_bits_per_frame + i4_error_bits); in get_cbr_buffer_status()
467 if(i4_cur_enc_buf < 0) in get_cbr_buffer_status()
468 i4_cur_enc_buf = 0; in get_cbr_buffer_status()
471 if(i4_cur_enc_buf < 0) in get_cbr_buffer_status()
480 if(i4_cur_enc_buf < 0) in get_cbr_buffer_status()
481 i4_cur_enc_buf = 0; in get_cbr_buffer_status()
[all …]