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_extern.h,v 1.3 2005/07/24 21:30:11 alex Exp $ */
11 /* =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- */
12 
13 #ifndef JP2_EXTERN_INCLUDED
14 #define JP2_EXTERN_INCLUDED
15 
16 extern void print_jp2type(unsigned long,int);
17 extern void print_jp2box(FILE *,struct jp2box *,int);
18 extern int print_jp2_header(struct fileheader *,unsigned long);
19 extern int list_jp2box(FILE *,struct jp2box *,char *,int,int);
20 extern char *jp2000tagname(unsigned short);
21 extern struct jp2box *read_jp2box(FILE *,unsigned long);
22 
23 extern unsigned long process_jp2(FILE *,unsigned long,struct image_summary *,
24                                                             char *,int);
25 extern unsigned long process_jp2_ftyp(FILE *,struct jp2box *,
26                                         struct image_summary *,int);
27 extern unsigned long process_jp2_jp2h(FILE *,struct jp2box *,
28                                         struct image_summary *,int);
29 extern unsigned long process_jp2_ihdr(FILE *,struct jp2box *,
30                                         struct image_summary *,int);
31 extern unsigned long process_jp2_uuid(FILE *,struct jp2box *,
32                                         struct image_summary *,int);
33 extern unsigned long process_jp2_uinf(FILE *,struct jp2box *,
34                                         struct image_summary *,int);
35 extern unsigned long process_jp2_jp2c(FILE *,struct jp2box *,
36                                         struct image_summary *,int);
37 
38 extern unsigned long process_jp2_colr(FILE *,struct jp2box *,int);
39 extern unsigned long process_jp2_res(FILE *,struct jp2box *,int);
40 extern unsigned long process_jp2_xml(FILE *,struct jp2box *,int);
41 extern unsigned long process_jp2_jp2i(FILE *,struct jp2box *,int);
42 extern unsigned long process_jp2_ulst(FILE *,struct jp2box *,int);
43 extern unsigned long process_jp2_de(FILE *,struct jp2box *,int);
44 
45 extern unsigned long process_jpeg2000_codestream(FILE *,unsigned long,
46                                                     unsigned long,
47                                                     struct image_summary *,
48                                                     int);
49 
50 extern unsigned long process_jpc_siz(FILE *,unsigned long,unsigned short,
51                                                     struct image_summary *,
52                                                     int);
53 extern unsigned long process_jpc_cod(FILE *,unsigned long,unsigned short,
54                                                     struct image_summary *,
55                                                     int);
56 extern unsigned long process_jpc_qcd(FILE *,unsigned long,unsigned short,
57                                                     struct image_summary *,
58                                                     int);
59 
60 #endif  /* JP2_EXTERN_INCLUDED */
61