2018-08-23 23:18:57 +02:00
|
|
|
#include "./av1configuration.h"
|
|
|
|
|
|
|
|
#include "../diagnostics.h"
|
|
|
|
#include "../exceptions.h"
|
|
|
|
|
|
|
|
#include <c++utilities/io/binaryreader.h>
|
|
|
|
|
|
|
|
using namespace std;
|
2019-06-10 22:49:11 +02:00
|
|
|
using namespace CppUtilities;
|
2018-08-23 23:18:57 +02:00
|
|
|
|
|
|
|
namespace TagParser {
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* \class Av1Configuration
|
|
|
|
* \brief The Av1Configuration struct provides a parser for AV1 configuration found in ISOBMFF files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*!
|
|
|
|
* \brief Parses the AV1 configuration using the specified \a reader.
|
|
|
|
* \throws Throws TruncatedDataException() when the config size exceeds the specified \a maxSize.
|
|
|
|
* \remarks Logging/reporting parsing errors is not implemented yet.
|
|
|
|
* \todo Provide implementation
|
|
|
|
*/
|
2019-03-13 19:06:42 +01:00
|
|
|
void Av1Configuration::parse(BinaryReader &reader, std::uint64_t maxSize, Diagnostics &diag)
|
2018-08-23 23:18:57 +02:00
|
|
|
{
|
|
|
|
VAR_UNUSED(reader)
|
|
|
|
VAR_UNUSED(maxSize)
|
|
|
|
VAR_UNUSED(diag)
|
|
|
|
throw NotImplementedException();
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace TagParser
|