opj_cp Struct Reference
[J2K - JPEG-2000 codestream reader/writer]

Coding parameters. More...

#include <j2k.h>


Data Fields

OPJ_CINEMA_MODE cinema
 Digital cinema profile.
int max_comp_size
 Maximum rate for each component.
int img_size
 Size of the image in bits.
OPJ_RSIZ_CAPABILITIES rsiz
 Rsiz.
char tp_on
 Enabling Tile part generation.
char tp_flag
 Flag determining tile part generation.
int tp_pos
 Position of tile part flag in progression order.
int disto_alloc
 allocation by rate/distortion
int fixed_alloc
 allocation by fixed layer
int fixed_quality
 add fixed_quality
int reduce
 if != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the full resolution
int layer
 if != 0, then only the first "layer" layers are decoded; if == 0 or not used, all the quality layers are decoded
OPJ_LIMIT_DECODING limit_decoding
 if == NO_LIMITATION, decode entire codestream; if == LIMIT_TO_MAIN_HEADER then only decode the main header
int tx0
 XTOsiz.
int ty0
 YTOsiz.
int tdx
 XTsiz.
int tdy
 YTsiz.
char * comment
 comment for coding
int tw
 number of tiles in width
int th
 number of tiles in heigth
int * tileno
 ID number of the tiles present in the codestream.
int tileno_size
 size of the vector tileno
unsigned char * ppm_data
 packet header store there for futur use in t2_decode_packet
unsigned char * ppm_data_first
 pointer remaining on the first byte of the first header if ppm is used
int ppm
 if ppm == 1 --> there was a PPM marker for the present tile
int ppm_store
 use in case of multiple marker PPM (number of info already store)
int ppm_previous
 use in case of multiple marker PPM (case on non-finished previous info)
int ppm_len
 ppmbug1
opj_tcp_ttcps
 tile coding parameters
int * matrice
 fixed layer
opj_bool epc_on
 enables writing of EPC in MH, thus activating JPWL
opj_bool epb_on
 enables writing of EPB, in case of activated JPWL
opj_bool esd_on
 enables writing of ESD, in case of activated JPWL
opj_bool info_on
 enables writing of informative techniques of ESD, in case of activated JPWL
opj_bool red_on
 enables writing of RED, in case of activated JPWL
int hprot_MH
 error protection method for MH (0,1,16,32,37-128)
int hprot_TPH_tileno [JPWL_MAX_NO_TILESPECS]
 tile number of header protection specification (>=0)
int hprot_TPH [JPWL_MAX_NO_TILESPECS]
 error protection methods for TPHs (0,1,16,32,37-128)
int pprot_tileno [JPWL_MAX_NO_PACKSPECS]
 tile number of packet protection specification (>=0)
int pprot_packno [JPWL_MAX_NO_PACKSPECS]
 packet number of packet protection specification (>=0)
int pprot [JPWL_MAX_NO_PACKSPECS]
 error protection methods for packets (0,1,16,32,37-128)
int sens_size
 enables writing of ESD, (0/2/4 bytes)
int sens_addr
 sensitivity addressing size (0=auto/2/4 bytes)
int sens_range
 sensitivity range (0-3)
int sens_MH
 sensitivity method for MH (-1,0-7)
int sens_TPH_tileno [JPWL_MAX_NO_TILESPECS]
 tile number of sensitivity specification (>=0)
int sens_TPH [JPWL_MAX_NO_TILESPECS]
 sensitivity methods for TPHs (-1,0-7)
opj_bool correct
 enables JPWL correction at the decoder
int exp_comps
 expected number of components at the decoder
int max_tiles
 maximum number of tiles at the decoder


Detailed Description

Coding parameters.

Field Documentation

Maximum rate for each component.

If == 0, component size limitation is not considered

Referenced by j2k_setup_encoder(), and t2_encode_packets().

Size of the image in bits.

Referenced by j2k_setup_encoder(), and opj_cio_open().

Rsiz.

Referenced by j2k_setup_encoder(), and j2k_write_siz().

Flag determining tile part generation.

Referenced by j2k_get_num_tp(), and j2k_setup_encoder().

Position of tile part flag in progression order.

Referenced by j2k_encode(), and j2k_get_num_tp().

allocation by rate/distortion

Referenced by j2k_setup_encoder(), tcd_encode_tile(), and tcd_rateallocate().

allocation by fixed layer

Referenced by j2k_setup_encoder().

add fixed_quality

Referenced by j2k_setup_encoder(), tcd_encode_tile(), and tcd_rateallocate().

if != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the full resolution

Referenced by j2k_read_cox(), j2k_read_siz(), j2k_setup_decoder(), and tcd_decode_tile().

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 t2_decode_packets().

if == NO_LIMITATION, decode entire codestream; if == LIMIT_TO_MAIN_HEADER then only decode the main header

Referenced by j2k_decode(), j2k_read_eoc(), and j2k_setup_decoder().

ID number of the tiles present in the codestream.

Referenced by j2k_destroy_decompress(), j2k_read_eoc(), j2k_read_siz(), j2k_read_sot(), tcd_malloc_decode(), and tcd_malloc_decode_tile().

unsigned char* opj_cp::ppm_data

packet header store there for futur use in t2_decode_packet

Referenced by j2k_read_ppm(), j2k_read_siz(), and t2_decode_packet().

unsigned char* opj_cp::ppm_data_first

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

Referenced by j2k_destroy_decompress(), j2k_read_ppm(), and j2k_read_siz().

if ppm == 1 --> there was a PPM marker for the present tile

Referenced by j2k_read_ppm(), j2k_read_siz(), and t2_decode_packet().

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

Referenced by j2k_read_ppm(), and j2k_read_siz().

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

Referenced by j2k_read_ppm(), and j2k_read_siz().

ppmbug1

Referenced by j2k_read_ppm(), and t2_decode_packet().

enables writing of EPC in MH, thus activating JPWL

Referenced by j2k_encode(), and j2k_setup_encoder().

enables writing of EPB, in case of activated JPWL

Referenced by j2k_setup_encoder(), jpwl_dump_marks(), jpwl_epc_create(), and jpwl_prepare_marks().

enables writing of ESD, in case of activated JPWL

Referenced by j2k_setup_encoder(), jpwl_dump_marks(), jpwl_epc_create(), and jpwl_prepare_marks().

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

Referenced by j2k_setup_encoder(), and jpwl_epc_create().

enables writing of RED, in case of activated JPWL

Referenced by j2k_setup_encoder(), jpwl_epc_create(), and jpwl_prepare_marks().

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::hprot_TPH_tileno[JPWL_MAX_NO_TILESPECS]

tile number of header protection specification (>=0)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::hprot_TPH[JPWL_MAX_NO_TILESPECS]

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::pprot_tileno[JPWL_MAX_NO_PACKSPECS]

tile number of packet protection specification (>=0)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::pprot_packno[JPWL_MAX_NO_PACKSPECS]

packet number of packet protection specification (>=0)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::pprot[JPWL_MAX_NO_PACKSPECS]

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

sensitivity range (0-3)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::sens_TPH_tileno[JPWL_MAX_NO_TILESPECS]

tile number of sensitivity specification (>=0)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::sens_TPH[JPWL_MAX_NO_TILESPECS]

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

expected number of components at the decoder

Referenced by j2k_read_epb(), j2k_read_siz(), j2k_setup_decoder(), and jpwl_correct().

maximum number of tiles at the decoder

Referenced by j2k_read_siz(), and j2k_setup_decoder().


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

Generated on Mon Dec 19 12:34:14 2016 for OpenJPEG by  doxygen 1.5.6