summaryrefslogtreecommitdiff
path: root/examples/vpx_temporal_svc_encoder.c
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2019-11-06 15:36:15 -0800
committerJerome Jiang <jianj@google.com>2019-11-06 15:36:15 -0800
commitc7aa088ca4c4e8dbb9dd793b131bfed8be0b7450 (patch)
treeb9bcd8c5969659251dd4ccda127a6393d15dd664 /examples/vpx_temporal_svc_encoder.c
parent17f2474ea4da381d78fa52a1b3ffd664aecf9094 (diff)
downloadlibvpx-c7aa088ca4c4e8dbb9dd793b131bfed8be0b7450.tar
libvpx-c7aa088ca4c4e8dbb9dd793b131bfed8be0b7450.tar.gz
libvpx-c7aa088ca4c4e8dbb9dd793b131bfed8be0b7450.tar.bz2
libvpx-c7aa088ca4c4e8dbb9dd793b131bfed8be0b7450.zip
example: Enable row-mt on low res and speed 7 8.
Verified row-mt works for low res and speed 7 8. Change-Id: I1e7f260fe5cda40a2da80ca47692a5864712ec30
Diffstat (limited to 'examples/vpx_temporal_svc_encoder.c')
-rw-r--r--examples/vpx_temporal_svc_encoder.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/vpx_temporal_svc_encoder.c b/examples/vpx_temporal_svc_encoder.c
index 6afbee83d..925043d10 100644
--- a/examples/vpx_temporal_svc_encoder.c
+++ b/examples/vpx_temporal_svc_encoder.c
@@ -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);