Commit f16b1ad7 authored by Yushin Cho's avatar Yushin Cho

Fix for aq-mode=3 related bugs

The initialization function for aq-mode 3 has not been called
for VBR path.

BUG=aomedia:1262

Change-Id: Ib069a46e36e7909d8374772761613552ebd5e4e5
parent 2bc17aea
......@@ -1367,6 +1367,10 @@ void av1_rc_get_one_pass_vbr_params(AV1_COMP *cpi) {
rc->source_alt_ref_pending = USE_ALTREF_FOR_ONE_PASS;
rc->gfu_boost = DEFAULT_GF_BOOST;
}
if (cpi->oxcf.aq_mode == CYCLIC_REFRESH_AQ)
av1_cyclic_refresh_update_parameters(cpi);
if (cm->frame_type == KEY_FRAME)
target = calc_iframe_target_size_one_pass_vbr(cpi);
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment