Exiv2
canonmn_int.hpp
Go to the documentation of this file.
1 // ***************************************************************** -*- C++ -*-
2 /*
3  * Copyright (C) 2004-2021 Exiv2 authors
4  * This program is part of the Exiv2 distribution.
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2
9  * of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
19  */
32 #ifndef CANONMN_INT_HPP_
33 #define CANONMN_INT_HPP_
34 
35 // *****************************************************************************
36 // included header files
37 #include "tags.hpp"
38 #include "types.hpp"
39 
40 // + standard includes
41 #include <string>
42 #include <iosfwd>
43 #include <memory>
44 
45 // *****************************************************************************
46 // namespace extensions
47 namespace Exiv2 {
48  class Value;
49 
50  namespace Internal {
51 
52 // *****************************************************************************
53 // class definitions
54 
57  public:
59  static const TagInfo* tagList();
61  static const TagInfo* tagListCs();
63  static const TagInfo* tagListSi();
65  static const TagInfo* tagListPa();
67  static const TagInfo* tagListCf();
69  static const TagInfo* tagListPi();
71  static const TagInfo* tagListTi();
73  static const TagInfo* tagListFi();
75  static const TagInfo* tagListPr();
77  static const TagInfo* tagListMv();
79  static const TagInfo* tagListMc();
81  static const TagInfo* tagListAf3();
83  static const TagInfo* tagListFcd3();
85  static const TagInfo* tagListWbi();
87  static const TagInfo* tagListCo();
89  static const TagInfo* tagListFcd2();
91  static const TagInfo* tagListFcd1();
93  static const TagInfo* tagListAs();
95  static const TagInfo* tagListCbi();
97  static const TagInfo* tagListFl();
99  static const TagInfo* tagListMo();
101  static const TagInfo* tagListPreI();
103  static const TagInfo* tagListCi();
105  static const TagInfo* tagListAfMiAdj();
107  static const TagInfo* tagListVigCor();
109  static const TagInfo* tagListVigCor2();
111  static const TagInfo* tagListLiOp();
113  static const TagInfo* tagListLe();
115  static const TagInfo* tagListAm();
117  static const TagInfo* tagListMe();
119  static const TagInfo* tagListFil();
121  static const TagInfo* tagListHdr();
123  static const TagInfo* tagListAfC();
125  static const TagInfo* tagListRawB();
127  static const TagInfo* tagListAf2();
128 
129 
130 
131 
132 
133 
134 
135 
137 
138  static std::ostream& printFiFileNumber(std::ostream& os, const Value& value, const ExifData* metadata);
141  static std::ostream& printFocalLength(std::ostream& os, const Value& value, const ExifData*);
143  static std::ostream& print0x0008(std::ostream& os, const Value& value, const ExifData*);
145  static std::ostream& print0x000c(std::ostream& os, const Value& value, const ExifData*);
147  static std::ostream& printCs0x0002(std::ostream& os, const Value& value, const ExifData*);
149  static std::ostream& printCsLensType(std::ostream& os, const Value& value, const ExifData* metadata);
151  static std::ostream& printCsLens(std::ostream& os, const Value& value, const ExifData*);
153  static std::ostream& printSi0x0001(std::ostream& os, const Value& value, const ExifData*);
155  static std::ostream& printSi0x0002(std::ostream& os, const Value& value, const ExifData*);
157  static std::ostream& printSi0x0003(std::ostream& os, const Value& value, const ExifData*);
159  static std::ostream& printSi0x0009(std::ostream& os, const Value& value, const ExifData*);
161  static std::ostream& printSi0x000c(std::ostream& os, const Value& value, const ExifData*);
163  static std::ostream& printSi0x000d(std::ostream& os, const Value& value, const ExifData*);
165  static std::ostream& printSi0x000e(std::ostream& os, const Value& value, const ExifData* pExifData);
167  static std::ostream& printSi0x0013(std::ostream& os, const Value& value, const ExifData*);
169  static std::ostream& printSi0x0015(std::ostream& os, const Value& value, const ExifData*);
171  static std::ostream& printSi0x0016(std::ostream& os, const Value& value, const ExifData*);
173  static std::ostream& printSi0x0017(std::ostream& os, const Value& value, const ExifData*);
175  static std::ostream& printSi0x0018(std::ostream& os, const Value& value, const ExifData*);
177  static std::ostream& printFiFocusDistance(std::ostream& os, const Value& value, const ExifData*);
179 
180  private:
181  // DATA
182 
184  static const TagInfo tagInfo_[];
185  static const TagInfo tagInfoAf2_[];
186  static const TagInfo tagInfoAf3_[];
187  static const TagInfo tagInfoAfC_[];
188  static const TagInfo tagInfoAfMiAdj_[];
189  static const TagInfo tagInfoAm_[];
190  static const TagInfo tagInfoAs_[];
191  static const TagInfo tagInfoCs_[];
192  static const TagInfo tagInfoCbi_[];
193  static const TagInfo tagInfoSi_[];
194  static const TagInfo tagInfoCf_[];
195  static const TagInfo tagInfoCi_[];
196  static const TagInfo tagInfoCo_[];
197  static const TagInfo tagInfoFl_[];
198  static const TagInfo tagInfoFil_[];
199  static const TagInfo tagInfoLiOp_[];
200  static const TagInfo tagInfoLe_[];
201  static const TagInfo tagInfoHdr_[];
202  static const TagInfo tagInfoMe_[];
203  static const TagInfo tagInfoMo_[];
204  static const TagInfo tagInfoMv_[];
205  static const TagInfo tagInfoMc_[];
206  static const TagInfo tagInfoFcd1_[];
207  static const TagInfo tagInfoFcd2_[];
208  static const TagInfo tagInfoFcd3_[];
209  static const TagInfo tagInfoPi_[];
210  static const TagInfo tagInfoTi_[];
211  static const TagInfo tagInfoFi_[];
212  static const TagInfo tagInfoPa_[];
213  static const TagInfo tagInfoPr_[];
214  static const TagInfo tagInfoPreI_[];
215  static const TagInfo tagInfoVigCor_[];
216  static const TagInfo tagInfoVigCor2_[];
217  static const TagInfo tagInfoWbi_[];
218  static const TagInfo tagInfoRawB_ [];
219 
220 
221  }; // class CanonMakerNote
222 
223 // *****************************************************************************
224 // template, inline and free functions
225 
241  float canonEv(long val);
242 
243 }} // namespace Internal, Exiv2
244 
245 #endif // #ifndef CANONMN_INT_HPP_
246 
247 
Exiv2::Internal::TagDetails
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:225
Exiv2::Internal::canonPiAFPointsUsed20D
const TagDetailsBitmask canonPiAFPointsUsed20D[]
AFPointsUsed20D, tag 0x001a.
Exiv2::Internal::CanonMakerNote::printFiFocusDistance
static std::ostream & printFiFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Focus Distance.
Definition: canonmn_int.cpp:3175
Exiv2::Internal::CanonMakerNote::tagListCf
static const TagInfo * tagListCf()
Return read-only list of built-in Canon Custom Function tags.
Definition: canonmn_int.cpp:2420
Exiv2::Internal::CanonMakerNote::printCsLens
static std::ostream & printCsLens(std::ostream &os, const Value &value, const ExifData *)
Camera lens information.
Definition: canonmn_int.cpp:2972
Exiv2::Internal::CanonMakerNote::tagListPreI
static const TagInfo * tagListPreI()
Return read-only list of built-in Canon Preview Image Info tags.
Definition: canonmn_int.cpp:940
Exiv2::Internal::CanonMakerNote::tagListAs
static const TagInfo * tagListAs()
Return read-only list of built-in Canon Aspect Info tags.
Definition: canonmn_int.cpp:846
Exiv2::Internal::canonCsMeteringMode
const TagDetails canonCsMeteringMode[]
MeteringMode, tag 0x0011.
Exiv2::Internal::CanonMakerNote::tagListMc
static const TagInfo * tagListMc()
Return read-only list of built-in Canon My Colors Info tags.
Definition: canonmn_int.cpp:692
Exiv2::Internal::canonCsRecordMode
const TagDetails canonCsRecordMode[]
RecordMode, tag 0x0009.
Exiv2::Internal::canonEv
float canonEv(long val)
Convert Canon hex-based EV (modulo 0x20) to real number Ported from Phil Harvey's Image::ExifTool::Ca...
Definition: canonmn_int.cpp:3203
Exiv2::Internal::LensTypeAndFocalLengthAndMaxAperture::focalLengthMin_
float focalLengthMin_
Mininum focal length.
Definition: canonmn_int.cpp:2813
Exiv2::Internal::CanonMakerNote::tagListVigCor
static const TagInfo * tagListVigCor()
Return read-only list of built-in Canon VignettingCorr Info tags.
Definition: canonmn_int.cpp:990
Exiv2::Internal::printBitmask
std::ostream & printBitmask(std::ostream &os, const Value &value, const ExifData *metadata)
Print a bitmask as (none) | n | n,m... where: (none) = no bits set | n = bit n from left (0=left-most...
Definition: tags_int.cpp:2552
Exiv2::Internal::canonCsExposureProgram
const TagDetails canonCsExposureProgram[]
ExposureProgram, tag 0x0014.
Exiv2::Internal::CanonMakerNote::printFocalLength
static std::ostream & printFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print the focal length.
Definition: canonmn_int.cpp:2721
exif.hpp
Encoding and decoding of Exif data.
Exiv2::Internal::CanonMakerNote::printSi0x0013
static std::ostream & printSi0x0013(std::ostream &os, const Value &value, const ExifData *)
Subject distance.
Definition: canonmn_int.cpp:3100
Exiv2::ExifData::findKey
iterator findKey(const ExifKey &key)
Find the first Exifdatum with the given key, return an iterator to it.
Definition: exif.cpp:605
Exiv2::Value
Common interface for all types of values used with metadata.
Definition: value.hpp:51
Exiv2::Internal::CanonMakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Canon tags.
Definition: canonmn_int.cpp:645
Exiv2::Internal::canonSiFlashBias
const TagDetails canonSiFlashBias[]
FlashBias, tag 0x000f.
Exiv2::Internal::printCsLensByFocalLengthAndMaxAperture
std::ostream & printCsLensByFocalLengthAndMaxAperture(std::ostream &os, const Value &value, const ExifData *metadata)
Special treatment pretty-print function for non-unique lens ids.
Definition: canonmn_int.cpp:2862
Exiv2::Internal::canonCsEasyMode
const TagDetails canonCsEasyMode[]
EasyMode, tag 0x000b.
Exiv2::Internal::CanonMakerNote::printSi0x000d
static std::ostream & printSi0x000d(std::ostream &os, const Value &value, const ExifData *)
Flash Guide Number.
Definition: canonmn_int.cpp:3070
Exiv2::Internal::exposureTime
URational exposureTime(float shutterSpeedValue)
Calculate the exposure time from an APEX shutter speed value.
Definition: tags_int.cpp:2585
Exiv2::Internal::CanonMakerNote::printSi0x0009
static std::ostream & printSi0x0009(std::ostream &os, const Value &value, const ExifData *)
Sequence number.
Definition: canonmn_int.cpp:3048
Exiv2::Internal::CanonMakerNote::printSi0x000e
static std::ostream & printSi0x000e(std::ostream &os, const Value &value, const ExifData *pExifData)
AF point used.
Definition: canonmn_int.cpp:3079
Exiv2::Internal::CanonMakerNote::printSi0x0018
static std::ostream & printSi0x0018(std::ostream &os, const Value &value, const ExifData *)
Bulb Duration.
Definition: canonmn_int.cpp:3168
Exiv2::ExifData::const_iterator
ExifMetadata::const_iterator const_iterator
ExifMetadata const iterator type.
Definition: exif.hpp:439
Exiv2::Internal::canonCsManualFlashOutput
const TagDetails canonCsManualFlashOutput[]
ManualFlashOutput, tag 0x0029.
Exiv2::undefined
@ undefined
Exif UNDEFINED type, an 8-bit byte that may contain anything.
Definition: types.hpp:126
Exiv2::Internal::canonColorSpace
const TagDetails canonColorSpace[]
ColorSpace, tag 0x00b4.
Exiv2::Value::typeId
TypeId typeId() const
Return the type identifier (Exif data format type).
Definition: value.hpp:104
Exiv2::Internal::canonSiWhiteBalance
const TagDetails canonSiWhiteBalance[]
WhiteBalance, multiple tags.
Exiv2::Internal::CanonMakerNote::tagListCo
static const TagInfo * tagListCo()
Return read-only list of built-in Canon Contrast Info tags.
Definition: canonmn_int.cpp:741
Exiv2::Internal::CanonMakerNote::tagListLiOp
static const TagInfo * tagListLiOp()
Return read-only list of built-in Canon LightingOpt Info tags.
Definition: canonmn_int.cpp:1039
Exiv2::Internal::canonCsMacro
const TagDetails canonCsMacro[]
Macro, tag 0x0001.
Exiv2::Internal::canonCsFlashDetails
const TagDetailsBitmask canonCsFlashDetails[]
FlashDetails, tag 0x001d.
Exiv2::Internal::canonPaDirection
const TagDetails canonPaDirection[]
PanoramaDirection, tag 0x0005.
Exiv2::signedShort
@ signedShort
Exif SSHORT type, a 16-bit (2-byte) signed (twos-complement) integer.
Definition: types.hpp:127
Exiv2::Internal::CanonMakerNote::tagListAm
static const TagInfo * tagListAm()
Return read-only list of built-in Canon Ambience Info tags.
Definition: canonmn_int.cpp:1074
Exiv2::Internal::canonSerialNumberFormat
const TagDetails canonSerialNumberFormat[]
SerialNumberFormat, tag 0x0015.
Exiv2::asciiString
@ asciiString
Exif ASCII type, 8-bit byte.
Definition: types.hpp:121
Exiv2::Internal::printCsLensFFFF
std::ostream & printCsLensFFFF(std::ostream &os, const Value &value, const ExifData *metadata)
Special treatment pretty-print function for non-unique lens ids.
Definition: canonmn_int.cpp:2789
Exiv2::Internal::canonCsLnh
const TagDetails canonCsLnh[]
Contrast, Saturation Sharpness, tags 0x000d, 0x000e, 0x000f.
Exiv2::Internal::canonCsFocusType
const TagDetails canonCsFocusType[]
FocusType, tag 0x0012.
Exiv2::Internal::LensTypeAndFocalLengthAndMaxAperture::focalLengthMax_
float focalLengthMax_
Maximum focal length.
Definition: canonmn_int.cpp:2814
Exiv2::Internal::canonPiAFPointsUsed
const TagDetailsBitmask canonPiAFPointsUsed[]
AFPointsUsed, tag 0x0016.
Exiv2::Internal::CanonMakerNote::tagListFcd3
static const TagInfo * tagListFcd3()
Return read-only list of built-in Canon Face detection Info tags.
Definition: canonmn_int.cpp:770
Exiv2::Internal::CanonMakerNote::tagListMe
static const TagInfo * tagListMe()
Return read-only list of built-in Canon MultiExposureControl Info tags.
Definition: canonmn_int.cpp:1101
Exiv2::Value::count
virtual long count() const =0
Return the number of components of the value.
Exiv2::Internal::canonCsFocusContinuous
const TagDetails canonCsFocusContinuous[]
FocusContinuous, tag 0x0020.
Exiv2::ExifData::end
iterator end()
End of the metadata.
Definition: exif.hpp:492
Exiv2::Internal::LensTypeAndFocalLengthAndMaxAperture::maxAperture_
std::string maxAperture_
Aperture.
Definition: canonmn_int.cpp:2816
Exiv2::Internal::canonFilterEffect
const TagDetails canonFilterEffect[]
FilterEffect, tag 0x000e.
Exiv2::Internal::canonCsDriveMode
const TagDetails canonCsDriveMode[]
DriveMode, tag 0x0005.
Exiv2::Internal::TagDetails::val_
int64_t val_
Tag value.
Definition: tags_int.hpp:226
Exiv2::unsignedLong
@ unsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
Definition: types.hpp:123
Exiv2::Internal::canonNoiseReduction
const TagDetails canonNoiseReduction[]
NoiseReduction, tag 0x0008.
Exiv2::Internal::LensTypeAndFocalLengthAndMaxAperture::focalLength_
std::string focalLength_
Focal length as a string.
Definition: canonmn_int.cpp:2815
Exiv2::Internal::CanonMakerNote::print0x0008
static std::ostream & print0x0008(std::ostream &os, const Value &value, const ExifData *)
Print the image number.
Definition: canonmn_int.cpp:2749
Exiv2::Internal::CanonMakerNote::tagListAf2
static const TagInfo * tagListAf2()
Return read-only list of built-in Canon AFInfo2 Info tags.
Definition: canonmn_int.cpp:795
Exiv2::Internal::canonCsImageStabilization
const TagDetails canonCsImageStabilization[]
ImageStabilization, tag 0x0022.
Exiv2::Internal::CanonMakerNote::printSi0x0003
static std::ostream & printSi0x0003(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV.
Definition: canonmn_int.cpp:3029
Exiv2::Internal::CanonMakerNote::tagListFil
static const TagInfo * tagListFil()
Return read-only list of built-in Canon Filter Info tags.
Definition: canonmn_int.cpp:1132
Exiv2::Internal::CanonMakerNote::tagListRawB
static const TagInfo * tagListRawB()
Return read-only list of built-in Canon RawBurstInfo Info tags.
Definition: canonmn_int.cpp:1309
Exiv2::Internal::canonOffOn
const TagDetails canonOffOn[]
OffOn, multiple tags.
Exiv2::Internal::extractLensFocalLength
void extractLensFocalLength(LensTypeAndFocalLengthAndMaxAperture &ltfl, const ExifData *metadata)
extractLensFocalLength from metadata
Definition: canonmn_int.cpp:2827
canonmn_int.hpp
Canon makernote tags. References: [1] EXIF MakerNote of Canon by David Burren [2] Canon makernote t...
Exiv2::Internal::CanonMakerNote::tagListAfMiAdj
static const TagInfo * tagListAfMiAdj()
Return read-only list of built-in Canon AFMicroAdjMode Quality Info tags.
Definition: canonmn_int.cpp:971
Exiv2::Internal::TagDetailsBitmask
Helper structure for lookup tables for translations of bitmask values to human readable labels.
Definition: tags_int.hpp:237
Exiv2::Internal::lensIdFct
const LensIdFct lensIdFct[]
List of lens ids which require special treatment with the medicine.
Definition: canonmn_int.cpp:2092
Exiv2::Internal::CanonMakerNote::printFiFileNumber
static std::ostream & printFiFileNumber(std::ostream &os, const Value &value, const ExifData *metadata)
Print the FileInfo FileNumber.
Definition: canonmn_int.cpp:2680
Exiv2::Value::toFloat
virtual float toFloat(long n=0) const =0
Convert the n-th component of the value to a float. The behaviour of this method may be undefined if ...
Exiv2::Internal::canonPictureStyle
const TagDetails canonPictureStyle[]
PictureStyle Values.
Exiv2::Internal::canonBracketMode
const TagDetails canonBracketMode[]
BracketMode, tag 0x0003.
Exiv2::unsignedRational
@ unsignedRational
Exif RATIONAL type, two LONGs: numerator and denumerator of a fraction.
Definition: types.hpp:124
Exiv2::PrintFct
std::ostream &(* PrintFct)(std::ostream &, const Value &, const ExifData *pExifData)
Type for a function pointer for functions interpreting the tag value.
Definition: tags.hpp:49
Exiv2::Internal::canonToningEffect
const TagDetails canonToningEffect[]
ToningEffect, tag 0x000e.
Exiv2::Internal::CanonMakerNote::tagListCi
static const TagInfo * tagListCi()
Return read-only list of built-in Canon Color Info tags.
Definition: canonmn_int.cpp:952
Exiv2::Internal::CanonMakerNote::printSi0x0002
static std::ostream & printSi0x0002(std::ostream &os, const Value &value, const ExifData *)
ISO speed used.
Definition: canonmn_int.cpp:3015
Exiv2::Internal::canonModelId
const TagDetails canonModelId[]
ModelId, tag 0x0010.
Exiv2::Internal::canonSharpnessFrequency
const TagDetails canonSharpnessFrequency[]
Sharpness Frequency Values.
Exiv2::Internal::CanonMakerNote::tagListCbi
static const TagInfo * tagListCbi()
Return read-only list of built-in Canon Balance Info tags.
Definition: canonmn_int.cpp:866
Exiv2::Internal::canonRFLensType
const TagDetails canonRFLensType[]
RFLensType, tag 0x003D.
Exiv2::Internal::LensIdFct::id_
long id_
Lens id.
Definition: canonmn_int.cpp:2085
Exiv2::Internal::canonCsFlashMode
const TagDetails canonCsFlashMode[]
FlashMode, tag 0x0004.
Exiv2::Internal::LensIdFct::fct_
PrintFct fct_
Pretty-print function Comparison operator for find template.
Definition: canonmn_int.cpp:2086
Exiv2::Internal::canonCsAESetting
const TagDetails canonCsAESetting[]
AESetting, tag 0x0021.
Exiv2::Internal::canonRawJpgSize
const TagDetails canonRawJpgSize[]
RawJpgSize, tag 0x0007.
Exiv2::Internal::CanonMakerNote::printSi0x0001
static std::ostream & printSi0x0001(std::ostream &os, const Value &value, const ExifData *)
AutoISO speed used.
Definition: canonmn_int.cpp:3002
Exiv2::Internal::CanonMakerNote::printSi0x0017
static std::ostream & printSi0x0017(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV2.
Definition: canonmn_int.cpp:3153
Exiv2::Internal::CanonMakerNote::tagListMo
static const TagInfo * tagListMo()
Return read-only list of built-in Canon Modified On Info tags.
Definition: canonmn_int.cpp:913
Exiv2::Internal::CanonMakerNote::tagListPr
static const TagInfo * tagListPr()
Return read-only list of built-in Canon Processing Info tags.
Definition: canonmn_int.cpp:2623
Exiv2::Internal::canonCsDigitalZoom
const TagDetails canonCsDigitalZoom[]
DigitalZoom, tag 0x000c.
Exiv2::Internal::canonWBBracketMode
const TagDetails canonWBBracketMode[]
WBBracketMode, tag 0x0009.
Exiv2::Internal::canonCsQuality
const TagDetails canonCsQuality[]
Quality, tag 0x0003.
Exiv2::unsignedByte
@ unsignedByte
Exif BYTE type, 8-bit unsigned integer.
Definition: types.hpp:120
Exiv2::Internal::printCsLensByFocalLengthTC
std::ostream & printCsLensByFocalLengthTC(std::ostream &os, const Value &value, const ExifData *metadata)
Special treatment pretty-print function for non-unique lens ids.
Definition: canonmn_int.cpp:2921
Exiv2::Internal::printValue
std::ostream & printValue(std::ostream &os, const Value &value, const ExifData *)
Default print function, using the Value output operator.
Definition: tags_int.cpp:2547
Exiv2::Internal::CanonMakerNote::printCs0x0002
static std::ostream & printCs0x0002(std::ostream &os, const Value &value, const ExifData *)
Self timer.
Definition: canonmn_int.cpp:2772
Exiv2::Internal::canonSiAFPointUsed
const TagDetailsBitmask canonSiAFPointUsed[]
AFPointUsed, tag 0x000e.
Exiv2::ExifKey
Concrete keys for Exif metadata and access to Exif tag reference data.
Definition: tags.hpp:140
Exiv2::Value::toString
std::string toString() const
Return the value as a string. Implemented in terms of write(std::ostream& os) const of the concrete c...
Definition: value.cpp:168
Exiv2::Internal::print0x000c
std::ostream & print0x000c(std::ostream &os, const Value &value, const ExifData *metadata)
Print GPS speed ref.
Definition: tags_int.cpp:2766
Exiv2::Internal::CanonMakerNote::tagListTi
static const TagInfo * tagListTi()
Return read-only list of built-in Canon Time Info tags.
Definition: canonmn_int.cpp:2675
Exiv2::Internal::TagDetails::label_
const char * label_
Translation of the tag value.
Definition: tags_int.hpp:227
Exiv2::find
const T * find(T(&src)[N], const K &key)
Find an element that matches key in the array src.
Definition: types.hpp:497
Exiv2::Internal::canonCsImageSize
const TagDetails canonCsImageSize[]
ImageSize, tag 0x000a.
Exiv2::Internal::CanonMakerNote::tagListAfC
static const TagInfo * tagListAfC()
Return read-only list of built-in Canon AFConfig Info tags.
Definition: canonmn_int.cpp:1296
Exiv2::Internal::LensIdFct
A lens id and a pretty-print function for special treatment of the id.
Definition: canonmn_int.cpp:2084
Exiv2::Internal::CanonMakerNote::tagListSi
static const TagInfo * tagListSi()
Return read-only list of built-in Canon Shot Info tags.
Definition: canonmn_int.cpp:2372
Exiv2::Value::toLong
virtual long toLong(long n=0) const =0
Convert the n-th component of the value to a long. The behaviour of this method may be undefined if t...
Exiv2::unsignedShort
@ unsignedShort
Exif SHORT type, 16-bit (2-byte) unsigned integer.
Definition: types.hpp:122
Exiv2::Internal::LensTypeAndFocalLengthAndMaxAperture::lensType_
long lensType_
Lens type.
Definition: canonmn_int.cpp:2812
Exiv2::Internal::CanonMakerNote::tagListLe
static const TagInfo * tagListLe()
Return read-only list of built-in Canon LensInfo Info tags.
Definition: canonmn_int.cpp:1049
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exiv2::Internal::canonSuperMacro
const TagDetails canonSuperMacro[]
SuperMacro, tag 0x001a.
Exiv2::Internal::CanonMakerNote::tagListFcd1
static const TagInfo * tagListFcd1()
Return read-only list of built-in Canon Face detection 2 Info tags.
Definition: canonmn_int.cpp:712
Exiv2::signedLong
@ signedLong
Exif SLONG type, a 32-bit (4-byte) signed (twos-complement) integer.
Definition: types.hpp:128
Exiv2::Internal::canonCsPhotoEffect
const TagDetails canonCsPhotoEffect[]
PhotoEffect, tag 0x0028.
Exiv2::Internal::CanonMakerNote::printSi0x000c
static std::ostream & printSi0x000c(std::ostream &os, const Value &value, const ExifData *)
Ambient Temperature.
Definition: canonmn_int.cpp:3061
Exiv2::Internal::canonCsSpotMeteringMode
const TagDetails canonCsSpotMeteringMode[]
SpotMeteringMode, tag 0x0027.
Exiv2::Internal::CanonMakerNote::print0x000c
static std::ostream & print0x000c(std::ostream &os, const Value &value, const ExifData *)
Print the serial number of the camera.
Definition: canonmn_int.cpp:2759
Exiv2::Internal::CanonMakerNote::tagListMv
static const TagInfo * tagListMv()
Return read-only list of built-in Canon Movie Info tags.
Definition: canonmn_int.cpp:663
Exiv2::signedRational
@ signedRational
Exif SRATIONAL type, two SLONGs: numerator and denumerator of a fraction.
Definition: types.hpp:129
Exiv2::Internal::canonCsFocusMode
const TagDetails canonCsFocusMode[]
FocusMode, tag 0x0007.
Exiv2::Internal::LensTypeAndFocalLengthAndMaxAperture
Helper structure.
Definition: canonmn_int.cpp:2811
Exiv2::TagInfo
Tag information.
Definition: tags.hpp:74
Exiv2::Internal::canonTimeZoneCity
const TagDetails canonTimeZoneCity[]
canonTimeZoneCity - array of cityID/cityName used by Canon
Exiv2::Internal::CanonMakerNote::tagListHdr
static const TagInfo * tagListHdr()
Return read-only list of built-in Canon HDR Info tags.
Definition: canonmn_int.cpp:1161
Exiv2::Internal::canonCsAfPoint
const TagDetails canonCsAfPoint[]
AFPoint, tag 0x0013.
Exiv2::Internal::canonCsLensType
const TagDetails canonCsLensType[]
LensType, tag 0x0016.
Exiv2::Internal::operator==
bool operator==(const TagDetails &td, const LensTypeAndFocalLengthAndMaxAperture &ltfl)
Compare tag details with a lens entry.
Definition: canonmn_int.cpp:2820
Exiv2::Internal::CanonMakerNote::tagListFi
static const TagInfo * tagListFi()
Return read-only list of built-in Canon File Info tags.
Definition: canonmn_int.cpp:2582
Exiv2::Internal::printCsLensByFocalLength
std::ostream & printCsLensByFocalLength(std::ostream &os, const Value &value, const ExifData *metadata)
Special treatment pretty-print function for non-unique lens ids.
Definition: canonmn_int.cpp:2899
Exiv2::Internal::canonToneCurve
const TagDetails canonToneCurve[]
Tone Curve Values.
Exiv2::Internal::CanonMakerNote::tagListFl
static const TagInfo * tagListFl()
Return read-only list of built-in Canon Flags Info tags.
Definition: canonmn_int.cpp:876
Exiv2::Internal::readExiv2Config
std::string readExiv2Config(const std::string &section, const std::string &value, const std::string &def)
Read value from Exiv2 configuration file.
Definition: makernote_int.cpp:113
Exiv2::URational
std::pair< uint32_t, uint32_t > URational
8 byte unsigned rational type.
Definition: types.hpp:97
Exiv2::Internal::CanonMakerNote::tagListCs
static const TagInfo * tagListCs()
Return read-only list of built-in Canon Camera Settings tags.
Definition: canonmn_int.cpp:2280
Exiv2::Internal::CanonMakerNote::tagListPa
static const TagInfo * tagListPa()
Return read-only list of built-in Canon Panorama tags.
Definition: canonmn_int.cpp:2394
Exiv2::Internal::canonCsISOSpeed
const TagDetails canonCsISOSpeed[]
ISOSpeeds, tag 0x0010.
Exiv2::Internal::CanonMakerNote::tagListPi
static const TagInfo * tagListPi()
Return read-only list of built-in Canon Picture Info tags.
Definition: canonmn_int.cpp:2461
Exiv2::Internal::CanonMakerNote::tagListWbi
static const TagInfo * tagListWbi()
Return read-only list of built-in Canon White balance Info tags.
Definition: canonmn_int.cpp:760
Exiv2::Internal::CanonMakerNote::tagListFcd2
static const TagInfo * tagListFcd2()
Return read-only list of built-in Canon Face detection 1 Info tags.
Definition: canonmn_int.cpp:723
Exiv2::Internal::canonAFAreaMode
const TagDetails canonAFAreaMode[]
Canon AF Area Mode, tag 0x2601.
Exiv2::model
EXIV2API ExifData::const_iterator model(const ExifData &ed)
Return the camera model.
Definition: easyaccess.cpp:445
Exiv2::Internal::canonCsSRAWQuality
const TagDetails canonCsSRAWQuality[]
SRAWQuality, tag 0x002e.
Exiv2::Internal::convertFocalLength
void convertFocalLength(LensTypeAndFocalLengthAndMaxAperture &ltfl, double divisor)
convertFocalLength to a human readable string
Definition: canonmn_int.cpp:2848
Exiv2::Internal::CanonMakerNote::printCsLensType
static std::ostream & printCsLensType(std::ostream &os, const Value &value, const ExifData *metadata)
Camera lens type. For some values, the exact type can only be determined if metadata is provided.
Definition: canonmn_int.cpp:2948
Exiv2::Internal::CanonMakerNote::printSi0x0015
static std::ostream & printSi0x0015(std::ostream &os, const Value &value, const ExifData *)
Aperture.
Definition: canonmn_int.cpp:3119
Exiv2::Internal::CanonMakerNote::tagListAf3
static const TagInfo * tagListAf3()
Return read-only list of built-in Canon AFInfo3 Info tags.
Definition: canonmn_int.cpp:820
Exiv2::Internal::CanonMakerNote::tagListVigCor2
static const TagInfo * tagListVigCor2()
Return read-only list of built-in Canon VignettingCorr2 Info tags.
Definition: canonmn_int.cpp:1002
Exiv2::Internal::CanonMakerNote::printSi0x0016
static std::ostream & printSi0x0016(std::ostream &os, const Value &value, const ExifData *)
Shutter speed.
Definition: canonmn_int.cpp:3136
Exiv2::Internal::canonCsFlashActivity
const TagDetails canonCsFlashActivity[]
FlashActivity, tag 0x001c.
Exiv2::Internal::CanonMakerNote
MakerNote for Canon cameras.
Definition: canonmn_int.hpp:56
Exiv2::ExifData
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
Exiv2::Internal::fnumber
float fnumber(float apertureValue)
Calculate F number from an APEX aperture value.
Definition: tags_int.cpp:2580