Grok 12.0.1
|
MEL state structure for reading and decoding the MEL bitstream. More...
Public Member Functions | |
dec_mel_st () | |
dec_mel_st () | |
dec_mel_st () | |
Public Attributes | |
ui8 * | data |
the address of data (or bitstream) | |
ui64 | tmp |
temporary buffer for read data | |
int | bits |
number of bits stored in tmp | |
int | size |
number of bytes in MEL code | |
bool | unstuff |
true if the next bit needs to be unstuffed | |
int | k |
state of MEL decoder | |
int | num_runs |
number of decoded runs left in runs (maximum 8) | |
ui64 | runs |
runs of decoded MEL codewords (7 bits/run) | |
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.
|
inline |
|
inline |
|
inline |
int ojph::local::dec_mel_st::bits |
number of bits stored in tmp
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)
Referenced by ojph::local::mel_init(), and ojph::local::mel_read().
int ojph::local::dec_mel_st::k |
state of MEL decoder
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)
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)
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
Referenced by ojph::local::mel_init(), and ojph::local::mel_read().
ui64 ojph::local::dec_mel_st::tmp |
temporary buffer for read data
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
Referenced by ojph::local::mel_init(), and ojph::local::mel_read().