Simplify vflist_get_formatted()
[geeqie.git] / src / format_fuji.h
1 /*
2  * Copyright (C) 2005 Lars Ellenberg
3  * Copyright (C) 2005 John Ellis
4  * Copyright (C) 2008 - 2016 The Geeqie Team
5  *
6  * Author: Lars Ellenberg
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License along
19  * with this program; if not, write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21  */
22
23 #ifndef __FORMAT_FUJI_H
24 #define __FORMAT_FUJI_H
25
26
27 #include "exif-int.h"
28
29
30 gboolean format_fuji_raw(guchar *data, const guint len,
31                          guint *image_offset, guint *exif_offset);
32
33
34 #define FORMAT_RAW_FUJI { "raf", \
35                           FORMAT_RAW_MATCH_MAGIC, 0, "FUJIFILM", 8, \
36                           FORMAT_RAW_EXIF_JPEG, NULL, \
37                           "Fuji raw", format_fuji_raw }
38
39
40 gboolean format_fuji_makernote(ExifData *exif, guchar *tiff, guint offset,
41                                guint size, ExifByteOrder bo);
42
43 #define FORMAT_EXIF_FUJI { FORMAT_EXIF_MATCH_MAKERNOTE, "FUJIFILM", 8, "Fujifilm", format_fuji_makernote }
44
45
46
47 #endif
48 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */