#include <j2k.h>
Data Fields | |
opj_common_ptr | cinfo |
codec context | |
int | state |
locate in which part of the codestream the decoder is (main header, tile header, end) | |
int | curtileno |
number of the tile curently concern by coding/decoding | |
int | tp_num |
Tile part number. | |
int | cur_tp_num |
Tilepart number currently coding. | |
int * | cur_totnum_tp |
Total number of tileparts of the current tile. | |
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. | |
int | totnum_tp |
Total num of tile parts in whole image = num tiles* num tileparts in each tile. | |
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) | |
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. | |
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 | |
unsigned char ** | tile_data |
array used to store the data of each tile | |
int * | tile_len |
array used to store the length of each tile | |
opj_tcp_t * | default_tcp |
decompression only : store decoding parameters common to all tiles (information like COD, COC in main header) | |
opj_image_t * | image |
pointer to the encoded / decoded image | |
opj_cp_t * | cp |
pointer to the coding parameters | |
opj_codestream_info_t * | cstr_info |
helper used to write the index file | |
opj_cio_t * | cio |
pointer to the byte i/o stream |
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_sod(), 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().
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().
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().
int opj_j2k::tp_num |
Tilepart number currently coding.
Referenced by j2k_encode(), j2k_read_sod(), j2k_read_sot(), j2k_write_sod(), and j2k_write_sot().
Total number of tileparts of the current tile.
Referenced by j2k_calculate_tp(), j2k_encode(), and j2k_write_sot().
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().
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().
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().
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().
Referenced by j2k_write_sod().
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().
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().
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().
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().
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().
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().
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().