Remove commented out code.
[geeqie.git] / src / format_canon.h
1 /*
2  * Geeqie
3  * (C) 2005 John Ellis
4  * Copyright (C) 2008 - 2012 The Geeqie Team
5  *
6  * This software is released under the GNU General Public License (GNU GPL).
7  * Please read the included file COPYING for more information.
8  * This software comes with no warranty of any kind, use at your own risk!
9  *
10  *
11  * Code to add support for Canon CR2 and CRW files, version 0.2
12  *
13  * Developed by Daniel M. German, dmgerman at uvic.ca
14  *
15  * you can find the sources for this patch at http://turingmachine.org/~dmg/libdcraw/gqview/
16  *
17  */
18
19 #ifndef __FORMAT_CANON_H
20 #define __FORMAT_CANON_H
21
22
23 #include "exif-int.h"
24
25
26 gboolean format_canon_raw_crw(guchar *data, const guint len,
27                               guint *image_offset, guint *exif_offset);
28
29 gboolean format_canon_raw_cr2(guchar *data, const guint len,
30                               guint *image_offset, guint *exif_offset);
31
32 #define FORMAT_RAW_CANON { "crw", \
33                            FORMAT_RAW_MATCH_MAGIC,     6, "HEAPCCDR", 8, \
34                            FORMAT_RAW_EXIF_NONE, NULL, \
35                            "Canon crw", format_canon_raw_crw }, \
36                          { "cr2", \
37                            FORMAT_RAW_MATCH_TIFF_MAKE, 0, "Canon", 5, \
38                            FORMAT_RAW_EXIF_TIFF, NULL, \
39                            "Canon cr2", format_canon_raw_cr2 }
40
41
42 gboolean format_canon_makernote(ExifData *exif, guchar *tiff, guint offset,
43                                 guint size, ExifByteOrder bo);
44
45 #define FORMAT_EXIF_CANON { FORMAT_EXIF_MATCH_MAKE, "Canon", 5, "Canon", format_canon_makernote }
46
47
48 #endif
49 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */