OpenJPEG  2.2.0
Data Fields
opj_j2k_dec Struct Reference

#include <j2k.h>

Data Fields

OPJ_UINT32 m_state
 locate in which part of the codestream the decoder is (main header, tile header, end) More...
 
opj_tcp_tm_default_tcp
 store decoding parameters common to all tiles (information like COD, COC in main header) More...
 
OPJ_BYTEm_header_data
 
OPJ_UINT32 m_header_data_size
 
OPJ_UINT32 m_sot_length
 to tell the tile part length More...
 
OPJ_UINT32 m_start_tile_x
 Only tiles index in the correct range will be decoded. More...
 
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) More...
 
OPJ_OFF_T m_last_sot_read_pos
 Position of the last SOT marker read. More...
 
OPJ_BOOL m_last_tile_part
 Indicate that the current tile-part is assume as the last tile part of the codestream. More...
 
OPJ_BITFIELD m_can_decode: 1
 to tell that a tile can be decoded. More...
 
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. More...
 
OPJ_BITFIELD m_nb_tile_parts_correction: 1
 

Field Documentation

OPJ_BITFIELD opj_j2k_dec::m_can_decode

to tell that a tile can be decoded.

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

opj_tcp_t* opj_j2k_dec::m_default_tcp
OPJ_BITFIELD opj_j2k_dec::m_discard_tiles
OPJ_UINT32 opj_j2k_dec::m_end_tile_x
OPJ_UINT32 opj_j2k_dec::m_end_tile_y
OPJ_BYTE* opj_j2k_dec::m_header_data
OPJ_UINT32 opj_j2k_dec::m_header_data_size
OPJ_OFF_T opj_j2k_dec::m_last_sot_read_pos

Position of the last SOT marker read.

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

OPJ_BOOL opj_j2k_dec::m_last_tile_part

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

OPJ_BITFIELD opj_j2k_dec::m_nb_tile_parts_correction
OPJ_BITFIELD opj_j2k_dec::m_nb_tile_parts_correction_checked

TNsot correction : see issue 254.

Referenced by opj_j2k_create_decompress(), and opj_j2k_read_tile_header().

OPJ_BITFIELD opj_j2k_dec::m_skip_data
OPJ_UINT32 opj_j2k_dec::m_sot_length

to tell the tile part length

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

OPJ_UINT32 opj_j2k_dec::m_start_tile_x

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

OPJ_UINT32 opj_j2k_dec::m_start_tile_y
OPJ_UINT32 opj_j2k_dec::m_state
OPJ_INT32 opj_j2k_dec::m_tile_ind_to_dec

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: