ref: 01d23109ab037b4a8a05d9062950dd043fca4fb8
parent: fc83fcb7c405ec9369c9f6ea2c83339d74fa034e
author: James Zern <jzern@google.com>
date: Wed Mar 29 19:30:11 EDT 2017
vp9: make VPX_CODEC_USE_FRAME_THREADING a no-op this is unmaintained and due to be removed BUG=webm:1395 Change-Id: Iaffa6aa057c820fd1a182b93ebb45d4286e1306e
--- a/vp9/vp9_dx_iface.c
+++ b/vp9/vp9_dx_iface.c
@@ -47,12 +47,9 @@
ctx->priv->init_flags = ctx->init_flags;
priv->si.sz = sizeof(priv->si);
priv->flushed = 0;
- // Only do frame parallel decode when threads > 1.
- priv->frame_parallel_decode =
- (ctx->config.dec && (ctx->config.dec->threads > 1) &&
- (ctx->init_flags & VPX_CODEC_USE_FRAME_THREADING))
- ? 1
- : 0;
+ // TODO(jzern): remnants of frame-level parallel decoding should be
+ // removed. cf., https://bugs.chromium.org/p/webm/issues/detail?id=1395
+ priv->frame_parallel_decode = 0;
if (ctx->config.dec) {
priv->cfg = *ctx->config.dec;
ctx->config.dec = &priv->cfg;