Tag Parser  9.2.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
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 
8 namespace TagParser {
9 
10 class MediaFormat;
11 class Diagnostics;
12 
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 
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
TagParser::AvcConfiguration::spsInfos
std::vector< SpsInfo > spsInfos
Definition: avcconfiguration.h:19
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
TagParser::Mp4AtomIds::AvcConfiguration
@ AvcConfiguration
Definition: mp4ids.h:15
avcinfo.h
TagParser::AvcConfiguration::levelIndication
std::uint8_t levelIndication
Definition: avcconfiguration.h:17
TagParser::AvcConfiguration::ppsInfos
std::vector< PpsInfo > ppsInfos
Definition: avcconfiguration.h:20
TagParser::AvcConfiguration::naluSizeLength
std::uint8_t naluSizeLength
Definition: avcconfiguration.h:18
TagParser::AvcConfiguration::profileIndication
std::uint8_t profileIndication
Definition: avcconfiguration.h:15
TagParser::AvcConfiguration::profileCompat
std::uint8_t profileCompat
Definition: avcconfiguration.h:16
TagParser::AvcConfiguration::AvcConfiguration
AvcConfiguration()
Constructs an empty AVC configuration.
Definition: avcconfiguration.h:28
TagParser::AvcConfiguration
The AvcConfiguration struct provides a parser for AVC configuration.
Definition: avcconfiguration.h:13
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.