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.
77 lines
2.9 KiB
C++
77 lines
2.9 KiB
C++
// ***************************************************************** -*- C++ -*-
|
|
/*
|
|
* Copyright (C) 2004-2021 Exiv2 authors
|
|
* This program is part of the Exiv2 distribution.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, 5th Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
#ifndef SONYMN_INT_HPP_
|
|
#define SONYMN_INT_HPP_
|
|
|
|
// *****************************************************************************
|
|
// included header files
|
|
#include "tags.hpp"
|
|
#include "types.hpp"
|
|
#include "tiffcomposite_int.hpp"
|
|
|
|
// + standard includes
|
|
#include <string>
|
|
#include <iosfwd>
|
|
|
|
// *****************************************************************************
|
|
// namespace extensions
|
|
namespace Exiv2 {
|
|
namespace Internal {
|
|
|
|
// *****************************************************************************
|
|
// class definitions
|
|
|
|
//! MakerNote for Sony cameras
|
|
class SonyMakerNote {
|
|
public:
|
|
//! Return read-only list of built-in Sony tags
|
|
static const TagInfo* tagList();
|
|
//! Return read-only list of built-in Sony Standard Camera Settings tags
|
|
static const TagInfo* tagListCs();
|
|
//! Return read-only list of built-in Sony Standard Camera Settings version 2 tags
|
|
static const TagInfo* tagListCs2();
|
|
//! Return read-only list of built-in Sony FocusPosition tags
|
|
static const TagInfo* tagListFp();
|
|
|
|
static const TagInfo* tagList2010e();
|
|
|
|
//! @name Print functions for Sony %MakerNote tags
|
|
//@{
|
|
//! Print Sony Camera Model
|
|
static std::ostream& print0xb000(std::ostream&, const Value&, const ExifData*);
|
|
//! Print Full and Preview Image size
|
|
static std::ostream& printImageSize(std::ostream&, const Value&, const ExifData*);
|
|
|
|
private:
|
|
//! Tag information
|
|
static const TagInfo tagInfo_[];
|
|
static const TagInfo tagInfoCs_[];
|
|
static const TagInfo tagInfoCs2_[];
|
|
static const TagInfo tagInfoFp_[];
|
|
static const TagInfo tagInfo2010e_[];
|
|
}; // class SonyMakerNote
|
|
|
|
DataBuf sonyTagDecipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
|
|
DataBuf sonyTagEncipher(uint16_t, const byte*, uint32_t, TiffComponent* const);
|
|
|
|
}} // namespace Internal, Exiv2
|
|
|
|
#endif // #ifndef SONYMN_INT_HPP_
|