Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c432 rc->baseline_gf_interval = (rc->min_gf_interval + rc->max_gf_interval) / 2; in vp9_rc_init()
2008 ? ((int64_t)rc->avg_frame_bandwidth * rc->baseline_gf_interval * in calc_pframe_target_size_one_pass_vbr()
2010 (rc->baseline_gf_interval + af_ratio - 1) in calc_pframe_target_size_one_pass_vbr()
2011 : ((int64_t)rc->avg_frame_bandwidth * rc->baseline_gf_interval) / in calc_pframe_target_size_one_pass_vbr()
2012 (rc->baseline_gf_interval + af_ratio - 1); in calc_pframe_target_size_one_pass_vbr()
2028 if ((frame_constraint <= 7 * rc->baseline_gf_interval >> 2) && in adjust_gfint_frame_constraint()
2029 (frame_constraint > rc->baseline_gf_interval)) { in adjust_gfint_frame_constraint()
2030 rc->baseline_gf_interval = frame_constraint >> 1; in adjust_gfint_frame_constraint()
2031 if (rc->baseline_gf_interval < 5) in adjust_gfint_frame_constraint()
2032 rc->baseline_gf_interval = frame_constraint; in adjust_gfint_frame_constraint()
[all …]
Dvp9_aq_cyclicrefresh.c294 rc->frames_till_gf_update_due = rc->baseline_gf_interval; in vp9_cyclic_refresh_postencode()
325 rc->baseline_gf_interval = VPXMIN(4 * (100 / cr->percent_refresh), 40); in vp9_cyclic_refresh_set_golden_update()
327 rc->baseline_gf_interval = 40; in vp9_cyclic_refresh_set_golden_update()
328 if (cpi->oxcf.rc_mode == VPX_VBR) rc->baseline_gf_interval = 20; in vp9_cyclic_refresh_set_golden_update()
330 rc->baseline_gf_interval = 10; in vp9_cyclic_refresh_set_golden_update()
Dvp9_firstpass.c2085 rc->baseline_gf_interval + rc->source_alt_ref_pending - arf_active_or_kf; in calculate_total_gf_group_bits()
2092 (rc->baseline_gf_interval + rc->source_alt_ref_pending); in calculate_total_gf_group_bits()
2095 (double)rc->baseline_gf_interval / 16; in calculate_total_gf_group_bits()
2245 rc->baseline_gf_interval - (key_frame || rc->source_alt_ref_pending); in define_gf_group_structure()
2248 gf_group->frame_end = gf_group->frame_start + rc->baseline_gf_interval; in define_gf_group_structure()
2266 (unsigned char)(rc->baseline_gf_interval - 1); in define_gf_group_structure()
2267 gf_group->frame_gop_index[frame_index] = rc->baseline_gf_interval; in define_gf_group_structure()
2278 gf_group->frame_gop_index[frame_index] = rc->baseline_gf_interval; in define_gf_group_structure()
2333 mid_frame_idx = frame_index + (rc->baseline_gf_interval >> 1) - 1; in allocate_gf_group_bits()
2335 normal_frames = (rc->baseline_gf_interval - 1); in allocate_gf_group_bits()
[all …]
Dvp9_ratectrl.h107 int baseline_gf_interval; member
Dvp9_temporal_filter.c1097 cpi->rc.baseline_gf_interval - 1) in adjust_arnr_filter()
Dvp9_svc_layercontext.c1207 cpi->rc.baseline_gf_interval = 0; in vp9_svc_check_spatial_layer_sync()
Dvp9_pickmode.c2145 cpi->rc.frames_since_golden > (cpi->rc.baseline_gf_interval >> 1) && in vp9_pick_inter_mode()
2152 cpi->rc.frames_since_golden < (cpi->rc.baseline_gf_interval >> 1) && in vp9_pick_inter_mode()
Dvp9_encoder.c1968 rc->baseline_gf_interval = FIXED_GF_INTERVAL; in vp9_change_config()
1970 rc->baseline_gf_interval = (MIN_GF_INTERVAL + MAX_GF_INTERVAL) / 2; in vp9_change_config()
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c576 double min_boost_factor = sqrt(rc->baseline_gf_interval); in get_projected_gfu_boost()
723 if (total_group_bits > (int64_t)max_bits * rc->baseline_gf_interval) in calculate_total_gf_group_bits()
724 total_group_bits = (int64_t)max_bits * rc->baseline_gf_interval; in calculate_total_gf_group_bits()
804 rc->baseline_gf_interval, level_enforced_max_arf_bits, group_bits); in adjust_boost_bits_for_target_level()
805 bits_assigned = calculate_boost_bits(rc->baseline_gf_interval, in adjust_boost_bits_for_target_level()
832 if (rc->baseline_gf_interval) in allocate_gf_group_bits()
833 base_frame_bits = (int)(total_group_bits / rc->baseline_gf_interval); in allocate_gf_group_bits()
941 calculate_boost_bits(rc->baseline_gf_interval - total_arfs - in allocate_gf_group_bits()
1435 rc->baseline_gf_interval = rc->gf_intervals[rc->cur_gf_index]; in define_gf_group_pass0()
1443 if (rc->baseline_gf_interval > rc->frames_to_key) in define_gf_group_pass0()
[all …]
Dratectrl.c337 rc->baseline_gf_interval = (rc->min_gf_interval + rc->max_gf_interval) / 2; in av1_rc_init()
1866 target = ((int64_t)rc->avg_frame_bandwidth * rc->baseline_gf_interval * in av1_calc_pframe_target_size_one_pass_vbr()
1868 (rc->baseline_gf_interval + af_ratio - 1); in av1_calc_pframe_target_size_one_pass_vbr()
1870 target = ((int64_t)rc->avg_frame_bandwidth * rc->baseline_gf_interval) / in av1_calc_pframe_target_size_one_pass_vbr()
1871 (rc->baseline_gf_interval + af_ratio - 1); in av1_calc_pframe_target_size_one_pass_vbr()
1901 (rc->avg_frame_bandwidth * rc->baseline_gf_interval * af_ratio_pct) / in av1_calc_pframe_target_size_one_pass_cbr()
1902 (rc->baseline_gf_interval * 100 + af_ratio_pct - 100); in av1_calc_pframe_target_size_one_pass_cbr()
1904 target = (rc->avg_frame_bandwidth * rc->baseline_gf_interval * 100) / in av1_calc_pframe_target_size_one_pass_cbr()
1905 (rc->baseline_gf_interval * 100 + af_ratio_pct - 100); in av1_calc_pframe_target_size_one_pass_cbr()
2064 rc->baseline_gf_interval = MAX_GF_INTERVAL; in av1_get_one_pass_rt_params()
[all …]
Daq_cyclicrefresh.c250 rc->baseline_gf_interval = AOMMIN(2 * (100 / cr->percent_refresh), 40); in av1_cyclic_refresh_set_golden_update()
252 rc->baseline_gf_interval = 20; in av1_cyclic_refresh_set_golden_update()
253 if (cr->avg_frame_low_motion < 40) rc->baseline_gf_interval = 8; in av1_cyclic_refresh_set_golden_update()
Dgop_structure.c303 cpi, twopass, gf_group, rc, frame_info, rc->baseline_gf_interval, in av1_gop_setup_structure()
309 check_frame_params(gf_group, rc->baseline_gf_interval); in av1_gop_setup_structure()
Dratectrl.h115 int baseline_gf_interval; member
Dtpl_model.c861 ? cpi->rc.baseline_gf_interval in init_gop_frames_for_tpl()
903 AOMMIN(cpi->rc.baseline_gf_interval, in init_gop_frames_for_tpl()
904 cpi->rc.frames_to_key - cpi->rc.baseline_gf_interval); in init_gop_frames_for_tpl()
905 int frame_display_index = cpi->rc.baseline_gf_interval + 1; in init_gop_frames_for_tpl()
Dencoder.c2860 rc->baseline_gf_interval = FIXED_GF_INTERVAL; in av1_change_config()
2862 rc->baseline_gf_interval = (MIN_GF_INTERVAL + MAX_GF_INTERVAL) / 2; in av1_change_config()
4166 double min_boost_factor = sqrt(cpi->rc.baseline_gf_interval); in process_tpl_stats_frame()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c1844 if (Boost > ((cpi->baseline_gf_interval + 1) * 200)) { in define_gf_group()
1845 Boost = ((cpi->baseline_gf_interval + 1) * 200); in define_gf_group()
1897 cpi->baseline_gf_interval = i; in define_gf_group()
1907 half_gf_int = cpi->baseline_gf_interval >> 1; in define_gf_group()
1943 cpi->baseline_gf_interval = i; in define_gf_group()
1947 cpi->baseline_gf_interval = i; in define_gf_group()
1985 (int64_t)max_bits * cpi->baseline_gf_interval) { in define_gf_group()
1986 cpi->twopass.gf_group_bits = (int64_t)max_bits * cpi->baseline_gf_interval; in define_gf_group()
2012 Boost += (cpi->baseline_gf_interval * 50); in define_gf_group()
2015 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()
375 …cpi->common.current_video_frame, cpi->gfu_boost, cpi->baseline_gf_interval, cpi->source_alt_ref_p… in calc_iframe_target_size()
506 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
508 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
527 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
1016 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in calc_pframe_target_size()
1023 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_pframe_target_size()
Donyx_int.h375 int baseline_gf_interval; member
Donyx_if.c1535 cpi->baseline_gf_interval = in vp8_change_config()
1542 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in vp8_change_config()
1811 cpi->baseline_gf_interval = DEFAULT_GF_INTERVAL; in vp8_create_compressor()
1880 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in vp8_create_compressor()
2637 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in update_golden_frame_stats()