Searched refs:frames_to_key (Results 1 – 19 of 19) sorted by relevance
/external/libaom/libaom/av1/encoder/ |
D | pass2_strategy.c | 794 const int frames = rc->frames_to_key - 1; in adjust_boost_bits_for_target_level() 1003 (rc->frames_to_key - frame_index >= rc->min_gf_interval) && in detect_gf_cut() 1301 if (i >= rc->frames_to_key) { in calculate_gf_length() 1346 AOMMIN(MAX_PAD_GF_CHECK, rc->frames_to_key - cur_last - 1); in calculate_gf_length() 1404 printf("\nf_to_key: %d, count_cut: %d. ", rc->frames_to_key, count_cuts); in calculate_gf_length() 1422 cpi->rc.frames_to_key = AOMMIN(cpi->rc.frames_to_key, lookahead_size); in correct_frames_to_key() 1443 if (rc->baseline_gf_interval > rc->frames_to_key) in define_gf_group_pass0() 1444 rc->baseline_gf_interval = rc->frames_to_key; in define_gf_group_pass0() 1448 (rc->baseline_gf_interval >= rc->frames_to_key) ? 1 : 0; in define_gf_group_pass0() 1492 ((twopass->stats_in - arf_position + rc->frames_to_key) < in set_baseline_gf_interval() [all …]
|
D | encode_strategy.c | 135 cpi->rc.frames_to_key--; in update_keyframe_counters() 382 assert(arf_src_index <= rc->frames_to_key); in setup_arf_frame() 392 if (arf_src_index == rc->frames_to_key) { in setup_arf_frame() 497 (cpi->rc.frames_to_key == 0) || (frame_flags & FRAMEFLAGS_KEY); in allow_show_existing() 885 cpi->rc.frames_to_key > TF_NUM_FILTERING_FRAMES_FOR_KEY_FRAME && in denoise_and_encode() 1060 gf_group->update_type[1] == ARF_UPDATE && cpi->rc.frames_to_key == 0) { in av1_encode_strategy()
|
D | ratectrl.c | 879 if (intra_only && rc->frames_to_key <= 1) { in get_active_cq_level() 910 if (rc->frames_to_key == 1) { in get_q_using_fixed_offsets() 1149 if (rc->frames_to_key == 1 && oxcf->rc_mode == AOM_Q) { in get_intra_q_and_bounds_two_pass() 1298 rc->frames_to_key > 1)) { in get_q() 1667 cpi->rc.frames_to_key--; in av1_rc_postencode_update_drop_frame() 2040 if ((!cpi->use_svc && rc->frames_to_key == 0) || in av1_get_one_pass_rt_params() 2046 cm->current_frame.frame_number != 0 && rc->frames_to_key == 0; in av1_get_one_pass_rt_params() 2047 rc->frames_to_key = cpi->oxcf.key_freq; in av1_get_one_pass_rt_params() 2065 if (rc->baseline_gf_interval > rc->frames_to_key) in av1_get_one_pass_rt_params() 2066 rc->baseline_gf_interval = rc->frames_to_key; in av1_get_one_pass_rt_params() [all …]
|
D | svc_layercontext.c | 156 const int old_frame_to_key = cpi->rc.frames_to_key; in av1_restore_layer_context() 164 cpi->rc.frames_to_key = old_frame_to_key; in av1_restore_layer_context()
|
D | ratectrl.h | 117 int frames_to_key; member
|
D | encoder.c | 4085 double r0, int frames_to_key) { in get_gfu_boost_from_r0_lap() argument 4087 frames_to_key); in get_gfu_boost_from_r0_lap() 4100 static int get_kf_boost_from_r0(double r0, int frames_to_key) { in get_kf_boost_from_r0() argument 4101 double factor = av1_get_kf_boost_projection_factor(frames_to_key); in get_kf_boost_from_r0() 4111 int frames_to_key) { in combine_prior_with_tpl_boost() argument 4112 double factor = sqrt((double)frames_to_key); in combine_prior_with_tpl_boost() 4179 cpi->rc.gfu_boost, gfu_boost, cpi->rc.frames_to_key); in process_tpl_stats_frame() 4187 get_kf_boost_from_r0(cpi->rd.r0, cpi->rc.frames_to_key); in process_tpl_stats_frame() 4196 cpi->rc.kf_boost, kf_boost, cpi->rc.frames_to_key); in process_tpl_stats_frame() 4463 cpi->rc.frames_to_key > 1; in superres_in_recode_allowed() [all …]
|
D | firstpass.c | 909 cpi->rc.frames_to_key = INT_MAX; in av1_first_pass()
|
D | encoder.h | 1860 (cpi->rc.frames_to_key > 1); in is_frame_kf_and_tpl_eligible()
|
D | speed_features.c | 425 !frame_is_intra_only(&cpi->common) || (cpi->rc.frames_to_key != 1); in set_good_speed_features_framesize_independent()
|
D | tpl_model.c | 904 cpi->rc.frames_to_key - cpi->rc.baseline_gf_interval); in init_gop_frames_for_tpl()
|
/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/encoder/ |
D | vp9_firstpass.c | 484 cpi->rc.frames_to_key = INT_MAX; in set_first_pass_params() 2089 int key_frame_interval = rc->frames_since_key + rc->frames_to_key; in calculate_total_gf_group_bits() 2091 rc->frames_to_key - in calculate_total_gf_group_bits() 2481 gop_coding_frames < rc->frames_to_key) { in get_gop_coding_frame_num() 2560 ((rc->frames_to_key - gop_coding_frames) >= rc->min_gf_interval) && in get_gop_coding_frame_num() 2587 if ((active_gf_interval.max <= rc->frames_to_key) && in get_active_gf_inverval_range() 2588 (active_gf_interval.max >= (rc->frames_to_key - rc->min_gf_interval))) { in get_active_gf_inverval_range() 2589 active_gf_interval.min = rc->frames_to_key / 2; in get_active_gf_inverval_range() 2590 active_gf_interval.max = rc->frames_to_key / 2; in get_active_gf_inverval_range() 2624 if ((active_gf_interval.max <= rc->frames_to_key) && in get_active_gf_inverval_range() [all …]
|
D | vp9_ratectrl.c | 1391 if (is_intra_frame && rc->frames_to_key > 1) in rc_constant_q() 1942 rc->frames_to_key--; in vp9_rc_postencode_update() 1986 cpi->rc.frames_to_key--; in vp9_rc_postencode_update_drop_frame() 2049 rc->frames_to_key == 0)) { in vp9_rc_get_one_pass_vbr_params() 2052 cm->current_video_frame != 0 && rc->frames_to_key == 0; in vp9_rc_get_one_pass_vbr_params() 2053 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_vbr_params() 2088 adjust_gfint_frame_constraint(cpi, rc->frames_to_key); in vp9_rc_get_one_pass_vbr_params() 2385 (cpi->oxcf.auto_key && rc->frames_to_key == 0)) { in vp9_rc_get_one_pass_cbr_params() 2387 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_cbr_params() 2401 if (rc->frames_till_gf_update_due > rc->frames_to_key) in vp9_rc_get_one_pass_cbr_params() [all …]
|
D | vp9_ratectrl.h | 109 int frames_to_key; member
|
D | vp9_aq_cyclicrefresh.c | 295 if (rc->frames_till_gf_update_due > rc->frames_to_key) in vp9_cyclic_refresh_postencode() 296 rc->frames_till_gf_update_due = rc->frames_to_key; in vp9_cyclic_refresh_postencode()
|
D | vp9_svc_layercontext.c | 334 const int old_frame_to_key = cpi->rc.frames_to_key; in vp9_restore_layer_context() 351 cpi->rc.frames_to_key = old_frame_to_key; in vp9_restore_layer_context()
|
D | vp9_encoder.c | 5213 if (cpi->rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) { 7195 assert(arf_src_index <= rc->frames_to_key);
|