Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/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.c229 lc->bits_off_target = cpi->bits_off_target; in save_layer_context()
269 cpi->bits_off_target = lc->bits_off_target; in restore_layer_context()
345 lc->bits_off_target = lc->starting_buffer_level; in init_temporal_layer_context()
389 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
403 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1358 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in init_config()
1630 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in vp8_change_config()
1631 cpi->bits_off_target = cpi->oxcf.maximum_buffer_size; in vp8_change_config()
1632 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
3558 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in encode_frame_to_data_rate()
[all …]
Donyx_int.h253 int64_t bits_off_target; member
427 int64_t bits_off_target; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c59 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
95 lrc->bits_off_target = MIN(lrc->bits_off_target, lc->maximum_buffer_size); in vp9_update_layer_context_change_config()
Dvp9_ratectrl.c209 lrc->bits_off_target += bits_off_for_this_layer; in update_layer_buffer_level()
212 lrc->bits_off_target = MIN(lrc->bits_off_target, lc->maximum_buffer_size); in update_layer_buffer_level()
213 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()
225 rc->bits_off_target -= encoded_frame_size; in update_buffer_level()
227 rc->bits_off_target += rc->av_per_frame_bandwidth - encoded_frame_size; in update_buffer_level()
231 rc->bits_off_target = MIN(rc->bits_off_target, oxcf->maximum_buffer_size); in update_buffer_level()
232 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
Dvp9_ratectrl.h66 int64_t bits_off_target; member
Dvp9_onyx_if.c776 rc->bits_off_target = oxcf->starting_buffer_level; in init_rate_control()
933 rc->bits_off_target = MIN(rc->bits_off_target, cpi->oxcf.maximum_buffer_size); in vp9_change_config()
2201 (cpi->oxcf.starting_buffer_level - cpi->rc.bits_off_target),