|
API Documentation
|
|
|
HuffmanLut(const HuffmanTreeDescriptor &descriptor) noexcept
unsigned int getLutSize() const
unsigned int getMaxSymbolSize() const
BufferView< HuffmanSymbol > getLut() const
BufferCast< unsigned short > _table
The table of symbols to encode into the LUT.
Definition: HuffmanLut.h:13
A view over data.
Definition: BufferView.h:18
unsigned char _perBitsCounts[16]
The number of symbols assigned to each bit count code in the dictionary.
Definition: HuffmanLut.h:14
HuffmanSymbol get(unsigned int input) const
unsigned short _value
Its symbol value, attached to the code used for looking up.
Definition: HuffmanLut.h:23
Descriptor for a Huffman LUT creation.
Definition: HuffmanLut.h:12
HuffmanLut(nkMemory::BufferView< unsigned short > canonicalDescription) noexcept
unsigned short _size
Its code size, in bits.
Definition: HuffmanLut.h:22
Holds a symbol's information within the Huffman LUT.
Definition: HuffmanLut.h:21
Allows to create a Look-Up-Table (LUT) of a Huffman tree.
Definition: HuffmanLut.h:60
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7