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& print0x000a(std::ostream& os, const Value& value, const ExifData*);
109 static std::ostream& print0x000c(std::ostream& os, const Value& value, const ExifData*);
111 static std::ostream& printCs0x0002(std::ostream& os, const Value& value, const ExifData*);
113 static std::ostream& printCsLensType(std::ostream& os, const Value& value, const ExifData* metadata);
115 static std::ostream& printCsLens(std::ostream& os, const Value& value, const ExifData*);
117 static std::ostream& printLe0x0000(std::ostream& os, const Value& value, const ExifData*);
119 static std::ostream& printSi0x0001(std::ostream& os, const Value& value, const ExifData*);
121 static std::ostream& printSi0x0002(std::ostream& os, const Value& value, const ExifData*);
123 static std::ostream& printSi0x0003(std::ostream& os, const Value& value, const ExifData*);
125 static std::ostream& printSi0x0009(std::ostream& os, const Value& value, const ExifData*);
127 static std::ostream& printSi0x000c(std::ostream& os, const Value& value, const ExifData*);
129 static std::ostream& printSi0x000d(std::ostream& os, const Value& value, const ExifData*);
131 static std::ostream& printSi0x000e(std::ostream& os, const Value& value, const ExifData* pExifData);
133 static std::ostream& printSi0x0013(std::ostream& os, const Value& value, const ExifData*);
135 static std::ostream& printSi0x0015(std::ostream& os, const Value& value, const ExifData*);
137 static std::ostream& printSi0x0016(std::ostream& os, const Value& value, const ExifData*);
139 static std::ostream& printSi0x0017(std::ostream& os, const Value& value, const ExifData*);
141 static std::ostream& printSi0x0018(std::ostream& os, const Value& value, const ExifData*);
143 static std::ostream& printFiFocusDistance(std::ostream& os, const Value& value, const ExifData*);
145
146 private:
147 // DATA
148
150 static const TagInfo tagInfo_[];
151 static const TagInfo tagInfoAfC_[];
152 static const TagInfo tagInfoAfMiAdj_[];
153 static const TagInfo tagInfoAm_[];
154 static const TagInfo tagInfoAs_[];
155 static const TagInfo tagInfoCs_[];
156 static const TagInfo tagInfoCbi_[];
157 static const TagInfo tagInfoSi_[];
158 static const TagInfo tagInfoCf_[];
159 static const TagInfo tagInfoCi_[];
160 static const TagInfo tagInfoCo_[];
161 static const TagInfo tagInfoFl_[];
162 static const TagInfo tagInfoFil_[];
163 static const TagInfo tagInfoLiOp_[];
164 static const TagInfo tagInfoLe_[];
165 static const TagInfo tagInfoHdr_[];
166 static const TagInfo tagInfoMe_[];
167 static const TagInfo tagInfoMo_[];
168 static const TagInfo tagInfoMv_[];
169 static const TagInfo tagInfoMc_[];
170 static const TagInfo tagInfoFcd1_[];
171 static const TagInfo tagInfoFcd2_[];
172 static const TagInfo tagInfoFcd3_[];
173 static const TagInfo tagInfoPi_[];
174 static const TagInfo tagInfoTi_[];
175 static const TagInfo tagInfoFi_[];
176 static const TagInfo tagInfoPa_[];
177 static const TagInfo tagInfoPr_[];
178 static const TagInfo tagInfoPreI_[];
179 static const TagInfo tagInfoVigCor_[];
180 static const TagInfo tagInfoVigCor2_[];
181 static const TagInfo tagInfoWbi_[];
182 static const TagInfo tagInfoRawB_[];
183
184}; // class CanonMakerNote
185
186// *****************************************************************************
187// template, inline and free functions
188
204float canonEv(int64_t val);
205
206} // namespace Exiv2::Internal
207
208#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:379
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:923
static const TagInfo * tagListPi()
Return read-only list of built-in Canon Picture Info tags.
Definition canonmn_int.cpp:2320
static const TagInfo * tagListFil()
Return read-only list of built-in Canon Filter Info tags.
Definition canonmn_int.cpp:1128
static const TagInfo * tagListSi()
Return read-only list of built-in Canon Shot Info tags.
Definition canonmn_int.cpp:2223
static std::ostream & printSi0x0009(std::ostream &os, const Value &value, const ExifData *)
Sequence number.
Definition canonmn_int.cpp:2925
static const TagInfo * tagListMv()
Return read-only list of built-in Canon Movie Info tags.
Definition canonmn_int.cpp:684
static const TagInfo * tagListFi()
Return read-only list of built-in Canon File Info tags.
Definition canonmn_int.cpp:2479
static std::ostream & printSi0x0017(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV2.
Definition canonmn_int.cpp:3007
static std::ostream & printSi0x0002(std::ostream &os, const Value &value, const ExifData *)
ISO speed used.
Definition canonmn_int.cpp:2900
static const TagInfo * tagListCbi()
Return read-only list of built-in Canon Balance Info tags.
Definition canonmn_int.cpp:853
static const TagInfo * tagList()
Return read-only list of built-in Canon tags.
Definition canonmn_int.cpp:658
static const TagInfo * tagListFcd3()
Return read-only list of built-in Canon Face detection Info tags.
Definition canonmn_int.cpp:794
static const TagInfo * tagListCf()
Return read-only list of built-in Canon Custom Function tags.
Definition canonmn_int.cpp:2286
static std::ostream & printSi0x0015(std::ostream &os, const Value &value, const ExifData *)
Aperture.
Definition canonmn_int.cpp:2979
static const TagInfo * tagListFl()
Return read-only list of built-in Canon Flags Info tags.
Definition canonmn_int.cpp:863
static const TagInfo * tagListCi()
Return read-only list of built-in Canon Color Info tags.
Definition canonmn_int.cpp:937
static const TagInfo * tagListAm()
Return read-only list of built-in Canon Ambience Info tags.
Definition canonmn_int.cpp:1069
static const TagInfo * tagListHdr()
Return read-only list of built-in Canon HDR Info tags.
Definition canonmn_int.cpp:1151
static const TagInfo * tagListPa()
Return read-only list of built-in Canon Panorama tags.
Definition canonmn_int.cpp:2245
static const TagInfo * tagListMc()
Return read-only list of built-in Canon My Colors Info tags.
Definition canonmn_int.cpp:701
static const TagInfo * tagListMe()
Return read-only list of built-in Canon MultiExposureControl Info tags.
Definition canonmn_int.cpp:1092
static const TagInfo * tagListCs()
Return read-only list of built-in Canon Camera Settings tags.
Definition canonmn_int.cpp:2127
static const TagInfo * tagListLiOp()
Return read-only list of built-in Canon LightingOpt Info tags.
Definition canonmn_int.cpp:1038
static std::ostream & printCs0x0002(std::ostream &os, const Value &value, const ExifData *)
Self timer.
Definition canonmn_int.cpp:2682
static std::ostream & printFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print the focal length.
Definition canonmn_int.cpp:2620
static std::ostream & printFiFileNumber(std::ostream &os, const Value &value, const ExifData *metadata)
Print the FileInfo FileNumber.
Definition canonmn_int.cpp:2581
static const TagInfo * tagListCo()
Return read-only list of built-in Canon Contrast Info tags.
Definition canonmn_int.cpp:756
static std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *)
Print 0x000a.
Definition canonmn_int.cpp:2654
static const TagInfo * tagListFcd1()
Return read-only list of built-in Canon Face detection 2 Info tags.
Definition canonmn_int.cpp:731
static std::ostream & printSi0x0018(std::ostream &os, const Value &value, const ExifData *)
Bulb Duration.
Definition canonmn_int.cpp:3018
static std::ostream & printSi0x000d(std::ostream &os, const Value &value, const ExifData *)
Flash Guide Number.
Definition canonmn_int.cpp:2942
static std::ostream & printFiFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Focus Distance.
Definition canonmn_int.cpp:3022
static const TagInfo * tagListTi()
Return read-only list of built-in Canon Time Info tags.
Definition canonmn_int.cpp:2577
static std::ostream & print0x0008(std::ostream &os, const Value &value, const ExifData *)
Print the image number.
Definition canonmn_int.cpp:2647
static const TagInfo * tagListAfC()
Return read-only list of built-in Canon AFConfig Info tags.
Definition canonmn_int.cpp:1270
static const TagInfo * tagListRawB()
Return read-only list of built-in Canon RawBurstInfo Info tags.
Definition canonmn_int.cpp:1284
static const TagInfo * tagListFcd2()
Return read-only list of built-in Canon Face detection 1 Info tags.
Definition canonmn_int.cpp:743
static std::ostream & printLe0x0000(std::ostream &os, const Value &value, const ExifData *)
CanonLe lens serial number.
Definition canonmn_int.cpp:2877
static const TagInfo * tagListAs()
Return read-only list of built-in Canon Aspect Info tags.
Definition canonmn_int.cpp:825
static const TagInfo * tagListAfMiAdj()
Return read-only list of built-in Canon AFMicroAdjMode Quality Info tags.
Definition canonmn_int.cpp:954
static const TagInfo * tagListPr()
Return read-only list of built-in Canon Processing Info tags.
Definition canonmn_int.cpp:2522
static std::ostream & printSi0x0001(std::ostream &os, const Value &value, const ExifData *)
AutoISO speed used.
Definition canonmn_int.cpp:2891
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:2834
static std::ostream & printSi0x0016(std::ostream &os, const Value &value, const ExifData *)
Shutter speed.
Definition canonmn_int.cpp:2993
static std::ostream & printSi0x000c(std::ostream &os, const Value &value, const ExifData *)
Ambient Temperature.
Definition canonmn_int.cpp:2935
static const TagInfo * tagListLe()
Return read-only list of built-in Canon LensInfo Info tags.
Definition canonmn_int.cpp:1052
static const TagInfo * tagListWbi()
Return read-only list of built-in Canon White balance Info tags.
Definition canonmn_int.cpp:784
static const TagInfo * tagListVigCor()
Return read-only list of built-in Canon VignettingCorr Info tags.
Definition canonmn_int.cpp:980
static std::ostream & print0x000c(std::ostream &os, const Value &value, const ExifData *)
Print the serial number of the camera.
Definition canonmn_int.cpp:2662
static std::ostream & printSi0x0013(std::ostream &os, const Value &value, const ExifData *)
Subject distance.
Definition canonmn_int.cpp:2965
static std::ostream & printCsLens(std::ostream &os, const Value &value, const ExifData *)
Camera lens information.
Definition canonmn_int.cpp:2850
static std::ostream & printSi0x000e(std::ostream &os, const Value &value, const ExifData *pExifData)
AF point used.
Definition canonmn_int.cpp:2949
static const TagInfo * tagListMo()
Return read-only list of built-in Canon Modified On Info tags.
Definition canonmn_int.cpp:900
static const TagInfo * tagListVigCor2()
Return read-only list of built-in Canon VignettingCorr2 Info tags.
Definition canonmn_int.cpp:996
static std::ostream & printSi0x0003(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV.
Definition canonmn_int.cpp:2910
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:3045
Tag information.
Definition tags.hpp:224