8#include "exiv2lib_export.h"
50 [[nodiscard]] std::string
mimeType()
const override;
71 std::array<byte, 8> data4_;
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();
bool operator==(const GUIDTag &other) const
Definition asfvideo.cpp:45
AsfVideo(BasicIo::UniquePtr io)
Constructor for a ASF video. Since the constructor can not return a result, callers should check the ...
Definition asfvideo.cpp:205
void writeMetadata() override
Write metadata back to the image.
Definition asfvideo.cpp:212
std::string mimeType() const override
Return the MIME type of the image.
Definition asfvideo.cpp:208
void readMetadata() override
Read all metadata supported by a specific image format from the image. Before this method is called,...
Definition asfvideo.cpp:215
An interface for simple binary IO.
Definition basicio.hpp:35
std::unique_ptr< BasicIo > UniquePtr
BasicIo auto_ptr type.
Definition basicio.hpp:38
Image(ImageType type, uint16_t supportedMetadata, BasicIo::UniquePtr io)
Constructor taking the image type, a bitmap of the supported metadata types and an auto-pointer that ...
Definition image.cpp:132
virtual BasicIo & io() const
Return a reference to the BasicIo instance being used for Io.
Definition image.cpp:680
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