OpenJPEG  1.5.1
Data Fields
opj_dparameters Struct Reference

Decompression parameters. More...

#include <openjpeg.h>

Data Fields

int cp_reduce
 Set the number of highest resolution levels to be discarded. More...
 
int cp_layer
 Set the maximum number of quality layers to decode. More...
 
OPJ_LIMIT_DECODING cp_limit_decoding
 Specify whether the decoding should be done on the entire codestream, or be limited to the main header Limiting the decoding to the main header makes it possible to extract the characteristics of the codestream if == NO_LIMITATION, the entire codestream is decoded; if == LIMIT_TO_MAIN_HEADER, only the main header is decoded;. More...
 
unsigned int flags
 
command line encoder parameters (not used inside the library)
char infile [OPJ_PATH_LEN]
 input file name More...
 
char outfile [OPJ_PATH_LEN]
 output file name More...
 
int decod_format
 input file format 0: J2K, 1: JP2, 2: JPT More...
 
int cod_format
 output file format 0: PGX, 1: PxM, 2: BMP More...
 
JPWL decoding parameters
opj_bool jpwl_correct
 activates the JPWL correction capabilities More...
 
int jpwl_exp_comps
 expected number of components More...
 
int jpwl_max_tiles
 maximum number of tiles More...
 

Detailed Description

Decompression parameters.

Field Documentation

int opj_dparameters::cod_format

output file format 0: PGX, 1: PxM, 2: BMP

Referenced by opj_set_default_decoder_parameters().

int opj_dparameters::cp_layer

Set the maximum number of quality layers to decode.

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

Referenced by j2k_setup_decoder(), and opj_set_default_decoder_parameters().

OPJ_LIMIT_DECODING opj_dparameters::cp_limit_decoding

Specify whether the decoding should be done on the entire codestream, or be limited to the main header Limiting the decoding to the main header makes it possible to extract the characteristics of the codestream if == NO_LIMITATION, the entire codestream is decoded; if == LIMIT_TO_MAIN_HEADER, only the main header is decoded;.

Referenced by j2k_setup_decoder(), and opj_set_default_decoder_parameters().

int opj_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 != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the full resolution

Referenced by j2k_setup_decoder(), and opj_set_default_decoder_parameters().

int opj_dparameters::decod_format

input file format 0: J2K, 1: JP2, 2: JPT

Referenced by opj_set_default_decoder_parameters().

unsigned int opj_dparameters::flags
char opj_dparameters::infile[OPJ_PATH_LEN]

input file name

opj_bool opj_dparameters::jpwl_correct

activates the JPWL correction capabilities

Referenced by j2k_setup_decoder(), and opj_set_default_decoder_parameters().

int opj_dparameters::jpwl_exp_comps

expected number of components

Referenced by j2k_setup_decoder(), and opj_set_default_decoder_parameters().

int opj_dparameters::jpwl_max_tiles

maximum number of tiles

Referenced by j2k_setup_decoder(), and opj_set_default_decoder_parameters().

char opj_dparameters::outfile[OPJ_PATH_LEN]

output file name


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