Defines | |
| #define | wv_MAX_CHANNEL_STORE 4 |
| Indirectly defines the # of channels that can be stored in a file. | |
| #define | wv_MAX_CHANNELS (1 << wv_MAX_CHANNEL_STORE) |
| Maximum amount of channels that can be stored in a compressed file. | |
| #define | wv_ASSERT(c, r) ((void)0) |
| Define to show assertions (useful during development). | |
Typedefs | |
| typedef short int | wv_pel |
| This is the basic (signed) "pixel" type. | |
| typedef int | wv_fixed_point |
| Signed integer type used to represent error improvements. | |
| #define wv_MAX_CHANNEL_STORE 4 |
Indirectly defines the # of channels that can be stored in a file.
This limit is fairly arbitrary, although some arrays depending on this size are created on the stack.
| #define wv_MAX_CHANNELS (1 << wv_MAX_CHANNEL_STORE) |
Maximum amount of channels that can be stored in a compressed file.
| typedef int wv_fixed_point |
Signed integer type used to represent error improvements.
Should be at least 32 bits, and larger than that when compressing more than 8bpp data; for decompression 32 bits should always be enough.
| typedef short int wv_pel |
This is the basic (signed) "pixel" type.
Minimum size for 8 bit input channels is ~12 bits (so usually at least 16 are used).
1.5.2