29ff565d837e885800dca7b8427190020f4371ff
[geeqie.git] / src / format_fuji.h
1 /*
2  *  GQView
3  *  (C) 2005 John Ellis
4  *
5  *  Authors:
6  *    Original version 2005 Lars Ellenberg, base on dcraw by David coffin.
7  *
8  * This software is released under the GNU General Public License (GNU GPL).
9  * Please read the included file COPYING for more information.
10  * This software comes with no warranty of any kind, use at your own risk!
11  */
12
13 #ifndef __FORMAT_FUJI_H
14 #define __FORMAT_FUJI_H
15
16
17 #include "exif.h"
18
19
20 gint format_fuji_raw(unsigned char *data, const guint len,
21                      guint *image_offset, guint *exif_offset);
22
23
24 #define FORMAT_RAW_FUJI { "raf", \
25                           FORMAT_RAW_MATCH_MAGIC, 0, "FUJIFILM", 8, \
26                           "Fuji raw", format_fuji_raw }
27
28
29 gint format_fuji_makernote(ExifData *exif, unsigned char *tiff, guint offset,
30                            guint size, ExifByteOrder bo);
31
32 #define FORMAT_EXIF_FUJI { FORMAT_EXIF_MATCH_MAKERNOTE, "FUJIFILM", 8, "Fujifilm", format_fuji_makernote }
33
34
35
36 #endif
37