20#ifndef QUICKTIMEVIDEO_HPP_
21#define QUICKTIMEVIDEO_HPP_
24#include "exiv2lib_export.h"
60 void readMetadata()
override;
61 void writeMetadata()
override;
66 [[nodiscard]] std::string
mimeType()
const override;
74 void decodeBlock(
size_t recursion_depth, std::string
const& entered_from =
"");
83 void tagDecoder(
Exiv2::DataBuf& buf,
size_t size,
size_t recursion_depth);
91 void fileTypeDecoder(
size_t size);
97 void mediaHeaderDecoder(
size_t size);
103 void videoHeaderDecoder(
size_t size);
109 void movieHeaderDecoder(
size_t size);
115 void trackHeaderDecoder(
size_t size);
121 void handlerDecoder(
size_t size);
126 void multipleEntriesDecoder(
size_t recursion_depth);
132 void sampleDesc(
size_t size);
137 void imageDescDecoder();
143 void userDataDecoder(
size_t size,
size_t recursion_depth);
149 void previewTagDecoder(
size_t size);
155 void keysTagDecoder(
size_t size);
161 void trackApertureTagDecoder(
size_t size);
167 void NikonTagsDecoder(
size_t size);
173 void CameraTagsDecoder(
size_t size);
178 void audioDescDecoder();
183 void timeToSampleDecoder();
188 void setMediaStream();
194 void discard(
size_t size);
197 uint64_t timeScale_ = 0;
199 int currentStream_ = 0;
201 bool continueTraversing_ =
false;
203 uint64_t height_ = 0;
206 const size_t max_recursion_depth_;
An interface for simple binary IO.
Definition basicio.hpp:35
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition basicio.hpp:38
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition image.hpp:50
std::unique_ptr< Image > UniquePtr
Image auto_ptr type.
Definition image.hpp:53
Class to access QuickTime video files.
Definition quicktimevideo.hpp:40
Encoding and decoding of Exif data.
Class CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition asfvideo.hpp:15
EXIV2API Image::UniquePtr newQTimeInstance(BasicIo::UniquePtr io, bool create)
Create a new QuicktimeVideo instance and return an auto-pointer to it. Caller owns the returned objec...
Definition quicktimevideo.cpp:1597
EXIV2API bool isQTimeType(BasicIo &iIo, bool advance)
Check if the file iIo is a Quick Time Video.
Definition quicktimevideo.cpp:1605
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition types.hpp:124
List of TIFF compression to MIME type mappings.
Definition tiffimage.cpp:47