Home
last modified time | relevance | path

Searched refs:buffer_level (Results 1 – 8 of 8) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c750 if ((cpi->buffer_level < 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()
805 (cpi->buffer_level < cpi->bits_off_target) in calc_pframe_target_size()
806 ? cpi->buffer_level : cpi->bits_off_target; in calc_pframe_target_size()
865 && (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
867 percent_high = (int)((cpi->buffer_level in calc_pframe_target_size()
942 if ((cpi->buffer_level < 0)) in calc_pframe_target_size()
949 (cpi->buffer_level * 100) / cpi->oxcf.optimal_buffer_level); in calc_pframe_target_size()
958 cpi->buffer_level = cpi->bits_off_target; in calc_pframe_target_size()
[all …]
Dfirstpass.c357 …double buffer_fullness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.o… in frame_max_bits()
1324 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, Q); in estimate_kf_group_q()
1894 if (cpi->buffer_level > df_buffer_level) in define_gf_group()
1895 …max_boost = ((double)((cpi->buffer_level - df_buffer_level) * 2 / 3) * 16.0) / DOUBLE_DIVIDE_CHECK… in define_gf_group()
1899 else if (cpi->buffer_level > 0) in define_gf_group()
1901 …max_boost = ((double)(cpi->buffer_level * 2 / 3) * 16.0) / DOUBLE_DIVIDE_CHECK((double)cpi->av_per… in define_gf_group()
2249 if (cpi->twopass.gf_bits > (int)(cpi->buffer_level >> 1)) in define_gf_group()
2250 cpi->twopass.gf_bits = (int)(cpi->buffer_level >> 1); in define_gf_group()
2916 int64_t buffer_lvl = cpi->buffer_level; in find_next_key_frame()
2933 if (cpi->buffer_level >= high_water_mark) in find_next_key_frame()
[all …]
Donyx_if.c215 lc->buffer_level = cpi->buffer_level; in save_layer_context()
255 cpi->buffer_level = lc->buffer_level; in restore_layer_context()
331 lc->buffer_level = lc->starting_buffer_level; in init_temporal_layer_context()
374 lc->buffer_level = cpi->oxcf.starting_buffer_level_in_ms * in reset_temporal_layer_change()
376 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
388 lc->buffer_level = cpi->oxcf.starting_buffer_level_in_ms * in reset_temporal_layer_change()
390 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1401 cpi->buffer_level = cpi->oxcf.starting_buffer_level; in init_config()
1669 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
2772 …if (cpi->buffer_level < (cpi->oxcf.resample_down_water_mark * cpi->oxcf.optimal_buffer_level / 100… in resize_key_frame()
[all …]
Donyx_int.h249 int64_t buffer_level; member
423 int64_t buffer_level; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c256 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()
281 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
329 rc->buffer_level = rc->starting_buffer_level; in vp9_rc_init()
377 if (rc->buffer_level < 0) { in vp9_rc_drop_frame()
385 if ((rc->buffer_level > drop_mark) && in vp9_rc_drop_frame()
388 } else if (rc->buffer_level <= drop_mark && in vp9_rc_drop_frame()
659 if (rc->buffer_level > rc->optimal_buffer_level) { 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()
671 } else if (rc->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()
[all …]
Dvp9_svc_layercontext.c98 lrc->buffer_level = oxcf->starting_buffer_level_ms * in vp9_init_layer_context()
100 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
168 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
201 lrc->buffer_level = VPXMIN(lrc->buffer_level, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
Dvp9_ratectrl.h118 int64_t buffer_level; member
Dvp9_encoder.c1501 rc->buffer_level = VPXMIN(rc->buffer_level, rc->maximum_buffer_size); in vp9_change_config()