Searched refs:worst_quality (Results 1 – 13 of 13) sorted by relevance
/external/libaom/libaom/av1/encoder/ |
D | ratectrl.c | 624 curr_frame == 0 ? rc->worst_quality : 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() 654 if (cm->current_frame.frame_type == KEY_FRAME) return rc->worst_quality; 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() 690 active_worst_quality = rc->worst_quality; in calc_active_worst_quality_one_pass_cbr() 767 clamp(active_best_quality, rc->best_quality, rc->worst_quality); in rc_pick_q_and_bounds_one_pass_cbr() 769 clamp(active_worst_quality, active_best_quality, rc->worst_quality); in rc_pick_q_and_bounds_one_pass_cbr() 800 assert(*top_index <= rc->worst_quality && *top_index >= rc->best_quality); in rc_pick_q_and_bounds_one_pass_cbr() 801 assert(*bottom_index <= rc->worst_quality && in rc_pick_q_and_bounds_one_pass_cbr() [all …]
|
D | ratectrl.h | 126 int worst_quality; member
|
D | pass2_strategy.c | 205 return rc->worst_quality; // Highest value allowed in get_twopass_worst_quality() 232 rc->best_quality, rc->worst_quality); in get_twopass_worst_quality() 1730 rc->worst_quality - twopass->active_worst_quality; in av1_twopass_postencode_update()
|
D | encoder.c | 2496 rc->worst_quality = cpi->oxcf.worst_allowed_q; in av1_change_config() 4301 *q_high = rc->worst_quality; in recode_loop_update_q()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_ratectrl.c | 570 cpi->rc.avg_frame_qindex[INTER_FRAME] = cpi->rc.worst_quality; in post_encode_drop_cbr() 590 lrc->avg_frame_qindex[INTER_FRAME] = cpi->rc.worst_quality; in post_encode_drop_cbr() 895 curr_frame == 0 ? rc->worst_quality : rc->last_q[KEY_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() 930 return rc->worst_quality; 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() 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() 980 active_worst_quality = rc->worst_quality; in calc_active_worst_quality_one_pass_cbr() 1055 clamp(active_best_quality, rc->best_quality, rc->worst_quality); in rc_pick_q_and_bounds_one_pass_cbr() [all …]
|
D | vp9_svc_layercontext.c | 120 lrc->worst_quality = oxcf->worst_allowed_q; in vp9_init_layer_context() 231 lrc->worst_quality = rc->worst_quality; in vp9_update_layer_context_change_config() 270 lrc->worst_quality = rc->worst_quality; in vp9_update_layer_context_change_config() 831 lrc->worst_quality = vp9_quantizer_to_qindex(lc->max_q); in vp9_one_pass_cbr_svc_start_layer()
|
D | vp9_ratectrl.h | 148 int worst_quality; member
|
D | vp9_firstpass.c | 1558 return rc->worst_quality; // Highest value allowed in get_twopass_worst_quality() 1585 for (q = rc->best_quality; q < rc->worst_quality; ++q) { in get_twopass_worst_quality() 1605 int qdelta = vp9_frame_type_qdelta(cpi, i, rc->worst_quality); in setup_rf_level_maxq() 1606 rc->rf_level_maxq[i] = VPXMAX(rc->worst_quality + qdelta, rc->best_quality); in setup_rf_level_maxq() 3294 rc->worst_quality - twopass->active_worst_quality; in vp9_twopass_postencode_update()
|
D | vp9_encoder.c | 1952 rc->worst_quality = cpi->oxcf.worst_allowed_q; in vp9_change_config() 3470 *q = cpi->rc.worst_quality; 4226 q_high = clamp(q_high, rc->best_quality, rc->worst_quality); 4837 if (cpi->rc.use_post_encode_drop && cm->base_qindex < cpi->rc.worst_quality &&
|
/external/libvpx/libvpx/vp8/encoder/ |
D | ratectrl.c | 363 if (cpi->pass != 2) cpi->active_worst_quality = cpi->worst_quality; in calc_iframe_target_size() 753 int64_t qadjustment_range = cpi->worst_quality - cpi->ni_av_qi; in calc_pframe_target_size() 765 cpi->worst_quality - in calc_pframe_target_size() 769 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size() 775 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size() 807 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size() 824 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size() 1132 cpi->active_worst_quality = cpi->worst_quality; in vp8_regulate_q() 1133 return cpi->worst_quality; in vp8_regulate_q() 1475 int thresh_qp = 3 * cpi->worst_quality >> 2; in vp8_drop_encodedframe_overshoot() [all …]
|
D | firstpass.c | 942 (cpi->active_worst_quality < cpi->worst_quality)) { in estimate_max_q() 1019 cpi->twopass.maxq_max_limit = ((cpi->ni_av_qi + 32) < cpi->worst_quality) in estimate_max_q() 1021 : cpi->worst_quality; in estimate_max_q() 1103 if (Q >= cpi->worst_quality) Q = cpi->worst_quality - 1; in estimate_cq() 1881 if (tmp_q < cpi->worst_quality) { in define_gf_group() 2388 cpi->twopass.maxq_max_limit = cpi->worst_quality; in vp8_second_pass() 2402 ((tmp_q + 32) < cpi->worst_quality) ? (tmp_q + 32) : cpi->worst_quality; in vp8_second_pass() 3054 while (tmp_q > cpi->worst_quality) { in find_next_key_frame() 3104 if ((last_kf_resampled && (kf_q > cpi->worst_quality)) || in find_next_key_frame() 3105 ((kf_q > cpi->worst_quality) && (over_spend > clip_bits / 20))) { in find_next_key_frame() [all …]
|
D | onyx_int.h | 231 int worst_quality; member 411 int worst_quality; member
|
D | onyx_if.c | 203 lc->worst_quality = cpi->worst_quality; in save_layer_context() 1601 cpi->worst_quality = cpi->oxcf.worst_allowed_q; in vp8_change_config() 3718 if (cpi->active_worst_quality > cpi->worst_quality) { in encode_frame_to_data_rate() 3719 cpi->active_worst_quality = cpi->worst_quality; in encode_frame_to_data_rate() 4011 (cpi->active_worst_quality < cpi->worst_quality) && in encode_frame_to_data_rate() 4018 while ((cpi->active_worst_quality < cpi->worst_quality) && in encode_frame_to_data_rate() 4474 ((cpi->ni_tot_qi / cpi->ni_frames) + cpi->worst_quality + 1) / 2; in encode_frame_to_data_rate()
|