shithub: libvpx

Download patch

ref: 1b9c527c6269bd5ef8eae9dd08183509e69c9cd8
parent: 1032aa98de901ed3b7a501d57f510e33b1d314c6
author: Jerome Jiang <[email protected]>
date: Wed Apr 10 06:29:23 EDT 2019

Revert "Disable mismatch check on vp9 svc examples."

This reverts commit a1857812ea6a727d9bda91b852f7b8a9f506ac3f.

Change-Id: Ib33f49af7631c9a6917539a58c447624df325f7f

--- 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