mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-16 13:59:51 +02:00
Modify CostModel to allocate optimal memory.
Change-Id: I7d52675d28bfc109d4e901581fc24cd36fcb79ee
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user