Grok  9.5.0
Public Attributes | List of all members
_grk_dparameters Struct Reference

Core decompress parameters. More...

#include <grok.h>

Public Attributes

uint8_t cp_reduce
 Set the number of highest resolution levels to be discarded. More...
 
uint16_t cp_layer
 Set the maximum number of quality layers to decompress. More...
 
char infile [GRK_PATH_LEN]
 input file name More...
 
char outfile [GRK_PATH_LEN]
 output file name More...
 
GRK_SUPPORTED_FILE_FMT decod_format
 input file format More...
 
GRK_SUPPORTED_FILE_FMT cod_format
 output file format More...
 
uint32_t DA_x0
 Decompress window left boundary. More...
 
uint32_t DA_x1
 Decompress window right boundary. More...
 
uint32_t DA_y0
 Decompress window up boundary. More...
 
uint32_t DA_y1
 Decompress window bottom boundary. More...
 
bool m_verbose
 Verbose mode. More...
 
uint16_t tileIndex
 tile number of the decompressed tile More...
 
uint32_t nb_tile_to_decompress
 Number of tiles to decompress. More...
 
uint32_t flags
 
GRK_TILE_CACHE_STRATEGY tileCacheStrategy
 

Detailed Description

Core decompress parameters.

Member Data Documentation

◆ cod_format

GRK_SUPPORTED_FILE_FMT _grk_dparameters::cod_format

output file format

◆ cp_layer

uint16_t _grk_dparameters::cp_layer

Set the maximum number of quality layers to decompress.

If there are fewer quality layers than the specified number, all quality layers will be decompressed. if != 0, then only the first "layer" layers are decompressed; if == 0 or not used, all the quality layers are decompressed

Referenced by grk::CodeStreamDecompress::initDecompress().

◆ cp_reduce

uint8_t _grk_dparameters::cp_reduce

Set the number of highest resolution levels to be discarded.

The image resolution is effectively divided by 2 to the power of the number of discarded levels. The reduce factor is limited by the smallest total number of decomposition levels among tiles. if greater than zero, then image is decoded to original dimension divided by 2^(cp_reduce); if equal to zero or not used, image is decompressed to full resolution

Referenced by grk::CodeStreamDecompress::initDecompress().

◆ DA_x0

uint32_t _grk_dparameters::DA_x0

Decompress window left boundary.

◆ DA_x1

uint32_t _grk_dparameters::DA_x1

Decompress window right boundary.

◆ DA_y0

uint32_t _grk_dparameters::DA_y0

Decompress window up boundary.

◆ DA_y1

uint32_t _grk_dparameters::DA_y1

Decompress window bottom boundary.

◆ decod_format

GRK_SUPPORTED_FILE_FMT _grk_dparameters::decod_format

input file format

◆ flags

uint32_t _grk_dparameters::flags

◆ infile

char _grk_dparameters::infile[GRK_PATH_LEN]

input file name

◆ m_verbose

bool _grk_dparameters::m_verbose

Verbose mode.

◆ nb_tile_to_decompress

uint32_t _grk_dparameters::nb_tile_to_decompress

Number of tiles to decompress.

◆ outfile

char _grk_dparameters::outfile[GRK_PATH_LEN]

output file name

◆ tileCacheStrategy

GRK_TILE_CACHE_STRATEGY _grk_dparameters::tileCacheStrategy

◆ tileIndex

uint16_t _grk_dparameters::tileIndex

tile number of the decompressed tile


The documentation for this struct was generated from the following file: