35#define JP2_JP 0x6a502020
36#define JP2_FTYP 0x66747970
37#define JP2_JP2H 0x6a703268
38#define JP2_IHDR 0x69686472
39#define JP2_COLR 0x636f6c72
40#define JP2_JP2C 0x6a703263
41#define JP2_PCLR 0x70636c72
42#define JP2_CMAP 0x636d6170
43#define JP2_CDEF 0x63646566
44#define JP2_DTBL 0x6474626c
45#define JP2_BPCC 0x62706363
46#define JP2_JP2 0x6a703220
47#define JP2_JPH 0x6A706820
48#define JP2_RES 0x72657320
49#define JP2_CAPTURE_RES 0x72657363
50#define JP2_DISPLAY_RES 0x72657364
51#define JP2_JP2I 0x6a703269
52#define JP2_XML 0x786d6c20
53#define JP2_UUID 0x75756964
54#define JP2_UINF 0x75696e66
55#define JP2_ULST 0x756c7374
56#define JP2_URL 0x75726c20
57#define JP2_ASOC 0x61736f63
58#define JP2_LBL 0x6c626c20
60#define JP2_MAX_NUM_UUIDS 128
62 0xA0, 0xBA, 0xF1, 0xA3, 0xE0, 0x97, 0xAD, 0x38};
64 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC};
66#define GRK_BOX_SIZE 1024
67#define GRK_RESOLUTION_BOX_SIZE (4 + 4 + 10)
139 bool exec(std::vector<PROCEDURE_FUNC>*
procs);
enum _GRK_ENUM_COLOUR_SPACE GRK_ENUM_COLOUR_SPACE
Copyright (C) 2016-2024 Grok Image Compression Inc.
Definition ICacheable.h:20
void grk_read(const uint8_t *buffer, TYPE *value, uint32_t numBytes)
Definition BufferedStream.h:239
const uint8_t IPTC_UUID[16]
Definition FileFormat.h:61
JP2_STATE
Definition FileFormat.h:70
@ JP2_STATE_UNKNOWN
Definition FileFormat.h:77
@ JP2_STATE_FILE_TYPE
Definition FileFormat.h:73
@ JP2_STATE_SIGNATURE
Definition FileFormat.h:72
@ JP2_STATE_CODESTREAM
Definition FileFormat.h:75
@ JP2_STATE_NONE
Definition FileFormat.h:71
@ JP2_STATE_HEADER
Definition FileFormat.h:74
@ JP2_STATE_END_CODESTREAM
Definition FileFormat.h:76
const uint8_t XMP_UUID[16]
Definition FileFormat.h:63
Association box (defined in ITU 15444-2 Annex M 11.1 )
Definition FileFormat.h:97
std::string label
Definition FileFormat.h:111
void dealloc() override
Definition FileFormat.h:102
~AsocBox() override
Definition FileFormat.h:98
std::vector< AsocBox * > children
Definition FileFormat.h:112
Definition FileFormat.h:88
uint8_t bpc
Definition FileFormat.h:90
ComponentInfo()
Definition FileFormat.h:89
Definition FileFormat.h:116
UUIDBox()
Definition FileFormat.h:117
UUIDBox(const uint8_t myuuid[16], uint8_t *buf, size_t size)
Definition FileFormat.h:121
uint8_t uuid[16]
Definition FileFormat.h:126
virtual void dealloc()
Definition buffer.h:117
uint8_t * buf
Definition buffer.h:195