8#include "exiv2lib_export.h"
44 void readMetadata()
override;
45 void writeMetadata()
override;
50 [[nodiscard]] std::string
mimeType()
const override;
71 std::array<byte, 8> data4_;
74 bool operator==(
const GUIDTag& other)
const;
77 GUIDTag(
unsigned int data1,
unsigned short data2,
unsigned short data3, std::array<byte, 8> data4);
80 explicit GUIDTag(
const uint8_t* bytes);
82 std::string to_string();
84 bool operator<(
const GUIDTag& other)
const;
88 static constexpr size_t CODEC_TYPE_VIDEO = 1;
89 static constexpr size_t CODEC_TYPE_AUDIO = 2;
94 uint64_t remaining_size_{};
97 explicit HeaderReader(
const BasicIo::UniquePtr& io);
99 [[nodiscard]] uint64_t getSize()
const {
103 [[nodiscard]] uint64_t getRemainingSize()
const {
104 return remaining_size_;
107 [[nodiscard]] DataBuf& getId() {
124 void fileProperties();
129 void streamProperties();
139 void contentDescription();
144 void extendedStreamProperties();
149 void headerExtension()
const;
155 void extendedContentDescription();
157 void DegradableJPEGMedia();
179EXIV2API
bool isAsfType(BasicIo& iIo,
bool advance);
Definition asfvideo.hpp:67
Class to access ASF video files.
Definition asfvideo.hpp:23
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 CrwImage to access Canon CRW images. References: The Canon RAW (CRW) File Format by Phil Harv...
Definition asfvideo.hpp:15
EXIV2API bool isAsfType(BasicIo &iIo, bool advance)
Check if the file iIo is a Windows Asf Video.
Definition asfvideo.cpp:503
EXIV2API Image::UniquePtr newAsfInstance(BasicIo::UniquePtr io, bool create)
Create a new AsfVideo instance and return an auto-pointer to it. Caller owns the returned object and ...
Definition asfvideo.cpp:495
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