Exiv2
sonymn_int.hpp
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 */
20#ifndef SONYMN_INT_HPP_
21#define SONYMN_INT_HPP_
22
23// *****************************************************************************
24// included header files
25#include "tags.hpp"
26#include "types.hpp"
27#include "tiffcomposite_int.hpp"
28
29// + standard includes
30#include <string>
31#include <iosfwd>
32
33// *****************************************************************************
34// namespace extensions
35namespace Exiv2 {
36 namespace Internal {
37
38// *****************************************************************************
39// class definitions
40
43 public:
45 static const TagInfo* tagList();
47 static const TagInfo* tagListCs();
49 static const TagInfo* tagListCs2();
51 static const TagInfo* tagListFp();
53 static const TagInfo* tagListSonyMisc1();
55 static const TagInfo* tagListSonyMisc2b();
57 static const TagInfo* tagListSonyMisc3c();
59 static const TagInfo* tagListSonySInfo1();
61 static const TagInfo* tagList2010e();
62
64
65
66 static std::ostream& printSonyMisc1CameraTemperature(std::ostream&, const Value&, const ExifData*);
68 static std::ostream& printSony2FpFocusMode(std::ostream&, const Value&, const ExifData*);
70 static std::ostream& printSony2FpFocusPosition2(std::ostream&, const Value&, const ExifData* metadata);
72 static std::ostream& printSony2FpAmbientTemperature(std::ostream&, const Value&, const ExifData*);
74 static std::ostream& printSonyMisc2bLensZoomPosition(std::ostream&, const Value&, const ExifData* metadata);
76 static std::ostream& printSonyMisc2bFocusPosition2(std::ostream&, const Value&, const ExifData* metadata);
78 static std::ostream& printSonyMisc3cShotNumberSincePowerUp(std::ostream&, const Value&, const ExifData*);
80 static std::ostream& printSonyMisc3cSequenceNumber(std::ostream&, const Value&, const ExifData*);
82 static std::ostream& printSonyMisc3cSonyImageHeight(std::ostream&, const Value&, const ExifData* metadata);
84 static std::ostream& printSonyMisc3cModelReleaseYear(std::ostream&, const Value&, const ExifData* metadata);
86 static std::ostream& printSonyMisc3cQuality2(std::ostream&, const Value&, const ExifData* metadata);
88 static std::ostream& print0xb000(std::ostream&, const Value&, const ExifData*);
90 static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
91
92 private:
94 static const TagInfo tagInfo_[];
95 static const TagInfo tagInfoCs_[];
96 static const TagInfo tagInfoCs2_[];
97 static const TagInfo tagInfoFp_[];
98 static const TagInfo tagInfoSonyMisc1_[];
99 static const TagInfo tagInfoSonyMisc2b_[];
100 static const TagInfo tagInfoSonyMisc3c_[];
101 static const TagInfo tagInfoSonySInfo1_[];
102 static const TagInfo tagInfo2010e_[];
103
104 }; // class SonyMakerNote
105
106 DataBuf sonyTagDecipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
107 DataBuf sonyTagEncipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
108
109}} // namespace Internal, Exiv2
110
111#endif // #ifndef SONYMN_INT_HPP_
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434
MakerNote for Sony cameras.
Definition: sonymn_int.hpp:42
static std::ostream & printSonyMisc2bFocusPosition2(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc2b Focus Position 2 value.
Definition: sonymn_int.cpp:1036
static const TagInfo * tagList2010e()
Return read-only list of built-in Sony 2010e tags (Tag 2010)
Definition: sonymn_int.cpp:1340
static const TagInfo * tagListSonySInfo1()
Return read-only list of built-in Sony SInfo1 tags (Tag 3000)
Definition: sonymn_int.cpp:1293
static std::ostream & printSony2FpFocusPosition2(std::ostream &, const Value &, const ExifData *metadata)
Print Sony2Fp Focus Position 2 value.
Definition: sonymn_int.cpp:896
static std::ostream & printSonyMisc3cSonyImageHeight(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc3c Sony image height value.
Definition: sonymn_int.cpp:1217
static const TagInfo * tagListFp()
Return read-only list of built-in Sony FocusPosition tags.
Definition: sonymn_int.cpp:849
static const TagInfo * tagListCs()
Return read-only list of built-in Sony Standard Camera Settings tags.
Definition: sonymn_int.cpp:755
static const TagInfo * tagList()
Return read-only list of built-in Sony tags.
Definition: sonymn_int.cpp:521
static std::ostream & printSonyMisc3cSequenceNumber(std::ostream &, const Value &, const ExifData *)
Print SonyMisc3c sequence number.
Definition: sonymn_int.cpp:1165
static std::ostream & printSony2FpFocusMode(std::ostream &, const Value &, const ExifData *)
Print Sony2Fp Focus Mode value.
Definition: sonymn_int.cpp:866
static std::ostream & printSony2FpAmbientTemperature(std::ostream &, const Value &, const ExifData *)
Print Sony 2Fp AmbientTemperature values (in degrees Celsius)
Definition: sonymn_int.cpp:854
static const TagInfo * tagListSonyMisc2b()
Return read-only list of built-in Sony Misc2b tags (Tag 9404)
Definition: sonymn_int.cpp:1010
static std::ostream & printImageSize(std::ostream &, const Value &, const ExifData *)
Print Full and Preview Image size.
Definition: sonymn_int.cpp:345
static std::ostream & printSonyMisc3cShotNumberSincePowerUp(std::ostream &, const Value &, const ExifData *)
Print SonyMisc3c shot number since power up value.
Definition: sonymn_int.cpp:1138
static std::ostream & print0xb000(std::ostream &, const Value &, const ExifData *)
Print Sony Camera Model.
Definition: sonymn_int.cpp:322
static const TagInfo * tagListSonyMisc1()
Return read-only list of built-in Sony Misc1 tags (Tag 9403)
Definition: sonymn_int.cpp:936
static std::ostream & printSonyMisc2bLensZoomPosition(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc2b Lens Zoom Position value.
Definition: sonymn_int.cpp:1015
static const TagInfo * tagListCs2()
Return read-only list of built-in Sony Standard Camera Settings version 2 tags.
Definition: sonymn_int.cpp:819
static const TagInfo * tagListSonyMisc3c()
Return read-only list of built-in Sony Misc3c tags (Tag 9400)
Definition: sonymn_int.cpp:1133
static std::ostream & printSonyMisc1CameraTemperature(std::ostream &, const Value &, const ExifData *)
Print Sony SonyMisc1 CameraTemperature values (in degrees Celsius)
Definition: sonymn_int.cpp:941
static std::ostream & printSonyMisc3cQuality2(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc3c quality 2 value.
Definition: sonymn_int.cpp:1170
static std::ostream & printSonyMisc3cModelReleaseYear(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc3c model release year value.
Definition: sonymn_int.cpp:1238
Interface class for components of a TIFF directory hierarchy (Composite pattern). Both TIFF directori...
Definition: tiffcomposite_int.hpp:172
Common interface for all types of values used with metadata.
Definition: value.hpp:51
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: basicio.hpp:43
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:162
Tag information.
Definition: tags.hpp:74