Tag Parser  10.0.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
The Diagnostics class is a container for DiagMessage.
Definition: diagnostics.h:156
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Contains all classes and functions of the TagInfo library.
Definition: aaccodebook.h:10
The AvcConfiguration struct provides a parser for AVC configuration.
std::vector< SpsInfo > spsInfos
AvcConfiguration()
Constructs an empty AVC configuration.
std::vector< PpsInfo > ppsInfos