Home
last modified time | relevance | path

Searched refs:i4_max_tgt_bits (Results 1 – 4 of 4) sorted by relevance

/external/libavc/encoder/
Dirc_cbr_buffer_control.c215 WORD32 i4_max_tgt_bits, i4_min_tgt_bits; in irc_cbr_buffer_constraint_check() local
221 i4_max_tgt_bits = ps_cbr_buffer->i4_upr_thr[e_pic_type] in irc_cbr_buffer_constraint_check()
224 if(i4_max_tgt_bits < 0) in irc_cbr_buffer_constraint_check()
225 i4_max_tgt_bits = 0; in irc_cbr_buffer_constraint_check()
238 CLIP(i4_tgt_bits, i4_max_tgt_bits, i4_min_tgt_bits); in irc_cbr_buffer_constraint_check()
250 WORD32 i4_max_tgt_bits; in irc_vbr_stream_buffer_constraint_check() local
253 i4_max_tgt_bits = ps_cbr_buffer->i4_upr_thr[e_pic_type] in irc_vbr_stream_buffer_constraint_check()
257 if(i4_max_tgt_bits < 0) in irc_vbr_stream_buffer_constraint_check()
258 i4_max_tgt_bits = 0; in irc_vbr_stream_buffer_constraint_check()
260 if(i4_tgt_bits > i4_max_tgt_bits) in irc_vbr_stream_buffer_constraint_check()
[all …]
Dirc_vbr_storage_vbv.c290 WORD32 i4_max_tgt_bits; in irc_get_max_tgt_bits_dvd_comp() local
319 i4_max_tgt_bits = MAX(0, (i4_dbf_prev - i4_dbf_desired)); in irc_get_max_tgt_bits_dvd_comp()
320 return (i4_max_tgt_bits); in irc_get_max_tgt_bits_dvd_comp()
/external/libhevc/encoder/
Dcbr_buffer_control.c326 WORD32 i4_max_tgt_bits, i4_min_tgt_bits; in cbr_buffer_constraint_check() local
336 i4_max_tgt_bits = in cbr_buffer_constraint_check()
339 if(i4_max_tgt_bits < 0) in cbr_buffer_constraint_check()
340 i4_max_tgt_bits = 0; in cbr_buffer_constraint_check()
352 CLIP(i4_tgt_bits, i4_max_tgt_bits, i4_min_tgt_bits); in cbr_buffer_constraint_check()
354 pi4_max_tgt_bits[0] = i4_max_tgt_bits; in cbr_buffer_constraint_check()
376 WORD32 i4_max_tgt_bits, i4_min_tgt_bits = 0; in vbr_stream_buffer_constraint_check() local
381 i4_max_tgt_bits = (WORD32)( in vbr_stream_buffer_constraint_check()
385 if(i4_max_tgt_bits > ps_cbr_buffer->i4_upr_thr[e_pic_type] - ps_cbr_buffer->i4_ebf_estimate) in vbr_stream_buffer_constraint_check()
387 i4_max_tgt_bits = in vbr_stream_buffer_constraint_check()
[all …]
Dvbr_storage_vbv.c323 WORD32 i4_max_tgt_bits; in get_max_tgt_bits_dvd_comp() local
352 i4_max_tgt_bits = MAX(0, (i4_dbf_prev - i4_dbf_desired)); in get_max_tgt_bits_dvd_comp()
353 return (i4_max_tgt_bits); in get_max_tgt_bits_dvd_comp()