example: Enable row-mt on low res and speed 7 8.
authorJerome Jiang <jianj@google.com>
Wed, 6 Nov 2019 23:36:15 +0000 (15:36 -0800)
committerJerome Jiang <jianj@google.com>
Wed, 6 Nov 2019 23:36:15 +0000 (15:36 -0800)
Verified row-mt works for low res and speed 7 8.

Change-Id: I1e7f260fe5cda40a2da80ca47692a5864712ec30

examples/vpx_temporal_svc_encoder.c

index 6afbee8..925043d 100644 (file)
@@ -846,9 +846,7 @@ int main(int argc, char **argv) {
       die_codec(&codec, "Failed to set ROI map");
     vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 0);
 #endif
-    // TODO(marpan/jianj): There is an issue with row-mt for low resolutons at
-    // high speed settings, disable its use for those cases for now.
-    if (cfg.g_threads > 1 && ((cfg.g_w > 320 && cfg.g_h > 240) || speed < 7))
+    if (cfg.g_threads > 1)
       vpx_codec_control(&codec, VP9E_SET_ROW_MT, 1);
     else
       vpx_codec_control(&codec, VP9E_SET_ROW_MT, 0);