mnote-olympus-tag.h

Go to the documentation of this file.
00001 /* mnote-olympus-tag.h
00002  *
00003  * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
00004  *
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful, 
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Lesser General Public License for more details. 
00014  *
00015  * You should have received a copy of the GNU Lesser General Public
00016  * License along with this library; if not, write to the
00017  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018  * Boston, MA  02110-1301  USA.
00019  */
00020 
00021 #ifndef __MNOTE_OLYMPUS_TAG_H__
00022 #define __MNOTE_OLYMPUS_TAG_H__
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif /* __cplusplus */
00027 
00028 enum _MnoteOlympusTag {
00029 
00030         /* Nikon v.2 */
00031         MNOTE_NIKON_TAG_FIRMWARE                = 0x0001,
00032         MNOTE_NIKON_TAG_ISO                     = 0x0002,
00033         MNOTE_NIKON_TAG_COLORMODE1              = 0x0003,
00034         MNOTE_NIKON_TAG_QUALITY                 = 0x0004,
00035         MNOTE_NIKON_TAG_WHITEBALANCE            = 0x0005,
00036         MNOTE_NIKON_TAG_SHARPENING              = 0x0006,
00037         MNOTE_NIKON_TAG_FOCUSMODE               = 0x0007,
00038         MNOTE_NIKON_TAG_FLASHSETTING            = 0x0008,
00039         MNOTE_NIKON_TAG_FLASHMODE               = 0x0009,
00040         MNOTE_NIKON_TAG_WHITEBALANCEFINE        = 0x000b,
00041         MNOTE_NIKON_TAG_WHITEBALANCERB          = 0x000c,
00042         MNOTE_NIKON_TAG_UNKNOWN_0X000D          = 0x000d,
00043         MNOTE_NIKON_TAG_EXPOSUREDIFF            = 0x000e,
00044         MNOTE_NIKON_TAG_ISOSELECTION            = 0x000f,
00045         MNOTE_NIKON_TAG_PREVIEWIMAGE_IFD_POINTER= 0x0011,
00046         MNOTE_NIKON_TAG_FLASHEXPCOMPENSATION    = 0x0012,
00047         MNOTE_NIKON_TAG_ISO2                    = 0x0013,
00048         MNOTE_NIKON_TAG_IMAGEBOUNDARY           = 0x0016,
00049         MNOTE_NIKON_TAG_UNKNOWN_0X0017          = 0x0017,
00050         MNOTE_NIKON_TAG_FLASHEXPOSUREBRACKETVAL = 0x0018,
00051         MNOTE_NIKON_TAG_EXPOSUREBRACKETVAL      = 0x0019,
00052         MNOTE_NIKON_TAG_IMAGEADJUSTMENT         = 0x0080,
00053         MNOTE_NIKON_TAG_TONECOMPENSATION        = 0x0081,
00054         MNOTE_NIKON_TAG_ADAPTER                 = 0x0082,
00055         MNOTE_NIKON_TAG_LENSTYPE                = 0x0083,
00056         MNOTE_NIKON_TAG_LENS                    = 0x0084,
00057         MNOTE_NIKON_TAG_MANUALFOCUSDISTANCE     = 0x0085,
00058         MNOTE_NIKON_TAG_DIGITALZOOM             = 0x0086,
00059         MNOTE_NIKON_TAG_FLASHUSED               = 0x0087,
00060         MNOTE_NIKON_TAG_AFFOCUSPOSITION         = 0x0088,
00061         MNOTE_NIKON_TAG_BRACKETING              = 0x0089,
00062         MNOTE_NIKON_TAG_UNKNOWN_0X008A          = 0x008a,
00063         MNOTE_NIKON_TAG_LENS_FSTOPS             = 0x008b,
00064         MNOTE_NIKON_TAG_CURVE                   = 0x008c,
00065         MNOTE_NIKON_TAG_COLORMODE               = 0x008d,
00066         MNOTE_NIKON_TAG_LIGHTTYPE               = 0x0090,
00067         MNOTE_NIKON_TAG_UNKNOWN_0X0091          = 0x0091,
00068         MNOTE_NIKON_TAG_HUE                     = 0x0092,
00069         MNOTE_NIKON_TAG_SATURATION              = 0x0094,
00070         MNOTE_NIKON_TAG_NOISEREDUCTION          = 0x0095,
00071         MNOTE_NIKON_TAG_UNKNOWN_0X0097          = 0x0097,
00072         MNOTE_NIKON_TAG_UNKNOWN_0X0098          = 0x0098,
00073         MNOTE_NIKON_TAG_SENSORPIXELSIZE         = 0x009a,
00074         MNOTE_NIKON_TAG_UNKNOWN_0X009B          = 0x009b,
00075         MNOTE_NIKON_TAG_SERIALNUMBER            = 0x00a0,
00076         MNOTE_NIKON_TAG_IMAGE_DATASIZE          = 0x00a2,
00077         MNOTE_NIKON_TAG_UNKNOWN_0X00A3          = 0x00a3,
00078         MNOTE_NIKON_TAG_TOTALPICTURES           = 0x00a7,
00079         MNOTE_NIKON_TAG_UNKNOWN_0X00A8          = 0x00a8,
00080         MNOTE_NIKON_TAG_OPTIMIZATION            = 0x00a9,
00081         MNOTE_NIKON_TAG_SATURATION2             = 0x00aa,
00082         MNOTE_NIKON_TAG_VARIPROGRAM             = 0x00ab,
00083         MNOTE_NIKON_TAG_CAPTUREEDITORDATA       = 0x0e01,
00084         MNOTE_NIKON_TAG_CAPTUREEDITORVER        = 0x0e09,
00085         MNOTE_NIKON_TAG_UNKNOWN_0X0E0E          = 0x0e0e,
00086         MNOTE_NIKON_TAG_UNKNOWN_0X0E10          = 0x0e10,
00087 
00088         /* Nikon v1: real values + our proprietary base to distinguish from v2 */
00089         MNOTE_NIKON1_TAG_BASE                   = 0x8000,
00090         MNOTE_NIKON1_TAG_UNKNOWN_0X0002         = 0x0002 + MNOTE_NIKON1_TAG_BASE,
00091         MNOTE_NIKON1_TAG_QUALITY                = 0x0003 + MNOTE_NIKON1_TAG_BASE,
00092         MNOTE_NIKON1_TAG_COLORMODE              = 0x0004 + MNOTE_NIKON1_TAG_BASE,
00093         MNOTE_NIKON1_TAG_IMAGEADJUSTMENT        = 0x0005 + MNOTE_NIKON1_TAG_BASE,
00094         MNOTE_NIKON1_TAG_CCDSENSITIVITY         = 0x0006 + MNOTE_NIKON1_TAG_BASE,
00095         MNOTE_NIKON1_TAG_WHITEBALANCE           = 0x0007 + MNOTE_NIKON1_TAG_BASE,
00096         MNOTE_NIKON1_TAG_FOCUS                  = 0x0008 + MNOTE_NIKON1_TAG_BASE,
00097         MNOTE_NIKON1_TAG_UNKNOWN_0X0009         = 0x0009 + MNOTE_NIKON1_TAG_BASE,
00098         MNOTE_NIKON1_TAG_DIGITALZOOM            = 0x000a + MNOTE_NIKON1_TAG_BASE,
00099         MNOTE_NIKON1_TAG_CONVERTER              = 0x000b + MNOTE_NIKON1_TAG_BASE,
00100 
00101         /* Olympus and some Sanyo */
00102         MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE        = 0x0100,
00103         MNOTE_OLYMPUS_TAG_MODE                  = 0x0200,
00104         MNOTE_OLYMPUS_TAG_QUALITY               = 0x0201,
00105         MNOTE_OLYMPUS_TAG_MACRO                 = 0x0202,
00106         MNOTE_OLYMPUS_TAG_BWMODE                = 0x0203,
00107         MNOTE_OLYMPUS_TAG_DIGIZOOM              = 0x0204,
00108         MNOTE_OLYMPUS_TAG_FOCALPLANEDIAGONAL    = 0x0205,
00109         MNOTE_OLYMPUS_TAG_LENSDISTORTION        = 0x0206,
00110         MNOTE_OLYMPUS_TAG_VERSION               = 0x0207,
00111         MNOTE_OLYMPUS_TAG_INFO                  = 0x0208,
00112         MNOTE_OLYMPUS_TAG_ID                    = 0x0209,
00113         MNOTE_OLYMPUS_TAG_PRECAPTUREFRAMES      = 0x0300,
00114         MNOTE_OLYMPUS_TAG_WHITEBOARD            = 0x0301,
00115         MNOTE_OLYMPUS_TAG_ONETOUCHWB            = 0x0302,
00116         MNOTE_OLYMPUS_TAG_WHITEBALANCEBRACKET   = 0x0303,
00117         MNOTE_OLYMPUS_TAG_WHITEBALANCEBIAS      = 0x0304,
00118         MNOTE_OLYMPUS_TAG_DATADUMP              = 0x0f00,
00119         MNOTE_OLYMPUS_TAG_UNKNOWN_4             = 0x0f04,
00120         MNOTE_OLYMPUS_TAG_SHUTTERSPEED          = 0x1000,
00121         MNOTE_OLYMPUS_TAG_ISOVALUE              = 0x1001,
00122         MNOTE_OLYMPUS_TAG_APERTUREVALUE         = 0x1002,
00123         MNOTE_OLYMPUS_TAG_BRIGHTNESSVALUE       = 0x1003,
00124         MNOTE_OLYMPUS_TAG_FLASHMODE             = 0x1004,
00125         MNOTE_OLYMPUS_TAG_FLASHDEVICE           = 0x1005,
00126         MNOTE_OLYMPUS_TAG_EXPOSURECOMP          = 0x1006,
00127         MNOTE_OLYMPUS_TAG_SENSORTEMPERATURE     = 0x1007,
00128         MNOTE_OLYMPUS_TAG_LENSTEMPERATURE       = 0x1008,
00129         MNOTE_OLYMPUS_TAG_LIGHTCONDITION        = 0x1009,
00130         MNOTE_OLYMPUS_TAG_FOCUSRANGE            = 0x100a,
00131         MNOTE_OLYMPUS_TAG_MANFOCUS              = 0x100b,
00132         MNOTE_OLYMPUS_TAG_FOCUSDIST             = 0x100c,
00133         MNOTE_OLYMPUS_TAG_ZOOMSTEPCOUNT         = 0x100d,
00134         MNOTE_OLYMPUS_TAG_FOCUSSTEPCOUNT        = 0x100e,
00135         MNOTE_OLYMPUS_TAG_SHARPNESS             = 0x100f,
00136         MNOTE_OLYMPUS_TAG_FLASHCHARGELEVEL      = 0x1010,
00137         MNOTE_OLYMPUS_TAG_COLORMATRIX           = 0x1011,
00138         MNOTE_OLYMPUS_TAG_BLACKLEVEL            = 0x1012,
00139         MNOTE_OLYMPUS_TAG_WBALANCE              = 0x1015,
00140         MNOTE_OLYMPUS_TAG_REDBALANCE            = 0x1017,
00141         MNOTE_OLYMPUS_TAG_BLUEBALANCE           = 0x1018,
00142         MNOTE_OLYMPUS_TAG_COLORMATRIXNUMBER     = 0x1019,
00143         MNOTE_OLYMPUS_TAG_SERIALNUMBER2         = 0x101a,
00144         MNOTE_OLYMPUS_TAG_FLASHEXPOSURECOMP     = 0x1023,
00145         MNOTE_OLYMPUS_TAG_INTERNALFLASHTABLE    = 0x1024,
00146         MNOTE_OLYMPUS_TAG_EXTERNALFLASHGVALUE   = 0x1025,
00147         MNOTE_OLYMPUS_TAG_EXTERNALFLASHBOUNCE   = 0x1026,
00148         MNOTE_OLYMPUS_TAG_EXTERNALFLASHZOOM     = 0x1027,
00149         MNOTE_OLYMPUS_TAG_EXTERNALFLASHMODE     = 0x1028,
00150         MNOTE_OLYMPUS_TAG_CONTRAST              = 0x1029,
00151         MNOTE_OLYMPUS_TAG_SHARPNESSFACTOR       = 0x102a,
00152         MNOTE_OLYMPUS_TAG_COLORCONTROL          = 0x102b,
00153         MNOTE_OLYMPUS_TAG_IMAGEWIDTH            = 0x102e,
00154         MNOTE_OLYMPUS_TAG_IMAGEHEIGHT           = 0x102f,
00155         MNOTE_OLYMPUS_TAG_SCENEDETECT           = 0x1030,
00156         MNOTE_OLYMPUS_TAG_COMPRESSIONRATIO      = 0x1034,
00157         MNOTE_OLYMPUS_TAG_PREVIEWIMAGEVALID     = 0x1035,
00158         MNOTE_OLYMPUS_TAG_AFRESULT              = 0x1038,
00159         MNOTE_OLYMPUS_TAG_CCDSCANMODE           = 0x1039,
00160         MNOTE_OLYMPUS_TAG_NOISEREDUCTION        = 0x103a,
00161         MNOTE_OLYMPUS_TAG_INFINITYLENSSTEP      = 0x103b,
00162         MNOTE_OLYMPUS_TAG_NEARLENSSTEP          = 0x103c,
00163         MNOTE_OLYMPUS_TAG_LIGHTVALUECENTER      = 0x103d,
00164         MNOTE_OLYMPUS_TAG_LIGHTVALUEPERIPHERY   = 0x103e,
00165 
00166         /* Epson */
00167         MNOTE_EPSON_TAG_IMAGE_WIDTH             = 0x020b,
00168         MNOTE_EPSON_TAG_IMAGE_HEIGHT            = 0x020c,
00169         MNOTE_EPSON_TAG_SOFTWARE                = 0x020d,
00170 
00171         /* Sanyo */
00172         MNOTE_SANYO_TAG_SEQUENTIALSHOT          = 0x020e,
00173         MNOTE_SANYO_TAG_WIDERANGE               = 0x020f,
00174         MNOTE_SANYO_TAG_COLORADJUSTMENTMODE     = 0x0210,
00175         MNOTE_SANYO_TAG_FOCUSMODE               = 0x0212,
00176         MNOTE_SANYO_TAG_QUICKSHOT               = 0x0213,
00177         MNOTE_SANYO_TAG_SELFTIMER               = 0x0214,
00178         MNOTE_SANYO_TAG_VOICEMEMO               = 0x0216,
00179         MNOTE_SANYO_TAG_RECORDSHUTTERRELEASE    = 0x0217,
00180         MNOTE_SANYO_TAG_FLICKERREDUCE           = 0x0218,
00181         MNOTE_SANYO_TAG_OPTICALZOOM             = 0x0219,
00182         MNOTE_SANYO_TAG_CCDSENSITIVITY          = 0x021a,
00183         MNOTE_SANYO_TAG_DIGITALZOOM             = 0x021b,
00184         MNOTE_SANYO_TAG_LIGHTSOURCESPECIAL      = 0x021d,
00185         MNOTE_SANYO_TAG_RESAVED                 = 0x021e,
00186         MNOTE_SANYO_TAG_SCENESELECT             = 0x021f,
00187         MNOTE_SANYO_TAG_MANUALFOCUSDISTANCE     = 0x0223,
00188         MNOTE_SANYO_TAG_SEQUENCESHOTINTERVAL    = 0x0224,
00189 };
00190 typedef enum _MnoteOlympusTag MnoteOlympusTag;
00191 
00192 /* Don't use these definitions. They are here for compatibility only. */
00193 #define MNOTE_OLYMPUS_TAG_UNKNOWN_1     MNOTE_OLYMPUS_TAG_BWMODE
00194 #define MNOTE_OLYMPUS_TAG_UNKNOWN_2     MNOTE_OLYMPUS_TAG_FOCALPLANEDIAGONAL
00195 #define MNOTE_OLYMPUS_TAG_UNKNOWN_3     MNOTE_OLYMPUS_TAG_LENSDISTORTION
00196 #define MNOTE_OLYMPUS_TAG_UNKNOWN_5     MNOTE_OLYMPUS_TAG_DATADUMP
00197 #define MNOTE_NIKON_TAG_PREVIEWIMAGE    MNOTE_NIKON_TAG_PREVIEWIMAGE_IFD_POINTER
00198 
00206 const char *mnote_olympus_tag_get_name        (MnoteOlympusTag tag);
00207 
00214 const char *mnote_olympus_tag_get_title       (MnoteOlympusTag tag);
00215 
00223 const char *mnote_olympus_tag_get_description (MnoteOlympusTag tag);
00224 
00225 #ifdef __cplusplus
00226 }
00227 #endif /* __cplusplus */
00228 
00229 #endif /* __MNOTE_OLYMPUS_TAG_H__ */

SourceForge.net Logo Generated by doxygen