 |
Exiv2
|
Go to the documentation of this file.
31 #include "exiv2lib_export.h"
152 bool continueTraversing_;
154 uint64_t localPosition_;
158 uint64_t height_, width_;
179 #endif // #ifndef ASFVIDEO_HPP_
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:189
void decodeBlock()
Check for a valid tag and decode the block at the current IO position. Calls tagDecoder() or skips to...
byte * pData_
Pointer to the buffer, 0 if none has been allocated.
Definition: types.hpp:269
std::string mimeType() const
Return the MIME type of the image.
Class to access RIFF video files.
Definition: riffvideo.hpp:53
void headerExtension(uint64_t size)
Interpret Header_Extension tag information, and save it in the respective XMP container.
Type definitions for Exiv2 and related functionality.
EXIV2LIB_DEPRECATED_EXPORT bool isAsfType(BasicIo &iIo, bool advance)
Check if the file iIo is a Windows Asf Video.
EXIV2API const char * exvGettext(const char *str)
Translate a string using the gettext framework. This wrapper hides all the implementation details fro...
Definition: types.cpp:576
static AutoPtr create(TypeId typeId)
A (simple) factory to create a Value type.
Definition: value.cpp:100
EXIV2API std::string strError()
Return a system error message and the error code (errno). See strerror(3).
Definition: futils.cpp:356
Helper structure for lookup tables for translations of controlled vocabulary strings to their descrip...
Definition: tags_int.hpp:210
An Image subclass to support ASF video files.
Concrete keys for XMP metadata.
Definition: properties.hpp:242
Class to access ASF video files.
Definition: asfvideo.hpp:50
void fileProperties()
Interpret File_Properties tag information, and save it in the respective XMP container.
const int asf
Treating asf as an image type>
Definition: asfvideo.hpp:43
EXIV2API bool convertStringCharset(std::string &str, const char *from, const char *to)
Convert character encoding of str from from to to. If the function succeeds, str contains the result ...
Definition: convert.cpp:1348
An Image subclass to support RIFF video files.
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:204
long size_
The current size of the buffer.
Definition: types.hpp:271
void writeMetadata()
Write metadata back to the image.
const char * label_
Translation of the tag value.
Definition: tags_int.hpp:191
void aspectRatio()
Calculates Aspect Ratio of a video, and stores it in the respective XMP container.
const T * find(T(&src)[N], const K &key)
Find an element that matches key in the array src.
Definition: types.hpp:508
EXIV2LIB_DEPRECATED_EXPORT Image::AutoPtr newAsfInstance(BasicIo::AutoPtr io, bool create)
Create a new AsfVideo instance and return an auto-pointer to it. Caller owns the returned object and ...
void codecList()
Interpret Codec_List tag information, and save it in the respective XMP container.
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
Exif and IPTC conversions to and from XMP.
void streamProperties()
Interpret Stream_Properties tag information, and save it in the respective XMP container.
void metadataHandler(int meta=1)
Interpret Metadata, Extended_Content_Description, Metadata_Library tag information,...
EXIV2API uint16_t getUShort(const byte *buf, ByteOrder byteOrder)
Read a 2 byte unsigned short value from the data buffer.
Definition: types.cpp:278
Contains internal objects which are not published and are not part of the libexiv2 API.
Definition: slice.hpp:40
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition: image.hpp:84
AsfVideo(BasicIo::AutoPtr io)
Constructor for a ASF video. Since the constructor can not return a result, callers should check the ...
std::auto_ptr< BasicIo > AutoPtr
BasicIo auto_ptr type.
Definition: basicio.hpp:58
BasicError< char > Error
Error class used for exceptions (std::string based)
Definition: error.hpp:323
void tagDecoder(const Internal::TagVocabulary *tv, uint64_t size)
Interpret tag information, and call the respective function to save it in the respective XMP containe...
const char * label_
Description of the vocabulary string.
Definition: tags_int.hpp:212
@ string
IPTC string type.
Definition: types.hpp:147
void extendedStreamProperties(uint64_t size)
Interpret Extended_Stream_Properties tag information, and save it in the respective XMP container.
#define EXV_ERROR
Shorthand for a temp error log message object and return its ostringstream.
Definition: error.hpp:150
@ xmpSeq
XMP sequence type.
Definition: types.hpp:155
std::string toString(const T &arg)
Utility function to convert the argument of any type to a string.
Definition: types.hpp:521
An interface for simple binary IO.
Definition: basicio.hpp:55
void contentDescription(uint64_t size)
Interpret Content_Description tag information, and save it in the respective XMP container.
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:81
Basic file utility functions required by Exiv2.
std::auto_ptr< Value > AutoPtr
Shortcut for a Value auto pointer.
Definition: value.hpp:63
EXIV2API uint32_t getULong(const byte *buf, ByteOrder byteOrder)
Read a 4 byte unsigned long value from the data buffer.
Definition: types.cpp:283
Error class for exceptions, log message class.