ref: 3db785facc52dcd14f41c7a46a17bbfbcd161716
parent: 0d367474d0d57f18c9bb5152a85bae0a3dda7c17
parent: 6db81fd629119b1afb72345b028f6c5616ca1c5a
author: James Zern <[email protected]>
date: Fri Dec 5 14:00:48 EST 2014
Merge "vp9: fix frame-parallel encoding"
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3179,6 +3179,7 @@
cpi->rc.source_alt_ref_active = 0;
cm->error_resilient_mode = oxcf->error_resilient_mode;
+ cm->frame_parallel_decoding_mode = oxcf->frame_parallel_decoding_mode;
// By default, encoder assumes decoder can use prev_mi.
if (cm->error_resilient_mode) {
@@ -3186,7 +3187,6 @@
cm->reset_frame_context = 0;
cm->refresh_frame_context = 0;
} else if (cm->intra_only) {
- cm->frame_parallel_decoding_mode = oxcf->frame_parallel_decoding_mode;
// Only reset the current context.
cm->reset_frame_context = 2;
}