Grok 12.0.1
|
A structure for reading and unstuffing a segment that grows backward, such as VLC and MRP. More...
Public Member Functions | |
rev_struct () | |
rev_struct () | |
rev_struct () | |
Public Attributes | |
ui8 * | data |
pointer to where to read data | |
ui64 | tmp |
temporary buffer of read data | |
ui32 | bits |
number of bits stored in tmp | |
int | size |
number of bytes left | |
bool | unstuff |
true if the last byte is more than 0x8F then the current byte is unstuffed if it is 0x7F | |
A structure for reading and unstuffing a segment that grows backward, such as VLC and MRP.
|
inline |
|
inline |
|
inline |
ui32 ojph::local::rev_struct::bits |
number of bits stored in tmp
Referenced by ojph::local::rev_advance(), ojph::local::rev_advance_mrp(), ojph::local::rev_fetch(), ojph::local::rev_fetch_mrp(), ojph::local::rev_init(), ojph::local::rev_init_mrp(), ojph::local::rev_read(), and ojph::local::rev_read_mrp().
ui8 * ojph::local::rev_struct::data |
pointer to where to read data
Referenced by ojph::local::rev_init(), ojph::local::rev_init_mrp(), ojph::local::rev_read(), and ojph::local::rev_read_mrp().
int ojph::local::rev_struct::size |
number of bytes left
Referenced by ojph::local::rev_init(), ojph::local::rev_init_mrp(), ojph::local::rev_read(), and ojph::local::rev_read_mrp().
ui64 ojph::local::rev_struct::tmp |
temporary buffer of read data
Referenced by ojph::local::rev_advance(), ojph::local::rev_advance_mrp(), ojph::local::rev_fetch(), ojph::local::rev_fetch_mrp(), ojph::local::rev_init(), ojph::local::rev_init_mrp(), ojph::local::rev_read(), and ojph::local::rev_read_mrp().
bool ojph::local::rev_struct::unstuff |
true if the last byte is more than 0x8F then the current byte is unstuffed if it is 0x7F
Referenced by ojph::local::rev_init(), ojph::local::rev_init_mrp(), ojph::local::rev_read(), and ojph::local::rev_read_mrp().