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

#include <j2k.h>

Data Fields

OPJ_UINT32 m_state
 locate in which part of the codestream the decoder is (main header, tile header, end)
opj_tcp_tm_default_tcp
 store decoding parameters common to all tiles (information like COD, COC in main header)
OPJ_BYTEm_header_data
OPJ_UINT32 m_header_data_size
OPJ_UINT32 m_sot_length
 to tell the tile part length
OPJ_UINT32 m_start_tile_x
 Only tiles index in the correct range will be decoded.
OPJ_UINT32 m_start_tile_y
OPJ_UINT32 m_end_tile_x
OPJ_UINT32 m_end_tile_y
OPJ_INT32 m_tile_ind_to_dec
 Index of the tile to decode (used in get_tile).
OPJ_OFF_T m_last_sot_read_pos
 Position of the last SOT marker read.
OPJ_BOOL m_last_tile_part
 Indicate that the current tile-part is assume as the last tile part of the codestream.
OPJ_UINT32 m_numcomps_to_decode
OPJ_UINT32m_comps_indices_to_decode
OPJ_BITFIELD m_can_decode: 1
 to tell that a tile can be decoded.
OPJ_BITFIELD m_discard_tiles: 1
OPJ_BITFIELD m_skip_data: 1
OPJ_BITFIELD m_nb_tile_parts_correction_checked: 1
 TNsot correction : see issue 254.
OPJ_BITFIELD m_nb_tile_parts_correction: 1

Field Documentation

to tell that a tile can be decoded.

Referenced by opj_j2k_decode_tile(), opj_j2k_read_sot(), and opj_j2k_read_tile_header().

Position of the last SOT marker read.

Referenced by opj_j2k_create_decompress(), opj_j2k_decode_one_tile(), and opj_j2k_read_tile_header().

Indicate that the current tile-part is assume as the last tile part of the codestream.

It is useful in the case of PSot is equal to zero. The sot length will be compute in the SOD reader function. FIXME NOT USED for the moment

Referenced by opj_j2k_read_sod(), and opj_j2k_read_sot().

TNsot correction : see issue 254.

Referenced by opj_j2k_create_decompress(), and opj_j2k_read_tile_header().

to tell the tile part length

Referenced by opj_j2k_read_sod(), opj_j2k_read_sot(), and opj_j2k_read_tile_header().

Only tiles index in the correct range will be decoded.

Referenced by opj_j2k_read_siz(), opj_j2k_read_sot(), and opj_j2k_set_decode_area().

Index of the tile to decode (used in get_tile).

Referenced by opj_j2k_create_decompress(), opj_j2k_decode_one_tile(), opj_j2k_get_tile(), and opj_j2k_read_sot().


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

Generated on 20 Feb 2018 for OpenJPEG by  doxygen 1.6.1