Commit 4774d389 authored by Marco's avatar Marco Committed by Gerrit Code Review
Browse files

Merge "aq-mode=3: Reduce boost for segment#2 at low bitrates/low res."

parents 46df7139 517a6620
...@@ -129,7 +129,8 @@ static int candidate_refresh_aq(const CYCLIC_REFRESH *cr, ...@@ -129,7 +129,8 @@ static int candidate_refresh_aq(const CYCLIC_REFRESH *cr,
else if (bsize >= BLOCK_16X16 && else if (bsize >= BLOCK_16X16 &&
rate < cr->thresh_rate_sb && rate < cr->thresh_rate_sb &&
is_inter_block(mbmi) && is_inter_block(mbmi) &&
mbmi->mv[0].as_int == 0) mbmi->mv[0].as_int == 0 &&
cr->rate_boost_fac > 1.0)
// More aggressive delta-q for bigger blocks with zero motion. // More aggressive delta-q for bigger blocks with zero motion.
return CR_SEGMENT_ID_BOOST2; return CR_SEGMENT_ID_BOOST2;
else else
...@@ -464,7 +465,7 @@ void vp9_cyclic_refresh_update_parameters(VP9_COMP *const cpi) { ...@@ -464,7 +465,7 @@ void vp9_cyclic_refresh_update_parameters(VP9_COMP *const cpi) {
cm->height <= 288 && cm->height <= 288 &&
rc->avg_frame_bandwidth < 3400) { rc->avg_frame_bandwidth < 3400) {
cr->motion_thresh = 4; cr->motion_thresh = 4;
cr->rate_boost_fac = 1.25; cr->rate_boost_fac = 1.0;
} else { } else {
cr->motion_thresh = 32; cr->motion_thresh = 32;
cr->rate_boost_fac = 1.7; cr->rate_boost_fac = 1.7;
......
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