Tag Parser: ivf/ivfframe.h Source File

Tag Parser 12.5.2 C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags

Loading...
Searching...
No Matches
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
6namespace CppUtilities {
7class BinaryReader;
8}
9
10namespace TagParser {
11
12 class TAG_PARSER_EXPORT IvfFrame {
13public:
14 constexpr IvfFrame();
15 void parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag);
16
17private:
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::Diagnostics
The Diagnostics class is a container for DiagMessage.
Definition diagnostics.h:156
TagParser::IvfFrame::IvfFrame
constexpr IvfFrame()
Constructs a new frame.
Definition ivfframe.h:26
TagParser::IvfFrame::parseHeader
void parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag)
Parses the header read using the specified reader.
Definition ivfframe.cpp:21
diagnostics.h
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Definition global.h:14
CppUtilities
Definition abstractcontainer.h:16
TagParser
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10