6 * Original version 2005 Lars Ellenberg, base on dcraw by David coffin.
8 * This software is released under the GNU General Public License (GNU GPL).
9 * Please read the included file COPYING for more information.
10 * This software comes with no warranty of any kind, use at your own risk!
13 #ifndef __FORMAT_RAW_H
14 #define __FORMAT_RAW_H
20 typedef gint (* FormatRawParseFunc)(const void *data, const guint len,
21 guint *image_offset, guint *exif_offset);
23 gint format_raw_img_exif_offsets(const void *data, const guint len,
24 guint *image_offset, guint *exif_offset);
25 gint format_raw_img_exif_offsets_fd(int fd, const void *header_data, const guint header_len,
26 guint *image_offset, guint *exif_offset);
30 FORMAT_EXIF_MATCH_MAKE,
31 FORMAT_EXIF_MATCH_MAKERNOTE
32 } FormatExifMatchType;
34 typedef gint (* FormatExifParseFunc)(ExifData *exif, unsigned char *tiff, guint offset,
35 guint size, ExifByteOrder byte_order);
37 gint format_exif_makernote_parse(ExifData *exif, unsigned char *tiff, guint offset,
38 guint size, ExifByteOrder byte_order);