Go to the documentation of this file.
31 #ifndef METADATA_MANAGER_H_
32 #define METADATA_MANAGER_H_
OPJ_OFF_T get_filesize(int fd)
Get file size.
Definition: byte_manager.c:167
struct box_param * next
pointer to the next box
Definition: box_manager.h:43
A.3.6.3 Placeholder box format.
Definition: placeholder_manager.h:39
int64_t OPJ_OFF_T
Definition: openjpeg.h:136
OPJ_OFF_T offset
byte position of the box contents in the file
Definition: metadata_manager.h:38
box parameters
Definition: box_manager.h:37
void delete_boxlist(boxlist_param_t **boxlist)
delete box list
Definition: box_manager.c:423
Byte8_t OrigID
Definition: placeholder_manager.h:43
void print_allbox(boxlist_param_t *boxlist)
print all box parameters
Definition: box_manager.c:375
boxlist_param_t * get_boxstructure(int fd, OPJ_OFF_T offset, OPJ_SIZE_T length)
get box structure of JP2 file
Definition: box_manager.c:60
size_t OPJ_SIZE_T
Definition: openjpeg.h:139
Definition: metadata_manager.h:37
struct placeholder_param * next
pointer to the next placeholder
Definition: placeholder_manager.h:53
void delete_placeholderlist(placeholderlist_param_t **list)
delete placeholder list
Definition: placeholder_manager.c:60
placeholder_param_t * first
first placeholder pointer of the list
Definition: placeholder_manager.h:59
void insert_placeholder_into_list(placeholder_param_t *phld, placeholderlist_param_t *phldlist)
Definition: placeholder_manager.c:104
OPJ_SIZE_T get_DBoxlen(box_param_t *box)
get DBox length
Definition: box_manager.c:311
char type[4]
type of information in the DBox
Definition: box_manager.h:42
void delete_box_in_list(box_param_t **box, boxlist_param_t *boxlist)
delete a box in list
Definition: box_manager.c:395
placeholderlist_param_t * gene_placeholderlist(void)
generate a placeholder list
Definition: placeholder_manager.c:48
Box list parameters.
Definition: box_manager.h:48
void print_allplaceholder(placeholderlist_param_t *list)
print all placeholder parameters
Definition: placeholder_manager.c:137
placeholder box list parameters
Definition: placeholder_manager.h:58
Byte8_t length
length of the box contents
Definition: metadata_manager.h:39
box_param_t * first
first box pointer of the list
Definition: box_manager.h:49
int fd
file descriptor
Definition: box_manager.h:38
OPJ_OFF_T get_DBoxoff(box_param_t *box)
get DBox offset
Definition: box_manager.c:306
uint64_t Byte8_t
Definition: byte_manager.h:40
Byte_t * OrigBH
dynamic memory pointer
Definition: placeholder_manager.h:44
placeholder_param_t * gene_placeholder(box_param_t *box, Byte8_t origID)
generate a placeholder of a box
Definition: placeholder_manager.c:78