20#ifndef MATROSKAVIDEO_HPP_
21#define MATROSKAVIDEO_HPP_
24#include "exiv2lib_export.h"
125 bool continueTraversing_;
127 uint64_t height_, width_;
An interface for simple binary IO.
Definition basicio.hpp:55
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition basicio.hpp:58
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition image.hpp:81
virtual BasicIo & io() const
Return a reference to the BasicIo instance being used for Io.
Definition image.cpp:752
Image(int imageType, uint16_t supportedMetadata, BasicIo::AutoPtr io)
Constructor taking the image type, a bitmap of the supported metadata types and an auto-pointer that ...
Definition image.cpp:167
void contentManagement(const MatroskaTags *mt, const byte *buf, long size)
Interpret tag information, and save it in the respective XMP container.
std::string mimeType() const
Return the MIME type of the image.
void decodeBlock()
Check for a valid tag and decode the block at the current IO position. Calls contentManagement() or s...
void writeMetadata()
Write metadata back to the image.
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
MatroskaVideo(BasicIo::AutoPtr io)
Constructor for a Matroska video. Since the constructor can not return a result, callers should check...
void aspectRatio()
Calculates Aspect Ratio of a video, and stores it in the respective XMP container.
uint32_t findBlockSize(byte b)
Function used to calulate the size of a block. This information is only stored in one byte....
Supported image formats.
Definition asfvideo.hpp:42
const int mkv
Treating mkv as an image type>.
Definition matroskavideo.hpp:38
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
EXIV2LIB_DEPRECATED_EXPORT bool isMkvType(BasicIo &iIo, bool advance)
Check if the file iIo is a Matroska Video.
EXIV2LIB_DEPRECATED_EXPORT Image::AutoPtr newMkvInstance(BasicIo::AutoPtr io, bool create)
Create a new MatroskaVideo instance and return an auto-pointer to it. Caller owns the returned object...