Home
last modified time | relevance | path

Searched refs:frames_to_key (Results 1 – 25 of 25) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c820 const int frames = rc->frames_to_key - 1; in adjust_boost_bits_for_target_level()
959 (rc->frames_to_key - frame_index >= rc->min_gf_interval) && in detect_gf_cut()
1874 if (i >= rc->frames_to_key) { in calculate_gf_length()
2076 cpi->rc.frames_to_key = AOMMIN(cpi->rc.frames_to_key, lookahead_size); in correct_frames_to_key()
2079 cpi->rc.frames_to_key = in correct_frames_to_key()
2080 AOMMIN(cpi->rc.frames_to_key, cpi->ppi->frames_left); in correct_frames_to_key()
2115 if (p_rc->baseline_gf_interval > rc->frames_to_key) in define_gf_group_pass0()
2116 p_rc->baseline_gf_interval = rc->frames_to_key; in define_gf_group_pass0()
2120 (p_rc->baseline_gf_interval >= rc->frames_to_key) ? 1 : 0; in define_gf_group_pass0()
2289 p_rc->constrained_gf_group = (i >= rc->frames_to_key) ? 1 : 0; in define_gf_group()
[all …]
Drc_utils.h168 int frames_to_key) { in get_gfu_boost_from_r0_lap() argument
170 frames_to_key); in get_gfu_boost_from_r0_lap()
Dsuperres_scale.c103 cpi->rc.frames_to_key > 1; in av1_superres_in_recode_allowed()
119 if (rc->frames_to_key <= 1) in get_energy_by_q2_thresh()
Dratectrl.c1089 if (intra_only && rc->frames_to_key <= 1) { in get_active_cq_level()
1344 if (rc->frames_to_key <= 1 && oxcf->rc_cfg.mode == AOM_Q) { in get_intra_q_and_bounds()
1517 rc->frames_to_key > 1)) { in get_q()
1984 cpi->rc.frames_to_key--; in av1_rc_postencode_update_drop_frame()
2528 if (p_rc->baseline_gf_interval > rc->frames_to_key) in set_gf_interval_update_onepass_rt()
2529 p_rc->baseline_gf_interval = rc->frames_to_key; in set_gf_interval_update_onepass_rt()
2532 (p_rc->baseline_gf_interval >= rc->frames_to_key) ? 1 : 0; in set_gf_interval_update_onepass_rt()
2738 if ((!cpi->ppi->use_svc && rc->frames_to_key == 0) || in av1_get_one_pass_rt_params()
2745 cm->current_frame.frame_number != 0 && rc->frames_to_key == 0; in av1_get_one_pass_rt_params()
2746 rc->frames_to_key = cpi->oxcf.kf_cfg.key_freq_max; in av1_get_one_pass_rt_params()
Dratectrl.h169 int frames_to_key; member
Dsvc_layercontext.c179 const int old_frame_to_key = cpi->rc.frames_to_key; in av1_restore_layer_context()
191 cpi->rc.frames_to_key = old_frame_to_key; in av1_restore_layer_context()
Dencoder_utils.h918 int frames_to_key) { in combine_prior_with_tpl_boost() argument
919 double factor = sqrt((double)frames_to_key); in combine_prior_with_tpl_boost()
Dencoder.c2907 if (cpi->ppi->p_rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) {
4001 if (cpi->common.show_frame && cpi->rc.frames_to_key) {
4013 cpi->rc.frames_to_key--;
4479 int frames_to_key = first_cpi->rc.frames_to_key; local
4542 if (frames_to_key) {
4544 frames_to_key--;
4558 cur_cpi->rc.frames_to_key = frames_to_key;
Dencode_strategy.c359 (cpi->rc.frames_to_key == 0) || (frame_flags & FRAMEFLAGS_KEY); in allow_show_existing()
934 cpi->rc.frames_to_key > cpi->oxcf.algo_cfg.arnr_max_frames && in denoise_and_encode()
Dencoder_utils.c515 cpi->ppi->p_rc.gfu_boost, gfu_boost, cpi->rc.frames_to_key); in process_tpl_stats_frame()
Dtemporal_filter.c957 AOMMAX(cpi->rc.frames_to_key - arf_src_offset - 1, 0); in tf_setup_filtering_buffer()
Dfirstpass.c1272 cpi->rc.frames_to_key = INT_MAX; in av1_first_pass()
Dspeed_features.c948 !frame_is_intra_only(&cpi->common) || (cpi->rc.frames_to_key > 1); in set_good_speed_features_framesize_independent()
Dtpl_model.c1393 tpl_extend, cpi->rc.frames_to_key - cpi->ppi->p_rc.baseline_gf_interval); in init_gop_frames_for_tpl()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c526 cpi->rc.frames_to_key = INT_MAX; in set_first_pass_params()
2098 int key_frame_interval = rc->frames_since_key + rc->frames_to_key; in calculate_total_gf_group_bits()
2100 rc->frames_to_key - in calculate_total_gf_group_bits()
2513 gop_coding_frames < rc->frames_to_key) { in get_gop_coding_frame_num()
2591 ((rc->frames_to_key - gop_coding_frames) >= rc->min_gf_interval) && in get_gop_coding_frame_num()
2607 int frames_to_key) { in get_active_gf_inverval_range_simple() argument
2612 if ((active_gf_interval.max <= frames_to_key) && in get_active_gf_inverval_range_simple()
2613 (active_gf_interval.max >= (frames_to_key - min_gf_interval))) { in get_active_gf_inverval_range_simple()
2614 active_gf_interval.min = frames_to_key / 2; in get_active_gf_inverval_range_simple()
2615 active_gf_interval.max = frames_to_key / 2; in get_active_gf_inverval_range_simple()
[all …]
Dvp9_ratectrl.c402 rc->frames_to_key = 0; in vp9_rc_init()
1395 if (is_intra_frame && rc->frames_to_key > 1) in rc_constant_q()
1969 rc->frames_to_key--; in vp9_rc_postencode_update()
1995 cpi->rc.frames_to_key--; in vp9_rc_postencode_update_drop_frame()
2090 adjust_gfint_frame_constraint(cpi, rc->frames_to_key); in vp9_set_gf_update_one_pass_vbr()
2108 rc->frames_to_key == 0)) { in vp9_rc_get_one_pass_vbr_params()
2111 cm->current_video_frame != 0 && rc->frames_to_key == 0; in vp9_rc_get_one_pass_vbr_params()
2112 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_vbr_params()
2443 (cpi->oxcf.auto_key && rc->frames_to_key == 0)) { in vp9_rc_get_one_pass_cbr_params()
2445 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_cbr_params()
[all …]
Dvp9_ratectrl.h112 int frames_to_key; member
Dvp9_aq_cyclicrefresh.c296 if (rc->frames_till_gf_update_due > rc->frames_to_key) in vp9_cyclic_refresh_postencode()
297 rc->frames_till_gf_update_due = rc->frames_to_key; in vp9_cyclic_refresh_postencode()
Dvp9_svc_layercontext.c348 const int old_frame_to_key = cpi->rc.frames_to_key; in vp9_restore_layer_context()
366 cpi->rc.frames_to_key = old_frame_to_key; in vp9_restore_layer_context()
Dvp9_encoder.c5580 if (cpi->rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) {
7691 assert(arf_src_index <= rc->frames_to_key);
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c1676 ((cpi->twopass.frames_to_key - i) < MIN_GF_INTERVAL)) && in define_gf_group()
1677 (i < cpi->twopass.frames_to_key)) { in define_gf_group()
1729 ((cpi->twopass.frames_to_key - i) >= MIN_GF_INTERVAL) && in define_gf_group()
1775 if ((cpi->twopass.frames_to_key - i) < MIN_GF_INTERVAL) { in define_gf_group()
1776 while (i < cpi->twopass.frames_to_key) { in define_gf_group()
1781 if (i < cpi->twopass.frames_to_key) { in define_gf_group()
1798 (i <= (cpi->twopass.frames_to_key - MIN_GF_INTERVAL)) && in define_gf_group()
1958 if (cpi->twopass.frames_to_key >= in define_gf_group()
2273 if (cpi->twopass.frames_to_key == 0) { in vp8_second_pass()
2288 cpi->baseline_gf_interval = cpi->twopass.frames_to_key; in vp8_second_pass()
[all …]
Donyx_int.h585 int frames_to_key; member
Donyx_if.c4269 if (cpi->next_key_frame_forced && (cpi->twopass.frames_to_key == 0)) { in encode_frame_to_data_rate()
/external/libvpx/libvpx/vp9/
Dratectrl_rtc.cc169 cpi_->rc.frames_to_key = cpi_->oxcf.key_freq; in ComputeQP()
/external/libaom/libaom/doc/dev_guide/
Dav1_encoder.dox154 - \ref RATE_CONTROL.frames_to_key
923 <li>For two-pass encoding \ref RATE_CONTROL.frames_to_key controls when to