File: olympustags.cc

package info (click to toggle)
metacam 1.2-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 528 kB
  • sloc: cpp: 6,849; makefile: 175; sh: 6
file content (42 lines) | stat: -rw-r--r-- 1,809 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
------------------------------------------------------------------------------
MetaCam - Extract EXIF information from digital camera files, with
support for Vendor specific blocks.
Copyright (C) 2000 Daniel Stephens (daniel@cheeseplant.org)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
------------------------------------------------------------------------------
*/

#include "dpyfuncs.h"

static const char *rcsid __attribute__((unused))="$Id: olympustags.cc,v 1.5 2002/09/02 19:20:01 daniel Exp $";

// Initial olympus tag references from
//       http://www.butaman.ne.jp/~tsuruzoh/Computer/Digicams/exif-e.html

knowntag olympus_known[] = {
    {0x0200, tLONG,      0, "Special Mode",     dpyOlymSpecialMode, 0},
    {0x0201, tSHORT,     0, "JPEG Quality",     dpyUnsignedLookup, lookOlymJPEGQuality},
    {0x0202, tSHORT,     0, "Macro",            dpyUnsignedLookup, lookYesNo},
    {0x0204, tRATIONAL,  0, "Digital Zoom",     dpyOlymZoom, 0},
    {0x0207, tASCII,     0, "Firmware Version", dpyString, 0},
    {0x0208, tASCII,     1, "Picture Info",     dpyString, 0},
    {0x0209, tUNDEFINED, 0, "Camera ID",        dpyExifVersion, 0},
     
    {0,0,0,0}
};