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...
 
ui32 unstuff
 1 if a bit needs to be unstuffed from next byte More...
 
int size
 size of data More...
 
ui8 tmp [48]
 temporary buffer of read data + 16 extra More...
 

Detailed Description

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

Definition at line 581 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 584 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 582 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 586 of file ojph_block_decoder.cpp.

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

◆ tmp [1/2]

ui8 ojph::local::frwd_struct::tmp

temporary buffer of read data

temporary buffer of read data + 16 extra

Definition at line 583 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().

◆ tmp [2/2]

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

temporary buffer of read data + 16 extra

Definition at line 584 of file ojph_block_decoder_ssse3.cpp.

◆ unstuff

ui32 ojph::local::frwd_struct::unstuff

1 if a bit needs to be unstuffed from next byte

Definition at line 585 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 files: