Grok  7.6.6
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::ResBuf
 
struct  grk::IncludeTracker
 
struct  grk::PacketIter
 Packet iterator. More...
 

Namespaces

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

Enumerations

enum  grk::J2K_T2_MODE { grk::THRESH_CALC = 0 , grk::FINAL_PASS = 1 }
 

Functions

Local static functions
PacketIter * grk::pi_create_compress (const GrkImage *image, CodingParams *cp, uint16_t tileno, J2K_T2_MODE t2_mode, IncludeTracker *include)
 Creates a packet iterator for compressing. More...
 
void grk::pi_update_encoding_parameters (const GrkImage *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 (GrkImage *image, CodingParams *cp, uint16_t tileno, IncludeTracker *include)
 Create a packet iterator for Decoder. More...
 
void grk::pi_destroy (PacketIter *p_pi)
 Destroys a packet iterator array. More...
 

Detailed Description

Implementation of a packet iterator (PI)

A packet iterator gets the next packet following the progression order