Tag Parser: ivf/ivfframe.cpp 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.cpp
Go to the documentation of this file.
1#include "./ivfframe.h"
2
3#include "../exceptions.h"
4
5#include <c++utilities/io/binaryreader.h>
6
7using namespace std;
8using namespace CppUtilities;
9
10namespace TagParser {
11
17
21 void IvfFrame::parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag)
22{
23 CPP_UTILITIES_UNUSED(diag)
24 startOffset = static_cast<std::uint64_t>(reader.stream()->tellg());
25 size = reader.readUInt32BE();
26 timestamp = reader.readUInt64BE();
27}
28
29} // namespace TagParser
TagParser::Diagnostics
The Diagnostics class is a container for DiagMessage.
Definition diagnostics.h:156
TagParser::IvfFrame::parseHeader
void parseHeader(CppUtilities::BinaryReader &reader, Diagnostics &diag)
Parses the header read using the specified reader.
Definition ivfframe.cpp:21
exceptions.h
ivfframe.h
CppUtilities
Definition abstractcontainer.h:16
TagParser
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10