File: casiotags.cc

package info (click to toggle)
metacam 1.2-14
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 528 kB
  • sloc: cpp: 6,849; makefile: 175; sh: 6
file content (54 lines) | stat: -rw-r--r-- 2,674 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
43
44
45
46
47
48
49
50
51
52
53
54
/*
------------------------------------------------------------------------------
MetaCam - Extract EXIF information from digital camera files, with
support for Vendor specific blocks.
Copyright (C) 2000 Daniel Stephens (daniel@cheeseplant.org)
Copyright (C) 2001, Jan Brittenson (bson@rockgarden.net)
Copyright (C) 2001, Patrick Tullmann (pat@tullmann.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: casiotags.cc,v 1.4 2002/09/02 19:20:01 daniel Exp $";

// Initial Casio tag references from
//   http://www.ba.wakwak.com/~tsuruzoh/Computer/Digicams/exif-e.html
//   and
//   http://www.dicasoft.de/dicainfo.htm

knowntag casio_known[] = {
    { 0x1, tSHORT,	0, "Recording Mode"              , dpyUnsignedLookup, lookCasioRecMode},
    { 0x2, tSHORT,	0, "Quality"                     , dpyUnsignedLookup, lookCasioQuality},
    { 0x3, tSHORT,	0, "Focusing Mode"               , dpyUnsignedLookup, lookCasioFocusMode},
    { 0x4, tSHORT,	0, "Flash Mode"                  , dpyUnsignedLookup, lookCasioFlashMode},
    { 0x5, tSHORT,	0, "Flash Intensity"             , dpyUnsignedLookup, lookCasioFlashInten},
    { 0x6, tLONG,	0, "Object Distance ~"           , dpyCasioDistance, 0},
    { 0x7, tSHORT,	0, "White Balance"               , dpyUnsignedLookup, lookCasioWhiteBalance},
    // 0x8 is unknown tSHORT
    // 0x9 is unknown tSHORT
    { 0xa, tLONG,	0, "Digital Zoom"                , dpyUnsignedLookup, lookCasioDigitalZoom},
    { 0xb, tSHORT,	0, "Sharpness"                   , dpyUnsignedLookup, lookCasioSharpness},
    { 0xc, tSHORT,	0, "Contrast"                    , dpyUnsignedLookup, lookCasioContrast},
    { 0xd, tSHORT,	0, "Saturation"                  , dpyUnsignedLookup, lookCasioSaturation},
    // 0xe through 0x013 are unknown tSHORT
    { 0x14,tSHORT,	0, "CCD Sensitivity"             , dpyUnsignedLookup, lookCasioSensitivity},

    {0,0,0,0,0}
};