Exiv2
makernote_int.hpp
Go to the documentation of this file.
1 // ***************************************************************** -*- C++ -*-
2 /*
3  * Copyright (C) 2004-2018 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  */
30 #ifndef MAKERNOTE_INT_HPP_
31 #define MAKERNOTE_INT_HPP_
32 
33 // *****************************************************************************
34 // included header files
35 #include "tifffwd_int.hpp"
36 #include "tags_int.hpp"
37 #include "ini.hpp"
38 #include "types.hpp"
39 
40 // + standard includes
41 #include <string>
42 
43 // *****************************************************************************
44 // namespace extensions
45 namespace Exiv2 {
46  namespace Internal {
47 // *****************************************************************************
48 // function prototypes
53 
57  std::string readExiv2Config(const std::string& section,const std::string& value,const std::string& def);
58 
59 
60 // *****************************************************************************
61 // class definitions
62 
64  typedef TiffComponent* (*NewMnFct)(uint16_t tag,
65  IfdId group,
66  IfdId mnGroup,
67  const byte* pData,
68  uint32_t size,
69  ByteOrder byteOrder);
70 
72  typedef TiffComponent* (*NewMnFct2)(uint16_t tag,
73  IfdId group,
74  IfdId mnGroup);
75 
77  struct TiffMnRegistry {
78  struct MakeKey;
86  bool operator==(const std::string& key) const;
87 
89  bool operator==(IfdId key) const;
90 
91  // DATA
92  const char* make_;
96  };
97 
102  public:
114  static TiffComponent* create(uint16_t tag,
115  IfdId group,
116  const std::string& make,
117  const byte* pData,
118  uint32_t size,
119  ByteOrder byteOrder);
124  static TiffComponent* create(uint16_t tag,
125  IfdId group,
126  IfdId mnGroup);
127 
128  protected:
131  private:
132  static const TiffMnRegistry registry_[]; //<! List of makernotes
133  }; // class TiffMnCreator
134 
136  class MnHeader {
137  public:
139 
140  virtual ~MnHeader();
143 
145  virtual bool read(const byte* pData,
147  uint32_t size,
148  ByteOrder byteOrder) =0;
152  virtual void setByteOrder(ByteOrder byteOrder);
154 
156  virtual uint32_t size() const =0;
159  virtual uint32_t write(IoWrapper& ioWrapper,
160  ByteOrder byteOrder) const =0;
165  virtual uint32_t ifdOffset() const;
171  virtual ByteOrder byteOrder() const;
177  virtual uint32_t baseOffset(uint32_t mnOffset) const;
179 
180  }; // class MnHeader
181 
183  class OlympusMnHeader : public MnHeader {
184  public:
186 
187  OlympusMnHeader();
190  virtual ~OlympusMnHeader();
192 
194  virtual bool read(const byte* pData,
195  uint32_t size,
198 
200  virtual uint32_t size() const;
201  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
202  virtual uint32_t ifdOffset() const;
204  static uint32_t sizeOfSignature();
206 
207  private:
208  DataBuf header_;
209  static const byte signature_[];
210 
211  }; // class OlympusMnHeader
212 
214  class Olympus2MnHeader : public MnHeader {
215  public:
217 
221  virtual ~Olympus2MnHeader();
223 
225  virtual bool read(const byte* pData,
226  uint32_t size,
229 
231  virtual uint32_t size() const;
232  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
233  virtual uint32_t ifdOffset() const;
234  virtual uint32_t baseOffset(uint32_t mnOffset) const;
236  static uint32_t sizeOfSignature();
238 
239  private:
240  DataBuf header_;
241  static const byte signature_[];
242 
243  }; // class Olympus2MnHeader
244 
246  class FujiMnHeader : public MnHeader {
247  public:
249 
250  FujiMnHeader();
253  virtual ~FujiMnHeader();
255 
257  virtual bool read(const byte* pData,
258  uint32_t size,
260  // setByteOrder not implemented
262 
264  virtual uint32_t size() const;
265  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
266  virtual uint32_t ifdOffset() const;
267  virtual ByteOrder byteOrder() const;
268  virtual uint32_t baseOffset(uint32_t mnOffset) const;
270  static uint32_t sizeOfSignature();
272 
273  private:
274  DataBuf header_;
275  static const byte signature_[];
276  static const ByteOrder byteOrder_;
277  uint32_t start_;
278 
279  }; // class FujiMnHeader
280 
282  class Nikon2MnHeader : public MnHeader {
283  public:
285 
286  Nikon2MnHeader();
289  virtual ~Nikon2MnHeader();
291 
293  virtual bool read(const byte* pData,
294  uint32_t size,
297 
299  virtual uint32_t size() const;
300  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
301  virtual uint32_t ifdOffset() const;
303  static uint32_t sizeOfSignature();
305 
306  private:
307  DataBuf buf_;
308  uint32_t start_;
309  static const byte signature_[];
310 
311  }; // class Nikon2MnHeader
312 
314  class Nikon3MnHeader : public MnHeader {
315  public:
317 
318  Nikon3MnHeader();
321  virtual ~Nikon3MnHeader();
323 
325  virtual bool read(const byte* pData,
326  uint32_t size,
328  virtual void setByteOrder(ByteOrder byteOrder);
330 
332  virtual uint32_t size() const;
333  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
334  virtual uint32_t ifdOffset() const;
335  virtual ByteOrder byteOrder() const;
336  virtual uint32_t baseOffset(uint32_t mnOffset) const;
338  static uint32_t sizeOfSignature();
340 
341  private:
342  DataBuf buf_;
343  ByteOrder byteOrder_;
344  uint32_t start_;
345  static const byte signature_[];
346 
347  }; // class Nikon3MnHeader
348 
350  class PanasonicMnHeader : public MnHeader {
351  public:
353 
357  virtual ~PanasonicMnHeader();
359 
361  virtual bool read(const byte* pData,
362  uint32_t size,
365 
367  virtual uint32_t size() const;
368  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
369  virtual uint32_t ifdOffset() const;
371  static uint32_t sizeOfSignature();
373 
374  private:
375  DataBuf buf_;
376  uint32_t start_;
377  static const byte signature_[];
378 
379  }; // class PanasonicMnHeader
380 
382  class PentaxDngMnHeader : public MnHeader {
383  public:
385 
389  virtual ~PentaxDngMnHeader();
391 
393  virtual bool read(const byte* pData,
394  uint32_t size,
397 
399  virtual uint32_t size() const;
400  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
401  virtual uint32_t ifdOffset() const;
402  virtual uint32_t baseOffset(uint32_t mnOffset) const;
404  static uint32_t sizeOfSignature();
406 
407  private:
408  DataBuf header_;
409  static const byte signature_[];
410 
411  }; // class PentaxDngMnHeader
412 
414  class PentaxMnHeader : public MnHeader {
415  public:
417 
418  PentaxMnHeader();
421  virtual ~PentaxMnHeader();
423 
425  virtual bool read(const byte* pData,
426  uint32_t size,
429 
431  virtual uint32_t size() const;
432  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
433  virtual uint32_t ifdOffset() const;
435  static uint32_t sizeOfSignature();
437 
438  private:
439  DataBuf header_;
440  static const byte signature_[];
441 
442  }; // class PentaxMnHeader
443 
445  class SamsungMnHeader : public MnHeader {
446  public:
448 
449  SamsungMnHeader();
452 
454  virtual bool read(const byte* pData,
455  uint32_t size,
458 
460  virtual uint32_t size() const;
461  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
462  virtual uint32_t baseOffset(uint32_t mnOffset) const;
464 
465  }; // class SamsungMnHeader
466 
468  class SigmaMnHeader : public MnHeader {
469  public:
471 
472  SigmaMnHeader();
475  virtual ~SigmaMnHeader();
477 
479  virtual bool read(const byte* pData,
480  uint32_t size,
483 
485  virtual uint32_t size() const;
486  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
487  virtual uint32_t ifdOffset() const;
489  static uint32_t sizeOfSignature();
491 
492  private:
493  DataBuf buf_;
494  uint32_t start_;
495  static const byte signature1_[];
496  static const byte signature2_[];
497 
498  }; // class SigmaMnHeader
499 
501  class SonyMnHeader : public MnHeader {
502  public:
504 
505  SonyMnHeader();
508  virtual ~SonyMnHeader();
510 
512  virtual bool read(const byte* pData,
513  uint32_t size,
516 
518  virtual uint32_t size() const;
519  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
520  virtual uint32_t ifdOffset() const;
522  static uint32_t sizeOfSignature();
524 
525  private:
526  DataBuf buf_;
527  uint32_t start_;
528  static const byte signature_[];
529 
530  }; // class SonyMnHeader
531 
533  class Casio2MnHeader : public MnHeader {
534  public:
536 
537  Casio2MnHeader();
540  virtual ~Casio2MnHeader();
542 
544  virtual bool read(const byte* pData,
545  uint32_t size,
548 
550  virtual uint32_t size() const;
551  virtual uint32_t write(IoWrapper& ioWrapper, ByteOrder byteOrder) const;
552  virtual uint32_t ifdOffset() const;
553  virtual ByteOrder byteOrder() const;
555  static uint32_t sizeOfSignature();
557 
558  private:
559  DataBuf buf_;
560  uint32_t start_;
561  static const byte signature_[];
562  static const ByteOrder byteOrder_;
563 
564  }; // class Casio2MnHeader
565 
566  // *****************************************************************************
567 // template, inline and free functions
568 
570  TiffComponent* newIfdMn(uint16_t tag,
571  IfdId group,
572  IfdId mnGroup,
573  const byte* pData,
574  uint32_t size,
575  ByteOrder byteOrder);
576 
578  TiffComponent* newIfdMn2(uint16_t tag,
579  IfdId group,
580  IfdId mnGroup);
581 
583  TiffComponent* newOlympusMn(uint16_t tag,
584  IfdId group,
585  IfdId mnGroup,
586  const byte* pData,
587  uint32_t size,
588  ByteOrder byteOrder);
589 
591  TiffComponent* newOlympusMn2(uint16_t tag,
592  IfdId group,
593  IfdId mnGroup);
594 
596  TiffComponent* newOlympus2Mn2(uint16_t tag,
597  IfdId group,
598  IfdId mnGroup);
599 
601  TiffComponent* newFujiMn(uint16_t tag,
602  IfdId group,
603  IfdId mnGroup,
604  const byte* pData,
605  uint32_t size,
606  ByteOrder byteOrder);
607 
609  TiffComponent* newFujiMn2(uint16_t tag,
610  IfdId group,
611  IfdId mnGroup);
612 
617  TiffComponent* newNikonMn(uint16_t tag,
618  IfdId group,
619  IfdId mnGroup,
620  const byte* pData,
621  uint32_t size,
622  ByteOrder byteOrder);
623 
625  TiffComponent* newNikon2Mn2(uint16_t tag,
626  IfdId group,
627  IfdId mnGroup);
628 
630  TiffComponent* newNikon3Mn2(uint16_t tag,
631  IfdId group,
632  IfdId mnGroup);
633 
635  TiffComponent* newPanasonicMn(uint16_t tag,
636  IfdId group,
637  IfdId mnGroup,
638  const byte* pData,
639  uint32_t size,
640  ByteOrder byteOrder);
641 
643  TiffComponent* newPanasonicMn2(uint16_t tag,
644  IfdId group,
645  IfdId mnGroup);
646 
648  TiffComponent* newPentaxMn(uint16_t tag,
649  IfdId group,
650  IfdId mnGroup,
651  const byte* pData,
652  uint32_t size,
653  ByteOrder byteOrder);
654 
656  TiffComponent* newPentaxMn2(uint16_t tag,
657  IfdId group,
658  IfdId mnGroup);
659 
661  TiffComponent* newPentaxDngMn2(uint16_t tag,
662  IfdId group,
663  IfdId mnGroup);
664 
666  TiffComponent* newSamsungMn(uint16_t tag,
667  IfdId group,
668  IfdId mnGroup,
669  const byte* pData,
670  uint32_t size,
671  ByteOrder byteOrder);
672 
674  TiffComponent* newSamsungMn2(uint16_t tag,
675  IfdId group,
676  IfdId mnGroup);
677 
679  TiffComponent* newSigmaMn(uint16_t tag,
680  IfdId group,
681  IfdId mnGroup,
682  const byte* pData,
683  uint32_t size,
684  ByteOrder byteOrder);
685 
687  TiffComponent* newSigmaMn2(uint16_t tag,
688  IfdId group,
689  IfdId mnGroup);
690 
692  TiffComponent* newSonyMn(uint16_t tag,
693  IfdId group,
694  IfdId mnGroup,
695  const byte* pData,
696  uint32_t size,
697  ByteOrder byteOrder);
698 
700  TiffComponent* newSony1Mn2(uint16_t tag,
701  IfdId group,
702  IfdId mnGroup);
703 
705  TiffComponent* newSony2Mn2(uint16_t tag,
706  IfdId group,
707  IfdId mnGroup);
708 
710  TiffComponent* newCasioMn(uint16_t tag,
711  IfdId group,
712  IfdId mnGroup,
713  const byte* pData,
714  uint32_t size,
715  ByteOrder byteOrder);
716 
718  TiffComponent* newCasio2Mn2(uint16_t tag,
719  IfdId group,
720  IfdId mnGroup);
721 
731  int sonyCsSelector(uint16_t tag, const byte* pData, uint32_t size, TiffComponent* const pRoot);
732 
742  int sony2010eSelector(uint16_t tag, const byte* pData, uint32_t size, TiffComponent* const pRoot);
743 
753  int nikonSelector(uint16_t tag, const byte* pData, uint32_t size, TiffComponent* const pRoot);
754 
764  int nikonAf2Selector(uint16_t tag, const byte* pData, uint32_t size, TiffComponent* const pRoot);
765 
782  DataBuf nikonCrypt(uint16_t tag, const byte* pData, uint32_t size, TiffComponent* const pRoot);
783 
784 }} // namespace Internal, Exiv2
785 
786 #endif // #ifndef MAKERNOTE_INT_HPP_
Exiv2::Internal::TiffComponent::accept
void accept(TiffVisitor &visitor)
Interface to accept visitors (Visitor pattern). Visitors can perform operations on all components of ...
Definition: tiffcomposite_int.cpp:887
Exiv2::Internal::SonyMnHeader::~SonyMnHeader
virtual ~SonyMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:763
Exiv2::Internal::OlympusMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:253
Exiv2::Internal::nikonArrayIdx
const NikonArrayIdx nikonArrayIdx[]
Nikon binary array version lookup table.
Exiv2::Internal::SigmaMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:719
Exiv2::Internal::TiffMnRegistry::newMnFct_
NewMnFct newMnFct_
Makernote create function (image)
Definition: makernote_int.hpp:94
Exiv2::Internal::FujiMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:372
Exiv2::Internal::sonyCsSelector
int sonyCsSelector(uint16_t, const byte *, uint32_t, TiffComponent *const pRoot)
Function to select cfg + def of the Sony Camera Settings complex binary array.
Definition: makernote_int.cpp:1235
Exiv2::Internal::SamsungMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:691
Exiv2::Internal::OlympusMnHeader::OlympusMnHeader
OlympusMnHeader()
Default constructor.
Definition: makernote_int.cpp:239
Exiv2::Internal::SigmaMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:704
Exiv2::Internal::TiffFinder::init
void init(uint16_t tag, IfdId group)
Initialize the Finder for a new search.
Definition: tiffvisitor_int.cpp:124
Exiv2::Internal::NikonArrayIdx::idx_
int idx_
Index into the array set.
Definition: makernote_int.cpp:1141
Exiv2::DataBuf::pData_
byte * pData_
Pointer to the buffer, 0 if none has been allocated.
Definition: types.hpp:269
Exiv2::Internal::NikonArrayIdx
Structure for an index into the array set of complex binary arrays.
Definition: makernote_int.cpp:1121
Exiv2::Internal::FujiMnHeader::byteOrder
virtual ByteOrder byteOrder() const
Return the byte order for the makernote. If the return value is invalidByteOrder, this means that the...
Definition: makernote_int.cpp:362
Exiv2::Internal::TiffEntryBase
This abstract base class provides the common functionality of an IFD directory entry and defines an e...
Definition: tiffcomposite_int.hpp:414
Exiv2::Internal::Nikon3MnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:465
Exiv2::Internal::PentaxMnHeader::~PentaxMnHeader
virtual ~PentaxMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:634
tiffvisitor_int.hpp
Internal operations on a TIFF composite tree, implemented as visitor classes.
Exiv2::make
EXIV2API ExifData::const_iterator make(const ExifData &ed)
Return the camera make.
Definition: easyaccess.cpp:428
Exiv2::Internal::Olympus2MnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:297
Exiv2::Internal::TiffMnCreator::~TiffMnCreator
~TiffMnCreator()
Prevent destruction (needed if used as a policy class)
Definition: makernote_int.hpp:130
Exiv2::Internal::newCasio2Mn2
TiffComponent * newCasio2Mn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Casio2 makernote.
Definition: makernote_int.cpp:1113
Exiv2::Internal::IfdId
IfdId
Type to specify the IFD to which a metadata belongs.
Definition: tags_int.hpp:54
types.hpp
Type definitions for Exiv2 and related functionality.
Exiv2::Internal::PanasonicMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:542
Exiv2::Internal::SamsungMnHeader
Header of a Samsung Makernote, only used for the relative offset.
Definition: makernote_int.hpp:445
Exiv2::Internal::NikonArrayIdx::ver_
const char * ver_
Version string.
Definition: makernote_int.cpp:1139
Exiv2::Internal::newFujiMn2
TiffComponent * newFujiMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Fujifilm makernote.
Definition: makernote_int.cpp:915
Exiv2::Internal::TiffHeader
Standard TIFF header structure.
Definition: tiffimage_int.hpp:149
Exiv2::Internal::PentaxDngMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:599
Exiv2::Internal::OlympusMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:234
Exiv2::Internal::PentaxDngMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:613
Exiv2::Internal::PanasonicMnHeader::PanasonicMnHeader
PanasonicMnHeader()
Default constructor.
Definition: makernote_int.cpp:528
Exiv2::Internal::newOlympusMn
TiffComponent * newOlympusMn(uint16_t tag, IfdId group, IfdId, const byte *pData, uint32_t size, ByteOrder)
Function to create an Olympus makernote.
Definition: makernote_int.cpp:871
Exiv2::Internal::Casio2MnHeader::Casio2MnHeader
Casio2MnHeader()
Default constructor.
Definition: makernote_int.cpp:806
Exiv2::Internal::newNikon2Mn2
TiffComponent * newNikon2Mn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Nikon2 makernote.
Definition: makernote_int.cpp:952
Exiv2::Internal::Olympus2MnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:302
Exiv2::Internal::TiffFinder::result
TiffComponent * result() const
Return the search result. 0 if no TIFF component was found for the tag and group combination.
Definition: tiffvisitor_int.hpp:210
Exiv2::Internal::TiffComponent
Interface class for components of a TIFF directory hierarchy (Composite pattern). Both TIFF directori...
Definition: tiffcomposite_int.hpp:174
Exiv2::Internal::Olympus2MnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:283
Exiv2::Internal::Nikon3MnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:485
Exiv2::Internal::TiffMnRegistry
Makernote registry structure.
Definition: makernote_int.hpp:77
Exiv2::Internal::NikonArrayIdx::tag_
uint16_t tag_
Tag number of the binary array.
Definition: makernote_int.cpp:1138
Exiv2::Internal::nikonAf2Selector
int nikonAf2Selector(uint16_t tag, const byte *, uint32_t size, TiffComponent *const)
Function to select cfg + def of a Nikon complex binary array.
Definition: makernote_int.cpp:1188
Exiv2::Internal::Nikon3MnHeader::baseOffset
virtual uint32_t baseOffset(uint32_t mnOffset) const
Return the base offset for the makernote IFD entries relative to the start of the TIFF header....
Definition: makernote_int.cpp:480
Exiv2::Internal::FujiMnHeader
Header of a Fujifilm Makernote.
Definition: makernote_int.hpp:246
Exiv2::Internal::SonyMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:777
Exiv2::Internal::Nikon2MnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:414
Exiv2::Internal::Nikon3MnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:448
Exiv2::Internal::NikonArrayIdx::start_
uint32_t start_
Start of the encrypted data.
Definition: makernote_int.cpp:1142
Exiv2::Internal::PentaxDngMnHeader
Header of an Pentax DNG Makernote.
Definition: makernote_int.hpp:382
Exiv2::Value::count
virtual long count() const =0
Return the number of components of the value.
EXV_COUNTOF
#define EXV_COUNTOF(a)
Macro to determine the size of an array.
Definition: types.hpp:517
Exiv2::Internal::TiffHeaderBase::read
virtual bool read(const byte *pData, uint32_t size)
Read the image header from a data buffer. Return false if the data buffer does not contain an image h...
Definition: tiffimage_int.cpp:1849
Exiv2::Internal::Olympus2MnHeader
Header of an Olympus II Makernote.
Definition: makernote_int.hpp:214
Exiv2::Internal::OlympusMnHeader
Header of an Olympus Makernote.
Definition: makernote_int.hpp:183
Exiv2::Internal::sony2010eSelector
int sony2010eSelector(uint16_t, const byte *, uint32_t, TiffComponent *const pRoot)
Function to select cfg + def of the Sony 2010 Miscellaneous Information complex binary array.
Definition: makernote_int.cpp:1246
Exiv2::Internal::Casio2MnHeader::~Casio2MnHeader
virtual ~Casio2MnHeader()
Virtual destructor.
Definition: makernote_int.cpp:811
Exiv2::Internal::newCasioMn
TiffComponent * newCasioMn(uint16_t tag, IfdId group, IfdId, const byte *pData, uint32_t size, ByteOrder)
Function to create a Casio2 makernote.
Definition: makernote_int.cpp:1097
Exiv2::Internal::Nikon3MnHeader::~Nikon3MnHeader
virtual ~Nikon3MnHeader()
Virtual destructor.
Definition: makernote_int.cpp:461
Exiv2::Internal::NikonArrayIdx::Key::Key
Key(uint16_t tag, const char *ver, uint32_t size)
Constructor.
Definition: makernote_int.cpp:1125
Exiv2::Internal::MnHeader::~MnHeader
virtual ~MnHeader()
Virtual destructor.
Definition: makernote_int.cpp:207
Exiv2::Internal::PentaxDngMnHeader::baseOffset
virtual uint32_t baseOffset(uint32_t mnOffset) const
Return the base offset for the makernote IFD entries relative to the start of the TIFF header....
Definition: makernote_int.cpp:589
Exiv2::Internal::PanasonicMnHeader::~PanasonicMnHeader
virtual ~PanasonicMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:533
Exiv2::Internal::SamsungMnHeader::SamsungMnHeader
SamsungMnHeader()
Default constructor.
Definition: makernote_int.cpp:669
Exiv2::Internal::newPentaxMn
TiffComponent * newPentaxMn(uint16_t tag, IfdId group, IfdId, const byte *pData, uint32_t size, ByteOrder)
Function to create an Pentax makernote.
Definition: makernote_int.cpp:985
Exiv2::Internal::Olympus2MnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:312
Exiv2::Internal::Olympus2MnHeader::Olympus2MnHeader
Olympus2MnHeader()
Default constructor.
Definition: makernote_int.cpp:288
tifffwd_int.hpp
Internal TIFF parser related typedefs and forward definitions.
Exiv2::Internal::SonyMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:753
Exiv2::Internal::TiffEntryBase::pValue
const Value * pValue() const
Return a const pointer to the converted value of this component.
Definition: tiffcomposite_int.hpp:476
Exiv2::Internal::IoWrapper
Simple IO wrapper to ensure that the header is only written if there is any other data at all.
Definition: tiffcomposite_int.hpp:124
Exiv2::Internal::newSamsungMn
TiffComponent * newSamsungMn(uint16_t tag, IfdId group, IfdId mnGroup, const byte *pData, uint32_t size, ByteOrder)
Function to create a Samsung makernote.
Definition: makernote_int.cpp:1016
Exiv2::Internal::newNikon3Mn2
TiffComponent * newNikon3Mn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Nikon3 makernote.
Definition: makernote_int.cpp:959
Exiv2::Internal::PentaxDngMnHeader::PentaxDngMnHeader
PentaxDngMnHeader()
Default constructor.
Definition: makernote_int.cpp:575
Exiv2::Internal::NikonArrayIdx::operator==
bool operator==(const Key &key) const
Comparison operator for a key.
Definition: makernote_int.cpp:1131
Exiv2::Internal::newSamsungMn2
TiffComponent * newSamsungMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Samsung makernote.
Definition: makernote_int.cpp:1038
Exiv2::Internal::Casio2MnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:830
Exiv2::Internal::PanasonicMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:537
Exiv2::Internal::SigmaMnHeader
Header of a Sigma Makernote.
Definition: makernote_int.hpp:468
Exiv2::Internal::MnHeader::size
virtual uint32_t size() const =0
Return the size of the header (in bytes).
Exiv2::Internal::getExiv2ConfigPath
std::string getExiv2ConfigPath()
Determine the path to the Exiv2 configuration file.
Definition: makernote_int.cpp:94
Exiv2::Internal::newPanasonicMn
TiffComponent * newPanasonicMn(uint16_t tag, IfdId group, IfdId mnGroup, const byte *, uint32_t size, ByteOrder)
Function to create a Panasonic makernote.
Definition: makernote_int.cpp:966
Exiv2::Internal::FujiMnHeader::baseOffset
virtual uint32_t baseOffset(uint32_t mnOffset) const
Return the base offset for the makernote IFD entries relative to the start of the TIFF header....
Definition: makernote_int.cpp:367
Exiv2::Internal::SamsungMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:674
Exiv2::Internal::NikonArrayIdx::Key::tag_
uint16_t tag_
Tag number.
Definition: makernote_int.cpp:1126
Exiv2::Internal::newIfdMn2
TiffComponent * newIfdMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a simple IFD makernote (Canon, Minolta, Nikon1)
Definition: makernote_int.cpp:864
Exiv2::Internal::NikonArrayIdx::Key
Key for comparisons.
Definition: makernote_int.cpp:1123
tiffimage_int.hpp
Internal class TiffParserWorker to parse TIFF data.
Exiv2::byte
uint8_t byte
1 byte unsigned integer type.
Definition: types.hpp:105
Exiv2::Internal::Olympus2MnHeader::~Olympus2MnHeader
virtual ~Olympus2MnHeader()
Virtual destructor.
Definition: makernote_int.cpp:293
Exiv2::Internal::SamsungMnHeader::baseOffset
virtual uint32_t baseOffset(uint32_t mnOffset) const
Return the base offset for the makernote IFD entries relative to the start of the TIFF header....
Definition: makernote_int.cpp:679
Exiv2::Internal::nikonCrypt
DataBuf nikonCrypt(uint16_t tag, const byte *pData, uint32_t size, TiffComponent *const pRoot)
Encrypt and decrypt Nikon data.
Definition: makernote_int.cpp:1197
Exiv2::Internal::TiffFinder
Search the composite for a component with tag and group. Return a pointer to the component or 0,...
Definition: tiffvisitor_int.hpp:164
Exiv2::Internal::Casio2MnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:815
Exiv2::Internal::MnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const =0
Write the header to a data buffer, return the number of bytes written.
Exiv2::Internal::FujiMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:389
Exiv2::Internal::OlympusMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:272
Exiv2::Internal::TiffHeaderBase::offset
virtual uint32_t offset() const
Return the offset to the start of the root directory.
Definition: tiffimage_int.cpp:1915
Exiv2::Internal::Nikon2MnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:424
Exiv2::DataBuf
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:204
Exiv2::Internal::SonyMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:767
Exiv2::DataBuf::alloc
void alloc(long size)
Allocate a data buffer of at least the given size. Note that if the requested size is less than the c...
Definition: types.cpp:161
Exiv2::Internal::PanasonicMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:523
Exiv2::Internal::Nikon2MnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:436
Exiv2::Internal::Casio2MnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:842
Exiv2::Internal::SigmaMnHeader::SigmaMnHeader
SigmaMnHeader()
Default constructor.
Definition: makernote_int.cpp:710
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:175
Exiv2::Internal::SonyMnHeader
Header of a Sony Makernote.
Definition: makernote_int.hpp:501
Exiv2::DataBuf::size_
long size_
The current size of the buffer.
Definition: types.hpp:271
Exiv2::Internal::SamsungMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:684
Exiv2::Internal::PentaxDngMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:584
Exiv2::Internal::newSony2Mn2
TiffComponent * newSony2Mn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Sony2 makernote.
Definition: makernote_int.cpp:1090
Exiv2::Internal::FujiMnHeader::FujiMnHeader
FujiMnHeader()
Default constructor.
Definition: makernote_int.cpp:343
Exiv2::Internal::Olympus2MnHeader::baseOffset
virtual uint32_t baseOffset(uint32_t mnOffset) const
Return the base offset for the makernote IFD entries relative to the start of the TIFF header....
Definition: makernote_int.cpp:307
Exiv2::INIReader::ParseError
int ParseError()
Return the result of ini_parse(), i.e., 0 on success, line number of first error on parse error,...
Definition: ini.cpp:216
Exiv2::Internal::newOlympusMn2
TiffComponent * newOlympusMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create an Olympus makernote.
Definition: makernote_int.cpp:889
Exiv2::find
const T * find(T(&src)[N], const K &key)
Find an element that matches key in the array src.
Definition: types.hpp:508
Exiv2::Internal::MnHeader::setByteOrder
virtual void setByteOrder(ByteOrder byteOrder)
Set the byte order for the makernote.
Definition: makernote_int.cpp:211
Exiv2::INIReader::Get
std::string Get(std::string section, std::string name, std::string default_value)
Get a string value from INI file, returning default_value if not found.
Definition: ini.cpp:221
Exiv2::Internal::Nikon2MnHeader::Nikon2MnHeader
Nikon2MnHeader()
Default constructor.
Definition: makernote_int.cpp:405
Exiv2::Internal::newPanasonicMn2
TiffComponent * newPanasonicMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Panasonic makernote.
Definition: makernote_int.cpp:978
Exiv2::Internal::NewMnFct
TiffComponent *(* NewMnFct)(uint16_t tag, IfdId group, IfdId mnGroup, const byte *pData, uint32_t size, ByteOrder byteOrder)
Type for a pointer to a function creating a makernote (image)
Definition: makernote_int.hpp:64
Exiv2::Internal::FujiMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:357
Exiv2::Internal::Casio2MnHeader::byteOrder
virtual ByteOrder byteOrder() const
Return the byte order for the makernote. If the return value is invalidByteOrder, this means that the...
Definition: makernote_int.cpp:825
Exiv2::Internal::FujiMnHeader::~FujiMnHeader
virtual ~FujiMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:348
Exiv2::Value::toLong
virtual long toLong(long n=0) const =0
Convert the n-th component of the value to a long. The behaviour of this method may be undefined if t...
Exiv2::Internal::SigmaMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:742
Exiv2::Internal::nikonSelector
int nikonSelector(uint16_t tag, const byte *pData, uint32_t size, TiffComponent *const)
Function to select cfg + def of a Nikon complex binary array.
Definition: makernote_int.cpp:1181
makernote_int.hpp
Makernote factory and registry, IFD makernote header, and camera vendor specific makernote implementa...
Exiv2::Internal::OlympusMnHeader::~OlympusMnHeader
virtual ~OlympusMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:244
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exiv2::Internal::Casio2MnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:820
Exiv2::Internal::SonyMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:789
Exiv2::Internal::NikonArrayIdx::Key::ver_
const char * ver_
Version string.
Definition: makernote_int.cpp:1127
Exiv2::Internal::NewMnFct2
TiffComponent *(* NewMnFct2)(uint16_t tag, IfdId group, IfdId mnGroup)
Type for a pointer to a function creating a makernote (group)
Definition: makernote_int.hpp:72
Exiv2::Internal::newSony1Mn2
TiffComponent * newSony1Mn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Sony1 makernote.
Definition: makernote_int.cpp:1083
Exiv2::Internal::MnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)=0
Read the header from a data buffer, return true if ok.
Exiv2::Internal::newSigmaMn
TiffComponent * newSigmaMn(uint16_t tag, IfdId group, IfdId mnGroup, const byte *, uint32_t size, ByteOrder)
Function to create a Sigma makernote.
Definition: makernote_int.cpp:1045
Exiv2::Internal::newPentaxDngMn2
TiffComponent * newPentaxDngMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create an Pentax DNG makernote.
Definition: makernote_int.cpp:1009
Exiv2::Internal::PentaxDngMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:594
Exiv2::Internal::SonyMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:772
Exiv2::Internal::newPentaxMn2
TiffComponent * newPentaxMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create an Pentax makernote.
Definition: makernote_int.cpp:1002
Exiv2::Internal::FujiMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:352
Exiv2::Internal::Nikon3MnHeader::setByteOrder
virtual void setByteOrder(ByteOrder byteOrder)
Set the byte order for the makernote.
Definition: makernote_int.cpp:514
Exiv2::Internal::PentaxMnHeader
Header of an Pentax Makernote.
Definition: makernote_int.hpp:414
Exiv2::Internal::newSonyMn
TiffComponent * newSonyMn(uint16_t tag, IfdId group, IfdId, const byte *pData, uint32_t size, ByteOrder)
Function to create a Sony makernote.
Definition: makernote_int.cpp:1064
Exiv2::Internal::Nikon2MnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:400
Exiv2::Internal::PentaxDngMnHeader::~PentaxDngMnHeader
virtual ~PentaxDngMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:580
Exiv2::Internal::Nikon3MnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:500
Exiv2::ByteOrder
ByteOrder
Type to express the byte order (little or big endian)
Definition: types.hpp:113
Exiv2::Internal::PanasonicMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:559
Exiv2::Internal::Nikon3MnHeader::byteOrder
virtual ByteOrder byteOrder() const
Return the byte order for the makernote. If the return value is invalidByteOrder, this means that the...
Definition: makernote_int.cpp:475
Exiv2::Internal::PentaxMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:648
Exiv2::Internal::OlympusMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:248
Exiv2::Internal::PentaxMnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:662
Exiv2::Internal::newIfdMn
TiffComponent * newIfdMn(uint16_t tag, IfdId group, IfdId mnGroup, const byte *, uint32_t size, ByteOrder)
Function to create a simple IFD makernote (Canon, Minolta, Nikon1)
Definition: makernote_int.cpp:852
Exiv2::Internal::Nikon2MnHeader::~Nikon2MnHeader
virtual ~Nikon2MnHeader()
Virtual destructor.
Definition: makernote_int.cpp:410
Exiv2::Internal::newNikonMn
TiffComponent * newNikonMn(uint16_t tag, IfdId group, IfdId, const byte *pData, uint32_t size, ByteOrder)
Function to create a Nikon makernote. This will create the appropriate Nikon 1, 2 or 3 makernote,...
Definition: makernote_int.cpp:922
Exiv2::Internal::MnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:215
Exiv2::Internal::Olympus2MnHeader::write
virtual uint32_t write(IoWrapper &ioWrapper, ByteOrder byteOrder) const
Write the header to a data buffer, return the number of bytes written.
Definition: makernote_int.cpp:326
Exiv2::Internal::newOlympus2Mn2
TiffComponent * newOlympus2Mn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create an Olympus II makernote.
Definition: makernote_int.cpp:896
Exiv2::INIReader
Read an INI file into easy-to-access name/value pairs. (Note that I've gone for simplicity here rathe...
Definition: ini.hpp:137
Exiv2::Internal::readExiv2Config
std::string readExiv2Config(const std::string &section, const std::string &value, const std::string &def)
Read value from Exiv2 configuration file.
Definition: makernote_int.cpp:113
Exiv2::Internal::IoWrapper::write
long write(const byte *pData, long wcount)
Wraps the corresponding BasicIo::write() method.
Definition: tiffcomposite_int.cpp:69
Exiv2::Internal::Nikon2MnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:419
tags_int.hpp
Internal Exif tag and type information.
Exiv2::Internal::newSigmaMn2
TiffComponent * newSigmaMn2(uint16_t tag, IfdId group, IfdId mnGroup)
Function to create a Sigma makernote.
Definition: makernote_int.cpp:1057
Exiv2::Internal::SigmaMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:729
Exiv2::Internal::Nikon3MnHeader::Nikon3MnHeader
Nikon3MnHeader()
Default constructor.
Definition: makernote_int.cpp:453
Exiv2::Internal::PanasonicMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:547
Exiv2::Internal::Nikon3MnHeader
Header of a Nikon 3 Makernote.
Definition: makernote_int.hpp:314
Exiv2::Internal::Nikon2MnHeader
Header of a Nikon 2 Makernote.
Definition: makernote_int.hpp:282
Exiv2::Internal::TiffMnCreator::create
static TiffComponent * create(uint16_t tag, IfdId group, const std::string &make, const byte *pData, uint32_t size, ByteOrder byteOrder)
Create the Makernote for camera make and details from the makernote entry itself if needed....
Definition: makernote_int.cpp:166
Exiv2::Internal::PentaxDngMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:570
Exiv2::model
EXIV2API ExifData::const_iterator model(const ExifData &ed)
Return the camera model.
Definition: easyaccess.cpp:436
Exiv2::Internal::MnHeader
Makernote header interface. This class is used with TIFF makernotes.
Definition: makernote_int.hpp:136
Exiv2::Internal::OlympusMnHeader::read
virtual bool read(const byte *pData, uint32_t size, ByteOrder byteOrder)
Read the header from a data buffer, return true if ok.
Definition: makernote_int.cpp:258
Exiv2::string
@ string
IPTC string type.
Definition: types.hpp:147
Exiv2::Internal::TiffMnRegistry::newMnFct2_
NewMnFct2 newMnFct2_
Makernote create function (group)
Definition: makernote_int.hpp:95
Exiv2::Internal::NikonArrayIdx::Key::size_
uint32_t size_
Size of the data (not the version string)
Definition: makernote_int.cpp:1128
Exiv2::Internal::TiffMnRegistry::operator==
bool operator==(const std::string &key) const
Compare a TiffMnRegistry structure with a key being the make string from the image....
Definition: makernote_int.cpp:154
Exiv2::Internal::NikonArrayIdx::size_
uint32_t size_
Size of the data.
Definition: makernote_int.cpp:1140
Exiv2::Internal::PentaxMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:624
Exiv2::Internal::FujiMnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:338
Exiv2::Internal::TiffMnCreator
TIFF makernote factory for concrete TIFF makernotes.
Definition: makernote_int.hpp:101
Exiv2::Internal::TiffHeaderBase::write
virtual DataBuf write() const
Return the image header in binary format. The caller owns this data and DataBuf ensures that it will ...
Definition: tiffimage_int.cpp:1868
Exiv2::Internal::Casio2MnHeader
Header of a Casio2 Makernote.
Definition: makernote_int.hpp:533
Exiv2::Internal::SigmaMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:724
Exiv2::Internal::TiffIfdMakernote
Tiff IFD Makernote. This is a concrete class suitable for all IFD makernotes.
Definition: tiffcomposite_int.hpp:1149
Exiv2::Internal::PentaxMnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:643
Exiv2::Internal::newFujiMn
TiffComponent * newFujiMn(uint16_t tag, IfdId group, IfdId mnGroup, const byte *, uint32_t size, ByteOrder)
Function to create a Fujifilm makernote.
Definition: makernote_int.cpp:903
Exiv2::Internal::TiffMnRegistry::mnGroup_
IfdId mnGroup_
Group identifier.
Definition: makernote_int.hpp:93
Exiv2::Internal::TiffHeaderBase::tag
virtual uint16_t tag() const
Return the tag value (magic number) which identifies the buffer as TIFF data.
Definition: tiffimage_int.cpp:1930
Exiv2::Internal::PentaxMnHeader::PentaxMnHeader
PentaxMnHeader()
Default constructor.
Definition: makernote_int.cpp:629
Exiv2::Internal::Casio2MnHeader::sizeOfSignature
static uint32_t sizeOfSignature()
Return the size of the makernote header signature.
Definition: makernote_int.cpp:801
Exiv2::Internal::TiffHeaderBase::byteOrder
virtual ByteOrder byteOrder() const
Return the byte order (little or big endian).
Definition: tiffimage_int.cpp:1905
Exiv2::Internal::SonyMnHeader::SonyMnHeader
SonyMnHeader()
Default constructor.
Definition: makernote_int.cpp:758
Exiv2::Internal::PentaxMnHeader::size
virtual uint32_t size() const
Return the size of the header (in bytes).
Definition: makernote_int.cpp:638
Exiv2::Internal::TiffMnRegistry::make_
const char * make_
Camera make.
Definition: makernote_int.hpp:92
Exiv2::Internal::MnHeader::baseOffset
virtual uint32_t baseOffset(uint32_t mnOffset) const
Return the base offset for the makernote IFD entries relative to the start of the TIFF header....
Definition: makernote_int.cpp:225
Exiv2::getULong
EXIV2API uint32_t getULong(const byte *buf, ByteOrder byteOrder)
Read a 4 byte unsigned long value from the data buffer.
Definition: types.cpp:283
Exiv2::Internal::PanasonicMnHeader
Header of a Panasonic Makernote.
Definition: makernote_int.hpp:350
Exiv2::Internal::SigmaMnHeader::~SigmaMnHeader
virtual ~SigmaMnHeader()
Virtual destructor.
Definition: makernote_int.cpp:715
tiffcomposite_int.hpp
Internal classes used in a TIFF composite structure.
Exiv2::Internal::MnHeader::byteOrder
virtual ByteOrder byteOrder() const
Return the byte order for the makernote. If the return value is invalidByteOrder, this means that the...
Definition: makernote_int.cpp:220
Exiv2::Internal::Nikon3MnHeader::ifdOffset
virtual uint32_t ifdOffset() const
Return the offset to the start of the Makernote IFD from the start of the Makernote (= the start of t...
Definition: makernote_int.cpp:470