82 void PlaceTile(
CDecoder& decoder,
int quantParam,
bool tile =
false, UINT32 tileX = 0, UINT32 tileY = 0);
137 #ifdef __PGFROISUPPORT__ 138 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__ 180 #endif //PGF_SUBBAND_H
void Dequantize(int quantParam)
Orientation GetOrientation() const
UINT32 m_width
width in pixels
DataT GetData(UINT32 pos) const
void ExtractTile(CEncoder &encoder, bool tile=false, UINT32 tileX=0, UINT32 tileY=0)
UINT32 m_height
height in pixels
void Initialize(UINT32 width, UINT32 height, int level, Orientation orient)
UINT32 GetBuffPos() const
CSubband()
Standard constructor.
void PlaceTile(CDecoder &decoder, int quantParam, bool tile=false, UINT32 tileX=0, UINT32 tileY=0)
UINT32 m_size
size of data buffer m_data
void FreeMemory()
Delete the memory buffer of this subband.
void Quantize(int quantParam)
void WriteBuffer(DataT val)
int m_level
recursion level
UINT32 m_dataPos
current position in m_data
void SetData(UINT32 pos, DataT v)
Orientation m_orientation
0=LL, 1=HL, 2=LH, 3=HH L=lowpass filtered, H=highpass filterd