Displaying 1 result from an estimated 1 matches for "codeword0".
Did you mean:
codeword
2007 Dec 11
1
Query in codebook decoding
...'last bit'. The Huffman tree is traversed from 'first bit' to last
bit'. This is a conceptual layer above the bitpacker; all you need to
know is what order the bits come out, which happens to be LSb-first.
For ex. say we have the following codewords in the codebook
entry 0: codeword0 - 00
entry 2: codeword1 - 0111
entry 6: codeword2 - 111
entry 7: codeword3 - 10
Now in the bitstream if there is [codeword0] followed by [codeword3]
followed by [codeword1], then will bitstream be
msb lsb
.... 0111 10 00 or will it be
msb lsb
.... 1110 01 00...