Home
last modified time | relevance | path

Searched refs:optimal_buffer_level (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c748 (1 + cpi->oxcf.optimal_buffer_level / 100); in calc_pframe_target_size()
750 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in calc_pframe_target_size()
751 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
763 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
766 ((cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / in calc_pframe_target_size()
822 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level) in calc_pframe_target_size()
825 (cpi->oxcf.optimal_buffer_level >> 2) ) in calc_pframe_target_size()
831 (cpi->oxcf.optimal_buffer_level >> 2)); in calc_pframe_target_size()
843 (cpi->oxcf.optimal_buffer_level*3>>2)); in calc_pframe_target_size()
865 && (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
[all …]
Donyx_if.c210 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; in save_layer_context()
250 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in restore_layer_context()
299 lc->optimal_buffer_level_in_ms = oxcf->optimal_buffer_level; in init_temporal_layer_context()
306 if (oxcf->optimal_buffer_level == 0) in init_temporal_layer_context()
307 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()
309 lc->optimal_buffer_level = in init_temporal_layer_context()
310 rescale((int)(oxcf->optimal_buffer_level), in init_temporal_layer_context()
1461 if (oxcf->optimal_buffer_level == 0) in update_layer_contexts()
1462 lc->optimal_buffer_level = lc->target_bandwidth / 8; in update_layer_contexts()
1464 lc->optimal_buffer_level = rescale( in update_layer_contexts()
[all …]
Dfirstpass.c357 …ss_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()
1324 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, Q); in estimate_kf_group_q()
1892 (cpi->oxcf.optimal_buffer_level / 100); in define_gf_group()
2915 int64_t opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()
3039 * (cpi->oxcf.optimal_buffer_level / 100)); in find_next_key_frame()
3297 …cted_buffer_level < (cpi->oxcf.resample_down_water_mark * cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()
3298 …ojected_buffer_level < (cpi->oxcf.resample_up_water_mark * cpi->oxcf.optimal_buffer_level / 100)))) in find_next_key_frame()
Donyx_int.h241 int64_t optimal_buffer_level; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c384 rc->optimal_buffer_level / 100); in vp9_rc_drop_frame()
641 int64_t critical_level = rc->optimal_buffer_level >> 3; in calc_active_worst_quality_one_pass_cbr()
659 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()
665 rc->optimal_buffer_level) / max_adjustment_down); in calc_active_worst_quality_one_pass_cbr()
667 adjustment = (int)((rc->buffer_level - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()
674 buff_lvl_step = (rc->optimal_buffer_level - critical_level); in calc_active_worst_quality_one_pass_cbr()
677 (rc->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()
1468 const int64_t diff = rc->optimal_buffer_level - rc->buffer_level; in calc_pframe_target_size_one_pass_cbr()
1469 const int64_t one_pct_bits = 1 + rc->optimal_buffer_level / 100; in calc_pframe_target_size_one_pass_cbr()
1860 if (cpi->rc.buffer_level < (int)(30 * rc->optimal_buffer_level / 100)) in vp9_resize_one_pass_cbr()
[all …]
Dvp9_ratectrl.h142 int64_t optimal_buffer_level; member
Dvp9_svc_layercontext.c162 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()
163 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
195 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()
196 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
Dvp9_encoder.c818 rc->optimal_buffer_level = (optimal == 0) ? bandwidth / 8 in set_rc_buffer_sizes()
/external/libvpx/libvpx/vp8/common/
Donyx.h173 int64_t optimal_buffer_level; member
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c355 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()