Home
last modified time | relevance | path

Searched refs:kf_boost (Results 1 – 11 of 11) sorted by relevance

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c296 int kf_boost; in calc_iframe_target_size() local
330 kf_boost = VPXMAX(initial_boost, (int)(2 * cpi->output_framerate - 16)); in calc_iframe_target_size()
333 kf_boost = initial_boost; in calc_iframe_target_size()
337 kf_boost = kf_boost * kf_boost_qadjustment[Q] / 100; in calc_iframe_target_size()
341 kf_boost = in calc_iframe_target_size()
342 (int)(kf_boost * cpi->frames_since_key / (cpi->output_framerate / 2)); in calc_iframe_target_size()
346 if (kf_boost < 16) kf_boost = 16; in calc_iframe_target_size()
348 target = ((16 + kf_boost) * cpi->per_frame_bandwidth) >> 4; in calc_iframe_target_size()
Dfirstpass.c2855 int kf_boost = (int)boost_score; in find_next_key_frame() local
2863 while ((kf_boost < 48) && (Counter > 0)) in find_next_key_frame()
2866 kf_boost ++; in find_next_key_frame()
2871 if (kf_boost < 48) { in find_next_key_frame()
2872 kf_boost += ((Counter + 1) >> 1); in find_next_key_frame()
2874 if (kf_boost > 48) kf_boost = 48; in find_next_key_frame()
2881 kf_boost += 2 * (lst_yv12->y_width * lst_yv12->y_height) / (320 * 240); in find_next_key_frame()
2883 kf_boost -= 4 * (320 * 240) / (lst_yv12->y_width * lst_yv12->y_height); in find_next_key_frame()
2887 kf_boost = (int)((double)kf_boost * 100.0) >> 4; /* Scale 16 to 100 */ in find_next_key_frame()
2888 if (kf_boost < 250) kf_boost = 250; in find_next_key_frame()
[all …]
Donyx_int.h432 int kf_boost; member
Donyx_if.c2708 cpi->kf_boost = 0; in decide_key_frame()
/external/libaom/libaom/av1/encoder/
Dpass2_strategy.c1424 rc->kf_boost = (int)(av_decay_accumulator * boost_score); in find_next_key_frame()
1430 rc->kf_boost = AOMMAX(rc->kf_boost, MIN_STATIC_KF_BOOST); in find_next_key_frame()
1433 rc->kf_boost = AOMMAX(rc->kf_boost, (rc->frames_to_key * 3)); in find_next_key_frame()
1434 rc->kf_boost = AOMMAX(rc->kf_boost, MIN_KF_BOOST); in find_next_key_frame()
1438 kf_bits = calculate_boost_bits((rc->frames_to_key - 1), rc->kf_boost, in find_next_key_frame()
1598 rc->frames_till_gf_update_due, rc->kf_boost, arf_count, in av1_get_second_pass_params()
Dratectrl.c597 return get_active_quality(q, rc->kf_boost, kf_low, kf_high, in get_kf_active_quality()
1522 rc->kf_boost = DEFAULT_KF_BOOST; in av1_rc_get_one_pass_vbr_params()
1633 int kf_boost = 32; in calc_iframe_target_size_one_pass_cbr() local
1636 kf_boost = AOMMAX(kf_boost, (int)(2 * framerate - 16)); in calc_iframe_target_size_one_pass_cbr()
1638 kf_boost = (int)(kf_boost * rc->frames_since_key / (framerate / 2)); in calc_iframe_target_size_one_pass_cbr()
1640 target = ((16 + kf_boost) * rc->avg_frame_bandwidth) >> 4; in calc_iframe_target_size_one_pass_cbr()
1660 rc->kf_boost = DEFAULT_KF_BOOST; in av1_rc_get_one_pass_cbr_params()
Dratectrl.h74 int kf_boost; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.h98 int kf_boost; member
Dvp9_ratectrl.c868 return get_active_quality(q, rc->kf_boost, kf_low, kf_high, in get_kf_active_quality()
1979 rc->kf_boost = DEFAULT_KF_BOOST; in vp9_rc_get_one_pass_vbr_params()
2091 int kf_boost = 32; in calc_iframe_target_size_one_pass_cbr() local
2101 kf_boost = VPXMAX(kf_boost, (int)(2 * framerate - 16)); in calc_iframe_target_size_one_pass_cbr()
2103 kf_boost = (int)(kf_boost * rc->frames_since_key / (framerate / 2)); in calc_iframe_target_size_one_pass_cbr()
2105 target = ((16 + kf_boost) * rc->avg_frame_bandwidth) >> 4; in calc_iframe_target_size_one_pass_cbr()
2270 rc->kf_boost = DEFAULT_KF_BOOST; in vp9_rc_get_one_pass_cbr_params()
Dvp9_firstpass.c3073 rc->kf_boost = MAX_KF_TOT_BOOST; in find_next_key_frame()
3076 rc->kf_boost = VPXMAX((int)boost_score, (rc->frames_to_key * 3)); in find_next_key_frame()
3077 rc->kf_boost = VPXMAX(rc->kf_boost, MIN_KF_TOT_BOOST); in find_next_key_frame()
3078 rc->kf_boost = VPXMIN(rc->kf_boost, MAX_KF_TOT_BOOST); in find_next_key_frame()
3082 kf_bits = calculate_boost_bits((rc->frames_to_key - 1), rc->kf_boost, in find_next_key_frame()
3225 rc->kf_boost, arf_count, rc->gfu_boost, cm->frame_type); in vp9_rc_get_second_pass_params()
Dvp9_encoder.c3401 cpi->tot_recode_hits, recon_err, cpi->rc.kf_boost,