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.c431 rc->baseline_gf_interval = (rc->min_gf_interval + rc->max_gf_interval) / 2; in vp9_rc_init()
1935 ? (rc->avg_frame_bandwidth * rc->baseline_gf_interval * af_ratio) / in calc_pframe_target_size_one_pass_vbr()
1936 (rc->baseline_gf_interval + af_ratio - 1) in calc_pframe_target_size_one_pass_vbr()
1937 : (rc->avg_frame_bandwidth * rc->baseline_gf_interval) / in calc_pframe_target_size_one_pass_vbr()
1938 (rc->baseline_gf_interval + af_ratio - 1); in calc_pframe_target_size_one_pass_vbr()
1953 if ((frame_constraint <= 7 * rc->baseline_gf_interval >> 2) && in adjust_gfint_frame_constraint()
1954 (frame_constraint > rc->baseline_gf_interval)) { in adjust_gfint_frame_constraint()
1955 rc->baseline_gf_interval = frame_constraint >> 1; in adjust_gfint_frame_constraint()
1956 if (rc->baseline_gf_interval < 5) in adjust_gfint_frame_constraint()
1957 rc->baseline_gf_interval = frame_constraint; in adjust_gfint_frame_constraint()
[all …]
Dvp9_firstpass.c2074 if (total_group_bits > (int64_t)max_bits * rc->baseline_gf_interval) in calculate_total_gf_group_bits()
2075 total_group_bits = (int64_t)max_bits * rc->baseline_gf_interval; in calculate_total_gf_group_bits()
2205 rc->baseline_gf_interval - (key_frame || rc->source_alt_ref_pending); in define_gf_group_structure()
2208 gf_group->frame_end = gf_group->frame_start + rc->baseline_gf_interval; in define_gf_group_structure()
2226 (unsigned char)(rc->baseline_gf_interval - 1); in define_gf_group_structure()
2227 gf_group->frame_gop_index[frame_index] = rc->baseline_gf_interval; in define_gf_group_structure()
2238 gf_group->frame_gop_index[frame_index] = rc->baseline_gf_interval; in define_gf_group_structure()
2293 mid_frame_idx = frame_index + (rc->baseline_gf_interval >> 1) - 1; in allocate_gf_group_bits()
2295 normal_frames = (rc->baseline_gf_interval - rc->source_alt_ref_pending); in allocate_gf_group_bits()
2320 rc->baseline_gf_interval - total_arfs - arf_depth_count[idx], in allocate_gf_group_bits()
[all …]
Dvp9_aq_cyclicrefresh.c293 rc->frames_till_gf_update_due = rc->baseline_gf_interval; in vp9_cyclic_refresh_postencode()
324 rc->baseline_gf_interval = VPXMIN(4 * (100 / cr->percent_refresh), 40); in vp9_cyclic_refresh_set_golden_update()
326 rc->baseline_gf_interval = 40; in vp9_cyclic_refresh_set_golden_update()
327 if (cpi->oxcf.rc_mode == VPX_VBR) rc->baseline_gf_interval = 20; in vp9_cyclic_refresh_set_golden_update()
329 rc->baseline_gf_interval = 10; in vp9_cyclic_refresh_set_golden_update()
Dvp9_ratectrl.h107 int baseline_gf_interval; member
Dvp9_temporal_filter.c1039 cpi->rc.baseline_gf_interval - 1) in adjust_arnr_filter()
Dvp9_svc_layercontext.c1143 cpi->rc.baseline_gf_interval = 0; in vp9_svc_check_spatial_layer_sync()
Dvp9_pickmode.c2040 cpi->rc.frames_since_golden > (cpi->rc.baseline_gf_interval >> 1) && in vp9_pick_inter_mode()
2047 cpi->rc.frames_since_golden < (cpi->rc.baseline_gf_interval >> 1) && in vp9_pick_inter_mode()
Dvp9_encoder.c1920 rc->baseline_gf_interval = FIXED_GF_INTERVAL; in vp9_change_config()
1922 rc->baseline_gf_interval = (MIN_GF_INTERVAL + MAX_GF_INTERVAL) / 2; in vp9_change_config()
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c540 if (total_group_bits > (int64_t)max_bits * rc->baseline_gf_interval) in calculate_total_gf_group_bits()
541 total_group_bits = (int64_t)max_bits * rc->baseline_gf_interval; in calculate_total_gf_group_bits()
635 const int normal_frames = rc->baseline_gf_interval - 1; in allocate_gf_group_bits()
978 rc->baseline_gf_interval = i; in define_gf_group()
985 rc->baseline_gf_interval = rc->frames_to_key; in define_gf_group()
989 rc->baseline_gf_interval = rc->frames_to_key - MIN_FWD_KF_INTERVAL; in define_gf_group()
992 rc->baseline_gf_interval = i - rc->source_alt_ref_pending; in define_gf_group()
995 rc->baseline_gf_interval = i - rc->source_alt_ref_pending; in define_gf_group()
1008 rc->frames_till_gf_update_due = rc->baseline_gf_interval; in define_gf_group()
1022 if ((cpi->oxcf.rc_mode != AOM_Q) && (rc->baseline_gf_interval > 1)) { in define_gf_group()
[all …]
Dgop_structure.c164 return AOMMIN(max_pyramid_height_from_width(rc->baseline_gf_interval), in get_pyramid_height()
178 gf_group, rc->baseline_gf_interval, get_pyramid_height(cpi), in av1_gop_setup_structure()
190 check_frame_params(gf_group, rc->baseline_gf_interval); in av1_gop_setup_structure()
Dratectrl.c311 rc->baseline_gf_interval = (rc->min_gf_interval + rc->max_gf_interval) / 2; in av1_rc_init()
1483 target = (rc->avg_frame_bandwidth * rc->baseline_gf_interval * af_ratio) / in calc_pframe_target_size_one_pass_vbr()
1484 (rc->baseline_gf_interval + af_ratio - 1); in calc_pframe_target_size_one_pass_vbr()
1486 target = (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()
1559 rc->baseline_gf_interval = (rc->min_gf_interval + rc->max_gf_interval) / 2; in av1_rc_get_one_pass_vbr_params()
1560 rc->frames_till_gf_update_due = rc->baseline_gf_interval; in av1_rc_get_one_pass_vbr_params()
1597 (rc->avg_frame_bandwidth * rc->baseline_gf_interval * af_ratio_pct) / in calc_pframe_target_size_one_pass_cbr()
1598 (rc->baseline_gf_interval * 100 + af_ratio_pct - 100); in calc_pframe_target_size_one_pass_cbr()
1600 target = (rc->avg_frame_bandwidth * rc->baseline_gf_interval * 100) / in calc_pframe_target_size_one_pass_cbr()
[all …]
Dratectrl.h83 int baseline_gf_interval; member
Daq_cyclicrefresh.c279 rc->baseline_gf_interval = 4 * (100 / cr->percent_refresh); in av1_cyclic_refresh_set_golden_update()
281 rc->baseline_gf_interval = 40; in av1_cyclic_refresh_set_golden_update()
Dtpl_model.c539 if (frame_idx == cpi->rc.baseline_gf_interval + 1) break; in init_gop_frames()
Dencoder.c2446 rc->baseline_gf_interval = FIXED_GF_INTERVAL; in av1_change_config()
2448 rc->baseline_gf_interval = (MIN_GF_INTERVAL + MAX_GF_INTERVAL) / 2; in av1_change_config()
/external/libvpx/libvpx/vp8/encoder/
Dfirstpass.c1853 if (Boost > ((cpi->baseline_gf_interval + 1) * 200)) { in define_gf_group()
1854 Boost = ((cpi->baseline_gf_interval + 1) * 200); in define_gf_group()
1906 cpi->baseline_gf_interval = i; in define_gf_group()
1916 half_gf_int = cpi->baseline_gf_interval >> 1; in define_gf_group()
1952 cpi->baseline_gf_interval = i; in define_gf_group()
1956 cpi->baseline_gf_interval = i; in define_gf_group()
1994 (int64_t)max_bits * cpi->baseline_gf_interval) { in define_gf_group()
1995 cpi->twopass.gf_group_bits = (int64_t)max_bits * cpi->baseline_gf_interval; in define_gf_group()
2021 Boost += (cpi->baseline_gf_interval * 50); in define_gf_group()
2024 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()
502 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
504 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
523 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_gf_params()
1012 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in calc_pframe_target_size()
1019 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in calc_pframe_target_size()
Donyx_int.h371 int baseline_gf_interval; member
Donyx_if.c1531 cpi->baseline_gf_interval = in vp8_change_config()
1538 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in vp8_change_config()
1803 cpi->baseline_gf_interval = DEFAULT_GF_INTERVAL; in vp8_create_compressor()
1872 cpi->baseline_gf_interval = cpi->gf_interval_onepass_cbr; in vp8_create_compressor()
2628 cpi->frames_till_gf_update_due = cpi->baseline_gf_interval; in update_golden_frame_stats()