comparison src/format_canon.h @ 45:7cfa60beda76

Thu May 26 13:57:19 2005 John Ellis <johne@verizon.net> * format_raw.[ch]: Move camera specific code to manufacturer specific format_*.c files. Change code so that file descripter version is now a separate functions that wraps the standard parser by using mmap. * format_canon.[ch]: Moved Canon specific raw support here, removed file descriptor versions of parser. This Canon raw file parser written by Daniel M. German. * format_fuji.[ch]: Move Fuji specific raw support here, parser written by Lars Ellenberg. * exif.c: Update for change to format_raw_img_exif_offsets. * filelist.c: Add cr2 extension to Canon raw format list. * image-load.c: Fixes for changes to format_raw_img_exif_offset_fd so that buffer is refilled using new offset of file descriptor. * src/Makefile.am: Add format_canon.[ch], format_fuji.[ch] to build. ##### 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 Thu, 26 May 2005 18:10:52 +0000
parents
children aa4c0e1b54b0
comparison
equal deleted inserted replaced
44:458e396d3f35 45:7cfa60beda76
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 * Code to add support for Canon CR2 and CRW files, version 0.2
11 *
12 * Developed by Daniel M. German, dmgerman at uvic.ca
13 *
14 * you can find the sources for this patch at http://turingmachine.org/~dmg/libdcraw/gqview/
15 *
16 */
17
18 #ifndef __FORMAT_RAW_CANON_H
19 #define __FORMAT_RAW_CANON_H
20
21
22 gint format_raw_test_canon(const void *data, const guint len,
23 guint *image_offset, guint *exif_offset);
24
25
26 #define FORMAT_RAW_CANON { "II", 2, "Canon crw format", format_raw_test_canon }, \
27 { "\x49\x49\x2a\00", 4, "Canon cr2 format", format_raw_test_canon }
28
29
30 #endif
31