/external/libaom/libaom/av1/encoder/ |
D | pass2_strategy.c | 820 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 …]
|
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()
|
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()
|
D | ratectrl.c | 1089 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()
|
D | ratectrl.h | 169 int frames_to_key; member
|
D | svc_layercontext.c | 179 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()
|
D | encoder_utils.h | 918 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()
|
D | encoder.c | 2907 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;
|
D | encode_strategy.c | 359 (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()
|
D | encoder_utils.c | 515 cpi->ppi->p_rc.gfu_boost, gfu_boost, cpi->rc.frames_to_key); in process_tpl_stats_frame()
|
D | temporal_filter.c | 957 AOMMAX(cpi->rc.frames_to_key - arf_src_offset - 1, 0); in tf_setup_filtering_buffer()
|
D | firstpass.c | 1272 cpi->rc.frames_to_key = INT_MAX; in av1_first_pass()
|
D | speed_features.c | 948 !frame_is_intra_only(&cpi->common) || (cpi->rc.frames_to_key > 1); in set_good_speed_features_framesize_independent()
|
D | tpl_model.c | 1393 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/ |
D | vp9_firstpass.c | 526 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 …]
|
D | vp9_ratectrl.c | 402 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 …]
|
D | vp9_ratectrl.h | 112 int frames_to_key; member
|
D | vp9_aq_cyclicrefresh.c | 296 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()
|
D | vp9_svc_layercontext.c | 348 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()
|
D | vp9_encoder.c | 5580 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/ |
D | firstpass.c | 1676 ((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 …]
|
D | onyx_int.h | 585 int frames_to_key; member
|
D | onyx_if.c | 4269 if (cpi->next_key_frame_forced && (cpi->twopass.frames_to_key == 0)) { in encode_frame_to_data_rate()
|
/external/libvpx/libvpx/vp9/ |
D | ratectrl_rtc.cc | 169 cpi_->rc.frames_to_key = cpi_->oxcf.key_freq; in ComputeQP()
|
/external/libaom/libaom/doc/dev_guide/ |
D | av1_encoder.dox | 154 - \ref RATE_CONTROL.frames_to_key 923 <li>For two-pass encoding \ref RATE_CONTROL.frames_to_key controls when to
|