OpenJPEG  2.3.0
Data Fields

Coding parameters. More...

#include <j2k.h>

Data Fields

OPJ_UINT16 rsiz
 Size of the image in bits. More...
 
OPJ_UINT32 tx0
 XTOsiz. More...
 
OPJ_UINT32 ty0
 YTOsiz. More...
 
OPJ_UINT32 tdx
 XTsiz. More...
 
OPJ_UINT32 tdy
 YTsiz. More...
 
OPJ_CHARcomment
 comment More...
 
OPJ_UINT32 tw
 number of tiles in width More...
 
OPJ_UINT32 th
 number of tiles in height More...
 
OPJ_UINT32 ppm_markers_count
 number of ppm markers (reserved size) More...
 
opj_ppxppm_markers
 ppm markers data (table indexed by Zppm) More...
 
OPJ_BYTEppm_data
 packet header store there for future use in t2_decode_packet More...
 
OPJ_UINT32 ppm_len
 size of the ppm_data More...
 
OPJ_UINT32 ppm_data_read
 size of the ppm_data More...
 
OPJ_BYTEppm_data_current
 
OPJ_BYTEppm_buffer
 packet header storage original buffer More...
 
OPJ_BYTEppm_data_first
 pointer remaining on the first byte of the first header if ppm is used More...
 
OPJ_UINT32 ppm_data_size
 Number of bytes actually stored inside the ppm_data. More...
 
OPJ_INT32 ppm_store
 use in case of multiple marker PPM (number of info already store) More...
 
OPJ_INT32 ppm_previous
 use in case of multiple marker PPM (case on non-finished previous info) More...
 
opj_tcp_ttcps
 tile coding parameters More...
 
union {
   opj_decoding_param_t   m_dec
 
