OpenJPEG
1.5.1
|
JPEG-2000 codestream reader/writer. More...
#include <j2k.h>
Data Fields | |
opj_common_ptr | cinfo |
codec context More... | |
int | state |
locate in which part of the codestream the decoder is (main header, tile header, end) More... | |
int | curtileno |
number of the tile curently concern by coding/decoding More... | |
int | tp_num |
Tile part number. More... | |
int | cur_tp_num |
Tilepart number currently coding. More... | |
int * | cur_totnum_tp |
Total number of tileparts of the current tile. More... | |
int | tlm_start |
locate the start position of the TLM marker after encoding the tilepart, a jump (in j2k_write_sod) is done to the TLM marker to store the value of its length. More... | |
int | totnum_tp |
Total num of tile parts in whole image = num tiles* num tileparts in each tile. More... | |
unsigned char * | eot |
locate the position of the end of the tile in the codestream, used to detect a truncated codestream (in j2k_read_sod) More... | |
int | sot_start |
locate the start position of the SOT marker of the current coded tile: after encoding the tile, a jump (in j2k_write_sod) is done to the SOT marker to store the value of its length. More... | |
int | sod_start |
int | pos_correction |
as the J2K-file is written in several parts during encoding, it enables to make the right correction in position return by cio_tell More... | |
unsigned char ** | tile_data |
array used to store the data of each tile More... | |
int * | tile_len |
array used to store the length of each tile More... | |
opj_tcp_t * | default_tcp |
decompression only : store decoding parameters common to all tiles (information like COD, COC in main header) More... | |
opj_image_t * | image |
pointer to the encoded / decoded image More... | |
opj_cp_t * | cp |
pointer to the coding parameters More... | |
opj_codestream_info_t * | cstr_info |
helper used to write the index file More... | |
opj_cio_t * | cio |
pointer to the byte i/o stream More... | |
JPEG-2000 codestream reader/writer.
opj_common_ptr opj_j2k::cinfo |
codec context
Referenced by j2k_create_compress(), j2k_create_decompress(), j2k_decode(), j2k_decode_jpt_stream(), j2k_encode(), j2k_read_coc(), j2k_read_cox(), j2k_read_eoc(), j2k_read_epb(), j2k_read_epc(), j2k_read_esd(), j2k_read_insec(), j2k_read_poc(), j2k_read_ppm(), j2k_read_qcc(), j2k_read_qcx(), j2k_read_red(), j2k_read_rgn(), j2k_read_sec(), j2k_read_siz(), j2k_read_sot(), j2k_read_unk(), jp2_write_jp2c(), jpwl_check_tile(), jpwl_correct(), jpwl_dump_marks(), jpwl_epb_correct(), jpwl_epb_create(), jpwl_epb_fill(), jpwl_epbs_add(), jpwl_epc_create(), jpwl_esd_create(), jpwl_esd_fill(), jpwl_prepare_marks(), and jpwl_update_info().
opj_cio_t* opj_j2k::cio |
pointer to the byte i/o stream
Referenced by j2k_decode(), j2k_decode_jpt_stream(), j2k_encode(), j2k_read_coc(), j2k_read_cod(), j2k_read_com(), j2k_read_cox(), j2k_read_crg(), j2k_read_epb(), j2k_read_epc(), j2k_read_esd(), j2k_read_insec(), j2k_read_plm(), j2k_read_plt(), j2k_read_poc(), j2k_read_ppm(), j2k_read_ppt(), j2k_read_qcc(), j2k_read_qcd(), j2k_read_qcx(), j2k_read_red(), j2k_read_rgn(), j2k_read_sec(), j2k_read_siz(), j2k_read_soc(), j2k_read_sod(), j2k_read_sot(), j2k_read_tlm(), j2k_read_unk(), j2k_write_coc(), j2k_write_cod(), j2k_write_com(), j2k_write_cox(), j2k_write_eoc(), j2k_write_epb(), j2k_write_epc(), j2k_write_poc(), j2k_write_qcc(), j2k_write_qcd(), j2k_write_qcx(), j2k_write_rgn(), j2k_write_sec(), j2k_write_siz(), j2k_write_soc(), j2k_write_sod(), j2k_write_sot(), j2k_write_tlm(), jpwl_correct(), and jpwl_epb_correct().
opj_cp_t* opj_j2k::cp |
pointer to the coding parameters
Referenced by j2k_decode(), j2k_destroy_compress(), j2k_destroy_decompress(), j2k_encode(), j2k_read_coc(), j2k_read_cod(), j2k_read_cox(), j2k_read_eoc(), j2k_read_epb(), j2k_read_poc(), j2k_read_ppm(), j2k_read_ppt(), j2k_read_qcc(), j2k_read_qcx(), j2k_read_rgn(), j2k_read_siz(), j2k_read_sot(), j2k_read_unk(), j2k_setup_decoder(), j2k_setup_encoder(), j2k_write_coc(), j2k_write_cod(), j2k_write_com(), j2k_write_cox(), j2k_write_poc(), j2k_write_qcx(), j2k_write_rgn(), j2k_write_siz(), j2k_write_sod(), jpwl_correct(), jpwl_dump_marks(), jpwl_epc_create(), and jpwl_prepare_marks().
opj_codestream_info_t* opj_j2k::cstr_info |
helper used to write the index file
Referenced by j2k_calculate_tp(), j2k_decode(), j2k_encode(), j2k_read_cod(), j2k_read_cox(), j2k_read_eoc(), j2k_read_siz(), j2k_read_soc(), j2k_read_sod(), j2k_read_sot(), j2k_write_cod(), j2k_write_com(), j2k_write_eoc(), j2k_write_epb(), j2k_write_epc(), j2k_write_qcd(), j2k_write_siz(), j2k_write_soc(), j2k_write_sod(), j2k_write_sot(), jpwl_dump_marks(), jpwl_epb_write(), jpwl_epc_write(), jpwl_esd_create(), jpwl_esd_fill(), jpwl_esd_write(), jpwl_prepare_marks(), and jpwl_update_info().
int* opj_j2k::cur_totnum_tp |
Total number of tileparts of the current tile.
Referenced by j2k_calculate_tp(), j2k_encode(), and j2k_write_sot().
int opj_j2k::cur_tp_num |
Tilepart number currently coding.
Referenced by j2k_encode(), j2k_read_sod(), j2k_read_sot(), j2k_write_sod(), and j2k_write_sot().
int opj_j2k::curtileno |
number of the tile curently concern by coding/decoding
Referenced by j2k_encode(), j2k_read_coc(), j2k_read_cod(), j2k_read_cox(), j2k_read_poc(), j2k_read_ppt(), j2k_read_qcx(), j2k_read_rgn(), j2k_read_sod(), j2k_read_sot(), j2k_write_coc(), j2k_write_cod(), j2k_write_cox(), j2k_write_poc(), j2k_write_qcx(), j2k_write_sod(), and j2k_write_sot().
opj_tcp_t* opj_j2k::default_tcp |
decompression only : store decoding parameters common to all tiles (information like COD, COC in main header)
Referenced by j2k_create_decompress(), j2k_destroy_decompress(), j2k_read_coc(), j2k_read_cod(), j2k_read_cox(), j2k_read_poc(), j2k_read_qcx(), j2k_read_rgn(), j2k_read_siz(), and j2k_read_sot().
unsigned char* opj_j2k::eot |
locate the position of the end of the tile in the codestream, used to detect a truncated codestream (in j2k_read_sod)
Referenced by j2k_read_sod(), and j2k_read_sot().
opj_image_t* opj_j2k::image |
pointer to the encoded / decoded image
Referenced by j2k_decode(), j2k_decode_jpt_stream(), j2k_encode(), j2k_read_coc(), j2k_read_cod(), j2k_read_crg(), j2k_read_eoc(), j2k_read_esd(), j2k_read_poc(), j2k_read_qcc(), j2k_read_qcd(), j2k_read_rgn(), j2k_read_siz(), j2k_read_sot(), j2k_write_coc(), j2k_write_poc(), j2k_write_qcc(), j2k_write_rgn(), j2k_write_siz(), jpwl_esd_create(), and jpwl_esd_fill().
int opj_j2k::pos_correction |
as the J2K-file is written in several parts during encoding, it enables to make the right correction in position return by cio_tell
Referenced by j2k_encode(), j2k_read_sod(), j2k_write_sod(), and jpwl_encode().
int opj_j2k::sod_start |
Referenced by j2k_write_sod().
int opj_j2k::sot_start |
locate the start position of the SOT marker of the current coded tile: after encoding the tile, a jump (in j2k_write_sod) is done to the SOT marker to store the value of its length.
Referenced by j2k_write_sod(), and j2k_write_sot().
int opj_j2k::state |
locate in which part of the codestream the decoder is (main header, tile header, end)
Referenced by j2k_decode(), j2k_decode_jpt_stream(), j2k_read_coc(), j2k_read_cod(), j2k_read_cox(), j2k_read_eoc(), j2k_read_epb(), j2k_read_poc(), j2k_read_qcx(), j2k_read_rgn(), j2k_read_siz(), j2k_read_soc(), j2k_read_sod(), j2k_read_sot(), and jpwl_correct().
unsigned char** opj_j2k::tile_data |
array used to store the data of each tile
Referenced by j2k_create_decompress(), j2k_destroy_decompress(), j2k_read_eoc(), j2k_read_siz(), and j2k_read_sod().
int* opj_j2k::tile_len |
array used to store the length of each tile
Referenced by j2k_destroy_decompress(), j2k_read_eoc(), j2k_read_siz(), and j2k_read_sod().
int opj_j2k::tlm_start |
locate the start position of the TLM marker after encoding the tilepart, a jump (in j2k_write_sod) is done to the TLM marker to store the value of its length.
Referenced by j2k_write_sod(), and j2k_write_tlm().
int opj_j2k::totnum_tp |
Total num of tile parts in whole image = num tiles* num tileparts in each tile.
used in TLMmarker
Referenced by j2k_encode(), and j2k_write_tlm().
int opj_j2k::tp_num |
Tile part number.
Referenced by j2k_encode(), and j2k_write_sod().