24#include "exiv2lib_export.h"
74 const char* printAudioEncoding(uint64_t i);
185 const static int RIFF_TAG_SIZE;
186 const static char* RIFF_CHUNK_HEADER_ICCP;
187 const static char* RIFF_CHUNK_HEADER_EXIF;
188 const static char* RIFF_CHUNK_HEADER_XMP;
190 bool continueTraversing_;
An interface for simple binary IO.
Definition basicio.hpp:55
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition basicio.hpp:58
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition types.hpp:193
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 skipListData()
Skips Particular Blocks of Metadata List.
void aviHeaderTagsHandler(long size)
Interpret Riff Header tag information, and save it in the respective XMP container.
void streamFormatHandler(long size)
Interpret Stream Format tag information, and save it in the respective XMP container.
void listHandler(long size)
Interpret Riff List tag information, and save it in the respective XMP container.
void fillDuration(double frame_rate, long frame_count)
Calculates Duration of a video, and stores it in the respective XMP container.
void tagDecoder(Exiv2::DataBuf &buf, unsigned long size)
Interpret tag information, and call the respective function to save it in the respective XMP containe...
void nikonTagsHandler()
Interpret Nikon Tags related to Video information, and save it in the respective XMP container.
void printStructure(std::ostream &out, PrintStructureOption option, int depth)
Print out the structure of image file.
void odmlTagsHandler()
Interpret OpenDML tag information, and save it in the respective XMP container.
void dateTimeOriginal(long size, int i=0)
Interprets DateTimeOriginal tag or stream name tag information, and save it in the respective XMP con...
void junkHandler(long size)
Interpret Junk tag information, and save it in the respective XMP container.
void writeMetadata()
Write metadata back to the image.
RiffVideo(BasicIo::AutoPtr io)
Constructor for a Riff video. Since the constructor can not return a result, callers should check the...
std::string mimeType() const
Return the MIME type of the image.
void fillAspectRatio(long width=1, long height=1)
Calculates Aspect Ratio of a video, and stores it in the respective XMP container.
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
double returnSampleRate(Exiv2::DataBuf &buf, long divisor=1)
Calculates Sample Rate of a particular stream.
void streamHandler(long size)
Interpret Stream tag information, and save it in the respective XMP container.
void streamDataTagHandler(long size)
Interpret Riff Stream Data tag information, and save it in the respective XMP container.
void infoTagsHandler()
Interpret INFO tag information, and save it in the respective XMP container.
void decodeBlock()
Check for a valid tag and decode the block at the current IO position. Calls tagDecoder() or skips to...
Encoding and decoding of Exif data.
Supported image formats.
Definition asfvideo.hpp:42
const int riff
Treating riff as an image type>.
Definition riffvideo.hpp:39
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
PrintStructureOption
Options for printStructure.
Definition image.hpp:64
EXIV2LIB_DEPRECATED_EXPORT Image::AutoPtr newRiffInstance(BasicIo::AutoPtr io, bool create)
Create a new RiffVideo instance and return an auto-pointer to it. Caller owns the returned object and...
EXIV2LIB_DEPRECATED_EXPORT bool isRiffType(BasicIo &iIo, bool advance)
Check if the file iIo is a Riff Video.