EXIF library (libexif) Internals  0.6.24
mnote-olympus-tag.c
Go to the documentation of this file.
1 /* mnote-olympus-tag.c:
2  *
3  * Copyright (c) 2002 Lutz Mueller <lutz@users.sourceforge.net>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18  * Boston, MA 02110-1301 USA.
19  */
20 
21 #include <config.h>
22 #include "mnote-olympus-tag.h"
23 
24 #include <libexif/i18n.h>
25 #include <libexif/exif-utils.h>
26 
27 #include <stdlib.h>
28 
29 static const struct {
31  const char *name;
32  const char *title;
33  const char *description;
34 } table[] = {
35 #ifndef NO_VERBOSE_TAG_STRINGS
36  /* Nikon v2 */
37  {MNOTE_NIKON_TAG_FIRMWARE, "Firmware", N_("Firmware Version"), ""},
38  {MNOTE_NIKON_TAG_ISO, "ISO", N_("ISO Setting"), ""},
39  {MNOTE_NIKON_TAG_COLORMODE1, "ColorMode1", N_("Color Mode (?)"), ""},
40  {MNOTE_NIKON_TAG_QUALITY, "Quality", N_("Quality"), ""},
41  {MNOTE_NIKON_TAG_WHITEBALANCE, "WhiteBalance", N_("White Balance"), ""},
42  {MNOTE_NIKON_TAG_SHARPENING, "Sharpening", N_("Image Sharpening"), ""},
43  {MNOTE_NIKON_TAG_FOCUSMODE, "FocusMode", N_("Focus Mode"), ""},
44  {MNOTE_NIKON_TAG_FLASHSETTING, "FlashSetting", N_("Flash Setting"), ""},
45  {MNOTE_NIKON_TAG_FLASHMODE, "FlashMode", N_("Flash Mode"), ""},
46  {MNOTE_NIKON_TAG_WHITEBALANCEFINE,"WhiteBalanceFine",N_("White Balance Fine Adjustment"), ""},
47  {MNOTE_NIKON_TAG_WHITEBALANCERB, "WhiteBalanceRB", N_("White Balance RB"), ""},
48  {MNOTE_NIKON_TAG_PROGRAMSHIFT, "ProgramShift", N_("Program Shift"), ""},
49  {MNOTE_NIKON_TAG_ISOSELECTION, "ISOSelection", N_("ISO Selection"), ""},
50  {MNOTE_NIKON_TAG_PREVIEWIMAGE_IFD_POINTER, "PreviewImage", N_("Preview Image IFD"), N_("Offset of the preview image directory (IFD) inside the file.")},
51  {MNOTE_NIKON_TAG_EXPOSUREDIFF, "ExposureDiff", N_("Exposurediff ?"), ""},
52  {MNOTE_NIKON_TAG_FLASHEXPCOMPENSATION, "FlashExpCompensation", N_("Flash Exposure Compensation"), ""},
53  {MNOTE_NIKON_TAG_ISO2, "ISO", N_("ISO Setting"), ""},
54  {MNOTE_NIKON_TAG_IMAGEBOUNDARY, "ImageBoundary", N_("Image Boundary"), ""},
55  {MNOTE_NIKON_TAG_EXTERNALFLASHEXPCOMPENSATION, "ExternalFlashExpCompensation", N_("External Flash Exposure Compensation"), ""},
56  {MNOTE_NIKON_TAG_FLASHEXPOSUREBRACKETVAL, "FlashExposureBracketVal", N_("Flash Exposure Bracket Value"), ""},
57  {MNOTE_NIKON_TAG_EXPOSUREBRACKETVAL, "ExposureBracketVal", N_("Exposure Bracket Value"), ""},
58  {MNOTE_NIKON_TAG_IMAGEADJUSTMENT, "ImageAdjustment", N_("Image Adjustment"), ""},
59  {MNOTE_NIKON_TAG_TONECOMPENSATION, "ToneCompensation", N_("Tone Compensation"), ""},
60  {MNOTE_NIKON_TAG_ADAPTER, "Adapter", N_("Adapter"), ""},
61  {MNOTE_NIKON_TAG_LENSTYPE, "LensType", N_("Lens Type"), ""},
62  {MNOTE_NIKON_TAG_LENS, "Lens", N_("Lens"), ""},
63  {MNOTE_NIKON_TAG_MANUALFOCUSDISTANCE, "ManualFocusDistance", N_("Manual Focus Distance"), ""},
64  {MNOTE_NIKON_TAG_DIGITALZOOM, "DigitalZoom", N_("Digital Zoom"), ""},
65  {MNOTE_NIKON_TAG_FLASHUSED, "FlashUsed", N_("Flash Used"), ""},
66  {MNOTE_NIKON_TAG_AFFOCUSPOSITION, "AFFocusPosition", N_("AF Focus Position"), ""},
67  {MNOTE_NIKON_TAG_BRACKETING, "Bracketing", N_("Bracketing"), ""},
68  {MNOTE_NIKON_TAG_UNKNOWN_0X008A, NULL, NULL, NULL},
69  {MNOTE_NIKON_TAG_LENS_FSTOPS, "LensFStops", N_("Lens F Stops"), ""},
70  {MNOTE_NIKON_TAG_CURVE, "Curve,", N_("Contrast Curve"), ""},
71  {MNOTE_NIKON_TAG_COLORMODE, "ColorMode,", N_("Color Mode"), ""},
72  {MNOTE_NIKON_TAG_LIGHTTYPE, "LightType,", N_("Light Type"), ""},
73  {MNOTE_NIKON_TAG_SHOTINFO, "ShotInfo", N_("Shot Info"), ""},
74  {MNOTE_NIKON_TAG_HUE, "Hue", N_("Hue Adjustment"), ""},
75  {MNOTE_NIKON_TAG_SATURATION, "Saturation", N_("Saturation"), ""},
76  {MNOTE_NIKON_TAG_NOISEREDUCTION, "NoiseReduction,", N_("Noise Reduction"), ""},
77  {MNOTE_NIKON_TAG_COLORBALANCE, "ColorBalance", N_("Color Balance"), ""},
78  {MNOTE_NIKON_TAG_LENSDATA, "LensData", N_("Lens Data"), ""},
79  {MNOTE_NIKON_TAG_SENSORPIXELSIZE, "SensorPixelSize", N_("Sensor Pixel Size"), ""},
80  {MNOTE_NIKON_TAG_UNKNOWN_0X009B, NULL, NULL, NULL},
81  {MNOTE_NIKON_TAG_RETOUCHHISTORY, "RetouchHistory", N_("Retouch History"), ""},
82  {MNOTE_NIKON_TAG_SERIALNUMBER, "SerialNumber", N_("Serial Number"), ""},
83  {MNOTE_NIKON_TAG_IMAGE_DATASIZE, "ImageDataSize", N_("Image Data Size"), N_("Size of compressed image data in bytes.")},
84  {MNOTE_NIKON_TAG_UNKNOWN_0X00A3, NULL, NULL, NULL},
85  {MNOTE_NIKON_TAG_TOTALPICTURES, "TotalPictures,", N_("Total Number of Pictures Taken"), ""},
86  {MNOTE_NIKON_TAG_FLASHINFO, "FlashInfo", N_("Flash Info"), ""},
87  {MNOTE_NIKON_TAG_OPTIMIZATION, "Optimization,", N_("Optimize Image"), ""},
88  {MNOTE_NIKON_TAG_SATURATION, "Saturation", N_("Saturation"), ""},
89  {MNOTE_NIKON_TAG_VARIPROGRAM, "VariProgram", N_("Vari Program"), ""},
90  {MNOTE_NIKON_TAG_CAPTUREEDITORDATA, "CaptureEditorData", N_("Capture Editor Data"), ""},
91  {MNOTE_NIKON_TAG_CAPTUREEDITORVER, "CaptureEditorVer", N_("Capture Editor Version"), ""},
92  {MNOTE_NIKON_TAG_UNKNOWN_0X0E0E, NULL, NULL, NULL},
93  {MNOTE_NIKON_TAG_UNKNOWN_0X0E10, NULL, NULL, NULL},
94  {MNOTE_NIKON_TAG_CROPHISPEED, "CropHiSpeed", N_("Crop HiSpeed"), ""},
95  {MNOTE_NIKON_TAG_EXPOSURETUNING, "ExposureTuning", N_("Exposure Tuning"), ""},
96  {MNOTE_NIKON_TAG_COLORSPACE, "ColorSpace", N_("Color Space"), ""},
97  {MNOTE_NIKON_TAG_VRINFO, "VRInfo", N_("VR Info"), ""},
98  {MNOTE_NIKON_TAG_IMAGEAUTHENTICATION, "ImageAuthentication", N_("Image Authentication"), ""},
99  {MNOTE_NIKON_TAG_FACEDETECT, "FaceDetect", N_("Face Detect"), ""},
100  {MNOTE_NIKON_TAG_ACTIVEDLIGHTING,"ActiveDLighting", N_("Active DLighting"), ""},
101  {MNOTE_NIKON_TAG_PICTURECONTROLDATA, "PictureControlData", N_("Picture Control Data"), ""},
102  {MNOTE_NIKON_TAG_WORLDTIME, "WorldTime", N_("World Time"), ""},
103  {MNOTE_NIKON_TAG_ISOINFO, "ISOInfo", N_("ISO Info"), ""},
104  {MNOTE_NIKON_TAG_VIGNETTECONTROL,"VignetteControl", N_("Vignette Control"), ""},
105  {MNOTE_NIKON_TAG_DISTORTINFO, "DistortInfo", N_("Distort Info"), ""},
106  {MNOTE_NIKON_TAG_SHUTTERMODE, "ShutterMode", N_("Shutter Mode"), ""},
107  {MNOTE_NIKON_TAG_HDRINFO, "HDRInfo", N_("HDR Info"), ""},
108  {MNOTE_NIKON_TAG_MECHANICALSHUTTERCOUNT, "MechanicalShutterCount", N_("Mechanical Shutter Count"), ""},
109  {MNOTE_NIKON_TAG_LOCATIONINFO, "LocationInfo", N_("MNOTE_NIKON_TAG_LOCATIONINFO"), ""},
110  {MNOTE_NIKON_TAG_BLACKLEVEL, "BlackLevel", N_("Black Level"), ""},
111  {MNOTE_NIKON_TAG_IMAGESIZERAW, "ImageSizeRaw", N_("Image Size Raw"), ""},
112  {MNOTE_NIKON_TAG_CROPAREA, "CropArea", N_("Crop Area"), ""},
113  {MNOTE_NIKON_TAG_NIKONSETTINGS, "NikonSettings", N_("Nikon Settings"), ""},
114  {MNOTE_NIKON_TAG_COLORTEMPERATUREAUTO, "ColorTemperatureAuto", N_("Color Temperature Auto"), ""},
115  {MNOTE_NIKON_TAG_SERIALNUMBER2, "SerialNumber2", N_("Serial Number 2"), ""},
116  {MNOTE_NIKON_TAG_SATURATION2, "Saturation2", N_("Saturation 2"), ""},
117  {MNOTE_NIKON_TAG_MULTIEXPOSURE, "MultiExposure", N_("Multi Exposure"), ""},
118  {MNOTE_NIKON_TAG_HIGHISONR, "HighISONr", N_("High ISO Noise Reduction"), ""},
119  {MNOTE_NIKON_TAG_TONINGEFFECT, "ToningEffect", N_("Toning Effect"), ""},
120  {MNOTE_NIKON_TAG_POWERUPTIME, "PowerupTime", N_("Powerup Time"), ""},
121  {MNOTE_NIKON_TAG_AFINFO2, "AFInfo2", N_("AF Info 2"), ""},
122  {MNOTE_NIKON_TAG_FILEINFO, "FileInfo", N_("File Info"), ""},
123  {MNOTE_NIKON_TAG_RETOUCHINFO, "RetouchInfo", N_("Retouch Info"), ""},
124  {MNOTE_NIKON_TAG_PREVIEWIMAGE, "PreviewImage", N_("Preview Image"), ""},
125  {MNOTE_NIKON1_TAG_UNKNOWN_0X0002, NULL, NULL, NULL},
126  {MNOTE_NIKON1_TAG_QUALITY, "Quality", N_("Quality"), ""},
127  {MNOTE_NIKON1_TAG_COLORMODE, "ColorMode,", N_("Color Mode"), ""},
128  {MNOTE_NIKON1_TAG_IMAGEADJUSTMENT, "ImageAdjustment", N_("Image Adjustment"), ""},
129  {MNOTE_NIKON1_TAG_CCDSENSITIVITY, "CCDSensitivity", N_("CCD Sensitivity"), ""},
130  {MNOTE_NIKON1_TAG_WHITEBALANCE, "WhiteBalance", N_("White Balance"), ""},
131  {MNOTE_NIKON1_TAG_FOCUS, "Focus", N_("Focus"), ""},
132  {MNOTE_NIKON1_TAG_UNKNOWN_0X0009, NULL, NULL, NULL},
133  {MNOTE_NIKON1_TAG_DIGITALZOOM, "DigitalZoom", N_("Digital Zoom"), ""},
134  {MNOTE_NIKON1_TAG_CONVERTER, "Converter", N_("Converter"), ""},
135 
136  /* Olympus & some Sanyo */
137  {MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE, "ThumbnailImage", N_("Thumbnail Image"), ""},
138  {MNOTE_OLYMPUS_TAG_MODE, "Mode", N_("Speed/Sequence/Panorama Direction"), ""},
139  {MNOTE_OLYMPUS_TAG_QUALITY, "Quality", N_("Quality"), ""},
140  {MNOTE_OLYMPUS_TAG_MACRO, "Macro", N_("Macro"), ""},
141  {MNOTE_OLYMPUS_TAG_BWMODE, "BWMode", N_("Black & White Mode"), ""},
142  {MNOTE_OLYMPUS_TAG_DIGIZOOM, "DigiZoom", N_("Digital Zoom"), ""},
143  {MNOTE_OLYMPUS_TAG_FOCALPLANEDIAGONAL, "FocalPlaneDiagonal", N_("Focal Plane Diagonal"), ""},
144  {MNOTE_OLYMPUS_TAG_LENSDISTORTION, "LensDistortionParams", N_("Lens Distortion Parameters"), ""},
145  {MNOTE_OLYMPUS_TAG_VERSION, "FirmwareVersion", N_("Firmware Version"), ""},
146  {MNOTE_OLYMPUS_TAG_INFO, "Info", N_("Info"), ""},
147  {MNOTE_OLYMPUS_TAG_ID, "CameraID", N_("Camera ID"), ""},
148  {MNOTE_OLYMPUS_TAG_PRECAPTUREFRAMES, "PreCaptureFrames", N_("Precapture Frames"), ""},
149  {MNOTE_OLYMPUS_TAG_WHITEBOARD, "WhiteBoard", N_("White Board"), ""},
150  {MNOTE_OLYMPUS_TAG_ONETOUCHWB, "OneTouchWB", N_("One Touch White Balance"), ""},
151  {MNOTE_OLYMPUS_TAG_WHITEBALANCEBRACKET, "WhiteBalanceBracket", N_("White Balance Bracket"), ""},
152  {MNOTE_OLYMPUS_TAG_WHITEBALANCEBIAS, "WhiteBalanceBias", N_("White Balance Bias"), ""},
153  {MNOTE_OLYMPUS_TAG_DATADUMP, "DataDump", N_("Data Dump"), NULL},
154  {MNOTE_OLYMPUS_TAG_UNKNOWN_4, NULL, NULL, NULL},
155  {MNOTE_OLYMPUS_TAG_SHUTTERSPEED, "ShutterSpeed", N_("Shutter Speed"), ""},
156  {MNOTE_OLYMPUS_TAG_ISOVALUE, "ISOValue", N_("ISO Value"), ""},
157  {MNOTE_OLYMPUS_TAG_APERTUREVALUE, "ApertureValue", N_("Aperture Value"), ""},
158  {MNOTE_OLYMPUS_TAG_BRIGHTNESSVALUE, "BrightnessValue", N_("Brightness Value"), ""},
159  {MNOTE_OLYMPUS_TAG_FLASHMODE, "FlashMode", N_("Flash Mode"), ""},
160  {MNOTE_OLYMPUS_TAG_FLASHDEVICE, "FlashDevice", N_("Flash Device"), ""},
161  {MNOTE_OLYMPUS_TAG_EXPOSURECOMP, "ExposureCompensation", N_("Exposure Compensation"), ""},
162  {MNOTE_OLYMPUS_TAG_SENSORTEMPERATURE, "SensorTemperature", N_("Sensor Temperature"), ""},
163  {MNOTE_OLYMPUS_TAG_LENSTEMPERATURE, "LensTemperature", N_("Lens Temperature"), ""},
164  {MNOTE_OLYMPUS_TAG_LIGHTCONDITION, "LightCondition", N_("Light Condition"), ""},
165  {MNOTE_OLYMPUS_TAG_FOCUSRANGE, "FocusRange", N_("Focus Range"), ""},
166  {MNOTE_OLYMPUS_TAG_MANFOCUS, "FocusMode", N_("Focus Mode"), "Automatic or manual focusing mode"},
167  {MNOTE_OLYMPUS_TAG_FOCUSDIST, "ManualFocusDistance", N_("Manual Focus Distance"), ""},
168  {MNOTE_OLYMPUS_TAG_ZOOMSTEPCOUNT, "ZoomStepCount", N_("Zoom Step Count"), ""},
169  {MNOTE_OLYMPUS_TAG_FOCUSSTEPCOUNT, "FocusStepCount", N_("Focus Step Count"), ""},
170  {MNOTE_OLYMPUS_TAG_SHARPNESS, "Sharpness", N_("Sharpness Setting"), ""},
171  {MNOTE_OLYMPUS_TAG_FLASHCHARGELEVEL, "FlashChargeLevel", N_("Flash Charge Level"), ""},
172  {MNOTE_OLYMPUS_TAG_COLORMATRIX, "ColorMatrix", N_("Color Matrix"), ""},
173  {MNOTE_OLYMPUS_TAG_BLACKLEVEL, "BlackLevel", N_("Black Level"), ""},
174  {MNOTE_OLYMPUS_TAG_WBALANCE, "WhiteBalance", N_("White Balance Setting"), ""},
175  {MNOTE_OLYMPUS_TAG_REDBALANCE, "RedBalance", N_("Red Balance"), ""},
176  {MNOTE_OLYMPUS_TAG_BLUEBALANCE, "BlueBalance", N_("Blue Balance"), ""},
177  {MNOTE_OLYMPUS_TAG_COLORMATRIXNUMBER, "ColorMatrixNumber", N_("Color Matrix Number"), ""},
178  {MNOTE_OLYMPUS_TAG_SERIALNUMBER2, "SerialNumber", N_("Serial Number"), ""},
179  {MNOTE_OLYMPUS_TAG_FLASHEXPOSURECOMP, "FlashExposureComp", N_("Flash Exposure Comp"), ""},
180  {MNOTE_OLYMPUS_TAG_INTERNALFLASHTABLE, "InternalFlashTable", N_("Internal Flash Table"), ""},
181  {MNOTE_OLYMPUS_TAG_EXTERNALFLASHGVALUE, "ExternalFlashGValue", N_("External Flash G Value"), ""},
182  {MNOTE_OLYMPUS_TAG_EXTERNALFLASHBOUNCE, "ExternalFlashBounce", N_("External Flash Bounce"), ""},
183  {MNOTE_OLYMPUS_TAG_EXTERNALFLASHZOOM, "ExternalFlashZoom", N_("External Flash Zoom"), ""},
184  {MNOTE_OLYMPUS_TAG_EXTERNALFLASHMODE, "ExternalFlashMode", N_("External Flash Mode"), ""},
185  {MNOTE_OLYMPUS_TAG_CONTRAST, "Contrast", N_("Contrast Setting"), ""},
186  {MNOTE_OLYMPUS_TAG_SHARPNESSFACTOR, "SharpnessFactor", N_("Sharpness Factor"), ""},
187  {MNOTE_OLYMPUS_TAG_COLORCONTROL, "ColorControl", N_("Color Control"), ""},
188  {MNOTE_OLYMPUS_TAG_IMAGEWIDTH, "OlympusImageWidth", N_("Olympus Image Width"), ""},
189  {MNOTE_OLYMPUS_TAG_IMAGEHEIGHT, "OlympusImageHeight", N_("Olympus Image Height"), ""},
190  {MNOTE_OLYMPUS_TAG_SCENEDETECT, "SceneDetect", N_("Scene Detect"), ""},
191  {MNOTE_OLYMPUS_TAG_COMPRESSIONRATIO, "CompressionRatio", N_("Compression Ratio"), ""},
192  {MNOTE_OLYMPUS_TAG_PREVIEWIMAGEVALID, "PreviewImageValid", N_("Preview Image Valid"), ""},
193  {MNOTE_OLYMPUS_TAG_AFRESULT, "AFResult", N_("AF Result"), ""},
194  {MNOTE_OLYMPUS_TAG_CCDSCANMODE, "CCDScanMode", N_("CCD Scan Mode"), ""},
195  {MNOTE_OLYMPUS_TAG_NOISEREDUCTION, "NoiseReduction", N_("Noise Reduction"), ""},
196  {MNOTE_OLYMPUS_TAG_INFINITYLENSSTEP, "InfinityLensStep", N_("Infinity Lens Step"), ""},
197  {MNOTE_OLYMPUS_TAG_NEARLENSSTEP, "NearLensStep", N_("Near Lens Step"), ""},
198  {MNOTE_OLYMPUS_TAG_LIGHTVALUECENTER, "LightValueCenter", N_("Light Value Center"), ""},
199  {MNOTE_OLYMPUS_TAG_LIGHTVALUEPERIPHERY, "LightValuePeriphery", N_("Light Value Periphery"), ""},
200 
201  /* Sanyo */
202  {MNOTE_SANYO_TAG_SEQUENTIALSHOT, "SequentialShot", N_("Sequential Shot"), ""},
203  {MNOTE_SANYO_TAG_WIDERANGE, "WideRange", N_("Wide Range"), ""},
204  {MNOTE_SANYO_TAG_COLORADJUSTMENTMODE, "ColorAdjustmentMode", N_("Color Adjustment Mode"), ""},
205  {MNOTE_SANYO_TAG_FOCUSMODE, "FocusMode", N_("Focus Mode"), ""},
206  {MNOTE_SANYO_TAG_QUICKSHOT, "QuickShot", N_("Quick Shot"), ""},
207  {MNOTE_SANYO_TAG_SELFTIMER, "SelfTimer", N_("Self-timer"), ""},
208  {MNOTE_SANYO_TAG_VOICEMEMO, "VoiceMemo", N_("Voice Memo"), ""},
209  {MNOTE_SANYO_TAG_RECORDSHUTTERRELEASE, "RecordShutterRelease", N_("Record Shutter Release"), ""},
210  {MNOTE_SANYO_TAG_FLICKERREDUCE, "FlickerReduce", N_("Flicker Reduce"), ""},
211  {MNOTE_SANYO_TAG_OPTICALZOOM, "OpticalZoom", N_("Optical Zoom"), ""},
212  {MNOTE_SANYO_TAG_DIGITALZOOM, "DigitalZoom", N_("Digital Zoom"), ""},
213  {MNOTE_SANYO_TAG_LIGHTSOURCESPECIAL, "LightSourceSpecial", N_("Light Source Special"), ""},
214  {MNOTE_SANYO_TAG_RESAVED, "Resaved", N_("Resaved"), ""},
215  {MNOTE_SANYO_TAG_CCDSENSITIVITY, "CCDSensitivity", N_("CCD Sensitivity"), ""},
216  {MNOTE_SANYO_TAG_SCENESELECT, "SceneSelect", N_("Scene Select"), ""},
217  {MNOTE_SANYO_TAG_MANUALFOCUSDISTANCE, "ManualFocusDistance", N_("Manual Focus Distance"), ""},
218  {MNOTE_SANYO_TAG_SEQUENCESHOTINTERVAL, "SequenceShotInterval", N_("Sequence Shot Interval"), ""},
219 
220  /* Epson */
221  {MNOTE_EPSON_TAG_IMAGE_WIDTH, "EpsonImageWidth", N_("Epson Image Width"), ""},
222  {MNOTE_EPSON_TAG_IMAGE_HEIGHT, "EpsonImageHeight", N_("Epson Image Height"), ""},
223  {MNOTE_EPSON_TAG_SOFTWARE, "EpsonSoftware", N_("Epson Software Version"), ""},
224 #endif
225  {0, NULL, NULL, NULL}
226 };
227 
228 const char *
230 {
231  unsigned int i;
232 
233  for (i = 0; i < sizeof (table) / sizeof (table[0]); i++)
234  if (table[i].tag == t) return (table[i].name);
235  return NULL;
236 }
237 
238 const char *
240 {
241  unsigned int i;
242 
243  (void) bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
244  for (i = 0; i < sizeof (table) / sizeof (table[0]); i++)
245  if (table[i].tag == t) return (_(table[i].title));
246  return NULL;
247 }
248 
249 const char *
251 {
252  unsigned int i;
253 
254  for (i = 0; i < sizeof (table) / sizeof (table[0]); i++)
255  if (table[i].tag == t) {
256  if (!table[i].description || !*table[i].description)
257  return "";
258  (void) bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
259  return _(table[i].description);
260  }
261  return NULL;
262 }
EXIF data manipulation functions and types.
#define _(String)
Definition: i18n.h:48
#define N_(String)
Definition: i18n.h:49
#define bindtextdomain(Domain, Directory)
Definition: i18n.h:46
MnoteOlympusTag tag
const char * description
const char * mnote_olympus_tag_get_title(MnoteOlympusTag t)
Return a textual title of the given tag within the Olympus-style MakerNote.
const char * title
const char * mnote_olympus_tag_get_name(MnoteOlympusTag t)
Return a textual name of the given tag within the Olympus-style MakerNote.
const char * name
const char * mnote_olympus_tag_get_description(MnoteOlympusTag t)
Return a verbose textual description of the given tag within the Olympus-style MakerNote.
static const struct @15 table[]
@ MNOTE_NIKON1_TAG_WHITEBALANCE
@ MNOTE_NIKON_TAG_IMAGESIZERAW
@ MNOTE_OLYMPUS_TAG_ID
@ MNOTE_OLYMPUS_TAG_FOCUSSTEPCOUNT
@ MNOTE_NIKON_TAG_BLACKLEVEL
@ MNOTE_NIKON_TAG_PROGRAMSHIFT
@ MNOTE_SANYO_TAG_FLICKERREDUCE
@ MNOTE_NIKON_TAG_IMAGEADJUSTMENT
@ MNOTE_OLYMPUS_TAG_REDBALANCE
@ MNOTE_NIKON_TAG_PICTURECONTROLDATA
@ MNOTE_OLYMPUS_TAG_FOCALPLANEDIAGONAL
@ MNOTE_EPSON_TAG_SOFTWARE
@ MNOTE_NIKON_TAG_SERIALNUMBER2
@ MNOTE_OLYMPUS_TAG_FOCUSRANGE
@ MNOTE_OLYMPUS_TAG_LIGHTVALUEPERIPHERY
@ MNOTE_OLYMPUS_TAG_EXTERNALFLASHBOUNCE
@ MNOTE_NIKON_TAG_VARIPROGRAM
@ MNOTE_SANYO_TAG_FOCUSMODE
@ MNOTE_SANYO_TAG_QUICKSHOT
@ MNOTE_NIKON_TAG_PREVIEWIMAGE_IFD_POINTER
@ MNOTE_NIKON_TAG_TOTALPICTURES
@ MNOTE_SANYO_TAG_CCDSENSITIVITY
@ MNOTE_NIKON_TAG_MULTIEXPOSURE
@ MNOTE_OLYMPUS_TAG_IMAGEHEIGHT
@ MNOTE_NIKON_TAG_SATURATION2
@ MNOTE_OLYMPUS_TAG_SHUTTERSPEED
@ MNOTE_OLYMPUS_TAG_MODE
@ MNOTE_OLYMPUS_TAG_ONETOUCHWB
@ MNOTE_NIKON_TAG_WORLDTIME
@ MNOTE_OLYMPUS_TAG_FLASHDEVICE
@ MNOTE_OLYMPUS_TAG_CONTRAST
@ MNOTE_OLYMPUS_TAG_FLASHMODE
@ MNOTE_SANYO_TAG_COLORADJUSTMENTMODE
@ MNOTE_NIKON_TAG_ISO2
@ MNOTE_NIKON_TAG_LENSDATA
@ MNOTE_NIKON1_TAG_CCDSENSITIVITY
@ MNOTE_NIKON_TAG_WHITEBALANCERB
@ MNOTE_OLYMPUS_TAG_PRECAPTUREFRAMES
@ MNOTE_NIKON_TAG_LOCATIONINFO
@ MNOTE_NIKON1_TAG_IMAGEADJUSTMENT
@ MNOTE_OLYMPUS_TAG_LENSTEMPERATURE
@ MNOTE_NIKON_TAG_ISOSELECTION
@ MNOTE_OLYMPUS_TAG_EXTERNALFLASHGVALUE
@ MNOTE_OLYMPUS_TAG_VERSION
@ MNOTE_NIKON_TAG_SATURATION
@ MNOTE_OLYMPUS_TAG_SHARPNESS
@ MNOTE_NIKON_TAG_COLORMODE
@ MNOTE_SANYO_TAG_SELFTIMER
@ MNOTE_OLYMPUS_TAG_SENSORTEMPERATURE
@ MNOTE_OLYMPUS_TAG_FLASHEXPOSURECOMP
@ MNOTE_OLYMPUS_TAG_ISOVALUE
@ MNOTE_NIKON_TAG_UNKNOWN_0X009B
@ MNOTE_NIKON_TAG_FLASHINFO
@ MNOTE_NIKON_TAG_EXPOSUREBRACKETVAL
@ MNOTE_NIKON_TAG_VIGNETTECONTROL
@ MNOTE_OLYMPUS_TAG_NOISEREDUCTION
@ MNOTE_NIKON_TAG_UNKNOWN_0X00A3
@ MNOTE_OLYMPUS_TAG_EXTERNALFLASHZOOM
@ MNOTE_SANYO_TAG_MANUALFOCUSDISTANCE
@ MNOTE_NIKON_TAG_SENSORPIXELSIZE
@ MNOTE_OLYMPUS_TAG_BWMODE
@ MNOTE_NIKON_TAG_EXPOSUREDIFF
@ MNOTE_OLYMPUS_TAG_QUALITY
@ MNOTE_SANYO_TAG_WIDERANGE
@ MNOTE_OLYMPUS_TAG_SCENEDETECT
@ MNOTE_OLYMPUS_TAG_MACRO
@ MNOTE_OLYMPUS_TAG_CCDSCANMODE
@ MNOTE_NIKON_TAG_UNKNOWN_0X008A
@ MNOTE_NIKON1_TAG_UNKNOWN_0X0009
@ MNOTE_OLYMPUS_TAG_UNKNOWN_4
@ MNOTE_NIKON_TAG_MANUALFOCUSDISTANCE
@ MNOTE_OLYMPUS_TAG_PREVIEWIMAGEVALID
@ MNOTE_OLYMPUS_TAG_COLORMATRIX
@ MNOTE_OLYMPUS_TAG_SERIALNUMBER2
@ MNOTE_OLYMPUS_TAG_DATADUMP
@ MNOTE_OLYMPUS_TAG_LIGHTVALUECENTER
@ MNOTE_NIKON1_TAG_COLORMODE
@ MNOTE_EPSON_TAG_IMAGE_WIDTH
@ MNOTE_NIKON_TAG_FLASHMODE
@ MNOTE_OLYMPUS_TAG_EXPOSURECOMP
@ MNOTE_NIKON_TAG_OPTIMIZATION
@ MNOTE_NIKON1_TAG_DIGITALZOOM
@ MNOTE_OLYMPUS_TAG_BLACKLEVEL
@ MNOTE_OLYMPUS_TAG_WHITEBALANCEBRACKET
@ MNOTE_NIKON1_TAG_UNKNOWN_0X0002
@ MNOTE_NIKON_TAG_AFINFO2
@ MNOTE_OLYMPUS_TAG_FOCUSDIST
@ MNOTE_OLYMPUS_TAG_IMAGEWIDTH
@ MNOTE_NIKON_TAG_FACEDETECT
@ MNOTE_NIKON_TAG_CURVE
@ MNOTE_NIKON_TAG_RETOUCHINFO
@ MNOTE_NIKON_TAG_COLORTEMPERATUREAUTO
@ MNOTE_OLYMPUS_TAG_COLORMATRIXNUMBER
@ MNOTE_NIKON_TAG_LIGHTTYPE
@ MNOTE_OLYMPUS_TAG_THUMBNAILIMAGE
@ MNOTE_NIKON_TAG_FLASHEXPCOMPENSATION
@ MNOTE_NIKON_TAG_FIRMWARE
@ MNOTE_OLYMPUS_TAG_INFO
@ MNOTE_NIKON1_TAG_CONVERTER
@ MNOTE_NIKON_TAG_HIGHISONR
@ MNOTE_OLYMPUS_TAG_LIGHTCONDITION
@ MNOTE_NIKON_TAG_COLORBALANCE
@ MNOTE_SANYO_TAG_VOICEMEMO
@ MNOTE_OLYMPUS_TAG_INFINITYLENSSTEP
@ MNOTE_NIKON_TAG_NIKONSETTINGS
@ MNOTE_SANYO_TAG_DIGITALZOOM
@ MNOTE_NIKON_TAG_ADAPTER
@ MNOTE_NIKON_TAG_TONINGEFFECT
@ MNOTE_NIKON_TAG_COLORSPACE
@ MNOTE_NIKON_TAG_HDRINFO
@ MNOTE_OLYMPUS_TAG_WBALANCE
@ MNOTE_NIKON_TAG_SHOTINFO
@ MNOTE_NIKON_TAG_WHITEBALANCE
@ MNOTE_NIKON_TAG_FLASHEXPOSUREBRACKETVAL
@ MNOTE_OLYMPUS_TAG_NEARLENSSTEP
@ MNOTE_OLYMPUS_TAG_MANFOCUS
@ MNOTE_NIKON_TAG_MECHANICALSHUTTERCOUNT
@ MNOTE_NIKON_TAG_LENSTYPE
@ MNOTE_NIKON_TAG_FLASHUSED
@ MNOTE_NIKON1_TAG_FOCUS
@ MNOTE_OLYMPUS_TAG_FLASHCHARGELEVEL
@ MNOTE_NIKON_TAG_ACTIVEDLIGHTING
@ MNOTE_OLYMPUS_TAG_EXTERNALFLASHMODE
@ MNOTE_OLYMPUS_TAG_INTERNALFLASHTABLE
@ MNOTE_OLYMPUS_TAG_BLUEBALANCE
@ MNOTE_NIKON_TAG_QUALITY
@ MNOTE_NIKON_TAG_AFFOCUSPOSITION
@ MNOTE_NIKON_TAG_LENS_FSTOPS
@ MNOTE_SANYO_TAG_RESAVED
@ MNOTE_SANYO_TAG_SEQUENTIALSHOT
@ MNOTE_OLYMPUS_TAG_BRIGHTNESSVALUE
@ MNOTE_NIKON_TAG_CAPTUREEDITORVER
@ MNOTE_NIKON_TAG_SHARPENING
@ MNOTE_NIKON_TAG_NOISEREDUCTION
@ MNOTE_NIKON_TAG_EXPOSURETUNING
@ MNOTE_NIKON_TAG_CROPHISPEED
@ MNOTE_NIKON_TAG_SERIALNUMBER
@ MNOTE_NIKON_TAG_HUE
@ MNOTE_NIKON_TAG_RETOUCHHISTORY
@ MNOTE_EPSON_TAG_IMAGE_HEIGHT
@ MNOTE_NIKON_TAG_LENS
@ MNOTE_NIKON_TAG_FILEINFO
@ MNOTE_OLYMPUS_TAG_DIGIZOOM
@ MNOTE_NIKON_TAG_EXTERNALFLASHEXPCOMPENSATION
@ MNOTE_OLYMPUS_TAG_ZOOMSTEPCOUNT
@ MNOTE_SANYO_TAG_RECORDSHUTTERRELEASE
@ MNOTE_SANYO_TAG_SCENESELECT
@ MNOTE_NIKON_TAG_TONECOMPENSATION
@ MNOTE_NIKON_TAG_VRINFO
@ MNOTE_NIKON_TAG_IMAGE_DATASIZE
@ MNOTE_NIKON_TAG_ISOINFO
@ MNOTE_NIKON_TAG_ISO
@ MNOTE_OLYMPUS_TAG_WHITEBALANCEBIAS
@ MNOTE_NIKON_TAG_DIGITALZOOM
@ MNOTE_SANYO_TAG_SEQUENCESHOTINTERVAL
@ MNOTE_OLYMPUS_TAG_SHARPNESSFACTOR
@ MNOTE_NIKON_TAG_UNKNOWN_0X0E0E
@ MNOTE_OLYMPUS_TAG_WHITEBOARD
@ MNOTE_NIKON_TAG_BRACKETING
@ MNOTE_OLYMPUS_TAG_LENSDISTORTION
@ MNOTE_NIKON_TAG_FOCUSMODE
@ MNOTE_NIKON1_TAG_QUALITY
@ MNOTE_OLYMPUS_TAG_AFRESULT
@ MNOTE_NIKON_TAG_DISTORTINFO
@ MNOTE_NIKON_TAG_POWERUPTIME
@ MNOTE_NIKON_TAG_FLASHSETTING
@ MNOTE_NIKON_TAG_CROPAREA
@ MNOTE_NIKON_TAG_IMAGEBOUNDARY
@ MNOTE_NIKON_TAG_UNKNOWN_0X0E10
@ MNOTE_OLYMPUS_TAG_APERTUREVALUE
@ MNOTE_SANYO_TAG_OPTICALZOOM
@ MNOTE_NIKON_TAG_CAPTUREEDITORDATA
@ MNOTE_OLYMPUS_TAG_COMPRESSIONRATIO
@ MNOTE_NIKON_TAG_COLORMODE1
@ MNOTE_NIKON_TAG_SHUTTERMODE
@ MNOTE_NIKON_TAG_IMAGEAUTHENTICATION
@ MNOTE_OLYMPUS_TAG_COLORCONTROL
@ MNOTE_SANYO_TAG_LIGHTSOURCESPECIAL
@ MNOTE_NIKON_TAG_WHITEBALANCEFINE
enum _MnoteOlympusTag MnoteOlympusTag
#define MNOTE_NIKON_TAG_PREVIEWIMAGE

libexif Generated by doxygen