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.c749 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) in calc_pframe_target_size()
768 else if (cpi->bits_off_target < 0) in calc_pframe_target_size()
771 percent_low = (int)(100 * -cpi->bits_off_target / in calc_pframe_target_size()
803 (cpi->buffer_level < cpi->bits_off_target) in calc_pframe_target_size()
804 ? cpi->buffer_level : cpi->bits_off_target; in calc_pframe_target_size()
814 critical_buffer_level = cpi->bits_off_target; in calc_pframe_target_size()
869 else if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level) in calc_pframe_target_size()
871 percent_high = (int)((100 * cpi->bits_off_target) in calc_pframe_target_size()
953 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in calc_pframe_target_size()
954 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) in calc_pframe_target_size()
[all …]
Donyx_if.c215 lc->bits_off_target = cpi->bits_off_target; in save_layer_context()
255 cpi->bits_off_target = lc->bits_off_target; in restore_layer_context()
331 lc->bits_off_target = lc->starting_buffer_level; in init_temporal_layer_context()
375 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
389 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1426 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in init_config()
1691 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in vp8_change_config()
1692 cpi->bits_off_target = cpi->oxcf.maximum_buffer_size; in vp8_change_config()
1693 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
3756 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.c250 lrc->bits_off_target += bits_off_for_this_layer; in update_layer_buffer_level()
253 lrc->bits_off_target = MIN(lrc->bits_off_target, lrc->maximum_buffer_size); in update_layer_buffer_level()
254 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()
265 rc->bits_off_target -= encoded_frame_size; in update_buffer_level()
267 rc->bits_off_target += rc->avg_frame_bandwidth - encoded_frame_size; in update_buffer_level()
271 rc->bits_off_target = MIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level()
272 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
321 rc->bits_off_target = rc->starting_buffer_level; in vp9_rc_init()
1871 rc->bits_off_target = rc->optimal_buffer_level; in vp9_resize_one_pass_cbr()
1980 rc->bits_off_target = rc->optimal_buffer_level; in vp9_encodedframe_overshoot()
Dvp9_svc_layercontext.c95 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
143 lrc->bits_off_target = in vp9_update_layer_context_change_config()
144 MIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
176 lrc->bits_off_target = MIN(lrc->bits_off_target, in vp9_update_layer_context_change_config()
Dvp9_ratectrl.h104 int64_t bits_off_target; member
Dvp9_encoder.c1493 rc->bits_off_target = MIN(rc->bits_off_target, rc->maximum_buffer_size); in vp9_change_config()
2961 (cpi->rc.starting_buffer_level - cpi->rc.bits_off_target),