| 38 | using namespace parser::reader; |
| 39 | |
| 40 | void operating_point_information_rbsp::parse(SubByteReaderLogging &reader) |
| 41 | { |
| 42 | SubByteReaderLoggingSubLevel subLevel(reader, "operating_point_information_rbsp"); |
| 43 | |
| 44 | this->opi_ols_info_present_flag = reader.readFlag("opi_ols_info_present_flag"); |
| 45 | this->opi_htid_info_present_flag = reader.readFlag("opi_htid_info_present_flag"); |
| 46 | if (this->opi_ols_info_present_flag) |
| 47 | { |
| 48 | this->opi_ols_idx = reader.readUEV("opi_ols_idx"); |
| 49 | } |
| 50 | if (this->opi_htid_info_present_flag) |
| 51 | { |
| 52 | this->opi_htid_plus1 = reader.readBits("opi_htid_plus1", 3); |
| 53 | } |
| 54 | this->opi_extension_flag = reader.readFlag("opi_extension_flag", Options().withCheckEqualTo(0)); |
| 55 | if (this->opi_extension_flag) |
| 56 | { |
| 57 | while (reader.more_rbsp_data()) |
| 58 | { |
| 59 | this->opi_extension_data_flag = reader.readFlag("opi_extension_data_flag"); |
| 60 | } |
| 61 | } |
| 62 | this->rbsp_trailing_bits_instance.parse(reader); |
| 63 | } |
| 64 | |
| 65 | } // namespace parser::vvc |
nothing calls this directly
no test coverage detected