Tag Parser  10.0.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
av1configuration.h
Go to the documentation of this file.
1 #ifndef TAG_PARSER_AV1CONFIGURATION_H
2 #define TAG_PARSER_AV1CONFIGURATION_H
3 
4 #include "../global.h"
5 
6 #include <cstdint>
7 
8 namespace CppUtilities {
9 class BinaryReader;
10 }
11 
12 namespace TagParser {
13 
14 class MediaFormat;
15 class Diagnostics;
16 
19  std::uint64_t markerAndVersion;
20  std::uint64_t profileAndLevel;
21  std::uint8_t tier;
22  std::uint8_t highBitdepth;
23  std::uint8_t twelveBit;
24  std::uint8_t monochrome;
25  std::uint8_t chromaSubsamplingX;
26  std::uint8_t chromaSubsamplingY;
27  std::uint16_t chromaSamplePosition;
28 
29  void parse(CppUtilities::BinaryReader &reader, std::uint64_t maxSize, Diagnostics &diag);
30 };
31 
36  : markerAndVersion(0)
37  , profileAndLevel(0)
38  , tier(0)
39  , highBitdepth(0)
40  , twelveBit(0)
41  , monochrome(0)
42  , chromaSubsamplingX(0)
43  , chromaSubsamplingY(0)
44  , chromaSamplePosition(0)
45 {
46 }
47 
48 } // namespace TagParser
49 
50 #endif // TAG_PARSER_AV1CONFIGURATION_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 Av1Configuration struct provides a parser for AV1 configuration found in ISOBMFF files.
Av1Configuration()
Constructs an empty AVC configuration.