Grok  7.6.0
Data Fields
_grk_dparameters Struct Reference

Core decompress parameters. More...

#include <grok.h>

Data Fields

uint32_t cp_reduce
 Set the number of highest resolution levels to be discarded. More...
 
uint32_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
 Decoding area left boundary. More...
 
uint32_t DA_x1
 Decoding area right boundary. More...
 
uint32_t DA_y0
 Decoding area up boundary. More...
 
uint32_t DA_y1
 Decoding area bottom boundary. More...
 
bool m_verbose
 Verbose mode. More...
 
uint16_t tile_index
 tile number of the decompressed tile More...
 
uint32_t nb_tile_to_decode
 Number of tiles to decompress. More...
 
uint32_t flags
 

Detailed Description

Core decompress parameters.

Field Documentation

◆ cod_format

GRK_SUPPORTED_FILE_FMT _grk_dparameters::cod_format

output file format

◆ cp_layer

uint32_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 decoded. if != 0, then only the first "layer" layers are decoded; if == 0 or not used, all the quality layers are decoded

◆ cp_reduce

uint32_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 deocded to original dimension divided by 2^(cp_reduce); if equal to zero or not used, image is decoded to full resolution

◆ DA_x0

uint32_t _grk_dparameters::DA_x0

Decoding area left boundary.

◆ DA_x1

uint32_t _grk_dparameters::DA_x1

Decoding area right boundary.

◆ DA_y0

uint32_t _grk_dparameters::DA_y0

Decoding area up boundary.

◆ DA_y1

uint32_t _grk_dparameters::DA_y1

Decoding area 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_decode

uint32_t _grk_dparameters::nb_tile_to_decode

Number of tiles to decompress.

◆ outfile

char _grk_dparameters::outfile[GRK_PATH_LEN]

output file name

◆ tile_index

uint16_t _grk_dparameters::tile_index

tile number of the decompressed tile


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