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

Method parseExtradata_generic

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

Source from the content-addressed store, hash-verified

124}
125
126bool ParserAVFormat::parseExtradata_generic(ByteVector &extradata)
127{
128 if (extradata.empty() || !packetModel->rootItem)
129 return true;
130
131 SubByteReaderLogging reader(extradata, packetModel->rootItem, "Extradata");
132 reader.disableEmulationPrevention();
133 unsigned i = 0;
134 while (reader.canReadBits(8))
135 reader.readBytes(formatArray("raw_byte", i++), 1);
136
137 return true;
138}
139
140bool ParserAVFormat::parseExtradata_AVC(ByteVector &extradata)
141{

Callers 1

parseExtradataMethod · 0.95

Calls 4

formatArrayFunction · 0.85
canReadBitsMethod · 0.80
readBytesMethod · 0.45

Tested by

no test coverage detected