Grok  7.6.0
Data Structures | Namespaces | Enumerations
PacketIter.h File Reference

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

Go to the source code of this file.

Data Structures

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 encoding mode. More...
 

Functions

Exported functions
PacketIter * grk::pi_initialise_encode (const grk_image *image, CodingParams *cp, uint16_t tileno, J2K_T2_MODE t2_mode)
 Creates a packet iterator for encoding. More...
 
void grk::pi_update_encoding_parameters (const grk_image *p_image, CodingParams *p_cp, uint16_t tile_no)
 Updates the encoding parameters of the codec. More...
 
void grk::pi_init_encode (PacketIter *pi, CodingParams *cp, uint16_t tileno, uint32_t pino, uint32_t tpnum, uint32_t tppos, J2K_T2_MODE t2_mode)
 Modify the packet iterator for enabling tile part generation. More...
 
PacketIter * grk::pi_create_decode (grk_image *image, CodingParams *cp, uint16_t tileno)
 Create a packet iterator for Decoder. More...
 
void grk::pi_destroy (PacketIter *p_pi, uint32_t nb_elements)
 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.