mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
Change in lossless bit-stream.
Change the lossless signature to 0x2f Add 1 bit indicator for 'droppable (or trivial) alpha)'. Add 3 bit lossless version (for future extension like yuv support). Change the sub-resolution information to 3 bits implying range [2 .. 9] Change-Id: Ic7b8c069240bbcd326cf5d5d4cd2dde8667851e2
This commit is contained in:
@ -20,10 +20,11 @@
|
||||
|
||||
// VP8L related constants.
|
||||
#define VP8L_SIGNATURE_SIZE 1 // VP8L signature size.
|
||||
#define VP8L_MAGIC_BYTE 0x64 // VP8L signature byte.
|
||||
#define VP8L_MAGIC_BYTE_RSVD 0x65 // VP8L reserved signature byte.
|
||||
#define VP8L_MAGIC_BYTE 0x2f // VP8L signature byte.
|
||||
#define VP8L_IMAGE_SIZE_BITS 14 // Number of bits used to store
|
||||
// width and height.
|
||||
#define VP8L_VERSION_BITS 3 // 3 bits reserved for version.
|
||||
#define VP8L_VERSION 0 // version 0
|
||||
|
||||
#define MAX_PALETTE_SIZE 256
|
||||
#define MAX_CACHE_BITS 11
|
||||
|
Reference in New Issue
Block a user