| 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
24 namespace Exiv2::Internal {
25// *****************************************************************************
26// class definitions
27
29 class CanonMakerNote {
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
204 float canonEv(int64_t val);
205
206} // namespace Exiv2::Internal
207
208#endif // EXIV2_CANONMN_INT_HPP
Exiv2::ExifData
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition exif.hpp:379
Exiv2::Internal::CanonMakerNote
MakerNote for Canon cameras.
Definition canonmn_int.hpp:29
Exiv2::Internal::CanonMakerNote::tagListPreI
static const TagInfo * tagListPreI()
Return read-only list of built-in Canon Preview Image Info tags.
Definition canonmn_int.cpp:929
Exiv2::Internal::CanonMakerNote::tagListPi
static const TagInfo * tagListPi()
Return read-only list of built-in Canon Picture Info tags.
Definition canonmn_int.cpp:2339
Exiv2::Internal::CanonMakerNote::tagListFil
static const TagInfo * tagListFil()
Return read-only list of built-in Canon Filter Info tags.
Definition canonmn_int.cpp:1134
Exiv2::Internal::CanonMakerNote::tagListSi
static const TagInfo * tagListSi()
Return read-only list of built-in Canon Shot Info tags.
Definition canonmn_int.cpp:2242
Exiv2::Internal::CanonMakerNote::printSi0x0009
static std::ostream & printSi0x0009(std::ostream &os, const Value &value, const ExifData *)
Sequence number.
Definition canonmn_int.cpp:2952
Exiv2::Internal::CanonMakerNote::tagListMv
static const TagInfo * tagListMv()
Return read-only list of built-in Canon Movie Info tags.
Definition canonmn_int.cpp:690
Exiv2::Internal::CanonMakerNote::tagListFi
static const TagInfo * tagListFi()
Return read-only list of built-in Canon File Info tags.
Definition canonmn_int.cpp:2506
Exiv2::Internal::CanonMakerNote::printSi0x0017
static std::ostream & printSi0x0017(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV2.
Definition canonmn_int.cpp:3034
Exiv2::Internal::CanonMakerNote::printSi0x0002
static std::ostream & printSi0x0002(std::ostream &os, const Value &value, const ExifData *)
ISO speed used.
Definition canonmn_int.cpp:2927
Exiv2::Internal::CanonMakerNote::tagListCbi
static const TagInfo * tagListCbi()
Return read-only list of built-in Canon Balance Info tags.
Definition canonmn_int.cpp:859
Exiv2::Internal::CanonMakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Canon tags.
Definition canonmn_int.cpp:664
Exiv2::Internal::CanonMakerNote::tagListFcd3
static const TagInfo * tagListFcd3()
Return read-only list of built-in Canon Face detection Info tags.
Definition canonmn_int.cpp:800
Exiv2::Internal::CanonMakerNote::tagListCf
static const TagInfo * tagListCf()
Return read-only list of built-in Canon Custom Function tags.
Definition canonmn_int.cpp:2305
Exiv2::Internal::CanonMakerNote::printSi0x0015
static std::ostream & printSi0x0015(std::ostream &os, const Value &value, const ExifData *)
Aperture.
Definition canonmn_int.cpp:3006
Exiv2::Internal::CanonMakerNote::tagListFl
static const TagInfo * tagListFl()
Return read-only list of built-in Canon Flags Info tags.
Definition canonmn_int.cpp:869
Exiv2::Internal::CanonMakerNote::tagListCi
static const TagInfo * tagListCi()
Return read-only list of built-in Canon Color Info tags.
Definition canonmn_int.cpp:943
Exiv2::Internal::CanonMakerNote::tagListAm
static const TagInfo * tagListAm()
Return read-only list of built-in Canon Ambience Info tags.
Definition canonmn_int.cpp:1075
Exiv2::Internal::CanonMakerNote::tagListHdr
static const TagInfo * tagListHdr()
Return read-only list of built-in Canon HDR Info tags.
Definition canonmn_int.cpp:1157
Exiv2::Internal::CanonMakerNote::tagListPa
static const TagInfo * tagListPa()
Return read-only list of built-in Canon Panorama tags.
Definition canonmn_int.cpp:2264
Exiv2::Internal::CanonMakerNote::tagListMc
static const TagInfo * tagListMc()
Return read-only list of built-in Canon My Colors Info tags.
Definition canonmn_int.cpp:707
Exiv2::Internal::CanonMakerNote::tagListMe
static const TagInfo * tagListMe()
Return read-only list of built-in Canon MultiExposureControl Info tags.
Definition canonmn_int.cpp:1098
Exiv2::Internal::CanonMakerNote::tagListCs
static const TagInfo * tagListCs()
Return read-only list of built-in Canon Camera Settings tags.
Definition canonmn_int.cpp:2146
Exiv2::Internal::CanonMakerNote::tagListLiOp
static const TagInfo * tagListLiOp()
Return read-only list of built-in Canon LightingOpt Info tags.
Definition canonmn_int.cpp:1044
Exiv2::Internal::CanonMakerNote::printCs0x0002
static std::ostream & printCs0x0002(std::ostream &os, const Value &value, const ExifData *)
Self timer.
Definition canonmn_int.cpp:2709
Exiv2::Internal::CanonMakerNote::printFocalLength
static std::ostream & printFocalLength(std::ostream &os, const Value &value, const ExifData *)
Print the focal length.
Definition canonmn_int.cpp:2647
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:2608
Exiv2::Internal::CanonMakerNote::tagListCo
static const TagInfo * tagListCo()
Return read-only list of built-in Canon Contrast Info tags.
Definition canonmn_int.cpp:762
Exiv2::Internal::CanonMakerNote::print0x000a
static std::ostream & print0x000a(std::ostream &os, const Value &value, const ExifData *)
Print 0x000a.
Definition canonmn_int.cpp:2681
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:737
Exiv2::Internal::CanonMakerNote::printSi0x0018
static std::ostream & printSi0x0018(std::ostream &os, const Value &value, const ExifData *)
Bulb Duration.
Definition canonmn_int.cpp:3045
Exiv2::Internal::CanonMakerNote::printSi0x000d
static std::ostream & printSi0x000d(std::ostream &os, const Value &value, const ExifData *)
Flash Guide Number.
Definition canonmn_int.cpp:2969
Exiv2::Internal::CanonMakerNote::printFiFocusDistance
static std::ostream & printFiFocusDistance(std::ostream &os, const Value &value, const ExifData *)
Focus Distance.
Definition canonmn_int.cpp:3049
Exiv2::Internal::CanonMakerNote::tagListTi
static const TagInfo * tagListTi()
Return read-only list of built-in Canon Time Info tags.
Definition canonmn_int.cpp:2604
Exiv2::Internal::CanonMakerNote::print0x0008
static std::ostream & print0x0008(std::ostream &os, const Value &value, const ExifData *)
Print the image number.
Definition canonmn_int.cpp:2674
Exiv2::Internal::CanonMakerNote::tagListAfC
static const TagInfo * tagListAfC()
Return read-only list of built-in Canon AFConfig Info tags.
Definition canonmn_int.cpp:1276
Exiv2::Internal::CanonMakerNote::tagListRawB
static const TagInfo * tagListRawB()
Return read-only list of built-in Canon RawBurstInfo Info tags.
Definition canonmn_int.cpp:1290
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:749
Exiv2::Internal::CanonMakerNote::printLe0x0000
static std::ostream & printLe0x0000(std::ostream &os, const Value &value, const ExifData *)
CanonLe lens serial number.
Definition canonmn_int.cpp:2904
Exiv2::Internal::CanonMakerNote::tagListAs
static const TagInfo * tagListAs()
Return read-only list of built-in Canon Aspect Info tags.
Definition canonmn_int.cpp:831
Exiv2::Internal::CanonMakerNote::tagListAfMiAdj
static const TagInfo * tagListAfMiAdj()
Return read-only list of built-in Canon AFMicroAdjMode Quality Info tags.
Definition canonmn_int.cpp:960
Exiv2::Internal::CanonMakerNote::tagListPr
static const TagInfo * tagListPr()
Return read-only list of built-in Canon Processing Info tags.
Definition canonmn_int.cpp:2549
Exiv2::Internal::CanonMakerNote::printSi0x0001
static std::ostream & printSi0x0001(std::ostream &os, const Value &value, const ExifData *)
AutoISO speed used.
Definition canonmn_int.cpp:2918
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:2861
Exiv2::Internal::CanonMakerNote::printSi0x0016
static std::ostream & printSi0x0016(std::ostream &os, const Value &value, const ExifData *)
Shutter speed.
Definition canonmn_int.cpp:3020
Exiv2::Internal::CanonMakerNote::printSi0x000c
static std::ostream & printSi0x000c(std::ostream &os, const Value &value, const ExifData *)
Ambient Temperature.
Definition canonmn_int.cpp:2962
Exiv2::Internal::CanonMakerNote::tagListLe
static const TagInfo * tagListLe()
Return read-only list of built-in Canon LensInfo Info tags.
Definition canonmn_int.cpp:1058
Exiv2::Internal::CanonMakerNote::tagListWbi
static const TagInfo * tagListWbi()
Return read-only list of built-in Canon White balance Info tags.
Definition canonmn_int.cpp:790
Exiv2::Internal::CanonMakerNote::tagListVigCor
static const TagInfo * tagListVigCor()
Return read-only list of built-in Canon VignettingCorr Info tags.
Definition canonmn_int.cpp:986
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:2689
Exiv2::Internal::CanonMakerNote::printSi0x0013
static std::ostream & printSi0x0013(std::ostream &os, const Value &value, const ExifData *)
Subject distance.
Definition canonmn_int.cpp:2992
Exiv2::Internal::CanonMakerNote::printCsLens
static std::ostream & printCsLens(std::ostream &os, const Value &value, const ExifData *)
Camera lens information.
Definition canonmn_int.cpp:2877
Exiv2::Internal::CanonMakerNote::printSi0x000e
static std::ostream & printSi0x000e(std::ostream &os, const Value &value, const ExifData *pExifData)
AF point used.
Definition canonmn_int.cpp:2976
Exiv2::Internal::CanonMakerNote::tagListMo
static const TagInfo * tagListMo()
Return read-only list of built-in Canon Modified On Info tags.
Definition canonmn_int.cpp:906
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::printSi0x0003
static std::ostream & printSi0x0003(std::ostream &os, const Value &value, const ExifData *)
MeasuredEV.
Definition canonmn_int.cpp:2937
Exiv2::Value
Common interface for all types of values used with metadata.
Definition value.hpp:33
Exiv2::Internal
Helper structure for the Matroska tags lookup table.
Definition matroskavideo.hpp:39
Exiv2::Internal::canonEv
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:3072
Exiv2::TagInfo
Tag information.
Definition tags.hpp:224