Searched refs:buffer_level (Results 1 – 9 of 9) sorted by relevance
742 if ((cpi->buffer_level < 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()797 (cpi->buffer_level < cpi->bits_off_target) in calc_pframe_target_size()798 ? cpi->buffer_level : cpi->bits_off_target; in calc_pframe_target_size()857 && (cpi->buffer_level > cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()859 percent_high = (int)((cpi->buffer_level in calc_pframe_target_size()934 if ((cpi->buffer_level < 0)) in calc_pframe_target_size()941 (cpi->buffer_level * 100) / cpi->oxcf.optimal_buffer_level); in calc_pframe_target_size()950 cpi->buffer_level = cpi->bits_off_target; in calc_pframe_target_size()[all …]
357 …double buffer_fullness_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.o… in frame_max_bits()1323 (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()2917 int64_t buffer_lvl = cpi->buffer_level; in find_next_key_frame()2934 if (cpi->buffer_level >= high_water_mark) in find_next_key_frame()[all …]
228 lc->buffer_level = cpi->buffer_level; in save_layer_context()268 cpi->buffer_level = lc->buffer_level; in restore_layer_context()344 lc->buffer_level = lc->starting_buffer_level; in init_temporal_layer_context()387 lc->buffer_level = cpi->oxcf.starting_buffer_level_in_ms * in reset_temporal_layer_change()389 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()401 lc->buffer_level = cpi->oxcf.starting_buffer_level_in_ms * in reset_temporal_layer_change()403 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()1357 cpi->buffer_level = cpi->oxcf.starting_buffer_level; in init_config()1632 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()2700 …if (cpi->buffer_level < (cpi->oxcf.resample_down_water_mark * cpi->oxcf.optimal_buffer_level / 100… in resize_key_frame()[all …]
252 int64_t buffer_level; member426 int64_t buffer_level; member
57 lrc->buffer_level = vp9_rescale((int)(oxcf->starting_buffer_level), in vp9_init_layer_context()59 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()96 lrc->buffer_level = MIN(lrc->buffer_level, lc->maximum_buffer_size); in vp9_update_layer_context_change_config()
213 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()232 rc->buffer_level = rc->bits_off_target; in update_buffer_level()246 if (rc->buffer_level < 0) { in vp9_rc_drop_frame()254 if ((rc->buffer_level > drop_mark) && in vp9_rc_drop_frame()257 } else if (rc->buffer_level <= drop_mark && in vp9_rc_drop_frame()460 if (rc->buffer_level > oxcf->optimal_buffer_level) { 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()472 } else if (rc->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()
65 int64_t buffer_level; member
775 rc->buffer_level = oxcf->starting_buffer_level; in init_rate_control()934 rc->buffer_level = MIN(rc->buffer_level, cpi->oxcf.maximum_buffer_size); in vp9_change_config()
601 uint32_t buffer_level[3]; member