tagparser/avc/avcinfo.cpp

28 lines
492 B
C++
Raw Normal View History

2015-04-22 19:22:01 +02:00
#include "avcinfo.h"
#include <unordered_map>
namespace Media {
void SpsInfo::parse(std::istream &stream)
{
static auto highLevelProfileIds = std::unordered_map<unsigned int, bool> {
{ 44, true }, { 83, true }, { 86, true }, { 100, true }, { 110, true },
{ 118, true }, { 122, true }, { 128, true }, { 244, true }
};
int const addSpace = 100;
parNum = 1;
parDen = 1;
arFound = false;
uint32 unitsInTick = 0;
uint32 timeScale = 0;
}
}