Tag Parser  7.0.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Public Member Functions | Public Attributes | List of all members
TagParser::AvcConfiguration Class Reference

The AvcConfiguration struct provides a parser for AVC configuration. More...

#include <avcconfiguration.h>

Collaboration diagram for TagParser::AvcConfiguration:
[legend]

Public Member Functions

 AvcConfiguration ()
 Constructs an empty AVC configuration. More...
 
void parse (IoUtilities::BinaryReader &reader, uint64 maxSize)
 Parses the AVC configuration using the specified reader. More...
 

Public Attributes

byte profileIndication
 
byte profileCompat
 
byte levelIndication
 
byte naluSizeLength
 
std::vector< SpsInfospsInfos
 
std::vector< PpsInfoppsInfos
 

Detailed Description

The AvcConfiguration struct provides a parser for AVC configuration.

Definition at line 12 of file avcconfiguration.h.

Constructor & Destructor Documentation

◆ AvcConfiguration()

TagParser::AvcConfiguration::AvcConfiguration ( )
inline

Constructs an empty AVC configuration.

Definition at line 27 of file avcconfiguration.h.

Member Function Documentation

◆ parse()

void TagParser::AvcConfiguration::parse ( IoUtilities::BinaryReader &  reader,
uint64  maxSize 
)

Parses the AVC configuration using the specified reader.

Exceptions
ThrowsTruncatedDataException() when the config size exceeds the specified maxSize.
Remarks
Logging/reporting parsing errors is not implemented yet.

Definition at line 23 of file avcconfiguration.cpp.

Member Data Documentation

◆ levelIndication

byte TagParser::AvcConfiguration::levelIndication

Definition at line 16 of file avcconfiguration.h.

◆ naluSizeLength

byte TagParser::AvcConfiguration::naluSizeLength

Definition at line 17 of file avcconfiguration.h.

◆ ppsInfos

std::vector<PpsInfo> TagParser::AvcConfiguration::ppsInfos

Definition at line 19 of file avcconfiguration.h.

◆ profileCompat

byte TagParser::AvcConfiguration::profileCompat

Definition at line 15 of file avcconfiguration.h.

◆ profileIndication

byte TagParser::AvcConfiguration::profileIndication

Definition at line 14 of file avcconfiguration.h.

◆ spsInfos

std::vector<SpsInfo> TagParser::AvcConfiguration::spsInfos

Definition at line 18 of file avcconfiguration.h.


The documentation for this class was generated from the following files: