Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c683 int one_percent_bits = (int)(1 + cpi->oxcf.optimal_buffer_level / 100); in calc_pframe_target_size()
685 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in calc_pframe_target_size()
686 (cpi->bits_off_target < 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()
751 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level) { in calc_pframe_target_size()
752 if (critical_buffer_level > (cpi->oxcf.optimal_buffer_level >> 2)) { in calc_pframe_target_size()
755 (cpi->oxcf.optimal_buffer_level >> 2)); in calc_pframe_target_size()
767 (cpi->oxcf.optimal_buffer_level * 3 >> 2)); in calc_pframe_target_size()
781 (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()
[all …]
Donyx_if.c195 lc->optimal_buffer_level = cpi->oxcf.optimal_buffer_level; in save_layer_context()
234 cpi->oxcf.optimal_buffer_level = lc->optimal_buffer_level; in restore_layer_context()
280 lc->optimal_buffer_level_in_ms = oxcf->optimal_buffer_level; in init_temporal_layer_context()
286 if (oxcf->optimal_buffer_level == 0) { in init_temporal_layer_context()
287 lc->optimal_buffer_level = lc->target_bandwidth / 8; in init_temporal_layer_context()
289 lc->optimal_buffer_level = in init_temporal_layer_context()
290 rescale((int)(oxcf->optimal_buffer_level), lc->target_bandwidth, 1000); in init_temporal_layer_context()
1402 if (oxcf->optimal_buffer_level == 0) { in update_layer_contexts()
1403 lc->optimal_buffer_level = lc->target_bandwidth / 8; in update_layer_contexts()
1405 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()
1246 (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()
2718 int64_t opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()
2831 (cpi->oxcf.optimal_buffer_level / 100)); in find_next_key_frame()
3084 cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()
3087 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.c458 lrc->optimal_buffer_level / 100); in check_buffer_above_thresh()
486 lrc->optimal_buffer_level / 100); in check_buffer_below_thresh()
530 (int)(drop_frames_water_mark * rc->optimal_buffer_level / 100); in drop_frame()
923 int64_t critical_level = rc->optimal_buffer_level >> 3; in calc_active_worst_quality_one_pass_cbr()
953 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()
960 buff_lvl_step = ((rc->maximum_buffer_size - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()
963 adjustment = (int)((rc->buffer_level - rc->optimal_buffer_level) / in calc_active_worst_quality_one_pass_cbr()
970 buff_lvl_step = (rc->optimal_buffer_level - critical_level); in calc_active_worst_quality_one_pass_cbr()
973 (rc->optimal_buffer_level - rc->buffer_level) / in calc_active_worst_quality_one_pass_cbr()
1925 cpi->rc.buffer_level > cpi->rc.optimal_buffer_level) in vp9_rc_postencode_update_drop_frame()
[all …]
Dvp9_svc_layercontext.c221 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()
222 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
254 lrc->optimal_buffer_level = in vp9_update_layer_context_change_config()
255 (int64_t)(rc->optimal_buffer_level * bitrate_alloc); in vp9_update_layer_context_change_config()
982 lrc->bits_off_target = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()
983 lrc->buffer_level = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()
Dvp9_ratectrl.h152 int64_t optimal_buffer_level; member
Dvp9_encoder.c1483 rc->optimal_buffer_level = in set_rc_buffer_sizes()
2019 rc->bits_off_target = rc->optimal_buffer_level; in vp9_change_config()
2020 rc->buffer_level = rc->optimal_buffer_level; in vp9_change_config()
/external/libaom/libaom/av1/encoder/
Dratectrl.c328 (int)(oxcf->drop_frames_water_mark * rc->optimal_buffer_level / 100); in av1_rc_drop_frame()
649 int64_t critical_level = rc->optimal_buffer_level >> 3; in calc_active_worst_quality_one_pass_cbr()
665 if (rc->buffer_level > rc->optimal_buffer_level) { in calc_active_worst_quality_one_pass_cbr()
670 buff_lvl_step = ((rc->maximum_buffer_size - 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()
680 buff_lvl_step = (rc->optimal_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()
1588 const int64_t one_pct_bits = 1 + rc->optimal_buffer_level / 100; in calc_pframe_target_size_one_pass_cbr()
Dratectrl.h130 int64_t optimal_buffer_level; member
Dencoder.c1200 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.c335 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()