You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
6.6 KiB
C++
127 lines
6.6 KiB
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#ifndef MINOLTAMN_INT_HPP_
|
|
#define MINOLTAMN_INT_HPP_
|
|
|
|
// *****************************************************************************
|
|
// included header files
|
|
#include "tags.hpp"
|
|
#include "types.hpp"
|
|
|
|
// + standard includes
|
|
#include <iosfwd>
|
|
|
|
// *****************************************************************************
|
|
// namespace extensions
|
|
namespace Exiv2 {
|
|
namespace Internal {
|
|
|
|
// *****************************************************************************
|
|
// class definitions
|
|
|
|
//! MakerNote for Minolta cameras
|
|
class MinoltaMakerNote {
|
|
public:
|
|
//! Return read-only list of built-in Minolta tags
|
|
static const TagInfo* tagList();
|
|
//! Return read-only list of built-in Minolta Standard Camera Settings tags
|
|
static const TagInfo* tagListCsStd();
|
|
//! Return read-only list of built-in Minolta 7D Camera Settings tags
|
|
static const TagInfo* tagListCs7D();
|
|
//! Return read-only list of built-in Minolta 5D Camera Settings tags
|
|
static const TagInfo* tagListCs5D();
|
|
//! Return read-only list of built-in Sony A100 Camera Settings tags
|
|
static const TagInfo* tagListCsA100();
|
|
|
|
//! @name Print functions for Minolta %MakerNote tags
|
|
//@{
|
|
//! Print Exposure Speed setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaExposureSpeedStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Exposure Time setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaExposureTimeStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print F Number setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaFNumberStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Exposure Compensation setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaExposureCompensationStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Focal Length setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaFocalLengthStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Minolta Date from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaDateStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Minolta Time from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaTimeStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Flash Exposure Compensation setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaFlashExposureCompStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print White Balance setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaWhiteBalanceStd(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Brightness setting from standard Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaBrightnessStd(std::ostream& os, const Value& value, const ExifData*);
|
|
|
|
//! Print Exposure Manual Bias setting from 5D Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaExposureManualBias5D(std::ostream& os, const Value& value, const ExifData*);
|
|
//! Print Exposure Compensation setting from 5D Minolta Camera Settings makernote
|
|
static std::ostream& printMinoltaExposureCompensation5D(std::ostream& os, const Value& value, const ExifData*);
|
|
//@}
|
|
|
|
private:
|
|
//! Tag information
|
|
static const TagInfo tagInfo_[];
|
|
static const TagInfo tagInfoCsA100_[];
|
|
static const TagInfo tagInfoCs5D_[];
|
|
static const TagInfo tagInfoCs7D_[];
|
|
static const TagInfo tagInfoCsStd_[];
|
|
|
|
}; // class MinoltaMakerNote
|
|
|
|
// -- Minolta and Sony MakerNote Common Values ---------------------------------------
|
|
|
|
//! Print Minolta/Sony Lens id values to readable labels.
|
|
std::ostream& printMinoltaSonyLensID(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Color Mode values to readable labels.
|
|
std::ostream& printMinoltaSonyColorMode(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony bool function values to readable labels.
|
|
std::ostream& printMinoltaSonyBoolValue(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony bool inverse function values to readable labels.
|
|
std::ostream& printMinoltaSonyBoolInverseValue(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony AF Area Mode values to readable labels.
|
|
std::ostream& printMinoltaSonyAFAreaMode(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Local AF Area Point values to readable labels.
|
|
std::ostream& printMinoltaSonyLocalAFAreaPoint(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony dynamic range optimizer mode values to readable labels.
|
|
std::ostream& printMinoltaSonyDynamicRangeOptimizerMode(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony priority setup shutter release values to readable labels.
|
|
std::ostream& printMinoltaSonyPrioritySetupShutterRelease(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Quality values to readable labels.
|
|
std::ostream& printMinoltaSonyQualityCs(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Rotation values to readable labels.
|
|
std::ostream& printMinoltaSonyRotation(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Scene Mode values to readable labels.
|
|
std::ostream& printMinoltaSonySceneMode(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Image Quality values to readable labels.
|
|
std::ostream& printMinoltaSonyImageQuality(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony Teleconverter Model values to readable labels.
|
|
std::ostream& printMinoltaSonyTeleconverterModel(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony White Balance Std values to readable labels.
|
|
std::ostream& printMinoltaSonyWhiteBalanceStd(std::ostream&, const Value&, const ExifData*);
|
|
|
|
//! Print Minolta/Sony ZoneMatching values to readable labels.
|
|
std::ostream& printMinoltaSonyZoneMatching(std::ostream&, const Value&, const ExifData*);
|
|
|
|
// TODO: Added shared methods here.
|
|
|
|
}} // namespace Internal, Exiv2
|
|
|
|
#endif // #ifndef MINOLTAMN_INT_HPP_
|