Tag Parser  8.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 #include <c++utilities/conversion/types.h>
7 
8 namespace IoUtilities {
9 class BinaryReader;
10 }
11 
12 namespace TagParser {
13 
15 public:
16  constexpr IvfFrame();
17  void parseHeader(IoUtilities::BinaryReader &reader, Diagnostics &diag);
18 
19 private:
20  uint64 startOffset;
21  uint64 timestamp;
22  uint32 size;
23 };
24 
28 constexpr IvfFrame::IvfFrame()
29  : startOffset(0)
30  , timestamp(0)
31  , size(0)
32 {
33 }
34 
35 } // namespace TagParser
36 
37 #endif // TAG_PARSER_IVFRAME_H
Contains utility classes helping to read and write streams.
The IvfFrame class is used to parse IVF frames.
Definition: ivfframe.h:14
constexpr IvfFrame()
Constructs a new frame.
Definition: ivfframe.h:28
Contains all classes and functions of the TagInfo library.
Definition: aaccodebook.h:9
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
The Diagnostics class is a container for DiagMessage.
Definition: diagnostics.h:156