OpenJPEG  1.5.1
Data Fields

Coding parameters. More...

#include <j2k.h>

Data Fields

OPJ_CINEMA_MODE cinema
 Digital cinema profile. More...
 
int max_comp_size
 Maximum rate for each component. More...
 
int img_size
 Size of the image in bits. More...
 
OPJ_RSIZ_CAPABILITIES rsiz
 Rsiz. More...
 
char tp_on
 Enabling Tile part generation. More...
 
char tp_flag
 Flag determining tile part generation. More...
 
int tp_pos
 Position of tile part flag in progression order. More...
 
int disto_alloc
 allocation by rate/distortion More...
 
int fixed_alloc
 allocation by fixed layer More...
 
int fixed_quality
 add fixed_quality More...
 
int reduce
 if != 0, then original dimension divided by 2^(reduce); if == 0 or not used, image is decoded to the full resolution More...
 
int layer
 if != 0, then only the first "layer" layers are decoded; if == 0 or not used, all the quality layers are decoded More...
 
OPJ_LIMIT_DECODING limit_decoding
 if == NO_LIMITATION, decode entire codestream; if == LIMIT_TO_MAIN_HEADER then only decode the main header More...
 
int tx0
 XTOsiz. More...
 
int ty0
 YTOsiz. More...
 
int tdx
 XTsiz. More...
 
int tdy
 YTsiz. More...
 
char * comment
 comment for coding More...
 
int tw
 number of tiles in width More...
 
int th
 number of tiles in heigth More...
 
int * tileno
 ID number of the tiles present in the codestream. More...
 
int tileno_size
 size of the vector tileno More...
 
unsigned char * ppm_data
 packet header store there for futur use in t2_decode_packet More...
 
unsigned char * ppm_data_first
 pointer remaining on the first byte of the first header if ppm is used More...
 
int ppm
 if ppm == 1 –> there was a PPM marker for the present tile More...
 
int ppm_store
 use in case of multiple marker PPM (number of info already store) More...
 
int ppm_previous
 use in case of multiple marker PPM (case on non-finished previous info) More...
 
int ppm_len
 ppmbug1 More...
 
opj_tcp_ttcps
 tile coding parameters More...
 
int * matrice
 fixed layer More...
 
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...
 
int max_tiles
 maximum number of tiles at the decoder More...
 

Detailed Description

Coding parameters.

Field Documentation

OPJ_CINEMA_MODE opj_cp::cinema
char* opj_cp::comment
opj_bool opj_cp::correct
int opj_cp::disto_alloc

allocation by rate/distortion

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

opj_bool opj_cp::epb_on

enables writing of EPB, in case of activated JPWL

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

opj_bool opj_cp::epc_on

enables writing of EPC in MH, thus activating JPWL

Referenced by j2k_encode(), and j2k_setup_encoder().

opj_bool opj_cp::esd_on

enables writing of ESD, in case of activated JPWL

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

int opj_cp::exp_comps

expected number of components at the decoder

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

int opj_cp::fixed_alloc

allocation by fixed layer

Referenced by j2k_setup_encoder().

int opj_cp::fixed_quality

add fixed_quality

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

int opj_cp::hprot_MH

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[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::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::img_size

Size of the image in bits.

Referenced by j2k_setup_encoder(), and opj_cio_open().

opj_bool opj_cp::info_on

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

Referenced by j2k_setup_encoder(), and jpwl_epc_create().

int opj_cp::layer

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

OPJ_LIMIT_DECODING opj_cp::limit_decoding

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

int* opj_cp::matrice
int opj_cp::max_comp_size

Maximum rate for each component.

If == 0, component size limitation is not considered

Referenced by j2k_setup_encoder(), and t2_encode_packets().

int opj_cp::max_tiles

maximum number of tiles at the decoder

Referenced by j2k_read_siz(), and j2k_setup_decoder().

int opj_cp::ppm

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

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

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

int opj_cp::ppm_len

ppmbug1

Referenced by j2k_read_ppm(), and t2_decode_packet().

int opj_cp::ppm_previous

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

Referenced by j2k_read_ppm(), and j2k_read_siz().

int opj_cp::ppm_store

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

Referenced by j2k_read_ppm(), and j2k_read_siz().

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

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_tileno[JPWL_MAX_NO_PACKSPECS]

tile number of packet protection specification (>=0)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

opj_bool opj_cp::red_on

enables writing of RED, in case of activated JPWL

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

int opj_cp::reduce

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

OPJ_RSIZ_CAPABILITIES opj_cp::rsiz

Rsiz.

Referenced by j2k_setup_encoder(), and j2k_write_siz().

int opj_cp::sens_addr

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::sens_MH

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

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::sens_range

sensitivity range (0-3)

Referenced by j2k_setup_encoder(), and jpwl_prepare_marks().

int opj_cp::sens_size

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

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

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

opj_tcp_t* opj_cp::tcps
int opj_cp::tdx
int opj_cp::tdy
int opj_cp::th
int* opj_cp::tileno

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

int opj_cp::tileno_size
char opj_cp::tp_flag

Flag determining tile part generation.

Referenced by j2k_get_num_tp(), and j2k_setup_encoder().

char opj_cp::tp_on
int opj_cp::tp_pos

Position of tile part flag in progression order.

Referenced by j2k_encode(), and j2k_get_num_tp().

int opj_cp::tw
int opj_cp::tx0
int opj_cp::ty0

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