ref: 9843e7c6355cecc84229bc812c10bb88bb7b74ca
parent: 976f7f42c1ad1ff3cc0792572f9c4f41f05bb375
author: Minghai Shang <[email protected]>
date: Wed May 20 10:31:49 EDT 2015
[svc] Disable tiles for spatial svc case Change-Id: I8655a6760ab61947c09f337ddd9f4c1baf803a56
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -697,7 +697,9 @@
int min_log2_tile_cols, max_log2_tile_cols;
vp9_get_tile_n_bits(cm->mi_cols, &min_log2_tile_cols, &max_log2_tile_cols);
- if (is_two_pass_svc(cpi) && cpi->svc.encode_empty_frame_state == ENCODING) {
+ if (is_two_pass_svc(cpi) &&
+ (cpi->svc.encode_empty_frame_state == ENCODING ||
+ cpi->svc.number_spatial_layers > 1)) {
cm->log2_tile_cols = 0;
cm->log2_tile_rows = 0;
} else {