Grok 20.3.2
grk::TileComponentWindowBase< T > Struct Template Reference

#include <TileComponentWindow.h>

Inheritance diagram for grk::TileComponentWindowBase< T >:
grk::ITileComponentWindow grk::TileComponentWindow< T >

Public Member Functions

 TileComponentWindowBase (bool isCompressor, bool lossless, bool wholeTileDecompress, Rect32 unreducedTileComp, Rect32 reducedTileComp, Rect32 unreducedImageCompWindow, uint8_t numresolutions, uint8_t reducedNumResolutions)
virtual ~TileComponentWindowBase ()
Rect32 bounds () const override
 Get bounds of tile component (canvas coordinates) decompress: reduced canvas coordinates of window compress: unreduced canvas coordinates of entire tile.
Rect32 unreducedBounds () const override
bool alloc () override
Public Member Functions inherited from grk::ITileComponentWindow
virtual ~ITileComponentWindow ()=default
virtual const Rect32getBandWindowPadded (uint8_t resno, t1::eBandOrientation orientation) const =0
virtual void toRelativeCoordinates (uint8_t resno, t1::eBandOrientation orientation, uint32_t &offsetx, uint32_t &offsety) const =0
virtual void transferData (void **data, uint32_t *stride)=0
virtual void attachData (void *data, uint32_t stride)=0
virtual uint32_t highestResStride () const =0
virtual uint64_t stridedArea () const =0
virtual void postProcessBlock (int32_t *srcData, t1::DecompressBlockExec *block, ISparseCanvas< int32_t > *regionWindow)=0
virtual void postProcessBlockHT (int32_t *srcData, t1::DecompressBlockExec *block, uint16_t stride, ISparseCanvas< int32_t > *regionWindow)=0

Protected Member Functions

bool useBandWindows () const

Protected Attributes

std::vector< ResWindow< T > * > resWindows
Rect32 unreducedBounds_
Rect32 bounds_
std::vector< ResSimpleresolution_
bool compress_
bool wholeTileDecompress_

Constructor & Destructor Documentation

◆ TileComponentWindowBase()

template<typename T>
grk::TileComponentWindowBase< T >::TileComponentWindowBase ( bool isCompressor,
bool lossless,
bool wholeTileDecompress,
Rect32 unreducedTileComp,
Rect32 reducedTileComp,
Rect32 unreducedImageCompWindow,
uint8_t numresolutions,
uint8_t reducedNumResolutions )
inline

◆ ~TileComponentWindowBase()

template<typename T>
virtual grk::TileComponentWindowBase< T >::~TileComponentWindowBase ( )
inlinevirtual

References resWindows.

Member Function Documentation

◆ alloc()

template<typename T>
bool grk::TileComponentWindowBase< T >::alloc ( )
inlineoverridevirtual

Implements grk::ITileComponentWindow.

References resWindows.

◆ bounds()

template<typename T>
Rect32 grk::TileComponentWindowBase< T >::bounds ( ) const
inlineoverridevirtual

Get bounds of tile component (canvas coordinates) decompress: reduced canvas coordinates of window compress: unreduced canvas coordinates of entire tile.

Implements grk::ITileComponentWindow.

References bounds_.

◆ unreducedBounds()

template<typename T>
Rect32 grk::TileComponentWindowBase< T >::unreducedBounds ( ) const
inlineoverridevirtual

◆ useBandWindows()

template<typename T>
bool grk::TileComponentWindowBase< T >::useBandWindows ( ) const
inlineprotected

References wholeTileDecompress_.

Referenced by TileComponentWindowBase().

Member Data Documentation

◆ bounds_

template<typename T>
Rect32 grk::TileComponentWindowBase< T >::bounds_
protected

Referenced by bounds(), and TileComponentWindowBase().

◆ compress_

◆ resolution_

◆ resWindows

◆ unreducedBounds_

template<typename T>
Rect32 grk::TileComponentWindowBase< T >::unreducedBounds_
protected

◆ wholeTileDecompress_


The documentation for this struct was generated from the following files: