Mercurial > geeqie.yaz
comparison src/format_olympus.h @ 1000:4fe8f9656107
For the sake of consistency, use glib basic types everywhere.
author | zas_ |
---|---|
date | Tue, 26 Aug 2008 22:22:51 +0000 |
parents | 116346636d42 |
children | 1646720364cf |
comparison
equal
deleted
inserted
replaced
999:bbed8e9a5d33 | 1000:4fe8f9656107 |
---|---|
13 | 13 |
14 | 14 |
15 #include "exif-int.h" | 15 #include "exif-int.h" |
16 | 16 |
17 | 17 |
18 gint format_olympus_raw(unsigned char *data, const guint len, | 18 gint format_olympus_raw(guchar *data, const guint len, |
19 guint *image_offset, guint *exif_offset); | 19 guint *image_offset, guint *exif_offset); |
20 | 20 |
21 | 21 |
22 #define FORMAT_RAW_OLYMPUS { "orf", \ | 22 #define FORMAT_RAW_OLYMPUS { "orf", \ |
23 FORMAT_RAW_MATCH_MAGIC, 0, "IIR", 3, \ | 23 FORMAT_RAW_MATCH_MAGIC, 0, "IIR", 3, \ |
24 FORMAT_RAW_EXIF_IFD_II, NULL, \ | 24 FORMAT_RAW_EXIF_IFD_II, NULL, \ |
25 "Olympus raw", format_olympus_raw } | 25 "Olympus raw", format_olympus_raw } |
26 | 26 |
27 | 27 |
28 gint format_olympus_makernote(ExifData *exif, unsigned char *tiff, guint offset, | 28 gint format_olympus_makernote(ExifData *exif, guchar *tiff, guint offset, |
29 guint size, ExifByteOrder bo); | 29 guint size, ExifByteOrder bo); |
30 | 30 |
31 #define FORMAT_EXIF_OLYMPUS { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x01", 7, \ | 31 #define FORMAT_EXIF_OLYMPUS { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x01", 7, \ |
32 "Olympus", format_olympus_makernote }, \ | 32 "Olympus", format_olympus_makernote }, \ |
33 { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x02", 7, \ | 33 { FORMAT_EXIF_MATCH_MAKERNOTE, "OLYMP\x00\x02", 7, \ |