 |
Exiv2
|
20 #ifndef QUICKTIMEVIDEO_HPP
21 #define QUICKTIMEVIDEO_HPP
24 #include "exiv2lib_export.h"
72 std::string mimeType()
const;
97 void fileTypeDecoder(
unsigned long size);
103 void mediaHeaderDecoder(
unsigned long size);
109 void videoHeaderDecoder(
unsigned long size);
115 void movieHeaderDecoder(
unsigned long size);
121 void trackHeaderDecoder(
unsigned long size);
127 void handlerDecoder(
unsigned long size);
132 void multipleEntriesDecoder();
138 void sampleDesc(
unsigned long size);
143 void imageDescDecoder();
149 void userDataDecoder(
unsigned long size);
155 void previewTagDecoder(
unsigned long size);
161 void keysTagDecoder(
unsigned long size);
167 void trackApertureTagDecoder(
unsigned long size);
173 void NikonTagsDecoder(
unsigned long size);
179 void CameraTagsDecoder(
unsigned long size);
184 void audioDescDecoder();
189 void timeToSampleDecoder();
194 void setMediaStream();
200 void discard(
unsigned long size);
222 bool continueTraversing_;
224 uint64_t height_, width_;
245 #endif // QUICKTIMEVIDEO_HPP
Helper structure for lookup tables for translations of numeric tag values to human readable labels.
Definition: tags_int.hpp:225
EXIV2LIB_DEPRECATED_EXPORT bool isQTimeType(BasicIo &iIo, bool advance)
Check if the file iIo is a Quick Time Video.
byte * pData_
Pointer to the buffer, 0 if none has been allocated.
Definition: types.hpp:258
Encoding and decoding of Exif data.
const EXIV2API char * exvGettext(const char *str)
Translate a string using the gettext framework. This wrapper hides all the implementation details fro...
Definition: types.cpp:571
static AutoPtr create(TypeId typeId)
A (simple) factory to create a Value type.
Definition: value.cpp:93
EXIV2API std::string strError()
Return a system error message and the error code (errno). See strerror(3).
Definition: futils.cpp:316
Helper structure for lookup tables for translations of controlled vocabulary strings to their descrip...
Definition: tags_int.hpp:246
Concrete keys for XMP metadata.
Definition: properties.hpp:230
virtual void clearMetadata()
Erase all buffered metadata. Metadata is not removed from the actual image until the writeMetadata() ...
Definition: image.cpp:570
void decodeBlock()
Check for a valid tag and decode the block at the current IO position. Calls tagDecoder() or skips to...
EXIV2LIB_DEPRECATED_EXPORT Image::AutoPtr newQTimeInstance(BasicIo::AutoPtr io, bool create)
Create a new QuicktimeVideo instance and return an auto-pointer to it. Caller owns the returned objec...
QuickTimeVideo(BasicIo::AutoPtr io)
Constructor for a QuickTime video. Since the constructor can not return a result, callers should chec...
EXIV2API int16_t getShort(const byte *buf, ByteOrder byteOrder)
Read a 2 byte signed short value from the data buffer.
Definition: types.cpp:313
void readMetadata()
Read all metadata supported by a specific image format from the image. Before this method is called,...
Utility class containing a character array. All it does is to take care of memory allocation and dele...
Definition: types.hpp:193
const int qtime
Treating qtime as an image type>
Definition: quicktimevideo.hpp:39
long size_
The current size of the buffer.
Definition: types.hpp:260
const char * label_
Translation of the tag value.
Definition: tags_int.hpp:227
const T * find(T(&src)[N], const K &key)
Find an element that matches key in the array src.
Definition: types.hpp:497
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition: asfvideo.hpp:36
void writeMetadata()
Write metadata back to the image.
void tagDecoder(Exiv2::DataBuf &buf, unsigned long size)
Interpret tag information, and call the respective function to save it in the respective XMP containe...
Class to access QuickTime video files.
Definition: quicktimevideo.hpp:45
EXIV2API uint16_t getUShort(const byte *buf, ByteOrder byteOrder)
Read a 2 byte unsigned short value from the data buffer.
Definition: types.cpp:273
BasicIo::AutoPtr io_
Image data IO pointer.
Definition: image.hpp:484
Contains internal objects which are not published and are not part of the libexiv2 API.
Definition: slice.hpp:31
std::auto_ptr< Image > AutoPtr
Image auto_ptr type.
Definition: image.hpp:81
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:324
int add(const XmpKey &key, const Value *value)
Add an Xmpdatum from the supplied key and value pair. This method copies (clones) the value.
Definition: xmp.cpp:485
const char * label_
Description of the vocabulary string.
Definition: tags_int.hpp:248
#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:144
std::string toString(const T &arg)
Utility function to convert the argument of any type to a string.
Definition: types.hpp:510
An interface for simple binary IO.
Definition: basicio.hpp:55
XmpData xmpData_
XMP data container.
Definition: image.hpp:487
EXIV2API ExifData::const_iterator whiteBalance(const ExifData &ed)
Return the white balance setting.
Definition: easyaccess.cpp:296
Abstract base class defining the interface for an image. This is the top-level interface to the Exiv2...
Definition: image.hpp:78
std::string mimeType() const
Return the MIME type of the image.
std::auto_ptr< Value > AutoPtr
Shortcut for a Value auto pointer.
Definition: value.hpp:54
EXIV2API uint32_t getULong(const byte *buf, ByteOrder byteOrder)
Read a 4 byte unsigned long value from the data buffer.
Definition: types.cpp:278
Error class for exceptions, log message class.