Go to the documentation of this file.
37 #ifndef CIDX_MANAGER_H_
38 # define CIDX_MANAGER_H_
OPJ_BOOL opj_check_EPHuse(int coff, opj_marker_info_t *markers, int marknum, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:233
unsigned char OPJ_BYTE
Definition: openjpeg.h:123
OPJ_SIZE_T opj_stream_write_data(opj_stream_private_t *p_stream, const OPJ_BYTE *p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t *p_event_mgr)
Writes some bytes to the stream.
Definition: cio.c:385
void * opj_calloc(size_t num, size_t size)
Allocate a memory block with elements initialized to 0.
Definition: opj_malloc.c:198
void opj_write_cptr(int coff, int clen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:128
#define JPIP_THIX
Definition: indexbox_manager.h:49
int opj_write_phix(int coff, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: phix_manager.c:51
#define JPIP_MHIX
Definition: indexbox_manager.h:47
#define JPIP_PHIX
Definition: indexbox_manager.h:51
int64_t OPJ_OFF_T
Definition: openjpeg.h:136
OPJ_OFF_T opj_stream_skip(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, opj_event_mgr_t *p_event_mgr)
Skips a number of bytes from the stream.
Definition: cio.c:593
OPJ_BOOL opj_stream_seek(opj_stream_private_t *p_stream, OPJ_OFF_T p_size, struct opj_event_mgr *p_event_mgr)
Seeks a number of bytes from the stream.
Definition: cio.c:641
int main_head_start
main header position
Definition: openjpeg.h:891
Message handler object used for.
Definition: event.h:50
OPJ_OFF_T opj_stream_tell(const opj_stream_private_t *p_stream)
Tells the byte offset on the stream (similar to ftell).
Definition: cio.c:579
OPJ_UINT32 type
Definition: jp2.h:200
Byte input-output stream.
Definition: cio.h:81
void opj_write_manf(int second, int v, opj_jp2_box_t *box, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:157
int OPJ_BOOL
Definition: openjpeg.h:116
opj_marker_info_t * marker
list of markers
Definition: openjpeg.h:886
JP2 Box.
Definition: jp2.h:198
int opj_write_cidx(int offset, opj_stream_private_t *cio, opj_codestream_info_t cstr_info, int j2klen, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:50
int len
length, marker val included
Definition: openjpeg.h:788
OPJ_OFF_T pos
position in codestream
Definition: openjpeg.h:786
int opj_write_thix(int coff, opj_codestream_info_t cstr_info, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: thix_manager.c:40
int opj_write_tpix(int coff, opj_codestream_info_t cstr_info, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: tpix_manager.c:60
#define JPIP_CPTR
Definition: indexbox_manager.h:44
#define OPJ_TRUE
Definition: openjpeg.h:117
void opj_free(void *ptr)
Deallocates or frees a memory block.
Definition: opj_malloc.c:246
#define JPIP_PPIX
Definition: indexbox_manager.h:50
#define JPIP_MANF
Definition: indexbox_manager.h:45
int main_head_end
main header position
Definition: openjpeg.h:893
unsigned short int type
marker type
Definition: openjpeg.h:784
#define JPIP_TPIX
Definition: indexbox_manager.h:48
OPJ_UINT32 length
Definition: jp2.h:199
OPJ_BOOL opj_check_EPHuse(int coff, opj_marker_info_t *markers, int marknum, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:233
Index structure of the codestream.
Definition: openjpeg.h:851
#define opj_read_bytes
Definition: cio.h:65
uint32_t OPJ_UINT32
Definition: openjpeg.h:132
int opj_write_mainmhix(int coff, opj_codestream_info_t cstr_info, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:192
#define JPIP_CIDX
Definition: indexbox_manager.h:43
int opj_write_ppix(int coff, opj_codestream_info_t cstr_info, OPJ_BOOL EPHused, int j2klen, opj_stream_private_t *cio, opj_event_mgr_t *p_manager)
Definition: ppix_manager.c:51
#define OPJ_FALSE
Definition: openjpeg.h:118
int opj_write_cidx(int offset, opj_stream_private_t *cio, opj_codestream_info_t cstr_info, int j2klen, opj_event_mgr_t *p_manager)
Definition: cidx_manager.c:50
#define opj_write_bytes
Definition: cio.h:64
#define J2K_MS_COD
COD marker value.
Definition: j2k.h:78
Marker structure.
Definition: openjpeg.h:782
OPJ_SIZE_T opj_stream_read_data(opj_stream_private_t *p_stream, OPJ_BYTE *p_buffer, OPJ_SIZE_T p_size, opj_event_mgr_t *p_event_mgr)
Reads some bytes from the stream.
Definition: cio.c:281
int marknum
number of markers
Definition: openjpeg.h:884
int codestream_size
codestream's size
Definition: openjpeg.h:895