Searched refs:buffer_level (Results 1 – 14 of 14) sorted by relevance
59 buffer_level = self._get_buffer_level(stream_type)62 logging.debug("Max input buffer level: %d", buffer_level)63 if buffer_level > self._INPUT_BUFFER_DRIFT_CRITERIA:66 buffer_level)69 logging.debug("Max output buffer level: %d", buffer_level)70 if buffer_level > self._OUTPUT_BUFFER_DRIFT_CRITERIA:73 buffer_level)146 buffer_level = 0151 if tmp > buffer_level:152 buffer_level = tmp[all …]
42 unsigned int buffer_level; member58 frames = empty_iodev->buffer_level; in current_level()109 empty_iodev->buffer_level = 0; in configure_dev()142 empty_iodev->buffer_level = current_level(iodev); in put_buffer()147 empty_iodev->buffer_level += frames; in put_buffer()148 empty_iodev->buffer_level %= EMPTY_FRAMES; in put_buffer()151 if (empty_iodev->buffer_level > frames) in put_buffer()152 empty_iodev->buffer_level -= frames; in put_buffer()154 empty_iodev->buffer_level = 0; in put_buffer()164 empty_iodev->buffer_level = current_level(iodev); in flush_buffer()[all …]
685 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in calc_pframe_target_size()697 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()699 (int)((cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / in calc_pframe_target_size()734 critical_buffer_level = (cpi->buffer_level < cpi->bits_off_target) in calc_pframe_target_size()735 ? cpi->buffer_level in calc_pframe_target_size()781 (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()783 (int)((cpi->buffer_level - cpi->oxcf.optimal_buffer_level) / in calc_pframe_target_size()849 if ((cpi->buffer_level < 0)) { in calc_pframe_target_size()855 (cpi->buffer_level * 100) / cpi->oxcf.optimal_buffer_level); in calc_pframe_target_size()865 cpi->buffer_level = cpi->bits_off_target; in calc_pframe_target_size()[all …]
328 (double)cpi->buffer_level / in frame_max_bits()1246 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, in estimate_kf_group_q()1766 if (cpi->buffer_level > df_buffer_level) { in define_gf_group()1768 ((double)((cpi->buffer_level - df_buffer_level) * 2 / 3) * 16.0) / in define_gf_group()1773 } else if (cpi->buffer_level > 0) { in define_gf_group()1774 max_boost = ((double)(cpi->buffer_level * 2 / 3) * 16.0) / in define_gf_group()2095 if (cpi->twopass.gf_bits > (int)(cpi->buffer_level >> 1)) { in define_gf_group()2096 cpi->twopass.gf_bits = (int)(cpi->buffer_level >> 1); in define_gf_group()2719 int64_t buffer_lvl = cpi->buffer_level; in find_next_key_frame()2735 if (cpi->buffer_level >= high_water_mark) { in find_next_key_frame()[all …]
200 lc->buffer_level = cpi->buffer_level; in save_layer_context()239 cpi->buffer_level = lc->buffer_level; in restore_layer_context()312 lc->buffer_level = lc->starting_buffer_level; in init_temporal_layer_context()350 lc->buffer_level = in reset_temporal_layer_change()352 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()363 lc->buffer_level = in reset_temporal_layer_change()365 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()1350 cpi->buffer_level = cpi->oxcf.starting_buffer_level; in init_config()1594 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()2507 if (cpi->buffer_level < (cpi->oxcf.resample_down_water_mark * in resize_key_frame()[all …]
225 int64_t buffer_level; member399 int64_t buffer_level; member
256 rc->buffer_level = rc->bits_off_target; in update_buffer_level_preencode()289 lrc->buffer_level = lrc->bits_off_target; in update_buffer_level_svc_preencode()292 cpi->rc.buffer_level = lrc->buffer_level; in update_buffer_level_svc_preencode()312 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level_postencode()329 rc->buffer_level = rc->bits_off_target; in update_buffer_level_postencode()377 rc->buffer_level = rc->starting_buffer_level; in vp9_rc_init()443 return (rc->buffer_level > drop_mark); in check_buffer_above_thresh()459 if (!(lrc->buffer_level > drop_mark_layer)) return 0; in check_buffer_above_thresh()470 return (rc->buffer_level <= drop_mark); in check_buffer_below_thresh()488 if (lrc->buffer_level <= drop_mark_layer) return 1; in check_buffer_below_thresh()[all …]
147 lrc->buffer_level = in vp9_init_layer_context()149 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()227 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()260 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()983 lrc->buffer_level = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()
128 int64_t buffer_level; member
1946 rc->buffer_level = VPXMIN(rc->buffer_level, rc->maximum_buffer_size); in vp9_change_config()2020 rc->buffer_level = rc->optimal_buffer_level; in vp9_change_config()
228 rc->buffer_level = rc->bits_off_target; in update_buffer_level()273 rc->buffer_level = rc->starting_buffer_level; in av1_rc_init()321 if (rc->buffer_level < 0) { in av1_rc_drop_frame()329 if ((rc->buffer_level > drop_mark) && (rc->decimation_factor > 0)) { in av1_rc_drop_frame()331 } else if (rc->buffer_level <= drop_mark && rc->decimation_factor == 0) { in av1_rc_drop_frame()665 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()673 adjustment = (int)((rc->buffer_level - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()677 } else if (rc->buffer_level > critical_level) { in calc_active_worst_quality_one_pass_cbr()683 (rc->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()1587 const int64_t diff = rc->optimal_buffer_level - rc->buffer_level; in calc_pframe_target_size_one_pass_cbr()
106 int64_t buffer_level; member
2490 rc->buffer_level = AOMMIN(rc->buffer_level, rc->maximum_buffer_size); in av1_change_config()
3673 LWORD64 buffer_level = ihevce_rc_change_avg_bitrate( in ihevce_enc_frm_proc_slave_thrd() local3676 ->i8_buf_level_bitrate_change = buffer_level; in ihevce_enc_frm_proc_slave_thrd()