cmpto_j2k dec: increased tile limit to 2

This increases throughput by some 33 % at the expense of one frame
increased latency. Using more than that improves the throughput only
slightly so it is perhaps not worth adding latency (as a default value).
This commit is contained in:
Martin Pulec
2023-04-06 11:48:10 +02:00
parent 8a34c2a27f
commit 9338b588aa

View File

@@ -74,7 +74,7 @@
#include <queue>
#include <utility>
constexpr const int DEFAULT_TILE_LIMIT = 1;
constexpr const int DEFAULT_TILE_LIMIT = 2;
/// maximal size of queue for decompressed frames
constexpr const int DEFAULT_MAX_QUEUE_SIZE = 2;
/// maximal number of concurrently decompressed frames