Go to the documentation of this file.
31 #ifndef CODESTREAM_MANAGER_H_
32 # define CODESTREAM_MANAGER_H_
Byte_t * fetch_codestreambytes(codestream_param_t *cs, OPJ_OFF_T offset, OPJ_SIZE_T size)
fetch Codestream bytes of data in file stream
Definition: codestream_manager.c:55
Byte2_t fetch_codestream2bytebigendian(codestream_param_t *cs, OPJ_OFF_T offset)
fetch Codestream 2-byte big endian Byte codes in file stream
Definition: codestream_manager.c:66
void print_codestream(codestream_param_t cs)
print codestream parameters
Definition: codestream_manager.c:76
Byte4_t fetch_codestream4bytebigendian(codestream_param_t *cs, OPJ_OFF_T offset)
fetch Codestream 4-byte big endian Byte codes in file stream
Definition: codestream_manager.c:71
uint8_t Byte_t
Definition: byte_manager.h:37
#define logstream
Definition: codestream_manager.c:41
int64_t OPJ_OFF_T
Definition: openjpeg.h:136
Byte4_t fetch_codestream4bytebigendian(codestream_param_t *cs, OPJ_OFF_T offset)
fetch Codestream 4-byte big endian Byte codes in file stream
Definition: codestream_manager.c:71
codestream_param_t set_codestream(int fd, OPJ_OFF_T offset, OPJ_SIZE_T length)
set codestream parameters from inputs
Definition: codestream_manager.c:44
size_t OPJ_SIZE_T
Definition: openjpeg.h:139
codestream parameters
Definition: codestream_manager.h:37
Byte4_t fetch_4bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 4-byte big endian Byte codes in file stream
Definition: byte_manager.c:109
Byte2_t fetch_codestream2bytebigendian(codestream_param_t *cs, OPJ_OFF_T offset)
fetch Codestream 2-byte big endian Byte codes in file stream
Definition: codestream_manager.c:66
Byte_t fetch_codestream1byte(codestream_param_t *cs, OPJ_OFF_T offset)
fetch Codestream 1-byte Byte code in file stream
Definition: codestream_manager.c:61
Byte_t * fetch_bytes(int fd, OPJ_OFF_T offset, OPJ_SIZE_T size)
fetch bytes of data in file stream
Definition: byte_manager.c:52
Byte2_t fetch_2bytebigendian(int fd, OPJ_OFF_T offset)
fetch a 2-byte big endian Byte codes in file stream
Definition: byte_manager.c:93
uint32_t Byte4_t
Definition: byte_manager.h:39
int fd
file descriptor
Definition: codestream_manager.h:38
Byte_t fetch_1byte(int fd, OPJ_OFF_T offset)
fetch a 1-byte Byte codes in file stream
Definition: byte_manager.c:75
Byte8_t length
content length
Definition: codestream_manager.h:40
OPJ_OFF_T offset
byte position of DBox (Box Contents) in the file
Definition: codestream_manager.h:39
Byte_t fetch_codestream1byte(codestream_param_t *cs, OPJ_OFF_T offset)
fetch Codestream 1-byte Byte code in file stream
Definition: codestream_manager.c:61
uint16_t Byte2_t
Definition: byte_manager.h:38
void print_codestream(codestream_param_t cs)
print codestream parameters
Definition: codestream_manager.c:76
uint64_t Byte8_t
Definition: byte_manager.h:40
struct codestream_param codestream_param_t
codestream parameters
Byte_t * fetch_codestreambytes(codestream_param_t *cs, OPJ_OFF_T offset, OPJ_SIZE_T size)
fetch Codestream bytes of data in file stream
Definition: codestream_manager.c:55
codestream_param_t set_codestream(int fd, OPJ_OFF_T offset, OPJ_SIZE_T length)
set codestream parameters from inputs
Definition: codestream_manager.c:44