Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c818 while (i < rc->static_scene_max_gf_interval && i < rc->frames_to_key) { in define_gf_group()
884 (rc->frames_to_key - i >= rc->min_gf_interval) && (i & 0x01) && in define_gf_group()
894 rc->constrained_gf_group = (i >= rc->frames_to_key) ? 1 : 0; in define_gf_group()
937 const int next_gf_len = rc->frames_to_key - i; in define_gf_group()
976 ((twopass->stats_in - i + rc->frames_to_key) < twopass->stats_in_end)) { in define_gf_group()
977 if (i == rc->frames_to_key) { in define_gf_group()
980 } else if ((rc->frames_to_key - i < in define_gf_group()
982 (rc->frames_to_key != i)) { in define_gf_group()
984 if (rc->frames_to_key <= active_max_gf_interval) { in define_gf_group()
985 rc->baseline_gf_interval = rc->frames_to_key; in define_gf_group()
[all …]
Dratectrl.c824 !(intra_only && rc->frames_to_key <= 1)) { in get_active_cq_level()
1025 if (rc->frames_to_key == 1 && oxcf->rc_mode == AOM_Q) { in rc_pick_q_and_bounds_two_pass()
1222 rc->frames_to_key > 1)) { in rc_pick_q_and_bounds_two_pass()
1467 cpi->rc.frames_to_key--; in av1_rc_postencode_update_drop_frame()
1517 rc->frames_to_key == 0 || (cpi->oxcf.auto_key && 0))) { in av1_rc_get_one_pass_vbr_params()
1520 current_frame->frame_number != 0 && rc->frames_to_key == 0; in av1_rc_get_one_pass_vbr_params()
1521 rc->frames_to_key = cpi->oxcf.key_freq; in av1_rc_get_one_pass_vbr_params()
1562 if (rc->frames_till_gf_update_due > rc->frames_to_key) { in av1_rc_get_one_pass_vbr_params()
1563 rc->frames_till_gf_update_due = rc->frames_to_key; in av1_rc_get_one_pass_vbr_params()
1655 rc->frames_to_key == 0 || (cpi->oxcf.auto_key && 0))) { in av1_rc_get_one_pass_cbr_params()
[all …]
Dratectrl.h85 int frames_to_key; member
Dencode_strategy.c151 cpi->rc.frames_to_key--; in update_keyframe_counters()
501 assert(arf_src_index <= rc->frames_to_key); in setup_arf_or_arf2()
512 if (!arf2 && arf_src_index == rc->frames_to_key) { in setup_arf_or_arf2()
627 (cpi->rc.frames_to_key == 0) || (frame_flags & FRAMEFLAGS_KEY); in allow_show_existing()
Dspeed_features.c342 !frame_is_intra_only(&cpi->common) || (cpi->rc.frames_to_key != 1); in set_good_speed_features_framesize_independent()
Dfirstpass.c389 cpi->rc.frames_to_key = INT_MAX; in av1_first_pass()
Dencoder.c3844 if (cpi->rc.frames_to_key != 1) break; in calculate_next_superres_scale()
5009 if (cpi->rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) { in encode_frame_to_data_rate()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c1685 ((cpi->twopass.frames_to_key - i) < MIN_GF_INTERVAL)) && in define_gf_group()
1686 (i < cpi->twopass.frames_to_key)) { in define_gf_group()
1738 ((cpi->twopass.frames_to_key - i) >= MIN_GF_INTERVAL) && in define_gf_group()
1784 if ((cpi->twopass.frames_to_key - i) < MIN_GF_INTERVAL) { in define_gf_group()
1785 while (i < cpi->twopass.frames_to_key) { in define_gf_group()
1790 if (i < cpi->twopass.frames_to_key) { in define_gf_group()
1807 (i <= (cpi->twopass.frames_to_key - MIN_GF_INTERVAL)) && in define_gf_group()
1967 if (cpi->twopass.frames_to_key >= in define_gf_group()
2281 if (cpi->twopass.frames_to_key == 0) { in vp8_second_pass()
2296 cpi->baseline_gf_interval = cpi->twopass.frames_to_key; in vp8_second_pass()
[all …]
Donyx_int.h580 int frames_to_key; member
Donyx_if.c4257 if (cpi->next_key_frame_forced && (cpi->twopass.frames_to_key == 0)) { in encode_frame_to_data_rate()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_firstpass.c483 cpi->rc.frames_to_key = INT_MAX; in set_first_pass_params()
2522 if ((active_max_gf_interval <= rc->frames_to_key) && in define_gf_group()
2523 (active_max_gf_interval >= (rc->frames_to_key - rc->min_gf_interval))) in define_gf_group()
2524 active_max_gf_interval = rc->frames_to_key / 2; in define_gf_group()
2539 while (i < rc->static_scene_max_gf_interval && i < rc->frames_to_key) { in define_gf_group()
2610 ((rc->frames_to_key - i) >= rc->min_gf_interval) && (i & 0x01) && in define_gf_group()
2622 rc->constrained_gf_group = (i >= rc->frames_to_key) ? 1 : 0; in define_gf_group()
2628 const int forward_frames = (rc->frames_to_key - i >= i - 1) in define_gf_group()
2630 : VPXMAX(0, rc->frames_to_key - i); in define_gf_group()
2889 rc->frames_to_key = 1; in find_next_key_frame()
[all …]
Dvp9_ratectrl.c1378 if (is_intra_frame && rc->frames_to_key > 1) in rc_constant_q()
1871 rc->frames_to_key--; in vp9_rc_postencode_update()
1915 cpi->rc.frames_to_key--; in vp9_rc_postencode_update_drop_frame()
1974 rc->frames_to_key == 0)) { in vp9_rc_get_one_pass_vbr_params()
1977 cm->current_video_frame != 0 && rc->frames_to_key == 0; in vp9_rc_get_one_pass_vbr_params()
1978 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_vbr_params()
2013 adjust_gfint_frame_constraint(cpi, rc->frames_to_key); in vp9_rc_get_one_pass_vbr_params()
2267 rc->frames_to_key == 0) { in vp9_rc_get_one_pass_cbr_params()
2269 rc->frames_to_key = cpi->oxcf.key_freq; in vp9_rc_get_one_pass_cbr_params()
2283 if (rc->frames_till_gf_update_due > rc->frames_to_key) in vp9_rc_get_one_pass_cbr_params()
[all …]
Dvp9_ratectrl.h109 int frames_to_key; member
Dvp9_aq_cyclicrefresh.c294 if (rc->frames_till_gf_update_due > rc->frames_to_key) in vp9_cyclic_refresh_postencode()
295 rc->frames_till_gf_update_due = rc->frames_to_key; in vp9_cyclic_refresh_postencode()
Dvp9_svc_layercontext.c332 const int old_frame_to_key = cpi->rc.frames_to_key; in vp9_restore_layer_context()
349 cpi->rc.frames_to_key = old_frame_to_key; in vp9_restore_layer_context()
Dvp9_encoder.c4807 if (cpi->rc.next_key_frame_forced && cpi->rc.frames_to_key == 1) {
6581 assert(arf_src_index <= rc->frames_to_key);