comparison src/format_nikon.h @ 53:00843150f7c8

Tue Jun 7 03:47:03 2005 John Ellis <johne@verizon.net> * filelist.c (filter_add_defaults): Add Nikon file extension for nef. * format_canon.[ch], format_fuji.[ch]: Add comment tile, and description field for MakerNote parser. * format_nikon.[ch]: Add support for jpegs embedded in Nikon nef files. * format_raw.c: Add debug description output and Nikon raw parser hook. ##### Note: GQview CVS on sourceforge is not always up to date, please use ##### ##### an offical release when making enhancements and translation updates. #####
author gqview
date Tue, 07 Jun 2005 07:55:00 +0000
parents 276ea4c98d33
children b58cac75ad12
comparison
equal deleted inserted replaced
52:a210a19f26da 53:00843150f7c8
11 #define __FORMAT_NIKON_H 11 #define __FORMAT_NIKON_H
12 12
13 13
14 #include "exif.h" 14 #include "exif.h"
15 15
16 gint format_nikon_raw(const void *data, const guint len,
17 guint *image_offset, guint *exif_offset);
18
19 #define FORMAT_RAW_NIKON { "II\x2a\x00", 4, "Nikon tiff raw", format_nikon_raw }, \
20 { "MM\x00\x2a", 4, "Nikon tiff raw", format_nikon_raw }
21
16 22
17 gint format_nikon_makernote(ExifData *exif, unsigned char *tiff, guint offset, 23 gint format_nikon_makernote(ExifData *exif, unsigned char *tiff, guint offset,
18 guint size, ExifByteOrder byte_order); 24 guint size, ExifByteOrder byte_order);
19 25
20 #define FORMAT_EXIF_NIKON { FORMAT_EXIF_MATCH_MAKERNOTE, "Nikon\x00", 6, format_nikon_makernote }, \ 26 #define FORMAT_EXIF_NIKON { FORMAT_EXIF_MATCH_MAKERNOTE, "Nikon\x00", 6, "Nikon", format_nikon_makernote }, \
21 { FORMAT_EXIF_MATCH_MAKE, "NIKON", 5, format_nikon_makernote } 27 { FORMAT_EXIF_MATCH_MAKE, "NIKON", 5, "Nikon", format_nikon_makernote }
22 28
23 29
24 #endif 30 #endif
25 31