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

Method parse

YUViewLib/src/parser/AV1/tx_mode.cpp:42–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40using namespace reader;
41
42void tx_mode::parse(reader::SubByteReaderLogging &reader, bool CodedLossless)
43{
44 if (CodedLossless)
45 {
46 this->txMode = TxMode::ONLY_4X4;
47 }
48 else
49 {
50 this->tx_mode_select = reader.readFlag("tx_mode_select");
51 if (tx_mode_select)
52 {
53 this->txMode = TxMode::TX_MODE_SELECT;
54 }
55 else
56 {
57 this->txMode = TxMode::TX_MODE_LARGEST;
58 }
59 }
60}
61
62} // namespace parser::av1

Callers 3

parseAndAddOBUMethod · 0.45
getNextUnitMethod · 0.45
getParameterSetsMethod · 0.45

Calls 1

readFlagMethod · 0.80

Tested by

no test coverage detected