Go to the documentation of this file.
28 #if defined(T42_USE_LUTS)
29 static const float sRGB_to_linear[256] =
289 static const uint8_t linear_to_sRGB[4096] =
void bitstream_flush(bitstream_state_t *s, uint8_t **c)
Flush any residual bits to the output buffer.
Definition: bitstream.c:90
uint32_t bitstream_get(bitstream_state_t *s, const uint8_t **c, int bits)
Get a chunk of bits from the input buffer.
Definition: bitstream.c:102
Definition: private/bitstream.h:30
bitstream_state_t * bitstream_init(bitstream_state_t *s, int lsb_first)
Initialise a bitstream context.
Definition: bitstream.c:131
void bitstream_put(bitstream_state_t *s, uint8_t **c, uint32_t value, int bits)
Put a chunk of bits into the output buffer.
Definition: bitstream.c:42