Remove commented out code.
[geeqie.git] / src / format_nikon.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 #ifndef __FORMAT_NIKON_H
12 #define __FORMAT_NIKON_H
13
14
15 #include "exif-int.h"
16
17 gboolean format_nikon_raw(guchar *data, const guint len,
18                           guint *image_offset, guint *exif_offset);
19
20 #define FORMAT_RAW_NIKON { "nef", \
21                            FORMAT_RAW_MATCH_TIFF_MAKE, 0, "NIKON CORPORATION", 17, \
22                            FORMAT_RAW_EXIF_TIFF, NULL, \
23                            "Nikon raw", format_nikon_raw }
24
25 /* If your format is basically just TIFF with an embedded jpeg,
26  * then avoid duplicating code and just stick it here and use the existing nikon parse.
27  */
28 #define FORMAT_RAW_PENTAX { "pef", \
29                             FORMAT_RAW_MATCH_TIFF_MAKE, 0, "PENTAX Corporation", 18, \
30                             FORMAT_RAW_EXIF_TIFF, NULL, \
31                             "Pentax raw", format_nikon_raw }
32
33 #define FORMAT_RAW_SAMSUNG { "pef", \
34                             FORMAT_RAW_MATCH_TIFF_MAKE, 0, "SAMSUNG TECHWIN", 15, \
35                             FORMAT_RAW_EXIF_TIFF, NULL, \
36                             "Samsung raw", format_nikon_raw }
37
38 gboolean format_nikon_makernote(ExifData *exif, guchar *tiff, guint offset,
39                                 guint size, ExifByteOrder bo);
40
41 #define FORMAT_EXIF_NIKON { FORMAT_EXIF_MATCH_MAKERNOTE, "Nikon\x00", 6, "Nikon", format_nikon_makernote }, \
42                           { FORMAT_EXIF_MATCH_MAKE,      "NIKON",     5, "Nikon", format_nikon_makernote }
43
44
45 #endif
46 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */