MCPcopy Create free account
hub / github.com/IENT/YUView / parseExtradata

Method parseExtradata

YUViewLib/src/parser/AVFormat/ParserAVFormat.cpp:100–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool ParserAVFormat::parseExtradata(ByteVector &extradata)
101{
102 if (extradata.empty())
103 return true;
104
105 if (this->codecID.isAVC())
106 return this->parseExtradata_AVC(extradata);
107 else if (this->codecID.isHEVC())
108 return this->parseExtradata_hevc(extradata);
109 else if (this->codecID.isMpeg2())
110 return this->parseExtradata_mpeg2(extradata);
111 else
112 return this->parseExtradata_generic(extradata);
113}
114
115void ParserAVFormat::parseMetadata(const StringPairVec &metadata)
116{

Callers 1

runParsingOfFileMethod · 0.95

Calls 7

parseExtradata_AVCMethod · 0.95
parseExtradata_hevcMethod · 0.95
parseExtradata_mpeg2Method · 0.95
isAVCMethod · 0.80
isHEVCMethod · 0.80
isMpeg2Method · 0.80

Tested by

no test coverage detected