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_datadefs.h,v 1.1 2005/05/24 19:07:06 alex Exp $ */
11 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
12 
13 #ifndef JP2_DATADEFS_INCLUDED
14 #define JP2_DATADEFS_INCLUDED
15 struct jp2_header {
16     unsigned long length;
17     unsigned long type;
18     unsigned long magic;
19 };
20 
21 struct jp2box {
22     unsigned long lbox;
23     unsigned long tbox;
24     unsigned long dataoffset;   /* from boxoffset                     */
25     unsigned long boxoffset;    /* ###%%% should be long long         */
26     unsigned long boxlength;    /* ###%%% should be long long         */
27 };
28 
29 #endif  /* JP2_DATADEFS_INCLUDED */
30