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

Method parse

YUViewLib/src/parser/VVC/operating_point_information_rbsp.cpp:40–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38using namespace parser::reader;
39
40void 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

Callers

nothing calls this directly

Calls 5

OptionsClass · 0.85
readFlagMethod · 0.80
readUEVMethod · 0.80
more_rbsp_dataMethod · 0.80
readBitsMethod · 0.45

Tested by

no test coverage detected