/aosp_15_r20/external/libaom/av1/encoder/ |
H A D | pass2_strategy.c | 885 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 D | rc_utils.h | 168 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 D | superres_scale.c | 103 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 D | ratectrl.c | 1439 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 D | ratectrl.h | 185 int frames_to_key; member
|
H A D | svc_layercontext.c | 227 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 D | encoder.c | 3246 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 D | encoder_utils.h | 986 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 D | encoder_utils.c | 536 cpi->ppi->p_rc.gfu_boost, gfu_boost, cpi->rc.frames_to_key); in process_tpl_stats_frame()
|
H A D | temporal_filter.c | 1073 AOMMAX(cpi->rc.frames_to_key - filter_frame_lookahead_idx - 1, 0); in tf_setup_filtering_buffer()
|
H A D | encode_strategy.c | 420 (cpi->rc.frames_to_key == 0) || (frame_flags & FRAMEFLAGS_KEY);
|
H A D | firstpass.c | 1367 cpi->rc.frames_to_key = INT_MAX; in av1_first_pass()
|
H A D | speed_features.c | 1078 !frame_is_intra_only(&cpi->common) || (cpi->rc.frames_to_key > 1); in set_good_speed_features_framesize_independent()
|
H A D | tpl_model.c | 1635 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 D | vp9_firstpass.c | 543 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 D | vp9_ratectrl.c | 416 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 D | vp9_ratectrl.h | 112 int frames_to_key; member
|
H A D | vp9_aq_cyclicrefresh.c | 297 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 D | vp9_svc_layercontext.c | 356 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 D | vp9_encoder.c | 5678 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 D | firstpass.c | 1642 ((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 D | onyx_int.h | 588 int frames_to_key; member
|
H A D | onyx_if.c | 4269 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 D | ratectrl_rtc.cc | 236 cpi_->rc.frames_to_key = cpi_->oxcf.key_freq; in ComputeQP()
|
/aosp_15_r20/external/libaom/doc/dev_guide/ |
H A D | av1_encoder.dox | 154 - \ref RATE_CONTROL.frames_to_key 931 <li>For two-pass encoding \ref RATE_CONTROL.frames_to_key controls when to
|