Commit 625dfac7 authored by Yushin Cho's avatar Yushin Cho

Don't disable segment with delta_q=0 for aq_mode=1

Because spatial_segmewntation uses segfeature_active() for all the
segments regardless of its delta_q value.

BUG=aomedia:1196

Change-Id: Ibcb7b6e42f703fa02d7cb95143c56f8078a9d475
parent 3874cb50
......@@ -70,11 +70,6 @@ void av1_vaq_frame_setup(AV1_COMP *cpi) {
qindex_delta = -cm->base_qindex + 1;
}
// No need to enable SEG_LVL_ALT_Q for this segment.
if (rate_ratio[i] == 1.0) {
continue;
}
av1_set_segdata(seg, i, SEG_LVL_ALT_Q, qindex_delta);
av1_enable_segfeature(seg, i, SEG_LVL_ALT_Q);
}
......
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