Tag Parser  9.2.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
ivfframe.h
Go to the documentation of this file.
1 #ifndef TAG_PARSER_IVFRAME_H
2 #define TAG_PARSER_IVFRAME_H
3 
4 #include "../diagnostics.h"
5 
6 namespace CppUtilities {
7 class BinaryReader;
8 }
9 
10 namespace TagParser {
11 
13 public:
14  constexpr IvfFrame();
15  void parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag);
16 
17 private:
18  std::uint64_t startOffset;
19  std::uint64_t timestamp;
20  std::uint32_t size;
21 };
22 
26 constexpr IvfFrame::IvfFrame()
27  : startOffset(0)
28  , timestamp(0)
29  , size(0)
30 {
31 }
32 
33 } // namespace TagParser
34 
35 #endif // TAG_PARSER_IVFRAME_H
TagParser::IvfFrame
The IvfFrame class is used to parse IVF frames.
Definition: ivfframe.h:12
TagParser::Diagnostics
The Diagnostics class is a container for DiagMessage.
Definition: diagnostics.h:156
TagParser
Contains all classes and functions of the TagInfo library.
Definition: aaccodebook.h:10
CppUtilities
Definition: abstractcontainer.h:15
TagParser::IvfFrame::IvfFrame
constexpr IvfFrame()
Constructs a new frame.
Definition: ivfframe.h:26
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.