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...
 
ui8 tmp [48]
 temporary buffer of read data + 16 extra 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...
 

Detailed Description

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

Definition at line 590 of file ojph_block_decoder_wasm.cpp.

Member Data Documentation

◆ bits

ui32 ojph::local::frwd_struct::bits

◆ data

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

pointer to bitstream

Definition at line 591 of file ojph_block_decoder_wasm.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 595 of file ojph_block_decoder_wasm.cpp.

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

◆ tmp

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

temporary buffer of read data + 16 extra

Definition at line 592 of file ojph_block_decoder_wasm.cpp.

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

◆ unstuff

ui32 ojph::local::frwd_struct::unstuff

1 if a bit needs to be unstuffed from next byte

Definition at line 594 of file ojph_block_decoder_wasm.cpp.

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


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