Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c690 (cpi->bits_off_target < cpi->oxcf.optimal_buffer_level)) { in calc_pframe_target_size()
707 else if (cpi->bits_off_target < 0) { in calc_pframe_target_size()
710 (int)(100 * -cpi->bits_off_target / (cpi->total_byte_count * 8)); in calc_pframe_target_size()
738 critical_buffer_level = (cpi->buffer_level < cpi->bits_off_target) in calc_pframe_target_size()
740 : cpi->bits_off_target; in calc_pframe_target_size()
749 critical_buffer_level = cpi->bits_off_target; in calc_pframe_target_size()
789 } else if (cpi->bits_off_target > cpi->oxcf.optimal_buffer_level) { in calc_pframe_target_size()
791 (int)((100 * cpi->bits_off_target) / (cpi->total_byte_count * 8)); in calc_pframe_target_size()
865 cpi->bits_off_target += cpi->av_per_frame_bandwidth; in calc_pframe_target_size()
866 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in calc_pframe_target_size()
[all …]
Donyx_if.c198 lc->bits_off_target = cpi->bits_off_target; in save_layer_context()
239 cpi->bits_off_target = lc->bits_off_target; in restore_layer_context()
314 lc->bits_off_target = lc->starting_buffer_level; in init_temporal_layer_context()
353 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
366 lc->bits_off_target = lc->buffer_level; in reset_temporal_layer_change()
1352 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in init_config()
1600 if (cpi->bits_off_target > cpi->oxcf.maximum_buffer_size) { in vp8_change_config()
1601 cpi->bits_off_target = cpi->oxcf.maximum_buffer_size; in vp8_change_config()
1602 cpi->buffer_level = cpi->bits_off_target; in vp8_change_config()
3365 cpi->bits_off_target = cpi->oxcf.starting_buffer_level; in encode_frame_to_data_rate()
[all …]
Donyx_int.h229 int64_t bits_off_target; member
404 int64_t bits_off_target; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c254 rc->bits_off_target += rc->avg_frame_bandwidth; in update_buffer_level_preencode()
256 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level_preencode()
257 rc->buffer_level = rc->bits_off_target; in update_buffer_level_preencode()
283 lrc->bits_off_target += (int)(lc->target_bandwidth / framerate_pts); in update_buffer_level_svc_preencode()
285 lrc->bits_off_target += (int)(lc->target_bandwidth / lc->framerate); in update_buffer_level_svc_preencode()
288 lrc->bits_off_target = in update_buffer_level_svc_preencode()
289 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in update_buffer_level_svc_preencode()
290 lrc->buffer_level = lrc->bits_off_target; in update_buffer_level_svc_preencode()
292 cpi->rc.bits_off_target = lrc->bits_off_target; in update_buffer_level_svc_preencode()
309 lrc->bits_off_target -= encoded_frame_size; in update_layer_buffer_level_postencode()
[all …]
Dvp9_ratectrl.h129 int64_t bits_off_target; member
Dvp9_svc_layercontext.c151 lrc->bits_off_target = lrc->buffer_level; in vp9_init_layer_context()
227 lrc->bits_off_target = in vp9_update_layer_context_change_config()
228 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
260 lrc->bits_off_target = in vp9_update_layer_context_change_config()
261 VPXMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in vp9_update_layer_context_change_config()
1038 lrc->bits_off_target = lrc->optimal_buffer_level; in vp9_svc_check_reset_layer_rc_flag()
Dvp9_encoder.c1993 rc->bits_off_target = VPXMIN(rc->bits_off_target, rc->maximum_buffer_size); in vp9_change_config()
2067 rc->bits_off_target = rc->optimal_buffer_level; in vp9_change_config()
3586 (cpi->rc.starting_buffer_level - cpi->rc.bits_off_target),
/external/libaom/libaom/av1/encoder/
Dsvc_layercontext.c57 lrc->bits_off_target = lrc->buffer_level; in av1_init_layer_context()
109 lrc->bits_off_target = in av1_update_layer_context_change_config()
110 AOMMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in av1_update_layer_context_change_config()
Dratectrl.c231 lrc->bits_off_target += in update_layer_buffer_level()
234 lrc->bits_off_target = in update_layer_buffer_level()
235 AOMMIN(lrc->bits_off_target, lrc->maximum_buffer_size); in update_layer_buffer_level()
236 lrc->buffer_level = lrc->bits_off_target; in update_layer_buffer_level()
246 rc->bits_off_target -= encoded_frame_size; in update_buffer_level()
248 rc->bits_off_target += rc->avg_frame_bandwidth - encoded_frame_size; in update_buffer_level()
251 rc->bits_off_target = AOMMIN(rc->bits_off_target, rc->maximum_buffer_size); in update_buffer_level()
252 rc->buffer_level = rc->bits_off_target; in update_buffer_level()
300 rc->bits_off_target = rc->starting_buffer_level; in av1_rc_init()
Dratectrl.h139 int64_t bits_off_target; member
Dencoder.c2906 rc->bits_off_target = AOMMIN(rc->bits_off_target, rc->maximum_buffer_size); in av1_change_config()