Go to the documentation of this file.
31 #ifndef IHDRBOX_MANAGER_H_
32 # define IHDRBOX_MANAGER_H_
Byte4_t big4(Byte_t *buf)
convert 4-byte big endian Byte codes to number
Definition: byte_manager.c:147
uint8_t Byte_t
Definition: byte_manager.h:37
box parameters
Definition: box_manager.h:37
box_param_t * gene_boxbyTypeinStream(Byte_t *stream, OPJ_OFF_T offset, OPJ_SIZE_T length, const char TBox[])
generate(search) box from code stream
Definition: box_manager.c:242
Byte_t bpc
bits per component
Definition: ihdrbox_manager.h:43
ihdrbox_param_t * gene_ihdrbox(metadatalist_param_t *metadatalist, Byte_t *jpipstream)
generate ihdr box
Definition: ihdrbox_manager.c:36
Byte2_t big2(Byte_t *buf)
convert 2-byte big endian Byte codes to number
Definition: byte_manager.c:142
Byte4_t width
Definition: ihdrbox_manager.h:41
ihdrbox_param_t * gene_ihdrbox(metadatalist_param_t *metadatalist, Byte_t *jpipstream)
generate ihdr box
Definition: ihdrbox_manager.c:36
OPJ_SIZE_T get_DBoxlen(box_param_t *box)
get DBox length
Definition: box_manager.c:310
uint32_t Byte4_t
Definition: byte_manager.h:39
struct ihdrbox_param ihdrbox_param_t
I.5.3.1 Image Header box.
uint16_t Byte2_t
Definition: byte_manager.h:38
Byte4_t height
Definition: ihdrbox_manager.h:40
box_param_t * search_box(const char type[], boxlist_param_t *boxlist)
search a box by box type
Definition: box_manager.c:345
I.5.3.1 Image Header box.
Definition: ihdrbox_manager.h:39
OPJ_OFF_T get_DBoxoff(box_param_t *box)
get DBox offset
Definition: box_manager.c:305
Byte2_t nc
number of components
Definition: ihdrbox_manager.h:42