OpenJPH
Open-source implementation of JPEG2000 Part-15
|
Functions | |
static bool | ojph::local::uvlc_init_tables () |
Initializes uvlc_tbl0 and uvlc_tbl1 tables. More... | |
Variables | |
ui16 | ojph::local::uvlc_tbl0 [256+64] = { 0 } |
uvlc_tbl0 contains decoding information for initial row of quads More... | |
ui16 | ojph::local::uvlc_tbl1 [256] = { 0 } |
uvlc_tbl1 contains decoding information for non-initial row of quads More... | |
static bool | ojph::local::uvlc_tables_initialized = uvlc_init_tables() |
Initializes UVLC tables uvlc_tbl0 and uvlc_tbl1. More... | |
UVLC decoding tables used to partiallu decode u values from UVLC
codewords.
The table index is 8 (or 9) bits and composed of two parts:
The 6 LSBs carries the head of the VLC to be decoded. Up to 6 bits to be used; these are uvlc prefix code for quad 0 and 1
The 2 (or 3) MSBs contain u_off of quad 0 + 2 * o_off quad 1
total
prefix length for quads 0 and 1 (3 bits) total
suffix length for quads 0 and 1 (4 bits) suffix
length for quad 0 (3 bits) prefix
for quad 0 (3 bits) prefix
for quad 1 (3 bits)
|
static |
#include </home/atzlinux/devel/official/openjph/src/core/coding/ojph_block_common.cpp>
Initializes uvlc_tbl0 and uvlc_tbl1 tables.
Definition at line 178 of file ojph_block_common.cpp.
References ojph::local::uvlc_tbl0, and ojph::local::uvlc_tbl1.
Referenced by ojph::local::initialize_tables().
|
static |
#include </home/atzlinux/devel/official/openjph/src/core/coding/ojph_block_common.cpp>
Initializes UVLC tables uvlc_tbl0 and uvlc_tbl1.
Definition at line 326 of file ojph_block_common.cpp.
ui16 ojph::local::uvlc_tbl0 = { 0 } |
#include </home/atzlinux/devel/official/openjph/src/core/coding/ojph_block_common.cpp>
uvlc_tbl0 contains decoding information for initial row of quads
Definition at line 95 of file ojph_block_common.cpp.
Referenced by ojph::local::ojph_decode_codeblock(), ojph::local::ojph_decode_codeblock_ssse3(), ojph::local::ojph_decode_codeblock_wasm(), and ojph::local::uvlc_init_tables().
ui16 ojph::local::uvlc_tbl1 = { 0 } |
#include </home/atzlinux/devel/official/openjph/src/core/coding/ojph_block_common.cpp>
uvlc_tbl1 contains decoding information for non-initial row of quads
Definition at line 98 of file ojph_block_common.cpp.
Referenced by ojph::local::ojph_decode_codeblock(), ojph::local::ojph_decode_codeblock_ssse3(), ojph::local::ojph_decode_codeblock_wasm(), and ojph::local::uvlc_init_tables().