Grok 12.0.1
|
#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 () |
TagTreeU16 * | getIncludeTagTree (void) |
TagTreeU8 * | getIMsbTagTree (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 | |
TagTreeU16 * | incltree |
TagTreeU8 * | imsbtree |
grk::PrecinctImpl::PrecinctImpl | ( | bool | isCompressor, |
grk_rect32 * | bounds, | ||
grk_pt32 | cblk_expn ) |
grk::PrecinctImpl::~PrecinctImpl | ( | void | ) |
References dec, deleteTagTrees(), and enc.
void grk::PrecinctImpl::deleteTagTrees | ( | ) |
References imsbtree, and incltree.
Referenced by grk::Precinct::deleteTagTrees(), and ~PrecinctImpl().
grk_rect32 grk::PrecinctImpl::getCodeBlockBounds | ( | uint64_t | cblkno | ) |
References bounds_, cblk_expn_, cblk_grid_, grk::grk_read(), grk::grk_rect< T >::width(), grk::grk_pt< T >::x, grk::grk_rect< T >::x0, grk::grk_pt< T >::y, and grk::grk_rect< T >::y0.
Referenced by grk::Precinct::getCodeBlockBounds(), and initCodeBlock().
References cblk_grid_, grk::grk_read(), grk::grk_rect< T >::height(), imsbtree, grk::Logger::logger_, grk::Logger::warn(), and grk::grk_rect< T >::width().
Referenced by grk::Precinct::getImsbTree().
TagTreeU16 * grk::PrecinctImpl::getIncludeTagTree | ( | void | ) |
References cblk_grid_, grk::grk_read(), grk::grk_rect< T >::height(), incltree, grk::Logger::logger_, grk::Logger::warn(), and grk::grk_rect< T >::width().
Referenced by grk::Precinct::getInclTree().
References getCodeBlockBounds(), and grk::grk_read().
bool grk::PrecinctImpl::initCodeBlocks | ( | uint16_t | numLayers, |
grk_rect32 * | bounds ) |
References grk::grk_rect< T >::area(), bounds_, cblk_grid_, dec, enc, grk::grk_read(), and isCompressor_.
Referenced by grk::Precinct::getImpl().
grk_rect32 grk::PrecinctImpl::bounds_ |
Referenced by getCodeBlockBounds(), and initCodeBlocks().
grk_pt32 grk::PrecinctImpl::cblk_expn_ |
Referenced by getCodeBlockBounds(), and grk::Precinct::getNominalBlockSize().
grk_rect32 grk::PrecinctImpl::cblk_grid_ |
BlockCache<DecompressCodeblock, PrecinctImpl>* grk::PrecinctImpl::dec |
BlockCache<CompressCodeblock, PrecinctImpl>* grk::PrecinctImpl::enc |
Referenced by grk::Precinct::getCompressedBlockPtr(), initCodeBlocks(), and ~PrecinctImpl().
|
private |
Referenced by deleteTagTrees(), and getIMsbTagTree().
|
private |
Referenced by deleteTagTrees(), and getIncludeTagTree().
bool grk::PrecinctImpl::isCompressor_ |
Referenced by initCodeBlocks().