Searched refs:i4_buffer_size (Results 1 – 3 of 3) sorted by relevance
40 WORD32 i4_buffer_size; member139 ps_cbr_buffer->i4_buffer_size); in irc_init_cbr_buffer()145 ps_cbr_buffer->i4_buffer_size = u4_num_pics_in_delay_prd[0] in irc_init_cbr_buffer()153 if(ps_cbr_buffer->i4_buffer_size > (WORD32)u4_vbv_buf_size) in irc_init_cbr_buffer()155 ps_cbr_buffer->i4_buffer_size = u4_vbv_buf_size; in irc_init_cbr_buffer()181 ps_cbr_buffer->i4_upr_thr[i4_i] = ps_cbr_buffer->i4_buffer_size in irc_init_cbr_buffer()182 - (ps_cbr_buffer->i4_buffer_size >> 3); in irc_init_cbr_buffer()292 if(i4_cur_enc_buf > ps_cbr_buffer->i4_buffer_size) in irc_get_cbr_buffer_status()295 i4_cur_enc_buf = ps_cbr_buffer->i4_buffer_size; in irc_get_cbr_buffer_status()335 pi4_num_bits_to_prevent_overflow[0] = (ps_cbr_buffer->i4_buffer_size in irc_get_cbr_buffer_status()[all …]
64 WORD32 i4_buffer_size; /* Buffer size = Delay * Bitrate*/ member132 (WORD32)(((LWORD64)ps_cbr_buffer->i4_buffer_size >> 4) * UPPER_THRESHOLD_EBF_Q4); in set_upper_lower_vbv_threshold()152 if(ps_cbr_buffer->i4_low_thr[i] < (ps_cbr_buffer->i4_buffer_size >> 6)) in set_upper_lower_vbv_threshold()153 ps_cbr_buffer->i4_low_thr[i] = (ps_cbr_buffer->i4_buffer_size >> 6); in set_upper_lower_vbv_threshold()155 if(ps_cbr_buffer->i4_low_thr[i] > (ps_cbr_buffer->i4_buffer_size >> 3)) //KISH_DEBUG in set_upper_lower_vbv_threshold()156 ps_cbr_buffer->i4_low_thr[i] = (ps_cbr_buffer->i4_buffer_size >> 3); in set_upper_lower_vbv_threshold()224 ps_cbr_buffer->i4_buffer_size = (WORD32)u4_vbv_buf_size; in init_cbr_buffer()228 ps_cbr_buffer->u4_vbr_max_bit_deviation = ps_cbr_buffer->i4_buffer_size; in init_cbr_buffer()233 ps_cbr_buffer->i4_buffer_size = (WORD32)u4_vbv_buf_size; in init_cbr_buffer()279 if(ps_cbr_buffer->i4_buffer_size > (WORD32)u4_vbv_buf_size) in init_cbr_buffer()[all …]
972 WORD32 i4_buffer_size = in bit_alloc_get_intra_bits() local1109 i4_safe_margin = (WORD32)(i4_buffer_size * 0.1); in bit_alloc_get_intra_bits()1110 i4_max_buffer_based = ((LWORD64)i4_buffer_size - i4_cur_buf_pos) / in bit_alloc_get_intra_bits()1112 i4_max_buffer_based_I_pic = i4_buffer_size - i4_cur_buf_pos; in bit_alloc_get_intra_bits()1141 ((((LWORD64)i4_buffer_size - i4_cur_buf_pos) / ps_bit_allocation->i4_bits_per_frm) + in bit_alloc_get_intra_bits()