Home
last modified time | relevance | path

Searched refs:active_worst_quality (Results 1 – 13 of 13) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dratectrl.c553 int active_best_quality, int active_worst_quality, in av1_rc_regulate_q() argument
563 active_best_quality, active_worst_quality); in av1_rc_regulate_q()
620 int active_worst_quality; in calc_active_worst_quality_one_pass_vbr() local
623 active_worst_quality = in calc_active_worst_quality_one_pass_vbr()
629 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
632 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 2 in calc_active_worst_quality_one_pass_vbr()
636 return AOMMIN(active_worst_quality, rc->worst_quality); in calc_active_worst_quality_one_pass_vbr()
652 int active_worst_quality; in calc_active_worst_quality_one_pass_cbr() local
664 active_worst_quality = AOMMIN(rc->worst_quality, ambient_qp * 5 / 4); in calc_active_worst_quality_one_pass_cbr()
668 int max_adjustment_down = active_worst_quality / 3; in calc_active_worst_quality_one_pass_cbr()
[all …]
Dfirstpass.h161 int active_worst_quality; member
Dratectrl.h224 int active_best_quality, int active_worst_quality,
Dpass2_strategy.c1045 twopass->active_worst_quality = in define_gf_group()
1046 AOMMAX(tmp_q, twopass->active_worst_quality >> 1); in define_gf_group()
1538 twopass->active_worst_quality = cpi->oxcf.cq_level; in av1_get_second_pass_params()
1555 twopass->active_worst_quality = tmp_q; in av1_get_second_pass_params()
1730 rc->worst_quality - twopass->active_worst_quality; in av1_twopass_postencode_update()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_ratectrl.c802 int active_best_quality, int active_worst_quality) { in vp9_rc_regulate_q() argument
805 int q = active_worst_quality; in vp9_rc_regulate_q()
839 } while (++i <= active_worst_quality); in vp9_rc_regulate_q()
891 int active_worst_quality; in calc_active_worst_quality_one_pass_vbr() local
894 active_worst_quality = in calc_active_worst_quality_one_pass_vbr()
899 active_worst_quality = in calc_active_worst_quality_one_pass_vbr()
904 active_worst_quality = curr_frame == 1 in calc_active_worst_quality_one_pass_vbr()
910 return VPXMIN(active_worst_quality, rc->worst_quality); in calc_active_worst_quality_one_pass_vbr()
926 int active_worst_quality; in calc_active_worst_quality_one_pass_cbr() local
940 active_worst_quality = VPXMIN(rc->worst_quality, (ambient_qp * 5) >> 2); in calc_active_worst_quality_one_pass_cbr()
[all …]
Dvp9_firstpass.h186 int active_worst_quality; member
Dvp9_ratectrl.h280 int active_best_quality, int active_worst_quality);
Dvp9_firstpass.c2491 int int_max_q = (int)(vp9_convert_qindex_to_q(twopass->active_worst_quality, in define_gf_group()
2673 twopass->active_worst_quality = in define_gf_group()
2674 (tmp_q + (twopass->active_worst_quality * 3)) >> 2; in define_gf_group()
3160 twopass->active_worst_quality = cpi->oxcf.cq_level; in vp9_rc_get_second_pass_params()
3183 twopass->active_worst_quality = tmp_q; in vp9_rc_get_second_pass_params()
3294 rc->worst_quality - twopass->active_worst_quality; in vp9_twopass_postencode_update()
Dvp9_encoder.c3391 vp9_convert_qindex_to_q(cpi->twopass.active_worst_quality,
4315 cpi->twopass.active_worst_quality =
4323 if (!rc->is_src_frame_alt_ref && (q > cpi->twopass.active_worst_quality)) {
4324 cpi->twopass.active_worst_quality = q;
4327 cpi->twopass.active_worst_quality =
4328 VPXMAX(q, cpi->twopass.active_worst_quality - 1);
4622 const int q = (int)(vp9_convert_qindex_to_q(twopass->active_worst_quality,
/external/libvpx/libvpx/vp8/encoder/
Dratectrl.c363 if (cpi->pass != 2) cpi->active_worst_quality = cpi->worst_quality; in calc_iframe_target_size()
764 cpi->active_worst_quality = in calc_pframe_target_size()
769 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size()
772 cpi->active_worst_quality = cpi->ni_av_qi; in calc_pframe_target_size()
775 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size()
805 cpi->active_worst_quality = cpi->ni_av_qi; in calc_pframe_target_size()
807 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size()
815 if (cpi->active_worst_quality <= cpi->active_best_quality) { in calc_pframe_target_size()
816 cpi->active_worst_quality = cpi->active_best_quality + 1; in calc_pframe_target_size()
819 if (cpi->active_worst_quality > 127) cpi->active_worst_quality = 127; in calc_pframe_target_size()
[all …]
Donyx_if.c204 lc->active_worst_quality = cpi->active_worst_quality; in save_layer_context()
242 cpi->active_worst_quality = lc->active_worst_quality; in restore_layer_context()
308 lc->active_worst_quality = cpi->oxcf.worst_allowed_q; in init_temporal_layer_context()
1345 cpi->active_worst_quality = cpi->oxcf.worst_allowed_q; in init_config()
1605 if (cpi->active_worst_quality > cpi->oxcf.worst_allowed_q) { in vp8_change_config()
1606 cpi->active_worst_quality = cpi->oxcf.worst_allowed_q; in vp8_change_config()
1609 else if (cpi->active_worst_quality < cpi->oxcf.best_allowed_q) { in vp8_change_config()
1610 cpi->active_worst_quality = cpi->oxcf.best_allowed_q; in vp8_change_config()
3567 int Adjustment = cpi->active_worst_quality / 4; in encode_frame_to_data_rate()
3586 cpi->active_worst_quality -= Adjustment; in encode_frame_to_data_rate()
[all …]
Donyx_int.h232 int active_worst_quality; member
412 int active_worst_quality; member
Dfirstpass.c942 (cpi->active_worst_quality < cpi->worst_quality)) { in estimate_max_q()
2406 cpi->active_worst_quality = tmp_q; in vp8_second_pass()
2426 if (tmp_q > cpi->active_worst_quality) { in vp8_second_pass()
2427 cpi->active_worst_quality++; in vp8_second_pass()
2428 } else if (tmp_q < cpi->active_worst_quality) { in vp8_second_pass()
2429 cpi->active_worst_quality--; in vp8_second_pass()
2432 cpi->active_worst_quality = in vp8_second_pass()
2433 ((cpi->active_worst_quality * 3) + tmp_q + 2) / 4; in vp8_second_pass()