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!
10 #ifndef __FORMAT_OLYMPUS_H
11 #define __FORMAT_OLYMPUS_H
17 gint format_olympus_raw(unsigned char *data, const guint len,
18 guint *image_offset, guint *exif_offset);
21 #define FORMAT_RAW_OLYMPUS { "orf", \
22 FORMAT_RAW_MATCH_MAGIC, 0, "IIR", 3, \
23 FORMAT_RAW_EXIF_IFD_II, NULL, \
24 "Olympus raw", format_olympus_raw }
27 gint format_olympus_makernote(ExifData *exif, unsigned char *tiff, guint offset,
28 guint size, ExifByteOrder bo);
30 #define FORMAT_EXIF_OLYMPUS { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x01", 7, \
31 "Olympus", format_olympus_makernote }, \
32 { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x02", 7, \
33 "Olympus", format_olympus_makernote }