Grok  7.6.2
Classes | Namespaces | Enumerations
PacketIter.h File Reference

Implementation of a packet iterator (PI) More...

Go to the source code of this file.

Classes

struct  grk::grk_pi_resolution
 
struct  grk::grk_pi_comp
 Packet iterator component. More...
 
struct  grk::PacketIter
 Packet iterator. More...
 

Namespaces

 grk
 Copyright (C) 2016-2020 Grok Image Compression Inc.
 

Enumerations

enum  grk::J2K_T2_MODE { grk::THRESH_CALC = 0, grk::FINAL_PASS = 1 }
 T2 compressing mode. More...
 

Functions

Local static functions
PacketIter * grk::pi_create_compress (const grk_image *image, CodingParams *cp, uint16_t tileno, J2K_T2_MODE t2_mode, std::vector< uint8_t * > *include)
 Creates a packet iterator for compressing. More...
 
void grk::pi_update_encoding_parameters (const grk_image *p_image, CodingParams *p_cp, uint16_t tile_no)
 Updates the compressing parameters of the codec. More...
 
void grk::pi_enable_tile_part_generation (PacketIter *pi, CodingParams *cp, uint16_t tileno, uint32_t pino, bool first_poc_tile_part, uint32_t tppos, J2K_T2_MODE t2_mode)
 Modify the packet iterator for enabling tile part generation. More...
 
PacketIter * grk::pi_create_decompress (grk_image *image, CodingParams *cp, uint16_t tileno, std::vector< uint8_t * > *include)
 Create a packet iterator for Decoder. More...
 
void grk::pi_destroy (PacketIter *p_pi)
 Destroys a packet iterator array. More...
 
bool grk::pi_next (PacketIter *pi)
 Modify the packet iterator to point to the next packet. More...
 

Detailed Description

Implementation of a packet iterator (PI)

The functions in PI.C have for goal to realize a packet iterator that permits to get the next packet following the progression order and change of it. The functions in PI.C are used by some function in T2.C.