comparison src/format_olympus.h @ 57:a8c9992320f4

Fri Jun 10 20:57:42 2005 John Ellis <johne@verizon.net> * exif.c (exif_parse_IFD_table): Fix offset count before testing against buffer size. * exif.h: Make exif_text_list_find_value available. * format_canon.c: Fix copy's length when duping Canon.SerialNumber, and adjust several text descriptions. * format_fuji.c: Remove "MkN." text from tag names. * format_nikon.c: Fix offset count before testing against buffer size, and remove "MkN." text from tag names. Add several new tags. * format_olympus.[ch]: New files for olympus makernote. * format_raw.c: Add exif olympus hook. * src/Makefile.am: Add format_olympus.[ch].
author gqview
date Sat, 11 Jun 2005 01:09:30 +0000
parents
children 847e4bc6b54c
comparison
equal deleted inserted replaced
56:c722cbf9ad25 57:a8c9992320f4
1 /*
2 * GQView
3 * (C) 2005 John Ellis
4 *
5 * This software is released under the GNU General Public License (GNU GPL).
6 * Please read the included file COPYING for more information.
7 * This software comes with no warranty of any kind, use at your own risk!
8 */
9
10 #ifndef __FORMAT_OLYMPUS_H
11 #define __FORMAT_OLYMPUS_H
12
13
14 #include "exif.h"
15
16
17 #if 0
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", \
23 FORMAT_RAW_MATCH_MAGIC, 0, "IIRS", 4, \
24 "Olympus raw", format_olympus_raw }
25 #endif
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
38