Home
last modified time | relevance | path

Searched refs:i4_bit_rate (Results 1 – 8 of 8) sorted by relevance

/external/libavc/encoder/
Dirc_cbr_buffer_control.c116 WORD32 *i4_bit_rate, in irc_init_cbr_buffer() argument
125 X_PROD_Y_DIV_Z(i4_bit_rate[i], 1000, i4_tgt_frm_rate, in irc_init_cbr_buffer()
131 i4_tgt_frm_rate, i4_bit_rate[i]); in irc_init_cbr_buffer()
136 if(i4_bit_rate[0] == i4_bit_rate[1]) in irc_init_cbr_buffer()
138 X_PROD_Y_DIV_Z(i4_bit_rate[0], i4_buffer_delay, 1000, in irc_init_cbr_buffer()
165 ps_cbr_buffer->i4_stuffing_threshold = (i4_bit_rate[0] in irc_init_cbr_buffer()
194 ps_cbr_buffer->ai4_bit_rate[i] = i4_bit_rate[i]; in irc_init_cbr_buffer()
526 WORD32 *i4_bit_rate) in irc_change_cbr_vbv_bit_rate() argument
533 X_PROD_Y_DIV_Z(i4_bit_rate[i], 1000, ps_cbr_buffer->i4_tgt_frm_rate, in irc_change_cbr_vbv_bit_rate()
539 i4_bit_rate[i]); in irc_change_cbr_vbv_bit_rate()
[all …]
Dirc_bit_allocation.c82 WORD32 i4_bit_rate; member
287 WORD32 i4_bit_rate, in irc_ba_init_bit_allocation() argument
296 X_PROD_Y_DIV_Z(i4_bit_rate, 1000, i4_frm_rate, i4_bits_per_frm); in irc_ba_init_bit_allocation()
333 i4_bit_rate); in irc_ba_init_bit_allocation()
336 ps_bit_allocation->i4_bit_rate = i4_bit_rate; in irc_ba_init_bit_allocation()
649 WORD32 i4_bit_rate, in irc_ba_change_remaining_bits_in_period() argument
659 X_PROD_Y_DIV_Z(i4_bit_rate, 1000, i4_frame_rate, i4_new_avg_bits_per_frm); in irc_ba_change_remaining_bits_in_period()
689 i4_bit_rate); in irc_ba_change_remaining_bits_in_period()
695 ps_bit_allocation->i4_bit_rate = i4_bit_rate; in irc_ba_change_remaining_bits_in_period()
848 return (ps_bit_allocation->i4_bit_rate); in irc_ba_get_bit_rate()
Dirc_cbr_buffer_control.h59 WORD32 *i4_bit_rate,
93 WORD32 *i4_bit_rate);
Dirc_bit_allocation.h33 WORD32 i4_bit_rate,
78 WORD32 i4_bit_rate,
/external/libhevc/encoder/
Dcbr_buffer_control.c628 cbr_buffer_t *ps_cbr_buffer, WORD32 *i4_bit_rate, WORD32 i4_peak_bitrate) in change_cbr_vbv_bit_rate() argument
635 X_PROD_Y_DIV_Z(i4_bit_rate[i], 1000, ps_cbr_buffer->i4_tgt_frm_rate, i4_bits_per_frm[i]); in change_cbr_vbv_bit_rate()
640 change_bitrate_in_error_bits(ps_cbr_buffer->aps_bpf_error_bits[i], i4_bit_rate[i]); in change_cbr_vbv_bit_rate()
651 i4_bit_rate[0], in change_cbr_vbv_bit_rate()
672 (ULWORD64)(ps_cbr_buffer->f_max_dur_peak_rate * i4_bit_rate[0]); in change_cbr_vbv_bit_rate()
674 (((LWORD64)i4_bit_rate[0] * 1000) / ps_cbr_buffer->i4_tgt_frm_rate) * in change_cbr_vbv_bit_rate()
679 (ULWORD64)(ps_cbr_buffer->f_max_dur_peak_rate * i4_bit_rate[0]); in change_cbr_vbv_bit_rate()
681 u8_vbr_max_bit_deviation = VBR_MAX_BIT_DEV_SEC * i4_bit_rate[0]; in change_cbr_vbv_bit_rate()
695 if(u8_vbr_max_bit_deviation < (ULWORD64)i4_bit_rate[0]) in change_cbr_vbv_bit_rate()
696 u8_vbr_max_bit_deviation = (ULWORD64)i4_bit_rate[0]; in change_cbr_vbv_bit_rate()
[all …]
Dbit_allocation.c95 WORD32 i4_bit_rate; member
705 WORD32 i4_bit_rate, /* num bits per second */ in init_bit_allocation() argument
748 X_PROD_Y_DIV_Z(i4_bit_rate, 1000, i4_frm_rate, i4_bits_per_frm); in init_bit_allocation()
790 init_error_bits(ps_bit_allocation->ps_error_bits, i4_frm_rate, i4_bit_rate); in init_bit_allocation()
793 ps_bit_allocation->i4_bit_rate = i4_bit_rate; in init_bit_allocation()
885 i4_peak_bit_rate[0], i4_bit_rate, 10.0f, 1.0f, 0.0f, rc_pass); in init_bit_allocation()
1201 if(i4_est_bits_for_I > ((ps_bit_allocation->i4_bit_rate << 1) - in bit_alloc_get_intra_bits()
1204 ((ps_bit_allocation->i4_bit_rate << 1) - in bit_alloc_get_intra_bits()
1248 if(i4_est_bits_for_I > (ps_bit_allocation->i4_bit_rate << 1)) in bit_alloc_get_intra_bits()
1249 i4_est_bits_for_I = (ps_bit_allocation->i4_bit_rate << 1); in bit_alloc_get_intra_bits()
[all …]
Dbit_allocation.h62 WORD32 i4_bit_rate, /* num bits per second */
159 WORD32 i4_bit_rate,
307 WORD32 i4_bit_rate,
Dcbr_buffer_control.h118 cbr_buffer_handle ps_cbr_buffer, WORD32 *i4_bit_rate, WORD32 i4_peak_bitrate);