OpenJPEG
1.5.1
|
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_t * | tcps |
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... | |
Coding parameters.
OPJ_CINEMA_MODE opj_cp::cinema |
Digital cinema profile.
Referenced by j2k_encode(), j2k_setup_encoder(), j2k_write_sod(), pi_create_encode(), pi_initialise_encode(), t2_encode_packets(), and tcd_rateallocate().
char* opj_cp::comment |
comment for coding
Referenced by j2k_destroy_compress(), j2k_destroy_decompress(), j2k_encode(), j2k_setup_encoder(), and j2k_write_com().
opj_bool opj_cp::correct |
enables JPWL correction at the decoder
Referenced by j2k_decode(), j2k_read_epb(), j2k_read_ppm(), j2k_read_qcc(), j2k_read_qcx(), j2k_read_rgn(), j2k_read_siz(), j2k_read_sot(), j2k_read_unk(), j2k_setup_decoder(), and jpwl_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 |
fixed layer
Referenced by j2k_destroy_compress(), j2k_setup_encoder(), and tcd_makelayer_fixed().
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 |
tile coding parameters
Referenced by j2k_calculate_tp(), j2k_destroy_compress(), j2k_destroy_decompress(), j2k_encode(), j2k_get_num_tp(), j2k_read_coc(), j2k_read_cod(), j2k_read_cox(), j2k_read_poc(), j2k_read_ppt(), j2k_read_qcx(), j2k_read_rgn(), j2k_read_siz(), j2k_read_sot(), j2k_setup_encoder(), j2k_write_coc(), j2k_write_cod(), j2k_write_cox(), j2k_write_poc(), j2k_write_qcx(), j2k_write_rgn(), j2k_write_sod(), pi_create_decode(), pi_create_encode(), pi_destroy(), pi_initialise_encode(), t2_decode_packets(), t2_encode_packets(), tcd_decode_tile(), tcd_encode_tile(), tcd_init_encode(), tcd_malloc_decode_tile(), and tcd_malloc_encode().
int opj_cp::tdx |
XTsiz.
Referenced by j2k_encode(), j2k_read_siz(), j2k_setup_encoder(), j2k_write_siz(), pi_create_decode(), pi_initialise_encode(), tcd_init_encode(), tcd_malloc_decode(), and tcd_malloc_encode().
int opj_cp::tdy |
YTsiz.
Referenced by j2k_encode(), j2k_read_siz(), j2k_setup_encoder(), j2k_write_siz(), pi_create_decode(), pi_initialise_encode(), tcd_init_encode(), tcd_malloc_decode(), and tcd_malloc_encode().
int opj_cp::th |
number of tiles in heigth
Referenced by j2k_calculate_tp(), j2k_destroy_compress(), j2k_destroy_decompress(), j2k_encode(), j2k_read_siz(), j2k_read_sot(), j2k_setup_encoder(), j2k_write_sod(), tcd_decode_tile(), tcd_malloc_decode(), and tcd_malloc_encode().
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 |
size of the vector tileno
Referenced by j2k_destroy_decompress(), j2k_read_eoc(), j2k_read_siz(), j2k_read_sot(), and tcd_malloc_decode().
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 |
Enabling Tile part generation.
Referenced by j2k_get_num_tp(), j2k_setup_encoder(), pi_create_encode(), pi_initialise_encode(), t2_decode_packets(), t2_encode_packets(), tcd_init_encode(), and tcd_malloc_encode().
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 |
number of tiles in width
Referenced by j2k_calculate_tp(), j2k_destroy_compress(), j2k_destroy_decompress(), j2k_encode(), j2k_read_siz(), j2k_read_sot(), j2k_setup_encoder(), j2k_write_sod(), pi_create_decode(), pi_initialise_encode(), tcd_decode_tile(), tcd_init_encode(), tcd_malloc_decode(), and tcd_malloc_encode().
int opj_cp::tx0 |
XTOsiz.
Referenced by j2k_encode(), j2k_read_siz(), j2k_setup_encoder(), j2k_write_siz(), pi_create_decode(), pi_initialise_encode(), tcd_init_encode(), tcd_malloc_decode(), and tcd_malloc_encode().
int opj_cp::ty0 |
YTOsiz.
Referenced by j2k_encode(), j2k_read_siz(), j2k_setup_encoder(), j2k_write_siz(), pi_create_decode(), pi_initialise_encode(), tcd_init_encode(), tcd_malloc_decode(), and tcd_malloc_encode().