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
35 namespace Exiv2 {
36  namespace Internal {
37 
38 // *****************************************************************************
39 // class definitions
40 
42  class SonyMakerNote {
43  public:
45  static const TagInfo* tagList();
47  static const TagInfo* tagListCs();
49  static const TagInfo* tagListCs2();
51  static const TagInfo* tagListFp();
52 
53  static const TagInfo* tagList2010e();
54 
56 
57  static std::ostream& print0xb000(std::ostream&, const Value&, const ExifData*);
60  static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
61 
62  private:
64  static const TagInfo tagInfo_[];
65  static const TagInfo tagInfoCs_[];
66  static const TagInfo tagInfoCs2_[];
67  static const TagInfo tagInfoFp_[];
68  static const TagInfo tagInfo2010e_[];
69  }; // class SonyMakerNote
70 
71  DataBuf sonyTagDecipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
72  DataBuf sonyTagEncipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
73 
74 }} // namespace Internal, Exiv2
75 
76 #endif // #ifndef SONYMN_INT_HPP_
Exiv2::Internal::sonyMeteringMode
const TagDetails sonyMeteringMode[]
Lookup table to translate Sony camera settings metering mode values to readable labels.
Exiv2::Internal::sonySequenceNumber
const TagDetails sonySequenceNumber[]
Lookup table to translate Sony sequence number values to readable labels.
Exiv2::Internal::printMinoltaSonyRotation
std::ostream & printMinoltaSonyRotation(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Rotation values to readable labels.
Definition: minoltamn_int.cpp:2388
Exiv2::Internal::TagDetails
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:225
Exiv2::Internal::printMinoltaSonyBoolValue
std::ostream & printMinoltaSonyBoolValue(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony bool function values to readable labels.
Definition: minoltamn_int.cpp:2278
Exiv2::Internal::sonyHDRMode
const TagDetails sonyHDRMode[]
Lookup table to translate Sony Auto HDR values to readable labels.
Exiv2::Internal::printMinoltaSonyLensID
std::ostream & printMinoltaSonyLensID(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Lens id values to readable labels.
Definition: minoltamn_int.cpp:2220
Exiv2::Internal::sonyCSFocusMode
const TagDetails sonyCSFocusMode[]
Lookup table to translate Sony camera settings focus mode values to readable labels.
Exiv2::Internal::SonyMakerNote::tagList
static const TagInfo * tagList()
Return read-only list of built-in Sony tags.
Definition: sonymn_int.cpp:491
Exiv2::Internal::sonyImageStyle
const TagDetails sonyImageStyle[]
Lookup table to translate Sony camera settings image style values to readable labels.
Exiv2::Internal::printMinoltaSonyQualityCs
std::ostream & printMinoltaSonyQualityCs(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Quality values to readable labels.
Definition: minoltamn_int.cpp:2374
Exiv2::Internal::sonyFocusMode
const TagDetails sonyFocusMode[]
Lookup table to translate Sony AF mode values to readable labels.
Exiv2::Internal::printMinoltaSonyImageQuality
std::ostream & printMinoltaSonyImageQuality(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Image Quality values to readable labels.
Definition: minoltamn_int.cpp:2431
Exiv2::Value
Common interface for all types of values used with metadata.
Definition: value.hpp:51
Exiv2::Internal::printMinoltaSonyColorMode
std::ostream & printMinoltaSonyColorMode(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Color Mode values to readable labels.
Definition: minoltamn_int.cpp:2265
Exiv2::Internal::sonyAFIlluminatorCS
const TagDetails sonyAFIlluminatorCS[]
Lookup table to translate Sony AF illuminator values to readable labels.
Exiv2::Internal::sonyAntiBlur
const TagDetails sonyAntiBlur[]
Lookup table to translate Sony anti-blur values to readable labels.
Exiv2::Internal::sonyJPEGQuality
const TagDetails sonyJPEGQuality[]
Lookup table to translate Sony JPEG Quality values to readable labels.
Exiv2::undefined
@ undefined
Exif UNDEFINED type, an 8-bit byte that may contain anything.
Definition: types.hpp:126
Exiv2::Internal::printMinoltaSonyZoneMatching
std::ostream & printMinoltaSonyZoneMatching(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony ZoneMatching values to readable labels.
Definition: minoltamn_int.cpp:2483
Exiv2::signedShort
@ signedShort
Exif SSHORT type, a 16-bit (2-byte) signed (twos-complement) integer.
Definition: types.hpp:127
Exiv2::asciiString
@ asciiString
Exif ASCII type, 8-bit byte.
Definition: types.hpp:121
Exiv2::Internal::TiffComponent
Interface class for components of a TIFF directory hierarchy (Composite pattern). Both TIFF directori...
Definition: tiffcomposite_int.hpp:171
Exiv2::Value::count
virtual long count() const =0
Return the number of components of the value.
Exiv2::Internal::sonyDriveModeStd
const TagDetails sonyDriveModeStd[]
Lookup table to translate Sony camera settings drive mode values to readable labels.
Exiv2::unsignedLong
@ unsignedLong
Exif LONG type, 32-bit (4-byte) unsigned integer.
Definition: types.hpp:123
Exiv2::Internal::sonyFlashMode
const TagDetails sonyFlashMode[]
Lookup table to translate Sony camera settings flash mode values to readable labels.
Exiv2::Internal::sonyModelId
const TagDetails sonyModelId[]
Lookup table to translate Sony model ID values to readable labels.
Exiv2::Internal::printMinoltaSonyPrioritySetupShutterRelease
std::ostream & printMinoltaSonyPrioritySetupShutterRelease(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony priority setup shutter release values to readable labels.
Definition: minoltamn_int.cpp:2356
Exiv2::Internal::SonyMakerNote
MakerNote for Sony cameras.
Definition: sonymn_int.hpp:42
Exiv2::Internal::printMinoltaSonySceneMode
std::ostream & printMinoltaSonySceneMode(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Scene Mode values to readable labels.
Definition: minoltamn_int.cpp:2411
Exiv2::Internal::print0xb04f
const TagDetails print0xb04f[]
Lookup table to translate Sony dynamic range optimizer values to readable labels.
Exiv2::Internal::sonyExposureMode
const TagDetails sonyExposureMode[]
Lookup table to translate Sony exposure mode values to readable labels.
Exiv2::Internal::SonyMakerNote::print0xb000
static std::ostream & print0xb000(std::ostream &, const Value &, const ExifData *)
Print Sony Camera Model.
Definition: sonymn_int.cpp:292
Exiv2::Internal::sonyWhiteBalance
const TagDetails sonyWhiteBalance[]
Lookup table to translate Sony WB values to readable labels.
Exiv2::Internal::sonyFlashLevel
const TagDetails sonyFlashLevel[]
Lookup table to translate Sony flash level values to readable labels.
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:789
Exiv2::DataBuf
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
Exiv2::unsignedByte
@ unsignedByte
Exif BYTE type, 8-bit unsigned integer.
Definition: types.hpp:120
Exiv2::Internal::printValue
std::ostream & printValue(std::ostream &os, const Value &value, const ExifData *)
Default print function, using the Value output operator.
Definition: tags_int.cpp:2547
Exiv2::signedByte
@ signedByte
Exif SBYTE type, an 8-bit signed (twos-complement) integer.
Definition: types.hpp:125
Exiv2::Value::toString
std::string toString() const
Return the value as a string. Implemented in terms of write(std::ostream& os) const of the concrete c...
Definition: value.cpp:168
Exiv2::Internal::print0x9204
std::ostream & print0x9204(std::ostream &os, const Value &value, const ExifData *)
Print the exposure bias value.
Definition: tags_int.cpp:2926
Exiv2::Internal::sonyAFMode
const TagDetails sonyAFMode[]
Lookup table to translate Sony AF mode values to readable labels.
Exiv2::Internal::sonyImageSize
const TagDetails sonyImageSize[]
Lookup table to translate Sony camera settings image size values to readable labels.
Exiv2::unsignedShort
@ unsignedShort
Exif SHORT type, 16-bit (2-byte) unsigned integer.
Definition: types.hpp:122
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exiv2::signedLong
@ signedLong
Exif SLONG type, a 32-bit (4-byte) signed (twos-complement) integer.
Definition: types.hpp:128
Exiv2::Internal::sonyExposureLevelIncrements
const TagDetails sonyExposureLevelIncrements[]
Lookup table to translate Sony exposure level increments values to readable labels.
Exiv2::Internal::sonyCreativeStyle
const TagDetails sonyCreativeStyle[]
Lookup table to translate Sony camera settings creative style values to readable labels.
Exiv2::signedRational
@ signedRational
Exif SRATIONAL type, two SLONGs: numerator and denumerator of a fraction.
Definition: types.hpp:129
Exiv2::Internal::sonyReleaseMode
const TagDetails sonyReleaseMode[]
Lookup table to translate Sony release mode values to readable labels.
Exiv2::TagInfo
Tag information.
Definition: tags.hpp:74
Exiv2::Internal::printMinoltaSonyLocalAFAreaPoint
std::ostream & printMinoltaSonyLocalAFAreaPoint(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Local AF Area Point values to readable labels.
Definition: minoltamn_int.cpp:2327
Exiv2::Internal::sonyAFIlluminator
const TagDetails sonyAFIlluminator[]
Lookup table to translate Sony AF illuminator values to readable labels.
Exiv2::Internal::print0xb025
const TagDetails print0xb025[]
Lookup table to translate Sony dynamic range optimizer values to readable labels.
Exiv2::Internal::SonyMakerNote::printImageSize
static std::ostream & printImageSize(std::ostream &, const Value &, const ExifData *)
Print Full and Preview Image size.
Definition: sonymn_int.cpp:315
Exiv2::Internal::printMinoltaSonyTeleconverterModel
std::ostream & printMinoltaSonyTeleconverterModel(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony Teleconverter Model values to readable labels.
Definition: minoltamn_int.cpp:2451
Exiv2::Internal::SonyMakerNote::tagListCs
static const TagInfo * tagListCs()
Return read-only list of built-in Sony Standard Camera Settings tags.
Definition: sonymn_int.cpp:725
Exiv2::Internal::sonyLongExposureNoiseReduction
const TagDetails sonyLongExposureNoiseReduction[]
Lookup table to translate Sony long exposure noise reduction values to readable labels.
Exiv2::Internal::printMinoltaSonyDynamicRangeOptimizerMode
std::ostream & printMinoltaSonyDynamicRangeOptimizerMode(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony dynamic range optimizer mode values to readable labels.
Definition: minoltamn_int.cpp:2343
Exiv2::Internal::printMinoltaSonyBoolInverseValue
std::ostream & printMinoltaSonyBoolInverseValue(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony bool inverse function values to readable labels.
Definition: minoltamn_int.cpp:2291
Exiv2::Internal::sonyMacroMode
const TagDetails sonyMacroMode[]
Lookup table to translate Sony macro mode values to readable labels.
Exiv2::Internal::sonyIntelligentAuto
const TagDetails sonyIntelligentAuto[]
Lookup table to translate Sony Intelligent Auto values to readable labels.
Exiv2::Internal::SonyMakerNote::tagListFp
static const TagInfo * tagListFp()
Return read-only list of built-in Sony FocusPosition tags.
Definition: sonymn_int.cpp:804
Exiv2::Internal::printMinoltaSonyAFAreaMode
std::ostream & printMinoltaSonyAFAreaMode(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony AF Area Mode values to readable labels.
Definition: minoltamn_int.cpp:2305
Exiv2::Internal::printMinoltaSonyWhiteBalanceStd
std::ostream & printMinoltaSonyWhiteBalanceStd(std::ostream &os, const Value &value, const ExifData *metadata)
Print Minolta/Sony White Balance Std values to readable labels.
Definition: minoltamn_int.cpp:2471
Exiv2::Internal::sonyExposureProgram
const TagDetails sonyExposureProgram[]
Lookup table to translate Sony camera settings exposure program values to readable labels.
Exiv2::Internal::sonyAspectRatio
const TagDetails sonyAspectRatio[]
Lookup table to translate Sony aspect ratio values to readable labels.
Exiv2::ExifData
A container for Exif data. This is a top-level class of the Exiv2 library. The container holds Exifda...
Definition: exif.hpp:434