Home
last modified time | relevance | path

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

/external/libhevc/encoder/
Dcbr_buffer_control.c326 WORD32 i4_max_tgt_bits, i4_min_tgt_bits; in cbr_buffer_constraint_check() local
344 i4_min_tgt_bits = (WORD32)( in cbr_buffer_constraint_check()
348 if(i4_min_tgt_bits < 0) in cbr_buffer_constraint_check()
349 i4_min_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()
353 pi4_min_tgt_bits[0] = i4_min_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
398 i4_min_tgt_bits = (ps_cbr_buffer->i4_drain_bits_per_frame[0] >> 1); in vbr_stream_buffer_constraint_check()
403 i4_min_tgt_bits = (WORD32)(ps_cbr_buffer->i4_low_thr[0] - ps_cbr_buffer->i8_ebf_bit_alloc); in vbr_stream_buffer_constraint_check()
407 if(i4_min_tgt_bits < 0) in vbr_stream_buffer_constraint_check()
[all …]
/external/libavc/encoder/
Dirc_cbr_buffer_control.c215 WORD32 i4_max_tgt_bits, i4_min_tgt_bits; in irc_cbr_buffer_constraint_check() local
231 i4_min_tgt_bits = ps_cbr_buffer->i4_low_thr[e_pic_type] in irc_cbr_buffer_constraint_check()
234 if(i4_min_tgt_bits < 0) in irc_cbr_buffer_constraint_check()
235 i4_min_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()