| Exiv2

Loading...
Searching...
No Matches
sonymn_int.hpp
1// SPDX-License-Identifier: GPL-2.0-or-later
2
3#ifndef SONYMN_INT_HPP_
4#define SONYMN_INT_HPP_
5
6// *****************************************************************************
7// included header files
8#include "tiffcomposite_int.hpp"
9
10// *****************************************************************************
11// namespace extensions
12 namespace Exiv2::Internal {
13// *****************************************************************************
14// class definitions
15
17 class SonyMakerNote {
18 public:
20 static const TagInfo* tagList();
22 static const TagInfo* tagListCs();
24 static const TagInfo* tagListCs2();
26 static const TagInfo* tagListFp();
28 static const TagInfo* tagListSonyMisc1();
30 static const TagInfo* tagListSonyMisc2b();
32 static const TagInfo* tagListSonyMisc3c();
34 static const TagInfo* tagListSonySInfo1();
36 static const TagInfo* tagList2010e();
37
39
40
41 static std::ostream& printWhiteBalanceFineTune(std::ostream&, const Value&, const ExifData*);
43 static std::ostream& printMultiBurstMode(std::ostream&, const Value&, const ExifData*);
45 static std::ostream& printMultiBurstSize(std::ostream&, const Value&, const ExifData*);
47 static std::ostream& printAutoHDRStd(std::ostream&, const Value&, const ExifData*);
49 static std::ostream& printWBShiftABGM(std::ostream&, const Value&, const ExifData*);
51 static std::ostream& printFocusMode2(std::ostream&, const Value&, const ExifData*);
53 static std::ostream& printAFAreaModeSetting(std::ostream&, const Value&, const ExifData*);
55 static std::ostream& printFlexibleSpotPosition(std::ostream&, const Value&, const ExifData*);
57 static std::ostream& printAFPointSelected(std::ostream&, const Value&, const ExifData*);
59 static std::ostream& printAFPointsUsed(std::ostream&, const Value&, const ExifData*);
61 static std::ostream& printAFTracking(std::ostream&, const Value&, const ExifData*);
63 static std::ostream& printFocalPlaneAFPointsUsed(std::ostream&, const Value&, const ExifData*);
65 static std::ostream& printWBShiftABGMPrecise(std::ostream&, const Value&, const ExifData*);
67 static std::ostream& printExposureStandardAdjustment(std::ostream&, const Value&, const ExifData*);
69 static std::ostream& printPixelShiftInfo(std::ostream&, const Value&, const ExifData*);
71 static std::ostream& printFocusFrameSize(std::ostream&, const Value&, const ExifData*);
73 static std::ostream& printColorTemperature(std::ostream&, const Value&, const ExifData*);
75 static std::ostream& printColorCompensationFilter(std::ostream&, const Value&, const ExifData*);
77 static std::ostream& printLensSpec(std::ostream&, const Value&, const ExifData*);
79 static std::ostream& printFocusMode(std::ostream&, const Value&, const ExifData*);
81 static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
83 static std::ostream& printAFMode(std::ostream&, const Value&, const ExifData*);
85 static std::ostream& printFocusMode3(std::ostream&, const Value&, const ExifData*);
87 static std::ostream& printHighISONoiseReduction2(std::ostream&, const Value&, const ExifData*);
89 static std::ostream& printSonyMisc1CameraTemperature(std::ostream&, const Value&, const ExifData*);
91 static std::ostream& printSony2FpFocusMode(std::ostream&, const Value&, const ExifData*);
93 static std::ostream& printSony2FpFocusPosition2(std::ostream&, const Value&, const ExifData* metadata);
95 static std::ostream& printSony2FpAmbientTemperature(std::ostream&, const Value&, const ExifData*);
97 static std::ostream& printSonyMisc2bLensZoomPosition(std::ostream&, const Value&, const ExifData* metadata);
99 static std::ostream& printSonyMisc2bFocusPosition2(std::ostream&, const Value&, const ExifData* metadata);
101 static std::ostream& printSonyMisc3cShotNumberSincePowerUp(std::ostream&, const Value&, const ExifData*);
103 static std::ostream& printSonyMisc3cSequenceNumber(std::ostream&, const Value&, const ExifData*);
105 static std::ostream& printSonyMisc3cSonyImageHeight(std::ostream&, const Value&, const ExifData* metadata);
107 static std::ostream& printSonyMisc3cModelReleaseYear(std::ostream&, const Value&, const ExifData* metadata);
109 static std::ostream& printSonyMisc3cQuality2(std::ostream&, const Value&, const ExifData* metadata);
110
111 private:
113 static const TagInfo tagInfo_[];
114 static const TagInfo tagInfoCs_[];
115 static const TagInfo tagInfoCs2_[];
116 static const TagInfo tagInfoFp_[];
117 static const TagInfo tagInfoSonyMisc1_[];
118 static const TagInfo tagInfoSonyMisc2b_[];
119 static const TagInfo tagInfoSonyMisc3c_[];
120 static const TagInfo tagInfoSonySInfo1_[];
121 static const TagInfo tagInfo2010e_[];
122
123}; // class SonyMakerNote
124
125 DataBuf sonyTagDecipher(uint16_t, const byte*, size_t, TiffComponent*);
126 DataBuf sonyTagEncipher(uint16_t, const byte*, size_t, TiffComponent*);
127
128} // namespace Exiv2::Internal
129
130#endif // #ifndef SONYMN_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::SonyMakerNote
MakerNote for Sony cameras.
Definition sonymn_int.hpp:17
Exiv2::Internal::SonyMakerNote::printSonyMisc2bFocusPosition2
static std::ostream & printSonyMisc2bFocusPosition2(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc2b Focus Position 2 value.
Definition sonymn_int.cpp:2010
Exiv2::Internal::SonyMakerNote::tagList2010e
static const TagInfo * tagList2010e()
Return read-only list of built-in Sony 2010e tags (Tag 2010).
Definition sonymn_int.cpp:2308
Exiv2::Internal::SonyMakerNote::printWBShiftABGM
static std::ostream & printWBShiftABGM(std::ostream &, const Value &, const ExifData *)
Print Sony white balance shift amber/blue or green/magenta values.
Definition sonymn_int.cpp:840
Exiv2::Internal::SonyMakerNote::printAFPointsUsed
static std::ostream & printAFPointsUsed(std::ostream &, const Value &, const ExifData *)
Print Sony auto-focus points used values.
Definition sonymn_int.cpp:1012
Exiv2::Internal::SonyMakerNote::tagListSonySInfo1
static const TagInfo * tagListSonySInfo1()
Return read-only list of built-in Sony SInfo1 tags (Tag 3000).
Definition sonymn_int.cpp:2225
Exiv2::Internal::SonyMakerNote::printSony2FpFocusPosition2
static std::ostream & printSony2FpFocusPosition2(std::ostream &, const Value &, const ExifData *metadata)
Print Sony2Fp Focus Position 2 value.
Definition sonymn_int.cpp:1884
Exiv2::Internal::SonyMakerNote::printAFTracking
static std::ostream & printAFTracking(std::ostream &, const Value &, const ExifData *)
Print Sony auto-focus tracking values.
Definition sonymn_int.cpp:1039
Exiv2::Internal::SonyMakerNote::printAutoHDRStd
static std::ostream & printAutoHDRStd(std::ostream &, const Value &, const ExifData *)
Print Sony HDR values.
Definition sonymn_int.cpp:823
Exiv2::Internal::SonyMakerNote::printAFAreaModeSetting
static std::ostream & printAFAreaModeSetting(std::ostream &, const Value &, const ExifData *)
Print Sony auto-focus area mode Settings values.
Definition sonymn_int.cpp:899
Exiv2::Internal::SonyMakerNote::printSonyMisc3cSonyImageHeight
static std::ostream & printSonyMisc3cSonyImageHeight(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc3c Sony image height value.
Definition sonymn_int.cpp:2152
Exiv2::Internal::SonyMakerNote::printAFMode
static std::ostream & printAFMode(std::ostream &, const Value &, const ExifData *)
Print Sony auto-focus area mode values.
Definition sonymn_int.cpp:1359
Exiv2::Internal::SonyMakerNote::printWhiteBalanceFineTune
static std::ostream & printWhiteBalanceFineTune(std::ostream &, const Value &, const ExifData *)
Print Sony white balance fine tune values.
Definition sonymn_int.cpp:788
Exiv2::Internal::SonyMakerNote::printHighISONoiseReduction2
static std::ostream & printHighISONoiseReduction2(std::ostream &, const Value &, const ExifData *)
Print Sony high ISO noise reduction 2 values.
Definition sonymn_int.cpp:1397
Exiv2::Internal::SonyMakerNote::printColorCompensationFilter
static std::ostream & printColorCompensationFilter(std::ostream &, const Value &, const ExifData *)
Print Sony color compensation filter values.
Definition sonymn_int.cpp:1183
Exiv2::Internal::SonyMakerNote::printFocalPlaneAFPointsUsed
static std::ostream & printFocalPlaneAFPointsUsed(std::ostream &, const Value &, const ExifData *)
Print Sony focal plane auto-focus points used values.
Definition sonymn_int.cpp:1064
Exiv2::Internal::SonyMakerNote::tagListFp
static const TagInfo * tagListFp()
Return read-only list of built-in Sony FocusPosition tags.
Definition sonymn_int.cpp:1839
Exiv2::Internal::SonyMakerNote::tagListCs
static const TagInfo * tagListCs()
Return read-only list of built-in Sony Standard Camera Settings tags.
Definition sonymn_int.cpp:1760
Exiv2::Internal::SonyMakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Sony tags.
Definition sonymn_int.cpp:1602
Exiv2::Internal::SonyMakerNote::printSonyMisc3cSequenceNumber
static std::ostream & printSonyMisc3cSequenceNumber(std::ostream &, const Value &, const ExifData *)
Print SonyMisc3c sequence number.
Definition sonymn_int.cpp:2123
Exiv2::Internal::SonyMakerNote::printColorTemperature
static std::ostream & printColorTemperature(std::ostream &, const Value &, const ExifData *)
Print Sony color temperature values.
Definition sonymn_int.cpp:1169
Exiv2::Internal::SonyMakerNote::printFlexibleSpotPosition
static std::ostream & printFlexibleSpotPosition(std::ostream &, const Value &, const ExifData *)
Print Sony flexible spot position values.
Definition sonymn_int.cpp:936
Exiv2::Internal::SonyMakerNote::printSony2FpFocusMode
static std::ostream & printSony2FpFocusMode(std::ostream &, const Value &, const ExifData *)
Print Sony2Fp Focus Mode value.
Definition sonymn_int.cpp:1855
Exiv2::Internal::SonyMakerNote::printFocusMode3
static std::ostream & printFocusMode3(std::ostream &, const Value &, const ExifData *)
Print Sony focus mode 3 values.
Definition sonymn_int.cpp:1381
Exiv2::Internal::SonyMakerNote::printSony2FpAmbientTemperature
static std::ostream & printSony2FpAmbientTemperature(std::ostream &, const Value &, const ExifData *)
Print Sony 2Fp AmbientTemperature values (in degrees Celsius).
Definition sonymn_int.cpp:1843
Exiv2::Internal::SonyMakerNote::printFocusMode
static std::ostream & printFocusMode(std::ostream &, const Value &, const ExifData *)
Print Sony focus mode values.
Definition sonymn_int.cpp:1342
Exiv2::Internal::SonyMakerNote::printAFPointSelected
static std::ostream & printAFPointSelected(std::ostream &, const Value &, const ExifData *)
Print Sony auto-focus point selected values.
Definition sonymn_int.cpp:961
Exiv2::Internal::SonyMakerNote::printFocusFrameSize
static std::ostream & printFocusFrameSize(std::ostream &, const Value &, const ExifData *)
Print Sony focus frame size values.
Definition sonymn_int.cpp:1151
Exiv2::Internal::SonyMakerNote::tagListSonyMisc2b
static const TagInfo * tagListSonyMisc2b()
Return read-only list of built-in Sony Misc2b tags (Tag 9404).
Definition sonymn_int.cpp:1984
Exiv2::Internal::SonyMakerNote::printImageSize
static std::ostream & printImageSize(std::ostream &, const Value &, const ExifData *)
Print Sony full and preview image size values.
Definition sonymn_int.cpp:1331
Exiv2::Internal::SonyMakerNote::printPixelShiftInfo
static std::ostream & printPixelShiftInfo(std::ostream &, const Value &, const ExifData *)
Print Sony pixel shift information values.
Definition sonymn_int.cpp:1123
Exiv2::Internal::SonyMakerNote::printSonyMisc3cShotNumberSincePowerUp
static std::ostream & printSonyMisc3cShotNumberSincePowerUp(std::ostream &, const Value &, const ExifData *)
Print SonyMisc3c shot number since power up value.
Definition sonymn_int.cpp:2096
Exiv2::Internal::SonyMakerNote::printFocusMode2
static std::ostream & printFocusMode2(std::ostream &, const Value &, const ExifData *)
Print Sony focus mode 2 values.
Definition sonymn_int.cpp:872
Exiv2::Internal::SonyMakerNote::tagListSonyMisc1
static const TagInfo * tagListSonyMisc1()
Return read-only list of built-in Sony Misc1 tags (Tag 9403).
Definition sonymn_int.cpp:1919
Exiv2::Internal::SonyMakerNote::printMultiBurstSize
static std::ostream & printMultiBurstSize(std::ostream &, const Value &, const ExifData *)
Print Sony multi-burst size values.
Definition sonymn_int.cpp:811
Exiv2::Internal::SonyMakerNote::printWBShiftABGMPrecise
static std::ostream & printWBShiftABGMPrecise(std::ostream &, const Value &, const ExifData *)
Print Sony white balance shift amber/blue and green/magenta precise values.
Definition sonymn_int.cpp:1077
Exiv2::Internal::SonyMakerNote::printMultiBurstMode
static std::ostream & printMultiBurstMode(std::ostream &, const Value &, const ExifData *)
Print Sony multi-burst mode values.
Definition sonymn_int.cpp:799
Exiv2::Internal::SonyMakerNote::printExposureStandardAdjustment
static std::ostream & printExposureStandardAdjustment(std::ostream &, const Value &, const ExifData *)
Print Sony variable low pass filter values.
Definition sonymn_int.cpp:1108
Exiv2::Internal::SonyMakerNote::printSonyMisc2bLensZoomPosition
static std::ostream & printSonyMisc2bLensZoomPosition(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc2b Lens Zoom Position value.
Definition sonymn_int.cpp:1988
Exiv2::Internal::SonyMakerNote::tagListCs2
static const TagInfo * tagListCs2()
Return read-only list of built-in Sony Standard Camera Settings version 2 tags.
Definition sonymn_int.cpp:1807
Exiv2::Internal::SonyMakerNote::tagListSonyMisc3c
static const TagInfo * tagListSonyMisc3c()
Return read-only list of built-in Sony Misc3c tags (Tag 9400).
Definition sonymn_int.cpp:2092
Exiv2::Internal::SonyMakerNote::printSonyMisc1CameraTemperature
static std::ostream & printSonyMisc1CameraTemperature(std::ostream &, const Value &, const ExifData *)
Print Sony SonyMisc1 CameraTemperature values (in degrees Celsius).
Definition sonymn_int.cpp:1923
Exiv2::Internal::SonyMakerNote::printLensSpec
static std::ostream & printLensSpec(std::ostream &, const Value &, const ExifData *)
Print Sony lens specification values.
Definition sonymn_int.cpp:1243
Exiv2::Internal::SonyMakerNote::printSonyMisc3cQuality2
static std::ostream & printSonyMisc3cQuality2(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc3c quality 2 value.
Definition sonymn_int.cpp:2128
Exiv2::Internal::SonyMakerNote::printSonyMisc3cModelReleaseYear
static std::ostream & printSonyMisc3cModelReleaseYear(std::ostream &, const Value &, const ExifData *metadata)
Print SonyMisc3c model release year value.
Definition sonymn_int.cpp:2175
Exiv2::Internal::TiffComponent
Interface class for components of a TIFF directory hierarchy (Composite pattern). Both TIFF directori...
Definition tiffcomposite_int.hpp:152
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::DataBuf
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition types.hpp:124
Exiv2::TagInfo
Tag information.
Definition tags.hpp:224