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

Method parse

YUViewLib/src/parser/AV1/frame_obu.cpp:44–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42using namespace reader;
43
44void frame_obu::parse(reader::SubByteReaderLogging & reader,
45 std::shared_ptr<sequence_header_obu> seqHeader,
46 GlobalDecodingValues & decValues,
47 unsigned temporal_id,
48 unsigned spatial_id)
49{
50 SubByteReaderLoggingSubLevel subLevel(reader, "frame_obu()");
51
52 this->startBitPos = reader.nrBytesRead();
53 frameHeaderObu.parse(reader, seqHeader, decValues, temporal_id, spatial_id);
54
55 while (!reader.byte_aligned())
56 {
57 reader.readFlag("byte_aligned_flag");
58 }
59
60 this->endBitPos = reader.nrBytesRead();
61 this->headerBytes = (this->endBitPos - this->startBitPos) / 8;
62
63 //tile_group_obu( sz );
64}
65
66} // namespace parser::av1

Callers

nothing calls this directly

Calls 3

nrBytesReadMethod · 0.80
byte_alignedMethod · 0.80
readFlagMethod · 0.80

Tested by

no test coverage detected