Grok 12.0.1
Public Member Functions | Public Attributes | Private Attributes | List of all members
grk::PrecinctImpl Struct Reference

#include <Precinct.h>

Public Member Functions

 PrecinctImpl (bool isCompressor, grk_rect32 *bounds, grk_pt32 cblk_expn)
 
 ~PrecinctImpl (void)
 
grk_rect32 getCodeBlockBounds (uint64_t cblkno)
 
bool initCodeBlocks (uint16_t numLayers, grk_rect32 *bounds)
 
template<typename T >
bool initCodeBlock (T *block, uint64_t cblkno)
 
void deleteTagTrees ()
 
TagTreeU16getIncludeTagTree (void)
 
TagTreeU8getIMsbTagTree (void)
 

Public Attributes

BlockCache< CompressCodeblock, PrecinctImpl > * enc
 
BlockCache< DecompressCodeblock, PrecinctImpl > * dec
 
grk_rect32 cblk_grid_
 
grk_rect32 bounds_
 
grk_pt32 cblk_expn_
 
bool isCompressor_
 

Private Attributes

TagTreeU16incltree
 
TagTreeU8imsbtree
 

Constructor & Destructor Documentation

◆ PrecinctImpl()

grk::PrecinctImpl::PrecinctImpl ( bool isCompressor,
grk_rect32 * bounds,
grk_pt32 cblk_expn )

◆ ~PrecinctImpl()

grk::PrecinctImpl::~PrecinctImpl ( void )

References dec, deleteTagTrees(), and enc.

Member Function Documentation

◆ deleteTagTrees()

void grk::PrecinctImpl::deleteTagTrees ( )

References imsbtree, and incltree.

Referenced by grk::Precinct::deleteTagTrees(), and ~PrecinctImpl().

◆ getCodeBlockBounds()

grk_rect32 grk::PrecinctImpl::getCodeBlockBounds ( uint64_t cblkno)

◆ getIMsbTagTree()

TagTreeU8 * grk::PrecinctImpl::getIMsbTagTree ( void )

◆ getIncludeTagTree()

TagTreeU16 * grk::PrecinctImpl::getIncludeTagTree ( void )

◆ initCodeBlock()

template<typename T >
bool grk::PrecinctImpl::initCodeBlock ( T * block,
uint64_t cblkno )

◆ initCodeBlocks()

bool grk::PrecinctImpl::initCodeBlocks ( uint16_t numLayers,
grk_rect32 * bounds )

Member Data Documentation

◆ bounds_

grk_rect32 grk::PrecinctImpl::bounds_

◆ cblk_expn_

grk_pt32 grk::PrecinctImpl::cblk_expn_

◆ cblk_grid_

grk_rect32 grk::PrecinctImpl::cblk_grid_

◆ dec

BlockCache<DecompressCodeblock, PrecinctImpl>* grk::PrecinctImpl::dec

◆ enc

BlockCache<CompressCodeblock, PrecinctImpl>* grk::PrecinctImpl::enc

◆ imsbtree

TagTreeU8* grk::PrecinctImpl::imsbtree
private

Referenced by deleteTagTrees(), and getIMsbTagTree().

◆ incltree

TagTreeU16* grk::PrecinctImpl::incltree
private

◆ isCompressor_

bool grk::PrecinctImpl::isCompressor_

Referenced by initCodeBlocks().


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