31 #ifndef CODESTREAM_MANAGER_H_ 32 # define CODESTREAM_MANAGER_H_ 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
void print_codestream(codestream_param_t cs)
print codestream parameters
Definition: codestream_manager.c:76
uint8_t Byte_t
Definition: byte_manager.h:37
int64_t OPJ_OFF_T
Definition: openjpeg.h:130
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
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
size_t OPJ_SIZE_T
Definition: openjpeg.h:133
codestream parameters
Definition: codestream_manager.h:37
int fd
file descriptor
Definition: codestream_manager.h:38
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
uint32_t Byte4_t
Definition: byte_manager.h:39
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
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
uint64_t Byte8_t
Definition: byte_manager.h:40
uint16_t Byte2_t
Definition: byte_manager.h:38