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_RES 0x72657320
48 #define JP2_CAPTURE_RES 0x72657363
49 #define JP2_DISPLAY_RES 0x72657364
50 #define JP2_JP2I 0x6a703269
51 #define JP2_XML 0x786d6c20
52 #define JP2_UUID 0x75756964
53 #define JP2_UINF 0x75696e66
54 #define JP2_ULST 0x756c7374
55 #define JP2_URL 0x75726c20
56 #define JP2_ASOC 0x61736f63
57 #define JP2_LBL 0x6c626c20
59 #define JP2_MAX_NUM_UUIDS 128
60 const uint8_t
IPTC_UUID[16] = {0x33, 0xC7, 0xA4, 0xD2, 0xB8, 0x1D, 0x47, 0x23,
61 0xA0, 0xBA, 0xF1, 0xA3, 0xE0, 0x97, 0xAD, 0x38};
62 const uint8_t
XMP_UUID[16] = {0xBE, 0x7A, 0xCF, 0xCB, 0x97, 0xA9, 0x42, 0xE8,
63 0x9C, 0x71, 0x99, 0x94, 0x91, 0xE3, 0xAF, 0xAC};
65 #define GRK_BOX_SIZE 1024
66 #define GRK_RESOLUTION_BOX_SIZE (4 + 4 + 10)
123 memcpy(
uuid, myuuid, 16);
138 bool exec(std::vector<PROCEDURE_FUNC>* procs);
enum _GRK_ENUM_COLOUR_SPACE GRK_ENUM_COLOUR_SPACE
Copyright (C) 2016-2022 Grok Image Compression Inc.
Definition: ICacheable.h:20
const uint8_t IPTC_UUID[16]
Definition: FileFormat.h:60
JP2_STATE
Definition: FileFormat.h:69
@ JP2_STATE_UNKNOWN
Definition: FileFormat.h:76
@ JP2_STATE_FILE_TYPE
Definition: FileFormat.h:72
@ JP2_STATE_SIGNATURE
Definition: FileFormat.h:71
@ JP2_STATE_CODESTREAM
Definition: FileFormat.h:74
@ JP2_STATE_NONE
Definition: FileFormat.h:70
@ JP2_STATE_HEADER
Definition: FileFormat.h:73
@ JP2_STATE_END_CODESTREAM
Definition: FileFormat.h:75
const uint8_t XMP_UUID[16]
Definition: FileFormat.h:62
Association box (defined in ITU 15444-2 Annex M 11.1 )
Definition: FileFormat.h:96
std::string label
Definition: FileFormat.h:110
void dealloc() override
Definition: FileFormat.h:101
~AsocBox() override
Definition: FileFormat.h:97
std::vector< AsocBox * > children
Definition: FileFormat.h:111
Definition: FileFormat.h:87
uint8_t bpc
Definition: FileFormat.h:89
ComponentInfo()
Definition: FileFormat.h:88
Definition: FileFormat.h:115
UUIDBox()
Definition: FileFormat.h:116
UUIDBox(const uint8_t myuuid[16], uint8_t *buf, size_t size)
Definition: FileFormat.h:120
uint8_t uuid[16]
Definition: FileFormat.h:125
virtual void dealloc()
Definition: buffer.h:117
uint8_t * buf
Definition: buffer.h:195