OpenJPH
Open-source implementation of JPEG2000 Part-15
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 More...
 
ui64 tmp
 temporary buffer of read data More...
 
ui32 bits
 number of bits stored in tmp More...
 
bool unstuff
 true if a bit needs to be unstuffed from next byte More...
 
int size
 size of data More...
 

Detailed Description

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

Definition at line 857 of file ojph_block_decoder.cpp.

Member Data Documentation

◆ bits

ui32 ojph::local::frwd_struct::bits

number of bits stored in tmp

Definition at line 860 of file ojph_block_decoder.cpp.

Referenced by ojph::local::frwd_advance(), ojph::local::frwd_fetch(), ojph::local::frwd_init(), and ojph::local::frwd_read().

◆ data

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

pointer to bitstream

Definition at line 858 of file ojph_block_decoder.cpp.

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

◆ size

int ojph::local::frwd_struct::size

size of data

Definition at line 862 of file ojph_block_decoder.cpp.

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

◆ tmp

ui64 ojph::local::frwd_struct::tmp

temporary buffer of read data

Definition at line 859 of file ojph_block_decoder.cpp.

Referenced by ojph::local::frwd_advance(), ojph::local::frwd_fetch(), ojph::local::frwd_init(), and ojph::local::frwd_read().

◆ unstuff

bool ojph::local::frwd_struct::unstuff

true if a bit needs to be unstuffed from next byte

Definition at line 861 of file ojph_block_decoder.cpp.

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


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