|
OpenJPH
Open-source implementation of JPEG2000 Part-15
|
MEL state structure for reading and decoding the MEL bitstream. More...
Public Member Functions | |
| dec_mel_st () | |
Public Attributes | |
| ui8 * | data |
| the address of data (or bitstream) More... | |
| ui64 | tmp |
| temporary buffer for read data More... | |
| int | bits |
| number of bits stored in tmp More... | |
| int | size |
| number of bytes in MEL code More... | |
| bool | unstuff |
| true if the next bit needs to be unstuffed More... | |
| int | k |
| state of MEL decoder More... | |
| int | num_runs |
| number of decoded runs left in runs (maximum 8) More... | |
| ui64 | runs |
| runs of decoded MEL codewords (7 bits/run) More... | |
MEL state structure for reading and decoding the MEL bitstream.
A number of events is decoded from the MEL bitstream ahead of time and stored in run/num_runs. Each run represents the number of zero events before a one event.
Definition at line 83 of file ojph_block_decoder.cpp.
|
inline |
Definition at line 84 of file ojph_block_decoder.cpp.
| int ojph::local::dec_mel_st::bits |
number of bits stored in tmp
Definition at line 90 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_decode(), ojph::local::mel_init(), and ojph::local::mel_read().
| ui8* ojph::local::dec_mel_st::data |
the address of data (or bitstream)
Definition at line 88 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_init(), and ojph::local::mel_read().
| int ojph::local::dec_mel_st::k |
state of MEL decoder
Definition at line 93 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_decode(), and ojph::local::mel_init().
| int ojph::local::dec_mel_st::num_runs |
number of decoded runs left in runs (maximum 8)
Definition at line 96 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_decode(), ojph::local::mel_get_run(), and ojph::local::mel_init().
| ui64 ojph::local::dec_mel_st::runs |
runs of decoded MEL codewords (7 bits/run)
Definition at line 97 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_decode(), ojph::local::mel_get_run(), and ojph::local::mel_init().
| int ojph::local::dec_mel_st::size |
number of bytes in MEL code
Definition at line 91 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_init(), and ojph::local::mel_read().
| ui64 ojph::local::dec_mel_st::tmp |
temporary buffer for read data
Definition at line 89 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_decode(), ojph::local::mel_init(), and ojph::local::mel_read().
| bool ojph::local::dec_mel_st::unstuff |
true if the next bit needs to be unstuffed
Definition at line 92 of file ojph_block_decoder.cpp.
Referenced by ojph::local::mel_init(), and ojph::local::mel_read().