Searched refs:ai4_bit_rate (Results 1 – 2 of 2) sorted by relevance
/external/libhevc/encoder/ |
D | cbr_buffer_control.c | 78 WORD32 ai4_bit_rate[MAX_NUM_DRAIN_RATES]; member 296 ps_cbr_buffer->ai4_bit_rate[i] = u4_bit_rate; in init_cbr_buffer() 522 LWORD64 i8_max_bit_dev_allowed = ps_cbr_buffer->ai4_bit_rate[0]; in update_cbr_buffer() 524 ps_cbr_buffer->ai4_bit_rate[0] * 1000 / in update_cbr_buffer() 530 if(i8_max_bit_dev_allowed > (VBR_MAX_BIT_DEV_SEC * ps_cbr_buffer->ai4_bit_rate[0])) in update_cbr_buffer() 531 i8_max_bit_dev_allowed = (VBR_MAX_BIT_DEV_SEC * ps_cbr_buffer->ai4_bit_rate[0]); in update_cbr_buffer() 703 ps_cbr_buffer->ai4_bit_rate[i] = i4_bit_rate[i]; in change_cbr_vbv_bit_rate() 791 X_PROD_Y_DIV_Z(ps_cbr_buffer->ai4_bit_rate[i], 1000, i4_tgt_frm_rate, i4_bits_per_frm[i]); in change_cbr_vbv_tgt_frame_rate() 851 ps_cbr_buffer->ai4_bit_rate[0], i4_buffer_delay, 1000, ps_cbr_buffer->i4_buffer_size); in change_cbr_buffer_delay() 1013 ps_cbr_buffer->ai4_bit_rate in get_vbv_buffer_based_excess() [all …]
|
/external/libavc/encoder/ |
D | irc_cbr_buffer_control.c | 65 WORD32 ai4_bit_rate[MAX_NUM_DRAIN_RATES]; member 194 ps_cbr_buffer->ai4_bit_rate[i] = i4_bit_rate[i]; in irc_init_cbr_buffer() 459 X_PROD_Y_DIV_Z(ps_cbr_buffer->ai4_bit_rate[i], 1000, i4_tgt_frm_rate, in irc_change_cbr_vbv_tgt_frame_rate() 490 ps_cbr_buffer->i4_stuffing_threshold = (ps_cbr_buffer->ai4_bit_rate[0] in irc_change_cbr_vbv_tgt_frame_rate() 604 ps_cbr_buffer->ai4_bit_rate[i] = i4_bit_rate[i]; in irc_change_cbr_vbv_bit_rate() 616 X_PROD_Y_DIV_Z(ps_cbr_buffer->ai4_bit_rate[0], i4_buffer_delay, 1000, in irc_change_cbr_buffer_delay()
|