Home
last modified time | relevance | path

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

/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c344 int kf_boost; in calc_iframe_target_size() local
383 kf_boost = MAX(initial_boost, (int)(2 * cpi->output_framerate - 16)); in calc_iframe_target_size()
387 kf_boost = initial_boost; in calc_iframe_target_size()
391 kf_boost = kf_boost * kf_boost_qadjustment[Q] / 100; in calc_iframe_target_size()
395 kf_boost = (int)(kf_boost in calc_iframe_target_size()
399 if (kf_boost < 16) in calc_iframe_target_size()
400 kf_boost = 16; in calc_iframe_target_size()
402 target = ((16 + kf_boost) * cpi->per_frame_bandwidth) >> 4; in calc_iframe_target_size()
Dfirstpass.c3064 int kf_boost = (int)boost_score; in find_next_key_frame() local
3072 while ((kf_boost < 48) && (Counter > 0)) in find_next_key_frame()
3075 kf_boost ++; in find_next_key_frame()
3080 if (kf_boost < 48) in find_next_key_frame()
3082 kf_boost += ((Counter + 1) >> 1); in find_next_key_frame()
3084 if (kf_boost > 48) kf_boost = 48; in find_next_key_frame()
3091 kf_boost += 2 * (lst_yv12->y_width * lst_yv12->y_height) / (320 * 240); in find_next_key_frame()
3093 kf_boost -= 4 * (320 * 240) / (lst_yv12->y_width * lst_yv12->y_height); in find_next_key_frame()
3096 kf_boost = (int)((double)kf_boost * 100.0) >> 4; /* Scale 16 to 100 */ in find_next_key_frame()
3097 if (kf_boost < 250) in find_next_key_frame()
[all …]
Donyx_int.h451 int kf_boost; member
Donyx_if.c2979 cpi->kf_boost = 0; in decide_key_frame()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c428 return get_active_quality(q, rc->kf_boost, kf_low, kf_high, in get_kf_active_quality()
1149 rc->kf_boost = DEFAULT_KF_BOOST; in vp9_rc_get_one_pass_vbr_params()
1210 int kf_boost = 32; in calc_iframe_target_size_one_pass_cbr() local
1218 kf_boost = MAX(kf_boost, (int)(2 * framerate - 16)); in calc_iframe_target_size_one_pass_cbr()
1220 kf_boost = (int)(kf_boost * rc->frames_since_key / in calc_iframe_target_size_one_pass_cbr()
1223 target = ((16 + kf_boost) * rc->avg_frame_bandwidth) >> 4; in calc_iframe_target_size_one_pass_cbr()
1285 rc->kf_boost = DEFAULT_KF_BOOST; in vp9_rc_get_one_pass_cbr_params()
Dvp9_ratectrl.h47 int kf_boost; member
Dvp9_firstpass.c2030 rc->kf_boost = (int)boost_score; in find_next_key_frame()
2032 if (rc->kf_boost < (rc->frames_to_key * 3)) in find_next_key_frame()
2033 rc->kf_boost = (rc->frames_to_key * 3); in find_next_key_frame()
2034 if (rc->kf_boost < MIN_KF_BOOST) in find_next_key_frame()
2035 rc->kf_boost = MIN_KF_BOOST; in find_next_key_frame()
2038 rc->kf_boost, twopass->kf_group_bits); in find_next_key_frame()
Dvp9_encoder.c1675 cpi->tot_recode_hits, recon_err, cpi->rc.kf_boost,