mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-21 16:29:56 +02:00
Use (MIN/NUM)_(TRANSFORM/HUFFMAN)_BITS where appropriate
Change-Id: I849ff8864f7abcc723dfe2b7ee0f290c8ee89c3f
This commit is contained in:
@ -46,7 +46,12 @@
|
||||
#define CODE_LENGTH_CODES 19
|
||||
|
||||
#define MIN_HUFFMAN_BITS 2 // min number of Huffman bits
|
||||
#define MAX_HUFFMAN_BITS 9 // max number of Huffman bits
|
||||
#define NUM_HUFFMAN_BITS 3
|
||||
|
||||
// the maximum number of bits defining a transform is
|
||||
// MIN_TRANSFORM_BITS + (1 << NUM_TRANSFORM_BITS) - 1
|
||||
#define MIN_TRANSFORM_BITS 2
|
||||
#define NUM_TRANSFORM_BITS 3
|
||||
|
||||
#define TRANSFORM_PRESENT 1 // The bit to be written when next data
|
||||
// to be read is a transform.
|
||||
|
Reference in New Issue
Block a user