82 void PlaceTile(
CDecoder& decoder,
int quantParam,
bool tile =
false, UINT32 tileX = 0, UINT32 tileY = 0);
137#ifdef __PGFROISUPPORT__
141 void IncBuffRow(UINT32 pos) {
m_dataPos = pos + BufferWidth(); }
153#ifdef __PGFROISUPPORT__
154 UINT32 BufferWidth()
const {
return m_ROI.Width(); }
155 void TilePosition(UINT32 tileX, UINT32 tileY, UINT32& left, UINT32& top, UINT32& w, UINT32& h)
const;
156 void TileIndex(
bool topLeft, UINT32 xPos, UINT32 yPos, UINT32& tileX, UINT32& tileY, UINT32& x, UINT32& y)
const;
157 const PGFRect& GetAlignedROI()
const {
return m_ROI; }
158 void SetNTiles(UINT32 nTiles) { m_nTiles = nTiles; }
159 void SetAlignedROI(
const PGFRect& roi);
174#ifdef __PGFROISUPPORT__
UINT32 m_size
size of data buffer m_data
void SetData(UINT32 pos, DataT v)
UINT32 m_dataPos
current position in m_data
void WriteBuffer(DataT val)
void Dequantize(int quantParam)
Orientation GetOrientation() const
void Initialize(UINT32 width, UINT32 height, int level, Orientation orient)
void Quantize(int quantParam)
void FreeMemory()
Delete the memory buffer of this subband.
UINT32 GetBuffPos() const
UINT32 m_height
height in pixels
Orientation m_orientation
0=LL, 1=HL, 2=LH, 3=HH L=lowpass filtered, H=highpass filterd
void ExtractTile(CEncoder &encoder, bool tile=false, UINT32 tileX=0, UINT32 tileY=0)
int m_level
recursion level
void PlaceTile(CDecoder &decoder, int quantParam, bool tile=false, UINT32 tileX=0, UINT32 tileY=0)
DataT GetData(UINT32 pos) const
UINT32 m_width
width in pixels
CSubband()
Standard constructor.