libpgf 7.26.45
PGF - Progressive Graphics File
Loading...
Searching...
No Matches
pgf::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_t v)
 ROIBlockHeader (uint32_t size, bool end)

Public Attributes

uint16_t val
struct pgf::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 211 of file PGFtypes.h.

Constructor & Destructor Documentation

◆ ROIBlockHeader() [1/2]

pgf::ROIBlockHeader::ROIBlockHeader ( uint16_t v)
inline

Constructor

Parameters
vBuffer size

Definition at line 227 of file PGFtypes.h.

227{ val = v; }

◆ ROIBlockHeader() [2/2]

pgf::ROIBlockHeader::ROIBlockHeader ( uint32_t size,
bool end )
inline

Constructor

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

Definition at line 232 of file PGFtypes.h.

232{ ASSERT(size < (1 << RLblockSizeLen)); rbh.bufferSize = size; rbh.tileEnd = end; }
constexpr int RLblockSizeLen
block size length (< 16): ld(BufferSize) < RLblockSizeLen <= 2*ld(BufferSize)
Definition PGFtypes.h:87
uint16_t bufferSize
number of uncoded uint32_t values in a block
Definition PGFtypes.h:219
uint16_t tileEnd
1: last part of a tile
Definition PGFtypes.h:220
struct pgf::ROIBlockHeader::RBH rbh
ROI block header.

Member Data Documentation

◆ rbh

struct pgf::ROIBlockHeader::RBH pgf::ROIBlockHeader::rbh

ROI block header.

◆ val

uint16_t pgf::ROIBlockHeader::val

unstructured union value

Definition at line 212 of file PGFtypes.h.


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