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.c751 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
770 else if (cpi->bits_off_target < 0) in calc_pframe_target_size()
773 percent_low = (int)(100 * -cpi->bits_off_target / 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()
816 critical_buffer_level = cpi->bits_off_target; in calc_pframe_target_size()
871 else if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level) in calc_pframe_target_size()
873 percent_high = (int)((100 * cpi->bits_off_target) in calc_pframe_target_size()
955 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in calc_pframe_target_size()
956 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) in calc_pframe_target_size()
[all …]
Donyx_if.c216 lc->bits_off_target = cpi->bits_off_target; in save_layer_context()
256 cpi->bits_off_target = lc->bits_off_target; in restore_layer_context()
332 lc->bits_off_target = lc->starting_buffer_level; in init_temporal_layer_context()
376 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
390 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1402 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in init_config()
1667 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in vp8_change_config()
1668 cpi->bits_off_target = cpi->oxcf.maximum_buffer_size; in vp8_change_config()
1669 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
3734 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; 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.c251 lrc->bits_off_target += bits_off_for_this_layer; in update_layer_buffer_level()
254 lrc->bits_off_target = in update_layer_buffer_level()
255 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in update_layer_buffer_level()
256 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()
267 rc->bits_off_target -= encoded_frame_size; in update_buffer_level()
269 rc->bits_off_target += rc->avg_frame_bandwidth - encoded_frame_size; in update_buffer_level()
273 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level()
279 rc->bits_off_target = VPXMAX(rc->bits_off_target, -rc->maximum_buffer_size); in update_buffer_level()
281 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
330 rc->bits_off_target = rc->starting_buffer_level; in vp9_rc_init()
[all …]
Dvp9_svc_layercontext.c100 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
166 lrc->bits_off_target = in vp9_update_layer_context_change_config()
167 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
199 lrc->bits_off_target = VPXMIN(lrc->bits_off_target, in vp9_update_layer_context_change_config()
Dvp9_ratectrl.h119 int64_t bits_off_target; member
Dvp9_encoder.c1500 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); in vp9_change_config()
2985 (cpi->rc.starting_buffer_level - cpi->rc.bits_off_target),