| 40 | using namespace reader; |
| 41 | |
| 42 | void 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 |
no test coverage detected