vp9: make VPX_CODEC_USE_FRAME_THREADING a no-op
this is unmaintained and due to be removed BUG=webm:1395 Change-Id: Iaffa6aa057c820fd1a182b93ebb45d4286e1306e
This commit is contained in:
@@ -47,12 +47,9 @@ static vpx_codec_err_t decoder_init(vpx_codec_ctx_t *ctx,
|
|||||||
ctx->priv->init_flags = ctx->init_flags;
|
ctx->priv->init_flags = ctx->init_flags;
|
||||||
priv->si.sz = sizeof(priv->si);
|
priv->si.sz = sizeof(priv->si);
|
||||||
priv->flushed = 0;
|
priv->flushed = 0;
|
||||||
// Only do frame parallel decode when threads > 1.
|
// TODO(jzern): remnants of frame-level parallel decoding should be
|
||||||
priv->frame_parallel_decode =
|
// removed. cf., https://bugs.chromium.org/p/webm/issues/detail?id=1395
|
||||||
(ctx->config.dec && (ctx->config.dec->threads > 1) &&
|
priv->frame_parallel_decode = 0;
|
||||||
(ctx->init_flags & VPX_CODEC_USE_FRAME_THREADING))
|
|
||||||
? 1
|
|
||||||
: 0;
|
|
||||||
if (ctx->config.dec) {
|
if (ctx->config.dec) {
|
||||||
priv->cfg = *ctx->config.dec;
|
priv->cfg = *ctx->config.dec;
|
||||||
ctx->config.dec = &priv->cfg;
|
ctx->config.dec = &priv->cfg;
|
||||||
|
|||||||
Reference in New Issue
Block a user