Home
last modified time | relevance | path

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

/aosp_15_r20/external/libaom/av1/encoder/
H A Dpass2_strategy.c885 const int frames = rc->frames_to_key - 1; in adjust_boost_bits_for_target_level()
1028 (rc->frames_to_key - frame_index >= rc->min_gf_interval) && in detect_gf_cut()
1954 if (i >= rc->frames_to_key) { in calculate_gf_length()
2158 cpi->rc.frames_to_key = AOMMIN(cpi->rc.frames_to_key, lookahead_size); in correct_frames_to_key()
2161 cpi->rc.frames_to_key = in correct_frames_to_key()
2162 AOMMIN(cpi->rc.frames_to_key, cpi->ppi->frames_left); in correct_frames_to_key()
2197 if (p_rc->baseline_gf_interval > rc->frames_to_key) in define_gf_group_pass0()
2198 p_rc->baseline_gf_interval = rc->frames_to_key; in define_gf_group_pass0()
2202 (p_rc->baseline_gf_interval >= rc->frames_to_key) ? 1 : 0; in define_gf_group_pass0()
2328 p_rc->constrained_gf_group = (idx >= rc->frames_to_key) ? 1 : 0; in update_gop_length()
[all …]
H A 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()
H A 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()
H A Dratectrl.c1439 if (intra_only && rc->frames_to_key <= 1) { in get_active_cq_level()
1704 if (rc->frames_to_key <= 1 && oxcf->rc_cfg.mode == AOM_Q) { in get_intra_q_and_bounds()
1898 rc->frames_to_key > 1)) { in get_q()
2872 if (p_rc->baseline_gf_interval > rc->frames_to_key && in set_baseline_gf_interval()
2874 p_rc->baseline_gf_interval = rc->frames_to_key; in set_baseline_gf_interval()
2877 (p_rc->baseline_gf_interval >= rc->frames_to_key && in set_baseline_gf_interval()
3653 if (cpi->oxcf.kf_cfg.auto_key && rc->frames_to_key == 0) return 1; in set_key_frame()
3714 cm->current_frame.frame_number != 0 && rc->frames_to_key == 0; in av1_get_one_pass_rt_params()
3715 rc->frames_to_key = cpi->oxcf.kf_cfg.key_freq_max; in av1_get_one_pass_rt_params()
H A Dratectrl.h185 int frames_to_key; member
H A Dsvc_layercontext.c227 const int old_frame_to_key = cpi->rc.frames_to_key; in av1_restore_layer_context()
246 cpi->rc.frames_to_key = old_frame_to_key; in av1_restore_layer_context()
H A Dencoder.c3246 if (cpi->ppi->p_rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) { in encode_with_recode_loop_and_filter()
4465 if (cpi->common.show_frame && cpi->rc.frames_to_key) { in update_keyframe_counters()
4478 cpi->rc.frames_to_key--; in update_keyframe_counters()
5009 int frames_to_key = first_cpi->rc.frames_to_key; in av1_init_parallel_frame_context() local
5067 if (frames_to_key) { in av1_init_parallel_frame_context()
5069 frames_to_key--; in av1_init_parallel_frame_context()
5085 cur_cpi->rc.frames_to_key = frames_to_key; in av1_init_parallel_frame_context()
H A Dencoder_utils.h986 int frames_to_key) { in combine_prior_with_tpl_boost() argument
987 double factor = sqrt((double)frames_to_key); in combine_prior_with_tpl_boost()
H A Dencoder_utils.c536 cpi->ppi->p_rc.gfu_boost, gfu_boost, cpi->rc.frames_to_key); in process_tpl_stats_frame()
H A Dtemporal_filter.c1073 AOMMAX(cpi->rc.frames_to_key - filter_frame_lookahead_idx - 1, 0); in tf_setup_filtering_buffer()
H A Dencode_strategy.c420 (cpi->rc.frames_to_key == 0) || (frame_flags & FRAMEFLAGS_KEY);
H A Dfirstpass.c1367 cpi->rc.frames_to_key = INT_MAX; in av1_first_pass()
H A Dspeed_features.c1078 !frame_is_intra_only(&cpi->common) || (cpi->rc.frames_to_key > 1); in set_good_speed_features_framesize_independent()
H A Dtpl_model.c1635 tpl_extend, cpi->rc.frames_to_key - cpi->ppi->p_rc.baseline_gf_interval); in init_gop_frames_for_tpl()
/aosp_15_r20/external/libvpx/vp9/encoder/
H A Dvp9_firstpass.c543 cpi->rc.frames_to_key = INT_MAX; in set_first_pass_params()
2116 int key_frame_interval = rc->frames_since_key + rc->frames_to_key; in calculate_total_gf_group_bits()
2118 rc->frames_to_key - in calculate_total_gf_group_bits()
2656 gop_coding_frames < rc->frames_to_key) { in get_gop_coding_frame_num()
2735 ((rc->frames_to_key - gop_coding_frames) >= rc->min_gf_interval) && in get_gop_coding_frame_num()
2751 int frames_to_key) { in get_active_gf_inverval_range_simple() argument
2756 if ((active_gf_interval.max <= frames_to_key) && in get_active_gf_inverval_range_simple()
2757 (active_gf_interval.max >= (frames_to_key - min_gf_interval))) { in get_active_gf_inverval_range_simple()
2758 active_gf_interval.min = frames_to_key / 2; in get_active_gf_inverval_range_simple()
2759 active_gf_interval.max = frames_to_key / 2; in get_active_gf_inverval_range_simple()
[all …]
H A Dvp9_ratectrl.c416 rc->frames_to_key = 0; in vp9_rc_init()
1414 if (is_intra_frame && rc->frames_to_key > 1) in rc_constant_q()
1962 rc->frames_to_key--; in vp9_rc_postencode_update()
1989 cpi->rc.frames_to_key--; in vp9_rc_postencode_update_drop_frame()
2094 adjust_gfint_frame_constraint(cpi, rc->frames_to_key); in vp9_set_gf_update_one_pass_vbr()
2112 rc->frames_to_key == 0 || in vp9_rc_get_one_pass_vbr_params()
2116 cm->current_video_frame != 0 && rc->frames_to_key == 0; in vp9_rc_get_one_pass_vbr_params()
2117 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_vbr_params()
2486 (cpi->oxcf.auto_key && rc->frames_to_key == 0) || in vp9_rc_get_one_pass_cbr_params()
2489 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_cbr_params()
[all …]
H A Dvp9_ratectrl.h112 int frames_to_key; member
H A Dvp9_aq_cyclicrefresh.c297 if (rc->frames_till_gf_update_due > rc->frames_to_key) in vp9_cyclic_refresh_postencode()
298 rc->frames_till_gf_update_due = rc->frames_to_key; in vp9_cyclic_refresh_postencode()
H A Dvp9_svc_layercontext.c356 const int old_frame_to_key = cpi->rc.frames_to_key; in vp9_restore_layer_context()
374 cpi->rc.frames_to_key = old_frame_to_key; in vp9_restore_layer_context()
H A Dvp9_encoder.c5678 if (cpi->rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) {
6444 assert(arf_src_index <= rc->frames_to_key);
/aosp_15_r20/external/libvpx/vp8/encoder/
H A Dfirstpass.c1642 ((cpi->twopass.frames_to_key - i) < MIN_GF_INTERVAL)) && in define_gf_group()
1643 (i < cpi->twopass.frames_to_key)) { in define_gf_group()
1692 ((cpi->twopass.frames_to_key - i) >= MIN_GF_INTERVAL) && in define_gf_group()
1738 if ((cpi->twopass.frames_to_key - i) < MIN_GF_INTERVAL) { in define_gf_group()
1739 while (i < cpi->twopass.frames_to_key) { in define_gf_group()
1744 if (i < cpi->twopass.frames_to_key) { in define_gf_group()
1761 (i <= (cpi->twopass.frames_to_key - MIN_GF_INTERVAL)) && in define_gf_group()
1921 if (cpi->twopass.frames_to_key >= in define_gf_group()
2237 if (cpi->twopass.frames_to_key == 0) { in vp8_second_pass()
2252 cpi->baseline_gf_interval = cpi->twopass.frames_to_key; in vp8_second_pass()
[all …]
H A Donyx_int.h588 int frames_to_key; member
H A Donyx_if.c4269 if (cpi->next_key_frame_forced && (cpi->twopass.frames_to_key == 0)) { in encode_frame_to_data_rate()
/aosp_15_r20/external/libvpx/vp9/
H A Dratectrl_rtc.cc236 cpi_->rc.frames_to_key = cpi_->oxcf.key_freq; in ComputeQP()
/aosp_15_r20/external/libaom/doc/dev_guide/
H A Dav1_encoder.dox154 - \ref RATE_CONTROL.frames_to_key
931 <li>For two-pass encoding \ref RATE_CONTROL.frames_to_key controls when to