libpgf 7.21.2
PGF - Progressive Graphics File
Loading...
Searching...
No Matches
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.
 

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 180 of file PGFtypes.h.

Constructor & Destructor Documentation

◆ ROIBlockHeader() [1/2]

ROIBlockHeader::ROIBlockHeader ( UINT16  v)
inline

Constructor

Parameters
vBuffer size

Definition at line 196 of file PGFtypes.h.

196{ val = v; }

◆ 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 201 of file PGFtypes.h.

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

Member Data Documentation

◆ rbh

struct ROIBlockHeader::RBH ROIBlockHeader::rbh

ROI block header.

◆ val

UINT16 ROIBlockHeader::val

unstructured union value

Definition at line 181 of file PGFtypes.h.


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