7dac58c5d197dde3357b3eb6e0c52d37c289d1de
[geeqie.git] / src / format_olympus.h
1 /*
2  *  GQView
3  *  (C) 2005 John Ellis
4  *
5  * This software is released under the GNU General Public License (GNU GPL).
6  * Please read the included file COPYING for more information.
7  * This software comes with no warranty of any kind, use at your own risk!
8  */
9
10 #ifndef __FORMAT_OLYMPUS_H
11 #define __FORMAT_OLYMPUS_H
12
13
14 #include "exif.h"
15
16
17 #if 0
18 gint format_olympus_raw(unsigned char *data, const guint len,
19                         guint *image_offset, guint *exif_offset);
20
21
22 #define FORMAT_RAW_OLYMPUS { "orf", \
23                              FORMAT_RAW_MATCH_MAGIC, 0, "IIRS", 4, \
24                              "Olympus raw", format_olympus_raw }
25 #endif
26
27
28 gint format_olympus_makernote(ExifData *exif, unsigned char *tiff, guint offset,
29                               guint size, ExifByteOrder bo);
30
31 #define FORMAT_EXIF_OLYMPUS { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x01", 7, \
32                               "Olympus", format_olympus_makernote }, \
33                             { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x02", 7, \
34                               "Olympus", format_olympus_makernote }
35
36
37 #endif
38