Grok 20.3.2
grk::t1::ojph::local::frwd_struct Struct Reference

State structure for reading and unstuffing of forward-growing bitstreams; these are: MagSgn and SPP bitstreams. More...

Public Attributes

const ui8data
 pointer to bitstream
ui8 tmp [48]
 temporary buffer of read data + 16 extra
ui32 bits
 number of bits stored in tmp
ui32 unstuff
 1 if a bit needs to be unstuffed from next byte
int size
 size of data

Detailed Description

State structure for reading and unstuffing of forward-growing bitstreams; these are: MagSgn and SPP bitstreams.

Member Data Documentation

◆ bits

ui32 grk::t1::ojph::local::frwd_struct::bits

◆ data

const ui8* grk::t1::ojph::local::frwd_struct::data

pointer to bitstream

Referenced by grk::t1::ojph::local::frwd_init(), and grk::t1::ojph::local::frwd_read().

◆ size

int grk::t1::ojph::local::frwd_struct::size

◆ tmp

ui8 grk::t1::ojph::local::frwd_struct::tmp[48]

◆ unstuff

ui32 grk::t1::ojph::local::frwd_struct::unstuff

1 if a bit needs to be unstuffed from next byte

Referenced by grk::t1::ojph::local::frwd_init(), and grk::t1::ojph::local::frwd_read().


The documentation for this struct was generated from the following file: