Tag Parser: avc/avcconfiguration.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
avcconfiguration.h
Go to the documentation of this file.
1#ifndef TAG_PARSER_AVCCONFIGURATION_H
2#define TAG_PARSER_AVCCONFIGURATION_H
3
4#include "./avcinfo.h"
5
6#include <vector>
7
8namespace TagParser {
9
10class MediaFormat;
11class Diagnostics;
12
13 struct TAG_PARSER_EXPORT AvcConfiguration {
14 AvcConfiguration();
15 std::uint8_t profileIndication;
16 std::uint8_t profileCompat;
17 std::uint8_t levelIndication;
18 std::uint8_t naluSizeLength;
19 std::vector<SpsInfo> spsInfos;
20 std::vector<PpsInfo> ppsInfos;
21
22 void parse(CppUtilities::BinaryReader &reader, std::uint64_t maxSize, Diagnostics &diag);
23};
24
28 inline AvcConfiguration::AvcConfiguration()
29 : profileIndication(0)
30 , profileCompat(0)
31 , levelIndication(0)
32 , naluSizeLength(0)
33{
34}
35
36} // namespace TagParser
37
38#endif // TAG_PARSER_AVCCONFIGURATION_H
avcinfo.h
TagParser::Diagnostics
The Diagnostics class is a container for DiagMessage.
Definition diagnostics.h:156
TagParser::MediaFormat
The MediaFormat class specifies the format of media data.
Definition mediaformat.h:247
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Definition global.h:14
TagParser
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10
TagParser::AvcConfiguration::spsInfos
std::vector< SpsInfo > spsInfos
Definition avcconfiguration.h:19
TagParser::AvcConfiguration::parse
void parse(CppUtilities::BinaryReader &reader, std::uint64_t maxSize, Diagnostics &diag)
Parses the AVC configuration using the specified reader.
Definition avcconfiguration.cpp:25
TagParser::AvcConfiguration::profileIndication
std::uint8_t profileIndication
Definition avcconfiguration.h:15
TagParser::AvcConfiguration::levelIndication
std::uint8_t levelIndication
Definition avcconfiguration.h:17
TagParser::AvcConfiguration::AvcConfiguration
AvcConfiguration()
Constructs an empty AVC configuration.
Definition avcconfiguration.h:28
TagParser::AvcConfiguration::profileCompat
std::uint8_t profileCompat
Definition avcconfiguration.h:16
TagParser::AvcConfiguration::ppsInfos
std::vector< PpsInfo > ppsInfos
Definition avcconfiguration.h:20
TagParser::AvcConfiguration::naluSizeLength
std::uint8_t naluSizeLength
Definition avcconfiguration.h:18