ref: ed19362e7723dd24d1949dff3b8490c9e7da9b3c
parent: c1b4e5290ea1ff393bd48e3e74204f4685149045
parent: 1b9c527c6269bd5ef8eae9dd08183509e69c9cd8
author: Jerome Jiang <jianj@google.com>
date: Wed Apr 10 17:13:46 EDT 2019
Merge "Revert "Disable mismatch check on vp9 svc examples.""
--- a/examples/vp9_spatial_svc_encoder.c
+++ b/examples/vp9_spatial_svc_encoder.c
@@ -1196,8 +1196,7 @@
vpx_codec_control(&encoder, VP9E_GET_SVC_LAYER_ID, &layer_id);
// Don't look for mismatch on top spatial and top temporal layers as they
// are non reference frames.
- // TODO(jianj): Investigate mismatch on 3SL when denoiser is on.
- if (enc_cfg.ss_number_layers == 1 &&
+ if ((enc_cfg.ss_number_layers > 1 || enc_cfg.ts_number_layers > 1) &&
!(layer_id.temporal_layer_id > 0 &&
layer_id.temporal_layer_id == (int)enc_cfg.ts_number_layers - 1 &&
cx_pkt->data.frame