~vanvugt/ubuntu/oneiric/geeqie/fix-788321

« back to all changes in this revision

Viewing changes to src/format_fuji.h

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2008-06-10 08:42:37 UTC
  • Revision ID: james.westby@ubuntu.com-20080610084237-foorlvywoxj92o04
Tags: upstream-1.0~alpha1
Import upstream version 1.0~alpha1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  GQView
 
3
 *  (C) 2005 John Ellis
 
4
 * Copyright (C) 2008 The Geeqie Team
 
5
 *
 
6
 *  Authors:
 
7
 *    Original version 2005 Lars Ellenberg, base on dcraw by David coffin.
 
8
 *
 
9
 * This software is released under the GNU General Public License (GNU GPL).
 
10
 * Please read the included file COPYING for more information.
 
11
 * This software comes with no warranty of any kind, use at your own risk!
 
12
 */
 
13
 
 
14
#ifndef __FORMAT_FUJI_H
 
15
#define __FORMAT_FUJI_H
 
16
 
 
17
 
 
18
#include "exif-int.h"
 
19
 
 
20
 
 
21
gint format_fuji_raw(unsigned char *data, const guint len,
 
22
                     guint *image_offset, guint *exif_offset);
 
23
 
 
24
 
 
25
#define FORMAT_RAW_FUJI { "raf", \
 
26
                          FORMAT_RAW_MATCH_MAGIC, 0, "FUJIFILM", 8, \
 
27
                          FORMAT_RAW_EXIF_JPEG, NULL, \
 
28
                          "Fuji raw", format_fuji_raw }
 
29
 
 
30
 
 
31
gint format_fuji_makernote(ExifData *exif, unsigned char *tiff, guint offset,
 
32
                           guint size, ExifByteOrder bo);
 
33
 
 
34
#define FORMAT_EXIF_FUJI { FORMAT_EXIF_MATCH_MAKERNOTE, "FUJIFILM", 8, "Fujifilm", format_fuji_makernote }
 
35
 
 
36
 
 
37
 
 
38
#endif