Tag Parser: av1/av1configuration.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
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
8namespace CppUtilities {
9class BinaryReader;
10}
11
12namespace TagParser {
13
14class MediaFormat;
15class Diagnostics;
16
17 struct TAG_PARSER_EXPORT Av1Configuration {
18 Av1Configuration();
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
35 inline Av1Configuration::Av1Configuration()
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
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
global.h
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Definition global.h:14
CppUtilities
Definition abstractcontainer.h:16
TagParser
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10
TagParser::Av1Configuration::Av1Configuration
Av1Configuration()
Constructs an empty AVC configuration.
Definition av1configuration.h:35
TagParser::Av1Configuration::chromaSamplePosition
std::uint16_t chromaSamplePosition
Definition av1configuration.h:27
TagParser::Av1Configuration::chromaSubsamplingX
std::uint8_t chromaSubsamplingX
Definition av1configuration.h:25
TagParser::Av1Configuration::markerAndVersion
std::uint64_t markerAndVersion
Definition av1configuration.h:19
TagParser::Av1Configuration::chromaSubsamplingY
std::uint8_t chromaSubsamplingY
Definition av1configuration.h:26
TagParser::Av1Configuration::twelveBit
std::uint8_t twelveBit
Definition av1configuration.h:23
TagParser::Av1Configuration::profileAndLevel
std::uint64_t profileAndLevel
Definition av1configuration.h:20
TagParser::Av1Configuration::tier
std::uint8_t tier
Definition av1configuration.h:21
TagParser::Av1Configuration::monochrome
std::uint8_t monochrome
Definition av1configuration.h:24
TagParser::Av1Configuration::highBitdepth
std::uint8_t highBitdepth
Definition av1configuration.h:22
TagParser::Av1Configuration::parse
void parse(CppUtilities::BinaryReader &reader, std::uint64_t maxSize, Diagnostics &diag)
Parses the AV1 configuration using the specified reader.
Definition av1configuration.cpp:24