Decompression parameters. More...
#include <openjpeg.h>
Data Fields | |
| OPJ_UINT32 | cp_reduce |
| Set the number of highest resolution levels to be discarded. | |
| OPJ_UINT32 | cp_layer |
| Set the maximum number of quality layers to decode. | |
| unsigned int | flags |
command line decoder parameters (not used inside the library) | |
| char | infile [OPJ_PATH_LEN] |
| input file name | |
| char | outfile [OPJ_PATH_LEN] |
| output file name | |
| int | decod_format |
| input file format 0: J2K, 1: JP2, 2: JPT | |
| int | cod_format |
| output file format 0: PGX, 1: PxM, 2: BMP | |
| OPJ_UINT32 | DA_x0 |
| Decoding area left boundary. | |
| OPJ_UINT32 | DA_x1 |
| Decoding area right boundary. | |
| OPJ_UINT32 | DA_y0 |
| Decoding area up boundary. | |
| OPJ_UINT32 | DA_y1 |
| Decoding area bottom boundary. | |
| OPJ_BOOL | m_verbose |
| Verbose mode. | |
| OPJ_UINT32 | tile_index |
| tile number ot the decoded tile | |
| OPJ_UINT32 | nb_tile_to_decode |
| Nb of tile to decode. | |
JPWL decoding parameters | |
| OPJ_BOOL | jpwl_correct |
| activates the JPWL correction capabilities | |
| int | jpwl_exp_comps |
| expected number of components | |
| int | jpwl_max_tiles |
| maximum number of tiles | |
Decompression parameters.
output file format 0: PGX, 1: PxM, 2: BMP
Referenced by opj_set_default_decoder_parameters().
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 opj_j2k_setup_decoder(), and opj_set_default_decoder_parameters().
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 opj_j2k_setup_decoder(), and opj_set_default_decoder_parameters().
Decoding area left boundary.
Referenced by j2k_to_pnm().
Decoding area right boundary.
Referenced by j2k_to_pnm().
Decoding area up boundary.
Referenced by j2k_to_pnm().
Decoding area bottom boundary.
Referenced by j2k_to_pnm().
input file format 0: J2K, 1: JP2, 2: JPT
Referenced by opj_set_default_decoder_parameters().
| unsigned int opj_dparameters::flags |
Referenced by opj_j2k_setup_decoder(), opj_jp2_setup_decoder(), and opj_set_default_decoder_parameters().
| char opj_dparameters::infile[OPJ_PATH_LEN] |
input file name
activates the JPWL correction capabilities
Referenced by opj_j2k_setup_decoder(), and opj_set_default_decoder_parameters().
expected number of components
Referenced by opj_j2k_setup_decoder(), and opj_set_default_decoder_parameters().
maximum number of tiles
Referenced by opj_j2k_setup_decoder(), and opj_set_default_decoder_parameters().
Verbose mode.
Nb of tile to decode.
| char opj_dparameters::outfile[OPJ_PATH_LEN] |
output file name
tile number ot the decoded tile
1.6.1