1 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
2 /*          EXIFPROBE - TIFF/JPEG/EXIF image file probe               */
3 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
4 /* Copyright (C) 2002 by Duane H. Hesser. All rights reserved.        */
5 /*                                                                    */
6 /* See the file LICENSE.EXIFPROBE for terms of use.                   */
7 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
8 
9 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
10 /* @(#) $Id: jp2.h,v 1.1 2005/05/24 19:06:11 alex Exp $ */
11 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
12 
13 #ifndef JP2_INCLUDED
14 #define JP2_INCLUDED
15 
16 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
17 /* JP2/JPEG2000-specific value definitions                           */
18 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
19 
20 #define JP2_PRFL    0x7072666c
21 #define JP2_FTYP    0x66747970
22 #define JP2_JP2H    0x6a703268
23 #define JP2_JP2C    0x6a703263
24 #define JP2_JP2I    0x6a703269
25 #define JP2_XML     0x786d6c20
26 #define JP2_UUID    0x75756964
27 #define JP2_UINF    0x75696e66
28 
29 /* JP2H sub-boxes                                                     */
30 #define JP2_ihdr    0x69686472
31 #define JP2_bpcc    0x62706363
32 #define JP2_colr    0x636f6c72
33 #define JP2_pclr    0x70636c72
34 #define JP2_cdef    0x63646566
35 #define JP2_res     0x72657320
36 #define JP2_resc    0x72657363
37 #define JP2_resd    0x72657364
38 
39 /* uinf sub-boxes                                                     */
40 #define JP2_ulst    0x75637374
41 #define JP2_url     0x75726c20
42 
43 
44 /* magic values                                                       */
45 #define JP2_BR      0x6a703220      /* "brand"                        */
46 
47 #define READSIZE    8192            /* used when reading text chunks  */
48 
49 #include "jp2_datadefs.h"
50 #include "jp2tags.h"
51 #include "jp2_extern.h"
52 
53 #endif  /* JP2_INCLUDED */
54