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_UINT32 m_DA_x0
 Decoded area set by the user.
OPJ_UINT32 m_DA_y0
OPJ_UINT32 m_DA_x1
OPJ_UINT32 m_DA_y1
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_can_decode: 1
 to tell that a tile can be decoded.
OPJ_UINT32 m_discard_tiles: 1
OPJ_UINT32 m_skip_data: 1


Field Documentation

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

Decoded area set by the user.

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

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

to tell that a tile can be decoded.

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


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

Generated on Thu Jan 7 22:01:23 2016 for OpenJPEG by  doxygen 1.5.6