Grok
7.6.2
|
#include <util.h>
Public Member Functions | |
grk_rectangle (T x0, T y0, T x1, T y1) | |
grk_rectangle (const grk_rectangle &rhs) | |
grk_rectangle (void) | |
void | print (void) const |
bool | is_valid (void) const |
bool | non_empty (void) const |
bool | contains (grk_point< T > pt) |
grk_rectangle< T > & | operator= (const grk_rectangle< T > &rhs) |
bool | operator== (const grk_rectangle< T > &rhs) |
void | set_rect (grk_rectangle< T > *rhs) |
void | set_rect (grk_rectangle< T > rhs) |
grk_rectangle< T > | rectceildivpow2 (uint32_t power) const |
grk_rectangle< T > | ceildiv (uint32_t den) const |
grk_rectangle< T > | intersection (const grk_rectangle< T > rhs) const |
bool | isContainedIn (const grk_rectangle< T > rhs) const |
grk_rectangle< T > | intersection (const grk_rectangle< T > *rhs) const |
grk_rectangle< T > | rect_union (const grk_rectangle< T > *rhs) const |
grk_rectangle< T > | rect_union (const grk_rectangle< T > &rhs) const |
uint64_t | area (void) const |
T | width () const |
T | height () const |
grk_rectangle< T > | pan (int64_t x, int64_t y) const |
grk_rectangle< T > & | grow (T boundary) |
grk_rectangle< T > & | grow (T boundaryx, T boundaryy) |
grk_rectangle< T > & | grow (T boundary, T maxX, T maxY) |
grk_rectangle< T > & | grow (T boundaryx, T boundaryy, T maxX, T maxY) |
Public Attributes | |
T | x0 |
T | y0 |
T | x1 |
T | y1 |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by grk::grk_rectangle< uint32_t >::ceildiv().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by grk::res_window< T >::alloc(), grk::TileProcessor::copy_decompressed_tile_to_output_image(), grk::decompress_partial_tile(), grk::TileComponent::init(), grk::SparseBuffer< LBW, LBH >::is_window_valid(), main(), grk::res_window< T >::res_window(), grk::SparseBuffer< LBW, LBH >::SparseBuffer(), grk::TileComponentWindowBuffer< int32_t >::strided_area(), and grk::SparseBuffer< LBW, LBH >::~SparseBuffer().
|
inline |
|
inline |
Referenced by grk::Subband::createPrecinct(), grk::PrecinctImpl::init(), grk::grk_rectangle< uint32_t >::intersection(), grk::TileProcessor::is_whole_tilecomp_decoding(), grk::grk_rectangle< uint32_t >::isContainedIn(), grk::TileComponent::subbandIntersectsAOI(), and grk::TileComponentWindowBuffer< int32_t >::TileComponentWindowBuffer().
|
inline |
|
inline |
|
inline |
Referenced by grk::TileComponent::subbandIntersectsAOI().
|
inline |
|
inline |
|
inline |
Referenced by grk::decompress_partial_tile(), and grk::res_window< T >::res_window().
|
inline |
|
inline |
|
inline |
Referenced by grk::TileComponent::allocSparseBuffer(), and grk::grk_rectangle< uint32_t >::rect_union().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by grk::res_window< T >::alloc(), grk::TileComponent::allocSparseBuffer(), grk::TileProcessor::copy_decompressed_tile_to_output_image(), grk::decompress_tile_53(), grk::SparseBuffer< LBW, LBH >::getBlock(), grk::TileComponent::init(), grk::SparseBuffer< LBW, LBH >::is_window_valid(), main(), grk::t1_ht::T1HT::preCompress(), grk::t1_part1::T1Part1::preCompress(), grk::res_window< T >::res_window(), grk::SparseBuffer< LBW, LBH >::setBlock(), grk::SparseBuffer< LBW, LBH >::SparseBuffer(), and grk::SparseBuffer< LBW, LBH >::~SparseBuffer().
T grk::grk_rectangle< T >::x0 |
Referenced by grk::SparseBuffer< LBW, LBH >::alloc(), grk::TileComponent::allocSparseBuffer(), grk::grk_rectangle< uint32_t >::area(), grk::grk_rectangle< uint32_t >::ceildiv(), grk::compress_synch_with_plugin(), grk::grk_rectangle< uint32_t >::contains(), grk::grk_buffer_2d< T >::copy(), grk::TileProcessor::copy_decompressed_tile_to_output_image(), grk::grk_buffer_2d< T >::copy_rect(), grk::TileComponent::create_buffer(), grk::decompress_partial_tile(), grk::res_window< T >::getBandWindowRect(), grk::SparseBuffer< LBW, LBH >::getBlock(), grk::grk_rectangle< uint32_t >::grow(), grk::DecompressCodeblock::init(), grk::TileComponent::init(), grk::PrecinctImpl::init(), grk::Resolution::init(), grk::TileProcessor::init(), grk::init_tilec(), grk::grk_rectangle< uint32_t >::intersection(), grk::grk_rectangle< uint32_t >::is_valid(), main(), grk::grk_rectangle< uint32_t >::non_empty(), grk::Codeblock::operator=(), grk::grk_rectangle< uint32_t >::operator=(), grk::grk_rectangle< uint32_t >::operator==(), grk::grk_rectangle< uint32_t >::pan(), grk::grk_rectangle< uint32_t >::print(), grk::SparseBuffer< LBW, LBH >::read(), grk::grk_rectangle< uint32_t >::rect_union(), grk::grk_rectangle< uint32_t >::rectceildivpow2(), grk::res_window< T >::res_window(), grk::SparseBuffer< LBW, LBH >::setBlock(), grk::SparseBuffer< LBW, LBH >::SparseBuffer(), grk::TileProcessor::t2_encode(), and grk::grk_rectangle< uint32_t >::width().
T grk::grk_rectangle< T >::x1 |
Referenced by grk::SparseBuffer< LBW, LBH >::alloc(), grk::TileComponent::allocSparseBuffer(), grk::grk_rectangle< uint32_t >::area(), grk::grk_rectangle< uint32_t >::ceildiv(), grk::compress_synch_with_plugin(), grk::grk_rectangle< uint32_t >::contains(), grk::TileProcessor::copy_decompressed_tile_to_output_image(), grk::grk_buffer_2d< T >::copy_rect(), grk::TileComponent::create_buffer(), grk::decompress_partial_tile(), grk::res_window< T >::getBandWindowRect(), grk::grk_rectangle< uint32_t >::grow(), grk::DecompressCodeblock::init(), grk::TileComponent::init(), grk::PrecinctImpl::init(), grk::TileProcessor::init(), grk::grk_rectangle< uint32_t >::intersection(), grk::grk_rectangle< uint32_t >::is_valid(), main(), grk::grk_rectangle< uint32_t >::non_empty(), grk::Codeblock::operator=(), grk::grk_rectangle< uint32_t >::operator=(), grk::grk_rectangle< uint32_t >::operator==(), grk::grk_rectangle< uint32_t >::pan(), grk::grk_rectangle< uint32_t >::print(), grk::SparseBuffer< LBW, LBH >::read(), grk::grk_rectangle< uint32_t >::rect_union(), grk::grk_rectangle< uint32_t >::rectceildivpow2(), and grk::grk_rectangle< uint32_t >::width().
T grk::grk_rectangle< T >::y0 |
Referenced by grk::SparseBuffer< LBW, LBH >::alloc(), grk::grk_rectangle< uint32_t >::area(), grk::grk_rectangle< uint32_t >::ceildiv(), grk::compress_synch_with_plugin(), grk::grk_rectangle< uint32_t >::contains(), grk::grk_buffer_2d< T >::copy(), grk::TileProcessor::copy_decompressed_tile_to_output_image(), grk::grk_buffer_2d< T >::copy_rect(), grk::TileComponent::create_buffer(), grk::decompress_partial_tile(), grk::res_window< T >::getBandWindowRect(), grk::SparseBuffer< LBW, LBH >::getBlock(), grk::grk_rectangle< uint32_t >::grow(), grk::grk_rectangle< uint32_t >::height(), grk::DecompressCodeblock::init(), grk::TileComponent::init(), grk::PrecinctImpl::init(), grk::Resolution::init(), grk::TileProcessor::init(), grk::grk_rectangle< uint32_t >::intersection(), grk::grk_rectangle< uint32_t >::is_valid(), main(), grk::grk_rectangle< uint32_t >::non_empty(), grk::Codeblock::operator=(), grk::grk_rectangle< uint32_t >::operator=(), grk::grk_rectangle< uint32_t >::operator==(), grk::grk_rectangle< uint32_t >::pan(), grk::grk_rectangle< uint32_t >::print(), grk::SparseBuffer< LBW, LBH >::read(), grk::grk_rectangle< uint32_t >::rect_union(), grk::grk_rectangle< uint32_t >::rectceildivpow2(), grk::res_window< T >::res_window(), grk::SparseBuffer< LBW, LBH >::setBlock(), and grk::SparseBuffer< LBW, LBH >::SparseBuffer().
T grk::grk_rectangle< T >::y1 |
Referenced by grk::SparseBuffer< LBW, LBH >::alloc(), grk::TileComponent::allocSparseBuffer(), grk::grk_rectangle< uint32_t >::area(), grk::grk_rectangle< uint32_t >::ceildiv(), grk::compress_synch_with_plugin(), grk::grk_rectangle< uint32_t >::contains(), grk::TileProcessor::copy_decompressed_tile_to_output_image(), grk::grk_buffer_2d< T >::copy_rect(), grk::TileComponent::create_buffer(), grk::decompress_partial_tile(), grk::res_window< T >::getBandWindowRect(), grk::grk_rectangle< uint32_t >::grow(), grk::grk_rectangle< uint32_t >::height(), grk::DecompressCodeblock::init(), grk::TileComponent::init(), grk::PrecinctImpl::init(), grk::TileProcessor::init(), grk::grk_rectangle< uint32_t >::intersection(), grk::grk_rectangle< uint32_t >::is_valid(), main(), grk::grk_rectangle< uint32_t >::non_empty(), grk::Codeblock::operator=(), grk::grk_rectangle< uint32_t >::operator=(), grk::grk_rectangle< uint32_t >::operator==(), grk::grk_rectangle< uint32_t >::pan(), grk::grk_rectangle< uint32_t >::print(), grk::SparseBuffer< LBW, LBH >::read(), grk::grk_rectangle< uint32_t >::rect_union(), grk::grk_rectangle< uint32_t >::rectceildivpow2(), and grk::res_window< T >::res_window().