Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dratectrl.c179 AOMMAX(rc->min_frame_bandwidth, rc->avg_frame_bandwidth >> 5); in av1_rc_clamp_pframe_target_size()
196 rc->avg_frame_bandwidth * oxcf->rc_max_inter_bitrate_pct / 100; in av1_rc_clamp_pframe_target_size()
208 rc->avg_frame_bandwidth * oxcf->rc_max_intra_bitrate_pct / 100; in av1_rc_clamp_iframe_target_size()
224 rc->bits_off_target += rc->avg_frame_bandwidth - encoded_frame_size; in update_buffer_level()
276 rc->rolling_target_bits = rc->avg_frame_bandwidth; in av1_rc_init()
277 rc->rolling_actual_bits = rc->avg_frame_bandwidth; in av1_rc_init()
278 rc->long_rolling_target_bits = rc->avg_frame_bandwidth; in av1_rc_init()
279 rc->long_rolling_actual_bits = rc->avg_frame_bandwidth; in av1_rc_init()
1442 rc->total_target_bits += cm->show_frame ? rc->avg_frame_bandwidth : 0; in av1_rc_postencode_update()
1483 target = (rc->avg_frame_bandwidth * rc->baseline_gf_interval * af_ratio) / in calc_pframe_target_size_one_pass_vbr()
[all …]
Dratectrl.h95 int avg_frame_bandwidth; // Average frame size target for clip member
Dpass2_strategy.c130 int64_t max_bits = ((int64_t)rc->avg_frame_bandwidth * in frame_max_bits()
1747 rc->projected_frame_size > (2 * rc->avg_frame_bandwidth)) in av1_twopass_postencode_update()
1770 AOMMIN(rc->vbr_bits_off_target_fast, (4 * rc->avg_frame_bandwidth)); in av1_twopass_postencode_update()
1773 if (rc->avg_frame_bandwidth) { in av1_twopass_postencode_update()
1775 (int)(rc->vbr_bits_off_target_fast * 8 / rc->avg_frame_bandwidth); in av1_twopass_postencode_update()
Daq_cyclicrefresh.c391 if (rc->avg_frame_bandwidth < 3000) { in av1_cyclic_refresh_update_parameters()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c216 VPXMAX(rc->min_frame_bandwidth, rc->avg_frame_bandwidth >> 5); in vp9_rc_clamp_pframe_target_size()
232 rc->avg_frame_bandwidth * oxcf->rc_max_inter_bitrate_pct / 100; in vp9_rc_clamp_pframe_target_size()
243 rc->avg_frame_bandwidth * oxcf->rc_max_intra_bitrate_pct / 100; in vp9_rc_clamp_iframe_target_size()
253 rc->bits_off_target += rc->avg_frame_bandwidth; in update_buffer_level_preencode()
380 rc->rolling_target_bits = rc->avg_frame_bandwidth; in vp9_rc_init()
381 rc->rolling_actual_bits = rc->avg_frame_bandwidth; in vp9_rc_init()
382 rc->long_rolling_target_bits = rc->avg_frame_bandwidth; in vp9_rc_init()
383 rc->long_rolling_actual_bits = rc->avg_frame_bandwidth; in vp9_rc_init()
557 cpi->rc.buffer_level + cpi->rc.avg_frame_bandwidth - (int64_t)frame_size; in post_encode_drop_cbr()
1833 rc->total_target_bits += cm->show_frame ? rc->avg_frame_bandwidth : 0; in vp9_rc_postencode_update()
[all …]
Dvp9_svc_layercontext.c229 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
267 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_layer_context_change_config()
298 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_temporal_layer_framerate()
302 lc->avg_frame_size = lrc->avg_frame_bandwidth; in vp9_update_temporal_layer_framerate()
320 lrc->avg_frame_bandwidth = (int)(lc->target_bandwidth / lc->framerate); in vp9_update_spatial_layer_framerate()
322 (int)(lrc->avg_frame_bandwidth * oxcf->two_pass_vbrmin_section / 100); in vp9_update_spatial_layer_framerate()
323 lrc->max_frame_bandwidth = (int)(((int64_t)lrc->avg_frame_bandwidth * in vp9_update_spatial_layer_framerate()
973 if (lrc->avg_frame_bandwidth > (3 * lrc->last_avg_frame_bandwidth >> 1) || in vp9_svc_check_reset_layer_rc_flag()
974 lrc->avg_frame_bandwidth < (lrc->last_avg_frame_bandwidth >> 1)) { in vp9_svc_check_reset_layer_rc_flag()
Dvp9_ratectrl.h117 int avg_frame_bandwidth; // Average frame size target for clip member
Dvp9_firstpass.c300 int64_t max_bits = ((int64_t)rc->avg_frame_bandwidth * in frame_max_bits()
3327 rc->projected_frame_size > (2 * rc->avg_frame_bandwidth)) in vp9_twopass_postencode_update()
3352 VPXMIN(rc->vbr_bits_off_target_fast, (4 * rc->avg_frame_bandwidth)); in vp9_twopass_postencode_update()
3355 if (rc->avg_frame_bandwidth) { in vp9_twopass_postencode_update()
3357 (int)(rc->vbr_bits_off_target_fast * 8 / rc->avg_frame_bandwidth); in vp9_twopass_postencode_update()
Dvp9_aq_cyclicrefresh.c533 if (rc->avg_frame_bandwidth < 3000) { in vp9_cyclic_refresh_update_parameters()
Dvp9_encoder.c2015 if (rc->avg_frame_bandwidth > (3 * rc->last_avg_frame_bandwidth >> 1) || in vp9_change_config()
2016 rc->avg_frame_bandwidth < (rc->last_avg_frame_bandwidth >> 1)) { in vp9_change_config()
2899 VPXMAX(rc->this_frame_target, rc->avg_frame_bandwidth));
6588 int bitrate = cpi->rc.avg_frame_bandwidth / 40;