VLC tables to decode VLC codewords to these fields: (in order)
.
More...
VLC tables to decode VLC codewords to these fields: (in order)
.
cwd_len : 3bits -> the codeword length of the VLC codeword;
the VLC cwd is in the LSB of bitstream
u_off : 1bit -> u_offset, which is 1 if u value is not 0
rho : 4bits -> signficant samples within a quad
e_1 : 4bits -> EMB e_1
e_k : 4bits -> EMB e_k
The table index is 10 bits and composed of two parts:
The 7 LSBs contain a codeword which might be shorter than 7 bits;
this word is the next decoable bits in the bitstream.
The 3 MSB is the context of for the codeword.
◆ vlc_init_tables()
| static bool ojph::local::vlc_init_tables |
( |
| ) |
|
|
static |
◆ vlc_tables_initialized
Initializes VLC tables vlc_tbl0 and vlc_tbl1.
◆ vlc_tbl0
| ui16 ojph::local::vlc_tbl0[1024] = { 0 } |
|
static |
◆ vlc_tbl1
| ui16 ojph::local::vlc_tbl1[1024] = { 0 } |
|
static |