Prevent CR in screen mode from refreshing flat inter blocks forever.
Take the minimum last_codec_q_map on inter skip. Change-Id: Ibb308526dd19793bb359f51ebd7b48d8692903fd
This commit is contained in:
@@ -235,6 +235,12 @@ void vp9_cyclic_refresh_update_segment(VP9_COMP *const cpi,
|
|||||||
if (!is_inter_block(mbmi) || !skip)
|
if (!is_inter_block(mbmi) || !skip)
|
||||||
cr->last_coded_q_map[map_offset] = clamp(
|
cr->last_coded_q_map[map_offset] = clamp(
|
||||||
cm->base_qindex + cr->qindex_delta[mbmi->segment_id], 0, MAXQ);
|
cm->base_qindex + cr->qindex_delta[mbmi->segment_id], 0, MAXQ);
|
||||||
|
else if (is_inter_block(mbmi) && skip) {
|
||||||
|
cr->last_coded_q_map[map_offset] = VPXMIN(
|
||||||
|
clamp(cm->base_qindex + cr->qindex_delta[mbmi->segment_id],
|
||||||
|
0, MAXQ),
|
||||||
|
cr->last_coded_q_map[map_offset]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user