Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c91 lc->optimal_buffer_level = in vp9_update_layer_context_change_config()
92 (int64_t)(oxcf->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
176 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in vp9_restore_layer_context()
195 lc->optimal_buffer_level = oxcf->optimal_buffer_level; in vp9_save_layer_context()
Dvp9_svc_layercontext.h26 int64_t optimal_buffer_level; member
Dvp9_ratectrl.c253 oxcf->optimal_buffer_level / 100); in vp9_rc_drop_frame()
448 int64_t critical_level = oxcf->optimal_buffer_level >> 2; in calc_active_worst_quality_one_pass_cbr()
460 if (rc->buffer_level > oxcf->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()
466 oxcf->optimal_buffer_level) / max_adjustment_down); in calc_active_worst_quality_one_pass_cbr()
468 adjustment = (int)((rc->buffer_level - oxcf->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()
475 buff_lvl_step = (oxcf->optimal_buffer_level - critical_level); in calc_active_worst_quality_one_pass_cbr()
479 (oxcf->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()
1236 const int64_t diff = oxcf->optimal_buffer_level - rc->buffer_level; in calc_pframe_target_size_one_pass_cbr()
1237 const int64_t one_pct_bits = 1 + oxcf->optimal_buffer_level / 100; in calc_pframe_target_size_one_pass_cbr()
Dvp9_onyx_int.h221 int64_t optimal_buffer_level; member
Dvp9_onyx_if.c906 cpi->oxcf.optimal_buffer_level = 60000; in vp9_change_config()
918 if (cpi->oxcf.optimal_buffer_level == 0) in vp9_change_config()
919 cpi->oxcf.optimal_buffer_level = cpi->oxcf.target_bandwidth / 8; in vp9_change_config()
921 cpi->oxcf.optimal_buffer_level = in vp9_change_config()
922 vp9_rescale(cpi->oxcf.optimal_buffer_level, in vp9_change_config()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dratectrl.c740 (1 + cpi->oxcf.optimal_buffer_level / 100); in calc_pframe_target_size()
742 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in calc_pframe_target_size()
743 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
755 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
758 ((cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / in calc_pframe_target_size()
814 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level) in calc_pframe_target_size()
817 (cpi->oxcf.optimal_buffer_level >> 2) ) in calc_pframe_target_size()
823 (cpi->oxcf.optimal_buffer_level >> 2)); in calc_pframe_target_size()
835 (cpi->oxcf.optimal_buffer_level*3>>2)); in calc_pframe_target_size()
857 && (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
[all …]
Donyx_if.c223 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; in save_layer_context()
263 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in restore_layer_context()
312 lc->optimal_buffer_level_in_ms = oxcf->optimal_buffer_level; in init_temporal_layer_context()
319 if (oxcf->optimal_buffer_level == 0) in init_temporal_layer_context()
320 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()
322 lc->optimal_buffer_level = in init_temporal_layer_context()
323 rescale((int)(oxcf->optimal_buffer_level), in init_temporal_layer_context()
1417 if (oxcf->optimal_buffer_level == 0) in update_layer_contexts()
1418 lc->optimal_buffer_level = lc->target_bandwidth / 8; in update_layer_contexts()
1420 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()
1323 (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()
2916 int64_t opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()
3041 * (cpi->oxcf.optimal_buffer_level / 100)); in find_next_key_frame()
3299 …cted_buffer_level < (cpi->oxcf.resample_down_water_mark * cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()
3300 …ojected_buffer_level < (cpi->oxcf.resample_up_water_mark * cpi->oxcf.optimal_buffer_level / 100)))) in find_next_key_frame()
Donyx_int.h244 int64_t optimal_buffer_level; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Donyx.h161 int64_t optimal_buffer_level; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/
Dvp8_cx_iface.c359 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_cx_iface.c327 oxcf->optimal_buffer_level = cfg->rc_buf_optimal_sz; in set_vp9e_config()