From 15c839f5632f09663ee48c29272c7dd9f56e8651 Mon Sep 17 00:00:00 2001 From: James Zern Date: Wed, 10 Jun 2015 15:56:51 -0700 Subject: decode_tiles_mt: remove incorrect TODO all allocated workers are used, the final one in the main thread. Change-Id: I04647d4fb2e01d6d404790e7899515289047f553 --- vp9/decoder/vp9_decodeframe.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index f534fce13..6954721d2 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -1457,8 +1457,6 @@ static const uint8_t *decode_tiles_mt(VP9Decoder *pbi, if (pbi->num_tile_workers == 0) { const int num_threads = pbi->max_threads & ~1; int i; - // TODO(jzern): Allocate one less worker, as in the current code we only - // use num_threads - 1 workers. CHECK_MEM_ERROR(cm, pbi->tile_workers, vpx_malloc(num_threads * sizeof(*pbi->tile_workers))); // Ensure tile data offsets will be properly aligned. This may fail on -- cgit v1.2.3