Go to the documentation of this file.
37 #ifndef CIDX_MANAGER_H_
38 # define CIDX_MANAGER_H_
#define opj_free(m)
Deallocates or frees a memory block.
Definition: opj_malloc.h:152
unsigned short int type
marker type
Definition: openjpeg.h:605
int type
Definition: jp2.h:152
int len
length, marker val included
Definition: openjpeg.h:609
Marker structure.
Definition: openjpeg.h:603
#define JPIP_THIX
Definition: indexbox_manager.h:49
int write_ppix(int coff, opj_codestream_info_t cstr_info, opj_bool EPHused, int j2klen, opj_cio_t *cio)
Definition: ppix_manager.c:54
void write_cptr(int coff, int clen, opj_cio_t *cio)
Definition: cidx_manager.c:126
#define JPIP_MHIX
Definition: indexbox_manager.h:47
#define JPIP_PHIX
Definition: indexbox_manager.h:51
int main_head_start
main header position
Definition: openjpeg.h:712
opj_bool check_EPHuse(int coff, opj_marker_info_t *markers, int marknum, opj_cio_t *cio)
Definition: cidx_manager.c:190
#define opj_calloc(num, size)
Allocate a memory block with elements initialized to 0.
Definition: opj_malloc.h:63
unsigned int cio_read(opj_cio_t *cio, int n)
Read some bytes.
Definition: cio.c:183
int write_tpix(int coff, opj_codestream_info_t cstr_info, int j2klen, opj_cio_t *cio)
Definition: tpix_manager.c:55
int write_thix(int coff, opj_codestream_info_t cstr_info, opj_cio_t *cio)
Definition: thix_manager.c:52
int write_cidx(int offset, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t cstr_info, int j2klen)
Definition: cidx_manager.c:68
unsigned int cio_write(opj_cio_t *cio, unsigned int64 v, int n)
Write some bytes.
Definition: cio.c:167
Byte input-output stream (CIO)
Definition: openjpeg.h:475
opj_marker_info_t * marker
list of markers
Definition: openjpeg.h:707
JP2 Box.
Definition: jp2.h:150
int write_mainmhix(int coff, opj_codestream_info_t cstr_info, opj_cio_t *cio)
Definition: cidx_manager.c:164
int write_cidx(int offset, opj_cio_t *cio, opj_image_t *image, opj_codestream_info_t cstr_info, int j2klen)
Definition: cidx_manager.c:68
int OPJ_CALLCONV cio_tell(opj_cio_t *cio)
Get position in byte stream.
Definition: cio.c:100
#define JPIP_CPTR
Definition: indexbox_manager.h:44
#define OPJ_TRUE
Definition: openjpeg.h:64
void cio_skip(opj_cio_t *cio, int n)
Skip some bytes.
Definition: cio.c:198
#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:714
void write_manf(int second, int v, opj_jp2_box_t *box, opj_cio_t *cio)
Definition: cidx_manager.c:143
#define JPIP_TPIX
Definition: indexbox_manager.h:48
int opj_bool
Definition: openjpeg.h:63
int write_phix(int coff, opj_codestream_info_t cstr_info, opj_bool EPHused, int j2klen, opj_cio_t *cio)
Definition: phix_manager.c:53
int pos
position in codestream
Definition: openjpeg.h:607
void OPJ_CALLCONV cio_seek(opj_cio_t *cio, int pos)
Set position in byte stream.
Definition: cio.c:109
Index structure of the codestream.
Definition: openjpeg.h:672
#define JPIP_CIDX
Definition: indexbox_manager.h:43
int length
Definition: jp2.h:151
#define OPJ_FALSE
Definition: openjpeg.h:65
#define J2K_MS_COD
COD marker value.
Definition: j2k.h:65
Defines image data and characteristics.
Definition: openjpeg.h:533
int marknum
number of markers
Definition: openjpeg.h:705
int codestream_size
codestream's size
Definition: openjpeg.h:716