   opj_encoding_param_t   m_enc
 
m_specific_param
 
OPJ_BOOL epc_on
 enables writing of EPC in MH, thus activating JPWL More...
 
OPJ_BOOL epb_on
 enables writing of EPB, in case of activated JPWL More...
 
OPJ_BOOL esd_on
 enables writing of ESD, in case of activated JPWL More...
 
OPJ_BOOL info_on
 enables writing of informative techniques of ESD, in case of activated JPWL More...
 
OPJ_BOOL red_on
 enables writing of RED, in case of activated JPWL More...
 
int hprot_MH
 error protection method for MH (0,1,16,32,37-128) More...
 
int hprot_TPH_tileno [JPWL_MAX_NO_TILESPECS]
 tile number of header protection specification (>=0) More...
 
int hprot_TPH [JPWL_MAX_NO_TILESPECS]
 error protection methods for TPHs (0,1,16,32,37-128) More...
 
int pprot_tileno [JPWL_MAX_NO_PACKSPECS]
 tile number of packet protection specification (>=0) More...
 
int pprot_packno [JPWL_MAX_NO_PACKSPECS]
 packet number of packet protection specification (>=0) More...
 
int pprot [JPWL_MAX_NO_PACKSPECS]
 error protection methods for packets (0,1,16,32,37-128) More...
 
int sens_size
 enables writing of ESD, (0/2/4 bytes) More...
 
int sens_addr
 sensitivity addressing size (0=auto/2/4 bytes) More...
 
int sens_range
 sensitivity range (0-3) More...
 
int sens_MH
 sensitivity method for MH (-1,0-7) More...
 
int sens_TPH_tileno [JPWL_MAX_NO_TILESPECS]
 tile number of sensitivity specification (>=0) More...
 
int sens_TPH [JPWL_MAX_NO_TILESPECS]
 sensitivity methods for TPHs (-1,0-7) More...
 
OPJ_BOOL correct
 enables JPWL correction at the decoder More...
 
int exp_comps
 expected number of components at the decoder More...
 
OPJ_UINT32 max_tiles
 maximum number of tiles at the decoder More...
 
OPJ_BITFIELD ppm: 1
 if ppm == 1 –> there was a PPM marker More...
 
OPJ_BITFIELD m_is_decoder: 1
 tells if the parameter is a coding or decoding one More...
 
OPJ_BITFIELD allow_different_bit_depth_sign: 1
 whether different bit depth or sign per component is allowed. More...
 

Detailed Description

Coding parameters.

Field Documentation

OPJ_BITFIELD opj_cp::allow_different_bit_depth_sign

whether different bit depth or sign per component is allowed.

Decoder only for ow

Referenced by opj_j2k_create_decompress(), opj_j2k_read_siz(), and opj_jp2_read_ihdr().

OPJ_CHAR* opj_cp::comment
OPJ_BOOL opj_cp::correct
OPJ_BOOL opj_cp::epb_on

enables writing of EPB, in case of activated JPWL

Referenced by opj_j2k_setup_encoder().

OPJ_BOOL opj_cp::epc_on

enables writing of EPC in MH, thus activating JPWL

Referenced by opj_j2k_setup_encoder().

OPJ_BOOL opj_cp::esd_on

enables writing of ESD, in case of activated JPWL

Referenced by opj_j2k_setup_encoder().

int opj_cp::exp_comps

expected number of components at the decoder

Referenced by opj_j2k_read_siz(), and opj_j2k_setup_decoder().

int opj_cp::hprot_MH

error protection method for MH (0,1,16,32,37-128)

Referenced by opj_j2k_setup_encoder().

int opj_cp::hprot_TPH[JPWL_MAX_NO_TILESPECS]

error protection methods for TPHs (0,1,16,32,37-128)

Referenced by opj_j2k_setup_encoder().

int opj_cp::hprot_TPH_tileno[JPWL_MAX_NO_TILESPECS]

tile number of header protection specification (>=0)

Referenced by opj_j2k_setup_encoder().

OPJ_BOOL opj_cp::info_on

enables writing of informative techniques of ESD, in case of activated JPWL

Referenced by opj_j2k_setup_encoder().

opj_decoding_param_t opj_cp::m_dec
opj_encoding_param_t opj_cp::m_enc
OPJ_BITFIELD opj_cp::m_is_decoder

tells if the parameter is a coding or decoding one

Referenced by opj_j2k_cp_destroy(), opj_j2k_create_compress(), and opj_j2k_create_decompress().

union { ... } opj_cp::m_specific_param
OPJ_UINT32 opj_cp::max_tiles

maximum number of tiles at the decoder

Referenced by opj_j2k_read_siz(), and opj_j2k_setup_decoder().

OPJ_BITFIELD opj_cp::ppm

if ppm == 1 –> there was a PPM marker

Referenced by opj_j2k_merge_ppm(), opj_j2k_read_ppm(), opj_j2k_read_ppt(), and opj_t2_read_packet_header().

OPJ_BYTE* opj_cp::ppm_buffer

packet header storage original buffer

Referenced by opj_j2k_cp_destroy(), and opj_j2k_merge_ppm().

OPJ_BYTE* opj_cp::ppm_data

packet header store there for future use in t2_decode_packet

Referenced by opj_j2k_cp_destroy(), opj_j2k_merge_ppm(), and opj_t2_read_packet_header().

OPJ_BYTE* opj_cp::ppm_data_current
OPJ_BYTE* opj_cp::ppm_data_first

pointer remaining on the first byte of the first header if ppm is used

OPJ_UINT32 opj_cp::ppm_data_read

size of the ppm_data

OPJ_UINT32 opj_cp::ppm_data_size

Number of bytes actually stored inside the ppm_data.

Referenced by opj_j2k_merge_ppm().

OPJ_UINT32 opj_cp::ppm_len

size of the ppm_data

Referenced by opj_j2k_merge_ppm(), and opj_t2_read_packet_header().

opj_ppx* opj_cp::ppm_markers

ppm markers data (table indexed by Zppm)

Referenced by opj_j2k_cp_destroy(), opj_j2k_merge_ppm(), and opj_j2k_read_ppm().

OPJ_UINT32 opj_cp::ppm_markers_count

number of ppm markers (reserved size)

Referenced by opj_j2k_cp_destroy(), opj_j2k_merge_ppm(), and opj_j2k_read_ppm().

OPJ_INT32 opj_cp::ppm_previous

use in case of multiple marker PPM (case on non-finished previous info)

OPJ_INT32 opj_cp::ppm_store

use in case of multiple marker PPM (number of info already store)

int opj_cp::pprot[JPWL_MAX_NO_PACKSPECS]

error protection methods for packets (0,1,16,32,37-128)

Referenced by opj_j2k_setup_encoder().

int opj_cp::pprot_packno[JPWL_MAX_NO_PACKSPECS]

packet number of packet protection specification (>=0)

Referenced by opj_j2k_setup_encoder().

int opj_cp::pprot_tileno[JPWL_MAX_NO_PACKSPECS]

tile number of packet protection specification (>=0)

Referenced by opj_j2k_setup_encoder().

OPJ_BOOL opj_cp::red_on

enables writing of RED, in case of activated JPWL

Referenced by opj_j2k_setup_encoder().

OPJ_UINT16 opj_cp::rsiz
int opj_cp::sens_addr

sensitivity addressing size (0=auto/2/4 bytes)

Referenced by opj_j2k_setup_encoder().

int opj_cp::sens_MH

sensitivity method for MH (-1,0-7)

Referenced by opj_j2k_setup_encoder().

int opj_cp::sens_range

sensitivity range (0-3)

Referenced by opj_j2k_setup_encoder().

int opj_cp::sens_size

enables writing of ESD, (0/2/4 bytes)

Referenced by opj_j2k_setup_encoder().

int opj_cp::sens_TPH[JPWL_MAX_NO_TILESPECS]

sensitivity methods for TPHs (-1,0-7)

Referenced by opj_j2k_setup_encoder().

int opj_cp::sens_TPH_tileno[JPWL_MAX_NO_TILESPECS]

tile number of sensitivity specification (>=0)

Referenced by opj_j2k_setup_encoder().

opj_tcp_t* opj_cp::tcps

tile coding parameters

Referenced by j2k_dump(), opj_get_all_encoding_parameters(), opj_get_encoding_parameters(), opj_j2k_calculate_tp(), opj_j2k_compare_coc(), opj_j2k_compare_SPCod_SPCoc(), opj_j2k_compare_SQcd_SQcc(), opj_j2k_copy_default_tcp_and_create_tcd(), opj_j2k_copy_tile_component_parameters(), opj_j2k_copy_tile_quantization_parameters(), opj_j2k_cp_destroy(), opj_j2k_decode_one_tile(), opj_j2k_decode_tile(), opj_j2k_decode_tiles(), opj_j2k_encoding_validation(), opj_j2k_get_max_poc_size(), opj_j2k_get_max_toc_size(), opj_j2k_get_num_tp(), opj_j2k_get_SPCod_SPCoc_size(), opj_j2k_get_SQcd_SQcc_size(), opj_j2k_mct_validation(), opj_j2k_pre_write_tile(), opj_j2k_read_coc(), opj_j2k_read_cod(), opj_j2k_read_mcc(), opj_j2k_read_mco(), opj_j2k_read_mct(), opj_j2k_read_poc(), opj_j2k_read_ppt(), opj_j2k_read_rgn(), opj_j2k_read_siz(), opj_j2k_read_sod(), opj_j2k_read_sot(), opj_j2k_read_SPCod_SPCoc(), opj_j2k_read_SQcd_SQcc(), opj_j2k_read_tile_header(), opj_j2k_set_decode_area(), opj_j2k_setup_encoder(), opj_j2k_update_rates(), opj_j2k_write_all_tile_parts(), opj_j2k_write_coc_in_memory(), opj_j2k_write_cod(), opj_j2k_write_first_tile_part(), opj_j2k_write_mco(), opj_j2k_write_mct_data_group(), opj_j2k_write_poc(), opj_j2k_write_poc_in_memory(), opj_j2k_write_regions(), opj_j2k_write_rgn(), opj_j2k_write_sot(), opj_j2k_write_SPCod_SPCoc(), opj_j2k_write_SQcd_SQcc(), opj_pi_check_next_level(), opj_pi_create(), opj_pi_create_decode(), opj_pi_create_encode(), opj_pi_initialise_encode(), opj_pi_update_encode_not_poc(), opj_pi_update_encode_poc_and_final(), opj_pi_update_encoding_parameters(), opj_t2_decode_packets(), opj_t2_encode_packets(), opj_tcd_decode_tile(), opj_tcd_encode_tile(), and opj_tcd_init_tile().

OPJ_UINT32 opj_cp::tdx
OPJ_UINT32 opj_cp::tdy
OPJ_UINT32 opj_cp::th
OPJ_UINT32 opj_cp::tw
OPJ_UINT32 opj_cp::tx0
OPJ_UINT32 opj_cp::ty0

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