Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ratectrl.c365 int active_best_quality, int active_worst_quality) { in vp9_rc_regulate_q() argument
367 int q = active_worst_quality; in vp9_rc_regulate_q()
396 } while (++i <= active_worst_quality); in vp9_rc_regulate_q()
419 int active_worst_quality; in calc_active_worst_quality_one_pass_vbr() local
422 active_worst_quality = curr_frame == 0 ? rc->worst_quality in calc_active_worst_quality_one_pass_vbr()
427 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 5 / 4 in calc_active_worst_quality_one_pass_vbr()
430 active_worst_quality = curr_frame == 1 ? rc->last_q[KEY_FRAME] * 2 in calc_active_worst_quality_one_pass_vbr()
435 return MIN(active_worst_quality, rc->worst_quality); in calc_active_worst_quality_one_pass_vbr()
451 int active_worst_quality; in calc_active_worst_quality_one_pass_cbr() local
455 active_worst_quality = MIN(rc->worst_quality, in calc_active_worst_quality_one_pass_cbr()
[all …]
Dvp9_firstpass.h82 int active_worst_quality; member
Dvp9_ratectrl.h151 int active_best_quality, int active_worst_quality);
Dvp9_firstpass.c2243 twopass->active_worst_quality = cpi->oxcf.cq_level; in vp9_rc_get_second_pass_params()
2251 twopass->active_worst_quality = tmp_q; in vp9_rc_get_second_pass_params()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dratectrl.c421 cpi->active_worst_quality = cpi->worst_quality; in calc_iframe_target_size()
832 cpi->active_worst_quality = in calc_pframe_target_size()
839 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size()
844 cpi->active_worst_quality = cpi->ni_av_qi; in calc_pframe_target_size()
849 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size()
885 cpi->active_worst_quality = cpi->ni_av_qi; in calc_pframe_target_size()
889 cpi->active_worst_quality = cpi->worst_quality; in calc_pframe_target_size()
897 if (cpi->active_worst_quality <= cpi->active_best_quality) in calc_pframe_target_size()
898 cpi->active_worst_quality = cpi->active_best_quality + 1; in calc_pframe_target_size()
900 if(cpi->active_worst_quality > 127) in calc_pframe_target_size()
[all …]
Donyx_if.c232 lc->active_worst_quality = cpi->active_worst_quality; in save_layer_context()
271 cpi->active_worst_quality = lc->active_worst_quality; in restore_layer_context()
340 lc->active_worst_quality = cpi->oxcf.worst_allowed_q; in init_temporal_layer_context()
1352 cpi->active_worst_quality = cpi->oxcf.worst_allowed_q; in init_config()
1643 if (cpi->active_worst_quality > cpi->oxcf.worst_allowed_q) in vp8_change_config()
1645 cpi->active_worst_quality = cpi->oxcf.worst_allowed_q; in vp8_change_config()
1648 else if (cpi->active_worst_quality < cpi->oxcf.best_allowed_q) in vp8_change_config()
1650 cpi->active_worst_quality = cpi->oxcf.best_allowed_q; in vp8_change_config()
3627 int Adjustment = cpi->active_worst_quality / 4; in encode_frame_to_data_rate()
3649 cpi->active_worst_quality -= Adjustment; in encode_frame_to_data_rate()
[all …]
Donyx_int.h259 int active_worst_quality; member
439 int active_worst_quality; member
Dfirstpass.c1005 (cpi->active_worst_quality < cpi->worst_quality)) in estimate_max_q()
2588 cpi->active_worst_quality = tmp_q; in vp8_second_pass()
2612 if (tmp_q > cpi->active_worst_quality) in vp8_second_pass()
2613 cpi->active_worst_quality ++; in vp8_second_pass()
2614 else if (tmp_q < cpi->active_worst_quality) in vp8_second_pass()
2615 cpi->active_worst_quality --; in vp8_second_pass()
2617 cpi->active_worst_quality = in vp8_second_pass()
2618 ((cpi->active_worst_quality * 3) + tmp_q + 2) / 4; in vp8_second_pass()