Grok
9.7.5
|
#include <util.h>
Public Member Functions | |
grk_rect (T x0, T y0, T x1, T y1) | |
grk_rect (const grk_rect &rhs) | |
grk_rect (const grk_rect *rhs) | |
grk_rect (void) | |
virtual | ~grk_rect ()=default |
virtual void | print (void) const |
std::string | boundsString () const |
bool | valid (void) const |
bool | empty (void) const |
bool | contains (grk_pt< T > pt) |
grk_rect< T > & | operator= (const grk_rect< T > &rhs) |
grk_rect< T > & | operator= (const grk_rect< T > *rhs) |
bool | operator== (const grk_rect< T > &rhs) const |
void | set (grk_rect< T > *rhs) |
void | set (grk_rect< T > rhs) |
grk_rect< T > | scaleDownCeil (uint32_t den) const |
grk_rect< T > | scale (uint32_t scalex, uint32_t scaley) const |
grk_rect< T > | scaleDown (uint64_t denx, uint64_t deny) const |
grk_rect< T > | scaleDownPow2 (uint32_t powx, uint32_t powy) const |
grk_rect< T > | scaleDownPow2 (grk_pt< T > pow) const |
grk_rect< T > | scaleDownCeil (uint64_t denx, uint64_t deny) const |
grk_rect< T > | scaleDownCeilPow2 (uint32_t power) const |
grk_rect< T > | scaleDownCeilPow2 (uint32_t powx, uint32_t powy) const |
grk_rect< T > | intersection (const grk_rect< T > rhs) const |
bool | isContainedIn (const grk_rect< T > rhs) const |
grk_rect< T > | clip (const grk_rect< T > *rhs) const |
grk_rect< T > | clip (const grk_rect< T > &rhs) const |
void | clipIPL (const grk_rect< T > *rhs) |
grk_rect< T > | intersection (const grk_rect< T > *rhs) const |
bool | nonEmptyIntersection (const grk_rect< T > *rhs) const |
grk_rect< T > | rectUnion (const grk_rect< T > *rhs) const |
grk_rect< T > | rectUnion (const grk_rect< T > &rhs) const |
uint64_t | area (void) const |
T | width () const |
T | height () const |
grk_line< T > | dimX () const |
grk_line< T > | dimY () const |
grk_rect< T > | pan (int64_t x, int64_t y) const |
grk_rect< T > & | growIPL (T boundary) |
grk_rect< T > & | growIPL (T boundaryx, T boundaryy) |
grk_rect< T > & | growIPL (T boundary, T maxX, T maxY) |
grk_rect< T > & | growIPL (T boundaryx, T boundaryy, T maxX, T maxY) |
grk_rect< T > & | growIPL (T boundary, grk_rect< T > bounds) |
grk_rect< T > & | growIPL (T boundaryx, T boundaryy, grk_rect< T > bounds) |
T | parityX (void) const |
T | parityY (void) const |
Public Attributes | |
T | x0 |
T | y0 |
T | x1 |
T | y1 |
|
inline |
|
inline |
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
|
virtualdefault |
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::compress_synch_with_plugin(), grk::Precinct::getNumCblks(), grk::ResPrecinctInfo::init(), grk::PrecinctImpl::initCodeBlocks(), grk::TileProcessor::pcrdBisectFeasible(), grk::TileProcessor::pcrdBisectSimple(), and grk::SparseCanvas< LBW, LBH >::SparseCanvas().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
References grk::grk_rect< T >::clip().
|
inline |
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::ResPrecinctInfo::init().
|
inline |
|
inline |
References grk::grk_rect< T >::x0, and grk::grk_rect< T >::x1.
|
inline |
References grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
|
inline |
References grk::grk_rect< T >::growIPL().
|
inline |
References grk::grk_rect< T >::growIPL().
|
inline |
References grk::grk_rect< T >::growIPL().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
References grk::grk_rect< T >::growIPL().
|
inline |
References grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::ResWindowBuffer< T >::alloc(), grk::TileComponent::allocSparseCanvas(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::GrkImage::generateCompositeBounds(), grk::Precinct::getCblkGridHeight(), grk::PrecinctImpl::getIMsbTagTree(), grk::PrecinctImpl::getIncludeTagTree(), grk::TileComponent::init(), grk::ResWindowBuffer< T >::ResWindowBuffer(), grk::SparseCanvas< LBW, LBH >::SparseCanvas(), grk::TileComponentWindowBuffer< T >::stridedArea(), and grk::SparseCanvas< LBW, LBH >::~SparseCanvas().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
Referenced by grk::CodeStreamDecompress::decompressTile(), grk::Subband::generatePrecinctBounds(), grk::ResWindowBuffer< T >::getBandWindow(), grk::grk_rect< T >::isContainedIn(), grk::TileProcessor::isWholeTileDecompress(), grk::ResWindowBuffer< T >::ResWindowBuffer(), and grk::TileComponentWindowBuffer< T >::TileComponentWindowBuffer().
|
inline |
References grk::grk_rect< T >::intersection().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::TileComponent::subbandIntersectsAOI().
|
inline |
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::ResWindowBuffer< T >::ResWindowBuffer().
|
inline |
References grk::grk_rect< T >::x0.
|
inline |
References grk::grk_rect< T >::y0.
|
inlinevirtual |
Reimplemented in grk::Subband, and grk::Resolution.
References grk::GRK_INFO(), grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::ResPrecinctInfo::print().
|
inline |
References grk::grk_rect< T >::rectUnion().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::TileComponent::allocSparseCanvas(), and grk::grk_rect< T >::rectUnion().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::ResPrecinctInfo::init().
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::ResPrecinctInfo::init().
|
inline |
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
|
inline |
References grk::grk_rect< T >::scaleDownPow2(), grk::grk_pt< T >::x, and grk::grk_pt< T >::y.
|
inline |
References grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::TileComponent::allocSparseCanvas(), and grk::grk_rect< T >::scaleDownPow2().
|
inline |
Referenced by grk::TileComponent::init(), grk::TileComponent::postDecompressImpl(), and grk::grk_rect< T >::set().
|
inline |
References grk::grk_rect< T >::set().
|
inline |
|
inline |
References grk::grk_rect< T >::x0, and grk::grk_rect< T >::x1.
Referenced by grk::ResWindowBuffer< T >::alloc(), grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::allocSparseCanvas(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), ojph::T1OJPH::decompress(), openhtj2k::T1OpenHTJ2K::decompress(), grk::GrkImage::generateCompositeBounds(), grk::SparseCanvas< LBW, LBH >::getBlock(), grk::Precinct::getCblkGridwidth(), grk::PrecinctImpl::getCodeBlockBounds(), grk::PrecinctImpl::getIMsbTagTree(), grk::PrecinctImpl::getIncludeTagTree(), grk::TileComponent::init(), grk::TileComponent::postDecompressImpl(), grk::TileComponent::postProcess(), grk::t1_part1::T1Part1::preCompress(), ojph::T1OJPH::preCompress(), openhtj2k::T1OpenHTJ2K::preCompress(), grk::ResWindowBuffer< T >::ResWindowBuffer(), grk::SparseCanvas< LBW, LBH >::SparseCanvas(), and grk::SparseCanvas< LBW, LBH >::~SparseCanvas().
T grk::grk_rect< T >::x0 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::allocWindowBuffer(), grk::grk_rect< T >::area(), grk::grk_rect< T >::boundsString(), grk::grk_rect< T >::clip(), grk::grk_rect< T >::clipIPL(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::compress_synch_with_plugin(), grk::grk_rect< T >::contains(), grk::grk_buf2d< T, A >::copy(), grk::CodeStreamDecompress::decompressTile(), grk::grk_rect< T >::dimX(), grk::GrkImage::duplicate(), grk::grk_rect< T >::empty(), grk::TileProcessor::encodeT2(), grk::GrkImage::generateCompositeBounds(), grk::PacketIter::genPrecinctX0Grid(), grk::ResWindowBuffer< T >::getBandWindow(), grk::SparseCanvas< LBW, LBH >::getBlock(), grk::PrecinctImpl::getCodeBlockBounds(), grk::CodingParams::getTileBounds(), grk::grk_rect< T >::grk_rect(), grk::grk_rect< T >::growIPL(), grk::TileComponent::init(), grk::PacketIter::init(), grk::TileProcessor::init(), grk::grk_rect< T >::intersection(), grk::grk_buf2d< T, A >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< T >::nonEmptyIntersection(), grk::Codeblock::operator=(), grk::grk_rect< T >::operator=(), grk::grk_rect< T >::operator==(), grk::grk_rect< T >::pan(), grk::grk_rect< T >::parityX(), grk::PrecinctImpl::PrecinctImpl(), grk::grk_rect< T >::print(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< T >::rectUnion(), grk::grk_rect< T >::scale(), grk::grk_rect< T >::scaleDown(), grk::grk_rect< T >::scaleDownCeil(), grk::grk_rect< T >::scaleDownCeilPow2(), grk::grk_rect< T >::scaleDownPow2(), grk::CodeStreamDecompress::setDecompressRegion(), grk::SparseCanvas< LBW, LBH >::SparseCanvas(), grk::PacketManager::updateCompressTcpProgressions(), grk::grk_rect< T >::valid(), and grk::grk_rect< T >::width().
T grk::grk_rect< T >::x1 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::allocWindowBuffer(), grk::grk_rect< T >::area(), grk::grk_rect< T >::boundsString(), grk::grk_rect< T >::clip(), grk::grk_rect< T >::clipIPL(), grk::compress_synch_with_plugin(), grk::grk_rect< T >::contains(), grk::grk_rect< T >::dimX(), grk::GrkImage::duplicate(), grk::grk_rect< T >::empty(), grk::GrkImage::generateCompositeBounds(), grk::ResWindowBuffer< T >::getBandWindow(), grk::CodingParams::getTileBounds(), grk::grk_rect< T >::grk_rect(), grk::grk_rect< T >::growIPL(), grk::TileComponent::init(), grk::PacketIter::init(), grk::TileProcessor::init(), grk::grk_rect< T >::intersection(), grk::grk_buf2d< T, A >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< T >::nonEmptyIntersection(), grk::Codeblock::operator=(), grk::grk_rect< T >::operator=(), grk::grk_rect< T >::operator==(), grk::grk_rect< T >::pan(), grk::PrecinctImpl::PrecinctImpl(), grk::grk_rect< T >::print(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< T >::rectUnion(), grk::grk_rect< T >::scale(), grk::grk_rect< T >::scaleDown(), grk::grk_rect< T >::scaleDownCeil(), grk::grk_rect< T >::scaleDownCeilPow2(), grk::grk_rect< T >::scaleDownPow2(), grk::CodeStreamDecompress::setDecompressRegion(), grk::SparseCanvas< LBW, LBH >::SparseCanvas(), grk::PacketManager::updateCompressTcpProgressions(), grk::grk_rect< T >::valid(), and grk::grk_rect< T >::width().
T grk::grk_rect< T >::y0 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::allocWindowBuffer(), grk::grk_rect< T >::area(), grk::grk_rect< T >::boundsString(), grk::grk_rect< T >::clip(), grk::grk_rect< T >::clipIPL(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::compress_synch_with_plugin(), grk::grk_rect< T >::contains(), grk::grk_buf2d< T, A >::copy(), grk::grk_rect< T >::dimY(), grk::GrkImage::duplicate(), grk::grk_rect< T >::empty(), grk::GrkImage::generateCompositeBounds(), grk::PacketIter::genPrecinctY0Grid(), grk::ResWindowBuffer< T >::getBandWindow(), grk::SparseCanvas< LBW, LBH >::getBlock(), grk::PrecinctImpl::getCodeBlockBounds(), grk::CodingParams::getTileBounds(), grk::grk_rect< T >::grk_rect(), grk::grk_rect< T >::growIPL(), grk::grk_rect< T >::height(), grk::TileComponent::init(), grk::PacketIter::init(), grk::TileProcessor::init(), grk::grk_rect< T >::intersection(), grk::grk_buf2d< T, A >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< T >::nonEmptyIntersection(), grk::Codeblock::operator=(), grk::grk_rect< T >::operator=(), grk::grk_rect< T >::operator==(), grk::grk_rect< T >::pan(), grk::grk_rect< T >::parityY(), grk::PrecinctImpl::PrecinctImpl(), grk::grk_rect< T >::print(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< T >::rectUnion(), grk::grk_rect< T >::scale(), grk::grk_rect< T >::scaleDown(), grk::grk_rect< T >::scaleDownCeil(), grk::grk_rect< T >::scaleDownCeilPow2(), grk::grk_rect< T >::scaleDownPow2(), grk::CodeStreamDecompress::setDecompressRegion(), grk::SparseCanvas< LBW, LBH >::SparseCanvas(), grk::PacketManager::updateCompressTcpProgressions(), and grk::grk_rect< T >::valid().
T grk::grk_rect< T >::y1 |
Referenced by grk::SparseCanvas< LBW, LBH >::alloc(), grk::TileComponent::allocWindowBuffer(), grk::grk_rect< T >::area(), grk::grk_rect< T >::boundsString(), grk::grk_rect< T >::clip(), grk::grk_rect< T >::clipIPL(), grk::compress_synch_with_plugin(), grk::grk_rect< T >::contains(), grk::grk_rect< T >::dimY(), grk::GrkImage::duplicate(), grk::grk_rect< T >::empty(), grk::GrkImage::generateCompositeBounds(), grk::ResWindowBuffer< T >::getBandWindow(), grk::CodingParams::getTileBounds(), grk::grk_rect< T >::grk_rect(), grk::grk_rect< T >::growIPL(), grk::grk_rect< T >::height(), grk::TileComponent::init(), grk::PacketIter::init(), grk::TileProcessor::init(), grk::grk_rect< T >::intersection(), grk::grk_buf2d< T, A >::isWindowValid(), grk::SparseCanvas< LBW, LBH >::isWindowValid(), grk::grk_rect< T >::nonEmptyIntersection(), grk::Codeblock::operator=(), grk::grk_rect< T >::operator=(), grk::grk_rect< T >::operator==(), grk::grk_rect< T >::pan(), grk::PrecinctImpl::PrecinctImpl(), grk::grk_rect< T >::print(), grk::SparseCanvas< LBW, LBH >::readWrite(), grk::grk_rect< T >::rectUnion(), grk::grk_rect< T >::scale(), grk::grk_rect< T >::scaleDown(), grk::grk_rect< T >::scaleDownCeil(), grk::grk_rect< T >::scaleDownCeilPow2(), grk::grk_rect< T >::scaleDownPow2(), grk::CodeStreamDecompress::setDecompressRegion(), grk::SparseCanvas< LBW, LBH >::SparseCanvas(), grk::PacketManager::updateCompressTcpProgressions(), and grk::grk_rect< T >::valid().