Grok 12.0.1
|
#include <TileComponentWindow.h>
Public Types | |
typedef grk_buf2d< T, AllocatorAligned > | Buf2dAligned |
Private Member Functions | |
const Buf2dAligned * | getCodeBlockDestWindowREL (uint8_t resno, eBandOrientation orientation) const |
Get code block destination window. | |
Buf2dAligned * | getResWindowBufferHighestREL (void) const |
Get highest resolution window. | |
bool | useBufferCoordinatesForCodeblock () const |
uint8_t | getBandIndex (uint8_t resno, eBandOrientation orientation) const |
Additional Inherited Members | |
![]() | |
bool | useBandWindows () const |
![]() | |
std::vector< ResWindow< T > * > | resWindows |
grk_rect32 | unreducedBounds_ |
grk_rect32 | bounds_ |
std::vector< ResSimple > | resolution_ |
bool | compress_ |
bool | wholeTileDecompress_ |
typedef grk_buf2d<T, AllocatorAligned> grk::TileComponentWindow< T >::Buf2dAligned |
|
inline |
|
default |
|
inline |
|
inlineprivate |
References grk::grk_read().
Referenced by grk::TileComponentWindow< T >::toRelativeCoordinates().
|
inline |
Get padded band window buffer.
resno | resolution number |
orientation | band orientation {0,1,2,3} for {LL,HL,LH,HH} band windows |
If resno is > 0, return LL,HL,LH or HH band window, otherwise return LL resolution window
References grk::BAND_ORIENT_LL, grk::TileComponentWindowBase< T >::compress_, grk::grk_read(), grk::TileComponentWindowBase< T >::resolution_, grk::TileComponentWindowBase< T >::resWindows, and grk::TileComponentWindowBase< T >::wholeTileDecompress_.
Referenced by grk::TileComponentWindow< T >::getCodeBlockDestWindowREL().
|
inline |
Get padded band window buffer.
resno | resolution number |
orientation | band orientation {0,1,2,3} for {LL,HL,LH,HH} band windows |
If resno is > 0, return LL,HL,LH or HH band window, otherwise return LL resolution window
References grk::BAND_ORIENT_LL, grk::TileComponentWindowBase< T >::compress_, grk::grk_read(), grk::TileComponentWindowBase< T >::resolution_, grk::TileComponentWindowBase< T >::resWindows, and grk::TileComponentWindowBase< T >::wholeTileDecompress_.
|
inline |
Get padded band window buffer.
resno | resolution number |
orientation | band orientation {0,1,2,3} for {LL,HL,LH,HH} band windows |
If resno is > 0, return LL,HL,LH or HH band window, otherwise return LL resolution window
References grk::BAND_ORIENT_LL, grk::TileComponentWindowBase< T >::compress_, grk::grk_read(), grk::TileComponentWindowBase< T >::resolution_, grk::TileComponentWindowBase< T >::resWindows, and grk::TileComponentWindowBase< T >::wholeTileDecompress_.
|
inline |
Get padded band window.
resno | resolution number |
orientation | band orientation {0,1,2,3} for {LL,HL,LH,HH} band windows |
References grk::TileComponentWindowBase< T >::resWindows.
Referenced by grk::TileComponent::allocRegionWindow(), and grk::TileComponent::subbandIntersectsAOI().
|
inlineprivate |
Get code block destination window.
resno | resolution number |
orientation | band orientation {LL,HL,LH,HH} |
References grk::TileComponentWindow< T >::getBandWindowBufferPaddedREL(), grk::TileComponentWindow< T >::getResWindowBufferHighestREL(), and grk::TileComponentWindow< T >::useBufferCoordinatesForCodeblock().
Referenced by grk::TileComponentWindow< T >::postProcess().
|
inlineprivate |
Get highest resolution window.
References grk::TileComponentWindowBase< T >::resWindows.
Referenced by grk::TileComponentWindow< T >::attach(), grk::TileComponentWindow< T >::getCodeBlockDestWindowREL(), grk::TileComponentWindow< T >::getResWindowBufferHighestSimple(), grk::TileComponentWindow< T >::getResWindowBufferHighestSimpleF(), grk::TileComponentWindow< T >::getResWindowBufferHighestStride(), grk::TileComponentWindow< T >::stridedArea(), and grk::TileComponentWindow< T >::transfer().
|
inline |
Get highest resolution window.
References grk::TileComponentWindow< T >::getResWindowBufferHighestREL(), and grk::grk_buf2d< T, A >::simple().
Referenced by grk::WaveletFwdImpl::encode_procedure(), grk::TileProcessor::mct_encode(), grk::TileProcessor::mctDecompress(), grk::HWY_NAMESPACE::DecompressDcShiftRev::transform(), grk::HWY_NAMESPACE::DecompressRev::transform(), grk::HWY_NAMESPACE::CompressRev::transform(), grk::HWY_NAMESPACE::CompressIrrev::transform(), and grk::HWY_NAMESPACE::vscheduler().
|
inline |
Get highest resolution window.
References grk::TileComponentWindow< T >::getResWindowBufferHighestREL(), and grk::grk_buf2d< T, A >::simpleF().
Referenced by grk::HWY_NAMESPACE::DecompressDcShiftIrrev::transform(), and grk::HWY_NAMESPACE::DecompressIrrev::transform().
|
inline |
Get highest resolution window.
References grk::TileComponentWindow< T >::getResWindowBufferHighestREL(), and grk::grk_buf2d< T, A >::stride.
Referenced by grk::HWY_NAMESPACE::DecompressDcShiftRev::transform(), grk::HWY_NAMESPACE::DecompressRev::transform(), grk::HWY_NAMESPACE::DecompressIrrev::transform(), grk::HWY_NAMESPACE::CompressRev::transform(), and grk::HWY_NAMESPACE::CompressIrrev::transform().
|
inline |
Get resolution window.
resno | resolution number |
References grk::TileComponentWindowBase< T >::resWindows.
Referenced by grk::TileComponentWindow< T >::getResWindowBufferSimple(), and grk::TileComponentWindow< T >::getResWindowBufferSimpleF().
|
inline |
Get resolution window.
resno | resolution number |
References grk::TileComponentWindow< T >::getResWindowBufferREL(), and grk::grk_buf2d< T, A >::simple().
|
inline |
Get resolution window.
resno | resolution number |
References grk::TileComponentWindow< T >::getResWindowBufferREL(), and grk::grk_buf2d< T, A >::simpleF().
|
inline |
|
inline |
|
inline |
|
inline |
References grk::TileComponentWindow< T >::getCodeBlockDestWindowREL(), and grk::grk_read().
Referenced by grk::TileComponent::postDecompressImpl().
|
inline |
References grk::TileComponentWindow< T >::getResWindowBufferHighestREL(), and grk::grk_read().
Referenced by grk::TileProcessor::mct_encode(), and grk::TileProcessor::mctDecompress().
|
inline |
Transform code block offsets from canvas coordinates to either band coordinates (relative to sub band origin), in the case of whole tile decompression,.
or buffer coordinates (relative to associated resolution origin), in the case of compression or region decompression
resno | resolution number |
orientation | band orientation {LL,HL,LH,HH} |
offsetx | x offset of code block in canvas coordinates |
offsety | y offset of code block in canvas coordinates |
References grk::TileComponentWindow< T >::getBandIndex(), grk::grk_read(), grk::TileComponentWindowBase< T >::resolution_, and grk::TileComponentWindow< T >::useBufferCoordinatesForCodeblock().
Referenced by grk::TileComponent::postDecompressImpl().
|
inline |
|
inlineprivate |