Exiv2
Loading...
Searching...
No Matches
canonmn_int.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: GPL-2.0-or-later
15#ifndef EXIV2_CANONMN_INT_HPP
16#define EXIV2_CANONMN_INT_HPP
17
18// *****************************************************************************
19// included header files
20#include "tags.hpp"
21
22// *****************************************************************************
23// namespace extensions
24namespace Exiv2::Internal {
25// *****************************************************************************
26// class definitions
27
30 public:
32 static const TagInfo* tagList();
34 static const TagInfo* tagListCs();
36 static const TagInfo* tagListSi();
38 static const TagInfo* tagListPa();
40 static const TagInfo* tagListCf();
42 static const TagInfo* tagListPi();
44 static const TagInfo* tagListTi();
46 static const TagInfo* tagListFi();
48 static const TagInfo* tagListPr();
50 static const TagInfo* tagListMv();
52 static const TagInfo* tagListMc();
54 static const TagInfo* tagListFcd3();
56 static const TagInfo* tagListWbi();
58 static const TagInfo* tagListCo();
60 static const TagInfo* tagListFcd2();
62 static const TagInfo* tagListFcd1();
64 static const TagInfo* tagListAs();
66 static const TagInfo* tagListCbi();
68 static const TagInfo* tagListFl();
70 static const TagInfo* tagListMo();
72 static const TagInfo* tagListPreI();
74 static const TagInfo* tagListCi();
76 static const TagInfo* tagListAfMiAdj();
78 static const TagInfo* tagListVigCor();
80 static const TagInfo* tagListVigCor2();
82 static const TagInfo* tagListLiOp();
84 static const TagInfo* tagListLe();
86 static const TagInfo* tagListAm();
88 static const TagInfo* tagListMe();
90 static const TagInfo* tagListFil();
92 static const TagInfo* tagListHdr();
94 static const TagInfo* tagListAfC();
96 static const TagInfo* tagListRawB();
97
99
100
101 static std::ostream& printFiFileNumber(std::ostream& os, const Value& value, const ExifData* metadata);
103 static std::ostream& printFocalLength(std::ostream& os, const Value& value, const ExifData*);
105 static std::ostream& print0x0008(std::ostream& os, const Value& value, const ExifData*);
107 static std::ostream& print0x000c(std::ostream& os, const Value& value, const ExifData*);
109 static std::ostream& printCs0x0002(std::ostream& os, const Value& value, const ExifData*);
111 static std::ostream& printCsLensType(std::ostream& os, const Value& value, const ExifData* metadata);
113 static std::ostream& printCsLens(std::ostream& os, const Value& value, const ExifData*);
115 static std::ostream& printSi0x0001(std::ostream& os, const Value& value, const ExifData*);
117 static std::ostream& printSi0x0002(std::ostream& os, const Value& value, const ExifData*);
119 static std::ostream& printSi0x0003(std::ostream& os, const Value& value, const ExifData*);
121 static std::ostream& printSi0x0009(std::ostream& os, const Value& value, const ExifData*);
123 static std::ostream& printSi0x000c(std::ostream& os, const Value& value, const ExifData*);
125 static std::ostream& printSi0x000d(std::ostream& os, const Value& value, const ExifData*);
127 static std::ostream& printSi0x000e(std::ostream& os, const Value& value, const ExifData* pExifData);
129 static std::ostream& printSi0x0013(std::ostream& os, const Value& value, const ExifData*);
131 static std::ostream& printSi0x0015(std::ostream& os, const Value& value, const ExifData*);
133 static std::ostream& printSi0x0016(std::ostream& os, const Value& value, const ExifData*);
135 static std::ostream& printSi0x0017(std::ostream& os, const Value& value, const ExifData*);
137 static std::ostream& printSi0x0018(std::ostream& os, const Value& value, const ExifData*);
139 static std::ostream& printFiFocusDistance(std::ostream& os, const Value& value, const ExifData*);
141
142 private:
143 // DATA
144
146 static const TagInfo tagInfo_[];
147 static const TagInfo tagInfoAfC_[];
148 static const TagInfo tagInfoAfMiAdj_[];
149 static const TagInfo tagInfoAm_[];
150 static const TagInfo tagInfoAs_[];
151 static const TagInfo tagInfoCs_[];
152 static const TagInfo tagInfoCbi_[];
153 static const TagInfo tagInfoSi_[];
154 static const TagInfo tagInfoCf_[];
155 static const TagInfo tagInfoCi_[];
156 static const TagInfo tagInfoCo_[];
157 static const TagInfo tagInfoFl_[];
158 static const TagInfo tagInfoFil_[];
159 static const TagInfo tagInfoLiOp_[];
160 static const TagInfo tagInfoLe_[];
161 static const TagInfo tagInfoHdr_[];
162 static const TagInfo tagInfoMe_[];
163 static const TagInfo tagInfoMo_[];
164 static const TagInfo tagInfoMv_[];
165 static const TagInfo tagInfoMc_[];
166 static const TagInfo tagInfoFcd1_[];
167 static const TagInfo tagInfoFcd2_[];
168 static const TagInfo tagInfoFcd3_[];
169 static const TagInfo tagInfoPi_[];
170 static const TagInfo tagInfoTi_[];
171 static const TagInfo tagInfoFi_[];
172 static const TagInfo tagInfoPa_[];
173 static const TagInfo tagInfoPr_[];
174 static const TagInfo tagInfoPreI_[];
175 static const TagInfo tagInfoVigCor_[];
176 static const TagInfo tagInfoVigCor2_[];
177 static const TagInfo tagInfoWbi_[];
178 static const TagInfo tagInfoRawB_[];
179
180}; // class CanonMakerNote
181
182// *****************************************************************************
183// template, inline and free functions
184
200float canonEv(int64_t val);
201
202} // namespace Exiv2::Internal
203
204#endif // EXIV2_CANONMN_INT_HPP
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition exif.hpp:373
MakerNote for Canon cameras.
Definition canonmn_int.hpp:29
static const TagInfo * tagListPreI()
Return read-only list of built-in Canon Preview Image Info tags.
Definition canonmn_int.cpp:922
static const TagInfo * tagListPi()
Return read-only list of built-in Canon Picture Info tags.
Definition canonmn_int.cpp:2290
static const TagInfo * tagListFil()
Return read-only list of built-in Canon Filter Info tags.
Definition canonmn_int.cpp:1115
static const TagInfo * tagListSi()
Return read-only list of built-in Canon Shot Info tags.
Definition canonmn_int.cpp:2193
static std::ostream & printSi0x0009(std::ostream &os, const Value &value, const ExifData *)
Sequence number.
Definition canonmn_int.cpp:2818
static const TagInfo * tagListMv()
Return read-only list of built-in Canon Movie Info tags.
Definition canonmn_int.cpp:683
static const TagInfo * tagListFi()
Return read-only list of built-in Canon File Info tags.
Definition canonmn_int.cpp:2433
static std::ostream & printSi0x0017(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV2.
Definition canonmn_int.cpp:2900
static std::ostream & printSi0x0002(std::ostream &os, const Value &value, const ExifData *)
ISO speed used.
Definition canonmn_int.cpp:2793
static const TagInfo * tagListCbi()
Return read-only list of built-in Canon Balance Info tags.
Definition canonmn_int.cpp:852
static const TagInfo * tagList()
Return read-only list of built-in Canon tags.
Definition canonmn_int.cpp:657
static const TagInfo * tagListFcd3()
Return read-only list of built-in Canon Face detection Info tags.
Definition canonmn_int.cpp:793
static const TagInfo * tagListCf()
Return read-only list of built-in Canon Custom Function tags.
Definition canonmn_int.cpp:2256
static std::ostream & printSi0x0015(std::ostream &os, const Value &value, const ExifData *)
Aperture.
Definition canonmn_int.cpp:2872
static const TagInfo * tagListFl()
Return read-only list of built-in Canon Flags Info tags.
Definition canonmn_int.cpp:862
static const TagInfo * tagListCi()
Return read-only list of built-in Canon Color Info tags.
Definition canonmn_int.cpp:936
static const TagInfo * tagListAm()
Return read-only list of built-in Canon Ambience Info tags.
Definition canonmn_int.cpp:1056
static const TagInfo * tagListHdr()
Return read-only list of built-in Canon HDR Info tags.
Definition canonmn_int.cpp:1138
static const TagInfo * tagListPa()
Return read-only list of built-in Canon Panorama tags.
Definition canonmn_int.cpp:2215
static const TagInfo * tagListMc()
Return read-only list of built-in Canon My Colors Info tags.
Definition canonmn_int.cpp:700
static const TagInfo * tagListMe()
Return read-only list of built-in Canon MultiExposureControl Info tags.
Definition canonmn_int.cpp:1079
static const TagInfo * tagListCs()
Return read-only list of built-in Canon Camera Settings tags.
Definition canonmn_int.cpp:2097
static const TagInfo * tagListLiOp()
Return read-only list of built-in Canon LightingOpt Info tags.
Definition canonmn_int.cpp:1027
static std::ostream & printCs0x0002(std::ostream &os, const Value &value, const ExifData *)
Self timer.
Definition canonmn_int.cpp:2616
static std::ostream & printFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print the focal length.
Definition canonmn_int.cpp:2574
static std::ostream & printFiFileNumber(std::ostream &os, const Value &value, const ExifData *metadata)
Print the FileInfo FileNumber.
Definition canonmn_int.cpp:2535
static const TagInfo * tagListCo()
Return read-only list of built-in Canon Contrast Info tags.
Definition canonmn_int.cpp:755
static const TagInfo * tagListFcd1()
Return read-only list of built-in Canon Face detection 2 Info tags.
Definition canonmn_int.cpp:730
static std::ostream & printSi0x0018(std::ostream &os, const Value &value, const ExifData *)
Bulb Duration.
Definition canonmn_int.cpp:2911
static std::ostream & printSi0x000d(std::ostream &os, const Value &value, const ExifData *)
Flash Guide Number.
Definition canonmn_int.cpp:2835
static std::ostream & printFiFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Focus Distance.
Definition canonmn_int.cpp:2915
static const TagInfo * tagListTi()
Return read-only list of built-in Canon Time Info tags.
Definition canonmn_int.cpp:2531
static std::ostream & print0x0008(std::ostream &os, const Value &value, const ExifData *)
Print the image number.
Definition canonmn_int.cpp:2601
static const TagInfo * tagListAfC()
Return read-only list of built-in Canon AFConfig Info tags.
Definition canonmn_int.cpp:1257
static const TagInfo * tagListRawB()
Return read-only list of built-in Canon RawBurstInfo Info tags.
Definition canonmn_int.cpp:1271
static const TagInfo * tagListFcd2()
Return read-only list of built-in Canon Face detection 1 Info tags.
Definition canonmn_int.cpp:742
static const TagInfo * tagListAs()
Return read-only list of built-in Canon Aspect Info tags.
Definition canonmn_int.cpp:824
static const TagInfo * tagListAfMiAdj()
Return read-only list of built-in Canon AFMicroAdjMode Quality Info tags.
Definition canonmn_int.cpp:953
static const TagInfo * tagListPr()
Return read-only list of built-in Canon Processing Info tags.
Definition canonmn_int.cpp:2476
static std::ostream & printSi0x0001(std::ostream &os, const Value &value, const ExifData *)
AutoISO speed used.
Definition canonmn_int.cpp:2784
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:2741
static std::ostream & printSi0x0016(std::ostream &os, const Value &value, const ExifData *)
Shutter speed.
Definition canonmn_int.cpp:2886
static std::ostream & printSi0x000c(std::ostream &os, const Value &value, const ExifData *)
Ambient Temperature.
Definition canonmn_int.cpp:2828
static const TagInfo * tagListLe()
Return read-only list of built-in Canon LensInfo Info tags.
Definition canonmn_int.cpp:1039
static const TagInfo * tagListWbi()
Return read-only list of built-in Canon White balance Info tags.
Definition canonmn_int.cpp:783
static const TagInfo * tagListVigCor()
Return read-only list of built-in Canon VignettingCorr Info tags.
Definition canonmn_int.cpp:979
static std::ostream & print0x000c(std::ostream &os, const Value &value, const ExifData *)
Print the serial number of the camera.
Definition canonmn_int.cpp:2608
static std::ostream & printSi0x0013(std::ostream &os, const Value &value, const ExifData *)
Subject distance.
Definition canonmn_int.cpp:2858
static std::ostream & printCsLens(std::ostream &os, const Value &value, const ExifData *)
Camera lens information.
Definition canonmn_int.cpp:2757
static std::ostream & printSi0x000e(std::ostream &os, const Value &value, const ExifData *pExifData)
AF point used.
Definition canonmn_int.cpp:2842
static const TagInfo * tagListMo()
Return read-only list of built-in Canon Modified On Info tags.
Definition canonmn_int.cpp:899
static const TagInfo * tagListVigCor2()
Return read-only list of built-in Canon VignettingCorr2 Info tags.
Definition canonmn_int.cpp:995
static std::ostream & printSi0x0003(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV.
Definition canonmn_int.cpp:2803
Common interface for all types of values used with metadata.
Definition value.hpp:33
Helper structure for the Matroska tags lookup table.
Definition matroskavideo.hpp:39
float canonEv(int64_t val)
Convert Canon hex-based EV (modulo 0x20) to real number Ported from Phil Harvey's Image::ExifTool::Ca...
Definition canonmn_int.cpp:2938
Tag information.
Definition tags.hpp:224