Lines Matching refs:i4_ebf
67 WORD32 i4_ebf; /* Encoder Buffer Fullness */ member
195 ps_cbr_buffer->i4_ebf = 0; in init_cbr_buffer()
451 i4_cur_enc_buf = ps_cbr_buffer->i4_ebf + i4_tot_consumed_bits; in get_cbr_buffer_status()
538 ps_cbr_buffer->i4_ebf += i4_tot_consumed_bits; in update_cbr_buffer()
542 ps_cbr_buffer->i4_ebf -= (i4_drain_bits_per_frame + i4_error_bits); in update_cbr_buffer()
547 ps_cbr_buffer->i4_ebf += i4_tot_consumed_bits; in update_cbr_buffer()
548 ps_cbr_buffer->i4_ebf -= in update_cbr_buffer()
549 ((MIN(ps_cbr_buffer->i4_peak_drain_rate_frame, ps_cbr_buffer->i4_ebf)) + i4_error_bits); in update_cbr_buffer()
568 if(ps_cbr_buffer->i4_ebf < 0) in update_cbr_buffer()
571 ps_cbr_buffer->i4_ebf = 0; in update_cbr_buffer()
574 if(ps_cbr_buffer->i4_ebf > ps_cbr_buffer->i4_buffer_size) in update_cbr_buffer()
577 ps_cbr_buffer->i4_ebf = ps_cbr_buffer->i4_buffer_size; in update_cbr_buffer()
580 ps_cbr_buffer->i4_ebf_estimate = ps_cbr_buffer->i4_ebf; in update_cbr_buffer()
583 "VBR ebf = %d bebf = %d ", ps_cbr_buffer->i4_ebf, ps_cbr_buffer->i8_ebf_bit_alloc); in update_cbr_buffer()
614 i4_drain_bits_per_frame + i4_error_bits - (ps_cbr_buffer->i4_ebf + i4_tot_consumed_bits); in get_cbr_bits_to_stuff()
751 ps_cbr_buffer->i4_ebf_estimate = ps_cbr_buffer->i4_ebf + i4_bit_error; in cbr_modify_ebf_estimate()
896 return (ps_cbr_buffer->i4_ebf); in get_cbr_ebf()
919 ps_cbr_buffer->i4_ebf = i32_init_ebf; in set_cbr_ebf()
931 ps_cbr_buffer->i4_ebf -= i4_error_bits; in update_cbr_buf_mismatch_bit()
1022 (max_buffer_level - ps_cbr_buffer->i4_ebf)); in get_vbv_buffer_based_excess()
1254 if(ps_cbr_buffer->i4_ebf > in get_error_bits_for_desired_buf()