Searched refs:optimal_buffer_level (Results 1 – 14 of 14) sorted by relevance
687 int one_percent_bits = (int)(1 + cpi->oxcf.optimal_buffer_level / 100); in calc_pframe_target_size()689 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in calc_pframe_target_size()690 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()701 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()703 (int)((cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / in calc_pframe_target_size()755 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level) { in calc_pframe_target_size()756 if (critical_buffer_level > (cpi->oxcf.optimal_buffer_level >> 2)) { in calc_pframe_target_size()759 (cpi->oxcf.optimal_buffer_level >> 2)); in calc_pframe_target_size()771 (cpi->oxcf.optimal_buffer_level * 3 >> 2)); in calc_pframe_target_size()785 (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()[all …]
192 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; in save_layer_context()233 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in restore_layer_context()281 lc->optimal_buffer_level_in_ms = oxcf->optimal_buffer_level; in init_temporal_layer_context()287 if (oxcf->optimal_buffer_level == 0) { in init_temporal_layer_context()288 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()290 lc->optimal_buffer_level = in init_temporal_layer_context()291 rescale((int)(oxcf->optimal_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()1403 if (oxcf->optimal_buffer_level == 0) { in update_layer_contexts()1404 lc->optimal_buffer_level = lc->target_bandwidth / 8; in update_layer_contexts()1406 lc->optimal_buffer_level = rescale( in update_layer_contexts()[all …]
327 DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()1241 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, in estimate_kf_group_q()1755 (cpi->oxcf.optimal_buffer_level / 100); in define_gf_group()2710 int64_t opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()2823 (cpi->oxcf.optimal_buffer_level / 100)); in find_next_key_frame()3076 cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()3079 cpi->oxcf.optimal_buffer_level / 100)))) { in find_next_key_frame()
220 int64_t optimal_buffer_level; member
464 lrc->optimal_buffer_level / 100); in check_buffer_above_thresh()492 lrc->optimal_buffer_level / 100); in check_buffer_below_thresh()536 (int)(drop_frames_water_mark * rc->optimal_buffer_level / 100); in vp9_test_drop()934 int64_t critical_level = rc->optimal_buffer_level >> 3; in calc_active_worst_quality_one_pass_cbr()964 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()971 buff_lvl_step = ((rc->maximum_buffer_size - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()974 adjustment = (int)((rc->buffer_level - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()981 buff_lvl_step = (rc->optimal_buffer_level - critical_level); in calc_active_worst_quality_one_pass_cbr()984 (rc->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()1996 cpi->rc.buffer_level > cpi->rc.optimal_buffer_level) { in vp9_rc_postencode_update_drop_frame()[all …]
152 int64_t optimal_buffer_level; member
223 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()224 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()256 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()257 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()1038 lrc->bits_off_target = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()1039 lrc->buffer_level = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()
1529 rc->optimal_buffer_level = in set_rc_buffer_sizes()2067 rc->bits_off_target = rc->optimal_buffer_level; in vp9_change_config()2068 rc->buffer_level = rc->optimal_buffer_level; in vp9_change_config()
163 int64_t optimal_buffer_level; member
105 lrc->optimal_buffer_level = in av1_update_layer_context_change_config()106 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in av1_update_layer_context_change_config()
354 (int)(oxcf->drop_frames_water_mark * rc->optimal_buffer_level / 100); in av1_rc_drop_frame()703 int64_t critical_level = rc->optimal_buffer_level >> 3; in calc_active_worst_quality_one_pass_cbr()719 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()724 buff_lvl_step = ((rc->maximum_buffer_size - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()727 adjustment = (int)((rc->buffer_level - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()734 buff_lvl_step = (rc->optimal_buffer_level - critical_level); in calc_active_worst_quality_one_pass_cbr()737 (rc->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()1891 const int64_t diff = rc->optimal_buffer_level - rc->buffer_level; in av1_calc_pframe_target_size_one_pass_cbr()1892 const int64_t one_pct_bits = 1 + rc->optimal_buffer_level / 100; in av1_calc_pframe_target_size_one_pass_cbr()
162 int64_t optimal_buffer_level; member
1513 rc->optimal_buffer_level = in set_rc_buffer_sizes()
355 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()