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.c685 int one_percent_bits = (int)(1 + cpi->oxcf.optimal_buffer_level / 100); in calc_pframe_target_size()
687 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in calc_pframe_target_size()
688 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()
699 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()
701 (int)((cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / in calc_pframe_target_size()
753 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level) { in calc_pframe_target_size()
754 if (critical_buffer_level > (cpi->oxcf.optimal_buffer_level >> 2)) { in calc_pframe_target_size()
757 (cpi->oxcf.optimal_buffer_level >> 2)); in calc_pframe_target_size()
769 (cpi->oxcf.optimal_buffer_level * 3 >> 2)); in calc_pframe_target_size()
783 (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()
[all …]
Donyx_if.c199 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; in save_layer_context()
237 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in restore_layer_context()
282 lc->optimal_buffer_level_in_ms = oxcf->optimal_buffer_level; in init_temporal_layer_context()
288 if (oxcf->optimal_buffer_level == 0) { in init_temporal_layer_context()
289 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()
291 lc->optimal_buffer_level = in init_temporal_layer_context()
292 rescale((int)(oxcf->optimal_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()
1381 if (oxcf->optimal_buffer_level == 0) { in update_layer_contexts()
1382 lc->optimal_buffer_level = lc->target_bandwidth / 8; in update_layer_contexts()
1384 lc->optimal_buffer_level = rescale( in update_layer_contexts()
[all …]
Dfirstpass.c329 DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()
1247 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, in estimate_kf_group_q()
1764 (cpi->oxcf.optimal_buffer_level / 100); in define_gf_group()
2717 int64_t opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()
2830 (cpi->oxcf.optimal_buffer_level / 100)); in find_next_key_frame()
3083 cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()
3086 cpi->oxcf.optimal_buffer_level / 100)))) { in find_next_key_frame()
Donyx_int.h217 int64_t optimal_buffer_level; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c406 (int)(oxcf->drop_frames_water_mark * rc->optimal_buffer_level / 100); in vp9_rc_drop_frame()
676 int64_t critical_level = rc->optimal_buffer_level >> 3; in calc_active_worst_quality_one_pass_cbr()
704 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()
709 buff_lvl_step = ((rc->maximum_buffer_size - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()
712 adjustment = (int)((rc->buffer_level - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()
719 buff_lvl_step = (rc->optimal_buffer_level - critical_level); in calc_active_worst_quality_one_pass_cbr()
722 (rc->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()
1588 const int64_t diff = rc->optimal_buffer_level - rc->buffer_level; in calc_pframe_target_size_one_pass_cbr()
1589 const int64_t one_pct_bits = 1 + rc->optimal_buffer_level / 100; in calc_pframe_target_size_one_pass_cbr()
1989 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.c179 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()
180 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
212 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()
213 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
Dvp9_encoder.c1314 rc->optimal_buffer_level = in set_rc_buffer_sizes()
/external/libvpx/libvpx/vp8/common/
Donyx.h163 int64_t optimal_buffer_level; member
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c336 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()