ref: 15c839f5632f09663ee48c29272c7dd9f56e8651
parent: b10541411852e62c14f4c4bc140ac08c95f3f135
author: James Zern <[email protected]>
date: Wed Jun 10 11:56:51 EDT 2015
decode_tiles_mt: remove incorrect TODO all allocated workers are used, the final one in the main thread. Change-Id: I04647d4fb2e01d6d404790e7899515289047f553
--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -1457,8 +1457,6 @@
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