Home
last modified time | relevance | path

Searched refs:ambient_qp (Results 1 – 2 of 2) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dratectrl.c653 int ambient_qp; in calc_active_worst_quality_one_pass_cbr() local
660 ambient_qp = (cm->current_frame.frame_number < 5) in calc_active_worst_quality_one_pass_cbr()
664 active_worst_quality = AOMMIN(rc->worst_quality, ambient_qp * 5 / 4); in calc_active_worst_quality_one_pass_cbr()
682 adjustment = (int)((rc->worst_quality - ambient_qp) * in calc_active_worst_quality_one_pass_cbr()
686 active_worst_quality = ambient_qp + adjustment; in calc_active_worst_quality_one_pass_cbr()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c927 int ambient_qp; in calc_active_worst_quality_one_pass_cbr() local
936 ambient_qp = (cm->current_video_frame < num_frames_weight_key) in calc_active_worst_quality_one_pass_cbr()
940 active_worst_quality = VPXMIN(rc->worst_quality, (ambient_qp * 5) >> 2); in calc_active_worst_quality_one_pass_cbr()
949 ambient_qp = VPXMIN(ambient_qp, lrc->last_q[KEY_FRAME]); in calc_active_worst_quality_one_pass_cbr()
950 active_worst_quality = VPXMIN(rc->worst_quality, (ambient_qp * 9) >> 3); in calc_active_worst_quality_one_pass_cbr()
972 adjustment = (int)((rc->worst_quality - ambient_qp) * in calc_active_worst_quality_one_pass_cbr()
976 active_worst_quality = ambient_qp + adjustment; in calc_active_worst_quality_one_pass_cbr()