Grok
7.6.3
|
Packet iterator. More...
#include <PacketIter.h>
Public Member Functions | |
Local static functions | |
PacketIter () | |
~PacketIter () | |
uint8_t * | get_include (uint16_t layerIndex) |
bool | update_include (void) |
void | destroy_include (void) |
Public Attributes | |
bool | tp_on |
Enabling Tile part generation. More... | |
std::vector< uint8_t * > * | include |
uint64_t | step_l |
layer step used to localize the packet in the include vector More... | |
uint64_t | step_r |
resolution step used to localize the packet in the include vector More... | |
uint64_t | step_c |
component step used to localize the packet in the include vector More... | |
uint32_t | step_p |
precinct step used to localize the packet in the include vector More... | |
uint16_t | compno |
component that identify the packet More... | |
uint8_t | resno |
resolution that identify the packet More... | |
uint64_t | precinctIndex |
precinct that identify the packet More... | |
uint16_t | layno |
layer that identify the packet More... | |
bool | first |
true if the first packet More... | |
grk_poc | poc |
progression order change information More... | |
uint16_t | numcomps |
number of components in the image More... | |
grk_pi_comp * | comps |
Components. More... | |
uint32_t | tx0 |
tile coordinates More... | |
uint32_t | ty0 |
uint32_t | tx1 |
uint32_t | ty1 |
uint32_t | x |
packet coordinates More... | |
uint32_t | y |
uint32_t | dx |
packet sub-sampling factors More... | |
uint32_t | dy |
Packet iterator.
grk::PacketIter::PacketIter | ( | ) |
References poc.
grk::PacketIter::~PacketIter | ( | ) |
References compno, comps, grk::grk_free(), and numcomps.
void grk::PacketIter::destroy_include | ( | void | ) |
References include.
Referenced by grk::pi_destroy().
uint8_t * grk::PacketIter::get_include | ( | uint16_t | layerIndex | ) |
References include, and step_l.
Referenced by update_include().
bool grk::PacketIter::update_include | ( | void | ) |
References compno, get_include(), include, layno, precinctIndex, resno, grk::shift, step_c, step_l, step_p, and step_r.
Referenced by grk::pi_next_cprl(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), and grk::pi_next_rpcl().
uint16_t grk::PacketIter::compno |
component that identify the packet
Referenced by grk::T2Compress::compress_packet(), grk::T2Compress::compress_packet_simulate(), grk::T2Decompress::decompress_packet(), grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::pi_next_rpcl(), grk::T2Decompress::read_packet_header(), grk::T2Decompress::skip_packet(), grk::T2Decompress::skip_packet_data(), update_include(), and ~PacketIter().
grk_pi_comp* grk::PacketIter::comps |
Components.
Referenced by grk::pi_create(), grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::update_pi_dxy(), and ~PacketIter().
uint32_t grk::PacketIter::dx |
packet sub-sampling factors
Referenced by grk::pi_next_cprl(), grk::pi_next_pcrl(), grk::pi_next_rpcl(), grk::update_pi_dxy(), and grk::update_pi_dxy_for_comp().
uint32_t grk::PacketIter::dy |
Referenced by grk::pi_next_cprl(), grk::pi_next_pcrl(), grk::pi_next_rpcl(), grk::update_pi_dxy(), and grk::update_pi_dxy_for_comp().
bool grk::PacketIter::first |
true if the first packet
Referenced by grk::pi_enable_tile_part_generation(), grk::pi_next_cprl(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::pi_next_rpcl(), and grk::update_pi_dxy().
std::vector<uint8_t*>* grk::PacketIter::include |
Referenced by destroy_include(), get_include(), and update_include().
uint16_t grk::PacketIter::layno |
layer that identify the packet
Referenced by grk::T2Compress::compress_packet(), grk::T2Compress::compress_packet_simulate(), grk::pi_next_cprl(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::pi_next_rpcl(), grk::T2Decompress::read_packet_header(), and update_include().
uint16_t grk::PacketIter::numcomps |
number of components in the image
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::update_pi_dxy(), and ~PacketIter().
grk_poc grk::PacketIter::poc |
progression order change information
Referenced by PacketIter(), grk::pi_enable_tile_part_generation(), grk::pi_next(), grk::pi_next_cprl(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::pi_next_rpcl(), and grk::pi_update_decompress_no_poc().
uint64_t grk::PacketIter::precinctIndex |
precinct that identify the packet
Referenced by grk::T2Compress::compress_packet(), grk::T2Compress::compress_packet_simulate(), grk::pi_next_l(), grk::pi_next_lrcp(), grk::pi_next_rlcp(), grk::T2Decompress::read_packet_data(), grk::T2Decompress::read_packet_header(), grk::T2Decompress::skip_packet_data(), and update_include().
uint8_t grk::PacketIter::resno |
resolution that identify the packet
Referenced by grk::T2Compress::compress_packet(), grk::T2Compress::compress_packet_simulate(), grk::T2Decompress::decompress_packet(), grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), grk::pi_next_rpcl(), grk::T2Decompress::read_packet_header(), grk::T2Decompress::skip_packet(), grk::T2Decompress::skip_packet_data(), and update_include().
uint64_t grk::PacketIter::step_c |
component step used to localize the packet in the include vector
Referenced by update_include().
uint64_t grk::PacketIter::step_l |
layer step used to localize the packet in the include vector
Referenced by get_include(), and update_include().
uint32_t grk::PacketIter::step_p |
precinct step used to localize the packet in the include vector
Referenced by update_include().
uint64_t grk::PacketIter::step_r |
resolution step used to localize the packet in the include vector
Referenced by update_include().
bool grk::PacketIter::tp_on |
Enabling Tile part generation.
Referenced by grk::pi_next_cprl(), grk::pi_next_lrcp(), grk::pi_next_pcrl(), grk::pi_next_rlcp(), and grk::pi_next_rpcl().
uint32_t grk::PacketIter::tx0 |
tile coordinates
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_pcrl(), and grk::pi_next_rpcl().
uint32_t grk::PacketIter::tx1 |
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_pcrl(), and grk::pi_next_rpcl().
uint32_t grk::PacketIter::ty0 |
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_pcrl(), and grk::pi_next_rpcl().
uint32_t grk::PacketIter::ty1 |
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_pcrl(), and grk::pi_next_rpcl().
uint32_t grk::PacketIter::x |
packet coordinates
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_pcrl(), and grk::pi_next_rpcl().
uint32_t grk::PacketIter::y |
Referenced by grk::pi_next_cprl(), grk::pi_next_l(), grk::pi_next_pcrl(), and grk::pi_next_rpcl().