Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c686 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()
703 else if (cpi->bits_off_target < 0) { in calc_pframe_target_size()
706 (int)(100 * -cpi->bits_off_target / (cpi->total_byte_count * 8)); in calc_pframe_target_size()
734 critical_buffer_level = (cpi->buffer_level < cpi->bits_off_target) in calc_pframe_target_size()
736 : cpi->bits_off_target; in calc_pframe_target_size()
745 critical_buffer_level = cpi->bits_off_target; in calc_pframe_target_size()
785 } else if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level) { in calc_pframe_target_size()
787 (int)((100 * cpi->bits_off_target) / (cpi->total_byte_count * 8)); in calc_pframe_target_size()
861 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in calc_pframe_target_size()
862 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in calc_pframe_target_size()
[all …]
Donyx_if.c201 lc->bits_off_target = cpi->bits_off_target; in save_layer_context()
240 cpi->bits_off_target = lc->bits_off_target; in restore_layer_context()
313 lc->bits_off_target = lc->starting_buffer_level; in init_temporal_layer_context()
352 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
365 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1351 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in init_config()
1592 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in vp8_change_config()
1593 cpi->bits_off_target = cpi->oxcf.maximum_buffer_size; in vp8_change_config()
1594 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
3361 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in encode_frame_to_data_rate()
[all …]
Donyx_int.h226 int64_t bits_off_target; member
400 int64_t bits_off_target; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c253 rc->bits_off_target += rc->avg_frame_bandwidth; in update_buffer_level_preencode()
255 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level_preencode()
256 rc->buffer_level = rc->bits_off_target; in update_buffer_level_preencode()
282 lrc->bits_off_target += (int)(lc->target_bandwidth / framerate_pts); in update_buffer_level_svc_preencode()
284 lrc->bits_off_target += (int)(lc->target_bandwidth / lc->framerate); in update_buffer_level_svc_preencode()
287 lrc->bits_off_target = in update_buffer_level_svc_preencode()
288 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in update_buffer_level_svc_preencode()
289 lrc->buffer_level = lrc->bits_off_target; in update_buffer_level_svc_preencode()
291 cpi->rc.bits_off_target = lrc->bits_off_target; in update_buffer_level_svc_preencode()
308 lrc->bits_off_target -= encoded_frame_size; in update_layer_buffer_level_postencode()
[all …]
Dvp9_svc_layercontext.c149 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
225 lrc->bits_off_target = in vp9_update_layer_context_change_config()
226 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
258 lrc->bits_off_target = in vp9_update_layer_context_change_config()
259 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
982 lrc->bits_off_target = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()
Dvp9_ratectrl.h129 int64_t bits_off_target; member
Dvp9_encoder.c1945 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); in vp9_change_config()
2019 rc->bits_off_target = rc->optimal_buffer_level; in vp9_change_config()
3386 (cpi->rc.starting_buffer_level - cpi->rc.bits_off_target),
/external/libaom/libaom/av1/encoder/
Dratectrl.h107 int64_t bits_off_target; member
Dratectrl.c222 rc->bits_off_target -= encoded_frame_size; in update_buffer_level()
224 rc->bits_off_target += rc->avg_frame_bandwidth - encoded_frame_size; in update_buffer_level()
227 rc->bits_off_target = AOMMIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level()
228 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
274 rc->bits_off_target = rc->starting_buffer_level; in av1_rc_init()
Dencoder.c2489 rc->bits_off_target = AOMMIN(rc->bits_off_target, rc->maximum_buffer_size); in av1_change_config()