Mercurial > geeqie
annotate src/format_olympus.h @ 1811:f405ec9b696b default tip
Some small logic mistakes
Use boolean operators for booleans and bitwise otherwise only.
| author | mow |
|---|---|
| date | Mon, 10 May 2010 11:33:13 +0000 |
| parents | 956aab097ea7 |
| children |
| rev | line source |
|---|---|
| 57 | 1 /* |
| 541 | 2 * Geeqie |
| 3 * (C) 2005 John Ellis | |
| 1802 | 4 * Copyright (C) 2008 - 2010 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 | |
| 1453 | 18 gboolean format_olympus_raw(guchar *data, const guint len, |
| 19 guint *image_offset, guint *exif_offset); | |
| 57 | 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 | |
| 1453 | 28 gboolean format_olympus_makernote(ExifData *exif, guchar *tiff, guint offset, |
| 29 guint size, ExifByteOrder bo); | |
| 57 | 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 | |
|
1055
1646720364cf
Adding a vim modeline to all files - patch by Klaus Ethgen
nadvornik
parents:
1000
diff
changeset
|
38 /* vim: set shiftwidth=8 softtabstop=0 cindent cinoptions={1s: */ |
