Searched refs:optimal_buffer_level (Results 1 – 6 of 6) sorted by relevance
843 int one_percent_bits = 1 + cpi->oxcf.optimal_buffer_level / 100; in vp8_calc_pframe_target_size()845 if ((cpi->buffer_level < cpi->oxcf.optimal_buffer_level) || in vp8_calc_pframe_target_size()846 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) in vp8_calc_pframe_target_size()856 (cpi->buffer_level < cpi->oxcf.optimal_buffer_level)) in vp8_calc_pframe_target_size()859 (cpi->oxcf.optimal_buffer_level - cpi->buffer_level) / in vp8_calc_pframe_target_size()914 if (critical_buffer_level < cpi->oxcf.optimal_buffer_level) in vp8_calc_pframe_target_size()917 (cpi->oxcf.optimal_buffer_level >> 2) ) in vp8_calc_pframe_target_size()923 (cpi->oxcf.optimal_buffer_level >> 2)); in vp8_calc_pframe_target_size()934 (cpi->oxcf.optimal_buffer_level*3>>2)); in vp8_calc_pframe_target_size()955 if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level) in vp8_calc_pframe_target_size()[all …]
45 DOTHIS(O, optimal_buffer_level )\
1652 cpi->oxcf.optimal_buffer_level = 60000; in vp8_change_config()1660 if (cpi->oxcf.optimal_buffer_level == 0) in vp8_change_config()1661 cpi->oxcf.optimal_buffer_level = cpi->oxcf.target_bandwidth / 8; in vp8_change_config()1663 cpi->oxcf.optimal_buffer_level = in vp8_change_config()1664 rescale(cpi->oxcf.optimal_buffer_level, in vp8_change_config()1701 cpi->buffered_mode = (cpi->oxcf.optimal_buffer_level > 0) ? TRUE : FALSE; in vp8_change_config()2677 …f (cpi->buffer_level < (cpi->oxcf.resample_down_water_mark * cpi->oxcf.optimal_buffer_level / 100)) in resize_key_frame()2683 … if (cpi->buffer_level > (cpi->oxcf.resample_up_water_mark * cpi->oxcf.optimal_buffer_level / 100)) in resize_key_frame()3349 int drop_mark = cpi->oxcf.drop_frames_water_mark * cpi->oxcf.optimal_buffer_level / 100; in encode_frame_to_data_rate()3567 (cpi->buffer_level >= cpi->oxcf.optimal_buffer_level) && cpi->buffered_mode) in encode_frame_to_data_rate()[all …]
251 …ss_ratio = (double)cpi->buffer_level / DOUBLE_DIVIDE_CHECK((double)cpi->oxcf.optimal_buffer_level); in frame_max_bits()1083 (double)cpi->buffer_level / (double)cpi->oxcf.optimal_buffer_level, Q); in estimate_kf_group_q()1541 (cpi->oxcf.optimal_buffer_level / 100); in define_gf_group()2443 int opt_buffer_lvl = cpi->oxcf.optimal_buffer_level; in find_next_key_frame()2570 … int df_buffer_level = cpi->oxcf.drop_frames_water_mark * (cpi->oxcf.optimal_buffer_level / 100); in find_next_key_frame()2789 …cted_buffer_level < (cpi->oxcf.resample_down_water_mark * cpi->oxcf.optimal_buffer_level / 100)) || in find_next_key_frame()2790 …ojected_buffer_level < (cpi->oxcf.resample_up_water_mark * cpi->oxcf.optimal_buffer_level / 100)))) in find_next_key_frame()
147 int optimal_buffer_level; member
323 oxcf->optimal_buffer_level = cfg.rc_buf_optimal_sz; in set_vp8e_config()