Home
last modified time | relevance | path

Searched refs:baseline_gf_interval (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c388 rc->baseline_gf_interval = (rc->min_gf_interval + rc->max_gf_interval) / 2; in vp9_rc_init()
1484 ? (rc->avg_frame_bandwidth * rc->baseline_gf_interval * af_ratio) / in calc_pframe_target_size_one_pass_vbr()
1485 (rc->baseline_gf_interval + af_ratio - 1) in calc_pframe_target_size_one_pass_vbr()
1486 : (rc->avg_frame_bandwidth * rc->baseline_gf_interval) / in calc_pframe_target_size_one_pass_vbr()
1487 (rc->baseline_gf_interval + af_ratio - 1); in calc_pframe_target_size_one_pass_vbr()
1502 if ((frame_constraint <= 7 * rc->baseline_gf_interval >> 2) && in adjust_gfint_frame_constraint()
1503 (frame_constraint > rc->baseline_gf_interval)) { in adjust_gfint_frame_constraint()
1504 rc->baseline_gf_interval = frame_constraint >> 1; in adjust_gfint_frame_constraint()
1505 if (rc->baseline_gf_interval < 5) in adjust_gfint_frame_constraint()
1506 rc->baseline_gf_interval = frame_constraint; in adjust_gfint_frame_constraint()
[all …]
Dvp9_firstpass.c2096 if (total_group_bits > (int64_t)max_bits * rc->baseline_gf_interval) in calculate_total_gf_group_bits()
2097 total_group_bits = (int64_t)max_bits * rc->baseline_gf_interval; in calculate_total_gf_group_bits()
2198 (unsigned char)(rc->baseline_gf_interval - in allocate_gf_group_bits()
2202 (unsigned char)(rc->baseline_gf_interval - 1); in allocate_gf_group_bits()
2215 (unsigned char)((rc->baseline_gf_interval >> 1) - 1); in allocate_gf_group_bits()
2226 mid_frame_idx = frame_index + (rc->baseline_gf_interval >> 1) - 1; in allocate_gf_group_bits()
2228 normal_frames = (rc->baseline_gf_interval - rc->source_alt_ref_pending); in allocate_gf_group_bits()
2522 (cpi->multi_arf_allowed && (rc->baseline_gf_interval >= 6) && in define_gf_group()
2539 rc->baseline_gf_interval = i - (is_key_frame || rc->source_alt_ref_pending); in define_gf_group()
2546 int new_gf_interval = (rc->baseline_gf_interval + count) & (~count); in define_gf_group()
[all …]
Dvp9_aq_cyclicrefresh.c282 rc->frames_till_gf_update_due = rc->baseline_gf_interval; in vp9_cyclic_refresh_postencode()
313 rc->baseline_gf_interval = VPXMIN(4 * (100 / cr->percent_refresh), 40); in vp9_cyclic_refresh_set_golden_update()
315 rc->baseline_gf_interval = 40; in vp9_cyclic_refresh_set_golden_update()
316 if (cpi->oxcf.rc_mode == VPX_VBR) rc->baseline_gf_interval = 20; in vp9_cyclic_refresh_set_golden_update()
318 rc->baseline_gf_interval = 10; in vp9_cyclic_refresh_set_golden_update()
Dvp9_ratectrl.h97 int baseline_gf_interval; member
Dvp9_pickmode.c1664 cpi->rc.frames_since_golden > (cpi->rc.baseline_gf_interval >> 1) && in vp9_pick_inter_mode()
1670 cpi->rc.frames_since_golden < (cpi->rc.baseline_gf_interval >> 1) && in vp9_pick_inter_mode()
Dvp9_encoder.c1830 rc->baseline_gf_interval = FIXED_GF_INTERVAL; in vp9_change_config()
1832 rc->baseline_gf_interval = (MIN_GF_INTERVAL + MAX_GF_INTERVAL) / 2; in vp9_change_config()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c1852 if (Boost > ((cpi->baseline_gf_interval + 1) * 200)) { in define_gf_group()
1853 Boost = ((cpi->baseline_gf_interval + 1) * 200); in define_gf_group()
1905 cpi->baseline_gf_interval = i; in define_gf_group()
1915 half_gf_int = cpi->baseline_gf_interval >> 1; in define_gf_group()
1951 cpi->baseline_gf_interval = i; in define_gf_group()
1955 cpi->baseline_gf_interval = i; in define_gf_group()
1993 (int64_t)max_bits * cpi->baseline_gf_interval) { in define_gf_group()
1994 cpi->twopass.gf_group_bits = (int64_t)max_bits * cpi->baseline_gf_interval; in define_gf_group()
2020 Boost += (cpi->baseline_gf_interval * 50); in define_gf_group()
2023 if (Boost > ((cpi->baseline_gf_interval + 1) * 200)) { in define_gf_group()
[all …]
Dratectrl.c270 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in vp8_setup_key_frame()
371 …cpi->common.current_video_frame, cpi->gfu_boost, cpi->baseline_gf_interval, cpi->source_alt_ref_p… in calc_iframe_target_size()
503 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
506 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
525 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
1014 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in calc_pframe_target_size()
1021 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_pframe_target_size()
Donyx_int.h367 int baseline_gf_interval; member
Donyx_if.c1510 cpi->baseline_gf_interval = in vp8_change_config()
1517 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in vp8_change_config()
1783 cpi->baseline_gf_interval = DEFAULT_GF_INTERVAL; in vp8_create_compressor()
1850 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in vp8_create_compressor()
2671 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in update_golden_frame_stats()