ref: fd402e1374531ebdb4ddc59a16dd76c7ee07215e
parent: bb61327b98da33471eb760f9ef3bb6fa4cef7cd6
author: Marco Paniconi <[email protected]>
date: Wed Feb 19 12:13:38 EST 2014
Condition alt-ref entropy context setting on svc. Avoid special context setting for alt-ref in svc mode. Change-Id: I5337d0739abe16aab7854bcaa3c8537191c4b60c
--- a/vp9/encoder/vp9_onyx_if.c
+++ b/vp9/encoder/vp9_onyx_if.c
@@ -2808,7 +2808,7 @@
if (cm->frame_type == KEY_FRAME) {
vp9_setup_key_frame(cpi);
} else {
- if (!cm->intra_only && !cm->error_resilient_mode) {
+ if (!cm->intra_only && !cm->error_resilient_mode && !cpi->use_svc) {
cpi->common.frame_context_idx = cpi->refresh_alt_ref_frame;
}
vp9_setup_inter_frame(cpi);
@@ -2864,7 +2864,7 @@
if (cm->frame_type == KEY_FRAME) {
vp9_setup_key_frame(cpi);
} else {
- if (!cm->intra_only && !cm->error_resilient_mode) {
+ if (!cm->intra_only && !cm->error_resilient_mode && !cpi->use_svc) {
cpi->common.frame_context_idx = cpi->refresh_alt_ref_frame;
}
vp9_setup_inter_frame(cpi);