mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-15 21:39:59 +02:00
Move some more defines to format_constants.h
Also remove some duplicate const/defines. Change-Id: I0ec48866b874f546022d72e938fb65669b0b3211
This commit is contained in:
@ -22,12 +22,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// Backward reference distance prefix codes
|
||||
#define DISTANCE_CODES_MAX 40
|
||||
|
||||
// Compression constants
|
||||
#define CODE_LENGTH_CODES 19
|
||||
static const int kLengthCodes = 24;
|
||||
// The spec allows 11, we use 9 bits to reduce memory consumption in encoding.
|
||||
// Having 9 instead of 11 removes about 0.25 % of compression density.
|
||||
static const int kColorCacheBitsMax = 9;
|
||||
|
Reference in New Issue
Block a user