libpgf  6.14.12
PGF - Progressive Graphics File
ROIBlockHeader Union Reference

Block header used with ROI coding scheme. More...

#include <PGFtypes.h>

Classes

struct  RBH
 Named ROI block header (part of the union) More...
 

Public Member Functions

 ROIBlockHeader (UINT16 v)
 
 ROIBlockHeader (UINT32 size, bool end)
 

Public Attributes

UINT16 val
 
struct ROIBlockHeader::RBH rbh
 ROI block header. More...
 

Detailed Description

Block header used with ROI coding scheme.

ROI block header is used with ROI coding scheme. It contains block size and tile end flag

Author
C. Stamm

Definition at line 151 of file PGFtypes.h.

Constructor & Destructor Documentation

◆ ROIBlockHeader() [1/2]

ROIBlockHeader::ROIBlockHeader ( UINT16  v)
inline

Constructor

Parameters
vBuffer size

Definition at line 154 of file PGFtypes.h.

154 { val = v; }
UINT16 val
Definition: PGFtypes.h:160

◆ ROIBlockHeader() [2/2]

ROIBlockHeader::ROIBlockHeader ( UINT32  size,
bool  end 
)
inline

Constructor

Parameters
sizeBuffer size
end0/1 Flag; 1: last part of a tile

Definition at line 158 of file PGFtypes.h.

158 { ASSERT(size < (1 << RLblockSizeLen)); rbh.bufferSize = size; rbh.tileEnd = end; }
struct ROIBlockHeader::RBH rbh
ROI block header.
UINT16 bufferSize
number of uncoded UINT32 values in a block
Definition: PGFtypes.h:167
UINT16 tileEnd
1: last part of a tile
Definition: PGFtypes.h:168
#define RLblockSizeLen
block size length (< 16): ld(BufferSize) < RLblockSizeLen <= 2*ld(BufferSize)
Definition: PGFtypes.h:78

Member Data Documentation

◆ rbh

struct ROIBlockHeader::RBH ROIBlockHeader::rbh

ROI block header.

◆ val

UINT16 ROIBlockHeader::val

unstructured union value

Definition at line 160 of file PGFtypes.h.


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