Modify CostModel to allocate optimal memory.

Change-Id: I7d52675d28bfc109d4e901581fc24cd36fcb79ee
This commit is contained in:
Vikas Arora
2014-10-22 11:14:37 -07:00
parent b7a33d7e91
commit c2b5a0396a
2 changed files with 8 additions and 6 deletions

View File

@ -26,10 +26,6 @@ extern "C" {
// Having 9 instead of 11 only removes about 0.25 % of compression density.
#define MAX_COLOR_CACHE_BITS 9
// Max ever number of codes we'll use:
#define PIX_OR_COPY_CODES_MAX \
(NUM_LITERAL_CODES + NUM_LENGTH_CODES + (1 << MAX_COLOR_CACHE_BITS))
// -----------------------------------------------------------------------------
// PixOrCopy