Grok
7.6.6
|
#include <T1Structs.h>
Public Member Functions | |
Resolution () | |
void | print () |
bool | init (bool isCompressor, TileComponentCodingParams *tccp, uint8_t resno, grk_plugin_tile *current_plugin_tile) |
![]() | |
grk_rectangle (uint32_t x0, uint32_t y0, uint32_t x1, uint32_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< uint32_t > pt) |
grk_rectangle< uint32_t > & | operator= (const grk_rectangle< uint32_t > &rhs) |
bool | operator== (const grk_rectangle< uint32_t > &rhs) const |
void | set_rect (grk_rectangle< uint32_t > *rhs) |
void | set_rect (grk_rectangle< uint32_t > rhs) |
grk_rectangle< uint32_t > | rectceildivpow2 (uint32_t power) const |
grk_rectangle< uint32_t > | rectceildiv (uint32_t den) const |
grk_rectangle< uint32_t > | rectceildiv (uint32_t denx, uint32_t deny) const |
grk_rectangle< uint32_t > | intersection (const grk_rectangle< uint32_t > rhs) const |
grk_rectangle< uint32_t > | intersection (const grk_rectangle< uint32_t > *rhs) const |
bool | isContainedIn (const grk_rectangle< uint32_t > rhs) const |
void | clip (const grk_rectangle< uint32_t > *rhs) |
grk_rectangle< uint32_t > | rect_union (const grk_rectangle< uint32_t > *rhs) const |
grk_rectangle< uint32_t > | rect_union (const grk_rectangle< uint32_t > &rhs) const |
uint64_t | area (void) const |
uint32_t | width () const |
uint32_t | height () const |
grk_line< uint32_t > | dimX () |
grk_line< uint32_t > | dimY () |
grk_rectangle< uint32_t > | pan (int64_t x, int64_t y) const |
void | pan_inplace (int64_t x, int64_t y) |
grk_rectangle< uint32_t > & | grow (uint32_t boundary) |
grk_rectangle< uint32_t > & | grow (uint32_t boundaryx, uint32_t boundaryy) |
grk_rectangle< uint32_t > & | grow (uint32_t boundary, uint32_t maxX, uint32_t maxY) |
grk_rectangle< uint32_t > & | grow (uint32_t boundaryx, uint32_t boundaryy, uint32_t maxX, uint32_t maxY) |
grk_rectangle< uint32_t > & | grow (uint32_t boundary, grk_rectangle< uint32_t > bounds) |
grk_rectangle< uint32_t > & | grow (uint32_t boundaryx, uint32_t boundaryy, grk_rectangle< uint32_t > bounds) |
Public Attributes | |
bool | initialized |
Subband | band [BAND_NUM_INDICES] |
uint32_t | numBandWindows |
uint32_t | pw |
uint32_t | ph |
grk_pt | cblk_expn |
grk_pt | precinct_start |
grk_pt | precinct_expn |
grk_plugin_tile * | current_plugin_tile |
![]() | |
uint32_t | x0 |
uint32_t | y0 |
uint32_t | x1 |
uint32_t | y1 |
grk::Resolution::Resolution | ( | ) |
bool grk::Resolution::init | ( | bool | isCompressor, |
TileComponentCodingParams * | tccp, | ||
uint8_t | resno, | ||
grk_plugin_tile * | current_plugin_tile | ||
) |
References band, cblk_expn, grk::TileComponentCodingParams::cblkh, grk::TileComponentCodingParams::cblkw, current_plugin_tile, grk::GRK_ERROR(), initialized, grk::mult_will_overflow(), numBandWindows, grk::Subband::numPrecincts, ph, grk::TileComponentCodingParams::prch_exp, grk::TileComponentCodingParams::prcw_exp, precinct_expn, precinct_start, pw, grk::uint_floordivpow2(), grk::grk_point< T >::x, grk::grk_rectangle< uint32_t >::x0, grk::grk_point< T >::y, and grk::grk_rectangle< uint32_t >::y0.
void grk::Resolution::print | ( | void | ) |
References band, numBandWindows, grk::Subband::print(), and grk::grk_rectangle< uint32_t >::print().
Subband grk::Resolution::band[BAND_NUM_INDICES] |
Referenced by grk::TileComponent::allocSparseBuffer(), grk::TileComponent::create_buffer(), grk::TileComponent::init(), init(), grk::TileProcessor::make_layer_simple(), grk::TileProcessor::makelayer_feasible(), grk::TileProcessor::makelayer_final(), grk::TileProcessor::pcrd_bisect_feasible(), grk::TileProcessor::pcrd_bisect_simple(), print(), grk::T2Decompress::read_packet_data(), grk::TileComponent::release_mem(), grk::ResWindow< T >::ResWindow(), grk::set_context_stream(), and grk::T2Decompress::skip_packet_data().
grk_plugin_tile* grk::Resolution::current_plugin_tile |
Referenced by init().
bool grk::Resolution::initialized |
Referenced by init().
uint32_t grk::Resolution::numBandWindows |
uint32_t grk::Resolution::ph |
Referenced by init().
uint32_t grk::Resolution::pw |
Referenced by init().