Mercurial > geeqie.yaz
annotate src/format_olympus.h @ 804:e702eaa6d1df
vficon_sync speed-up
author | nadvornik |
---|---|
date | Sun, 08 Jun 2008 20:24:46 +0000 |
parents | 116346636d42 |
children | 4fe8f9656107 |
rev | line source |
---|---|
57 | 1 /* |
541 | 2 * Geeqie |
3 * (C) 2005 John Ellis | |
475 | 4 * Copyright (C) 2008 The Geeqie Team |
57 | 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_OLYMPUS_H | |
12 #define __FORMAT_OLYMPUS_H | |
13 | |
14 | |
176
695e1ad3b169
simplified exif.h, moved implementation-specific stuff to exif-int.h
nadvornik
parents:
101
diff
changeset
|
15 #include "exif-int.h" |
57 | 16 |
17 | |
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", \ | |
101
847e4bc6b54c
Tue Nov 7 15:35:59 2006 John Ellis <johne@verizon.net>
gqview
parents:
57
diff
changeset
|
23 FORMAT_RAW_MATCH_MAGIC, 0, "IIR", 3, \ |
847e4bc6b54c
Tue Nov 7 15:35:59 2006 John Ellis <johne@verizon.net>
gqview
parents:
57
diff
changeset
|
24 FORMAT_RAW_EXIF_IFD_II, NULL, \ |
57 | 25 "Olympus raw", format_olympus_raw } |
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 |