Home
last modified time | relevance | path

Searched refs:bits_off_target (Results 1 – 7 of 7) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c743 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
762 else if (cpi->bits_off_target < 0) in calc_pframe_target_size()
765 percent_low = (int)(100 * -cpi->bits_off_target / 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()
808 critical_buffer_level = cpi->bits_off_target; in calc_pframe_target_size()
863 else if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level) in calc_pframe_target_size()
865 percent_high = (int)((100 * cpi->bits_off_target) in calc_pframe_target_size()
947 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in calc_pframe_target_size()
948 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) in calc_pframe_target_size()
[all …]
Donyx_if.c232 lc->bits_off_target = cpi->bits_off_target; in save_layer_context()
272 cpi->bits_off_target = lc->bits_off_target; in restore_layer_context()
348 lc->bits_off_target = lc->starting_buffer_level; in init_temporal_layer_context()
392 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
406 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1388 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in init_config()
1659 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in vp8_change_config()
1660 cpi->bits_off_target = cpi->oxcf.maximum_buffer_size; in vp8_change_config()
1661 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
3600 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in encode_frame_to_data_rate()
[all …]
Donyx_int.h250 int64_t bits_off_target; member
424 int64_t bits_off_target; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c159 lrc->bits_off_target += bits_off_for_this_layer; in update_layer_buffer_level()
162 lrc->bits_off_target = MIN(lrc->bits_off_target, lrc->maximum_buffer_size); in update_layer_buffer_level()
163 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()
174 rc->bits_off_target -= encoded_frame_size; in update_buffer_level()
176 rc->bits_off_target += rc->avg_frame_bandwidth - encoded_frame_size; in update_buffer_level()
180 rc->bits_off_target = MIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level()
181 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
205 rc->bits_off_target = rc->starting_buffer_level; in vp9_rc_init()
Dvp9_svc_layercontext.c74 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
115 lrc->bits_off_target = MIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
Dvp9_ratectrl.h76 int64_t bits_off_target; member
Dvp9_encoder.c610 rc->bits_off_target = MIN(rc->bits_off_target, rc->maximum_buffer_size); in vp9_change_config()
1662 (cpi->rc.starting_buffer_level - cpi->rc.bits_off_target),