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

Method parse

YUViewLib/src/parser/AV1/interpolation_filter.cpp:56–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54using namespace reader;
55
56void interpolation_filter::parse(reader::SubByteReaderLogging &reader)
57{
58 SubByteReaderLoggingSubLevel subLevel(reader, "read_interpolation_filter()");
59
60 this->is_filter_switchable = reader.readFlag("is_filter_switchable");
61 if (this->is_filter_switchable)
62 this->interpolationFilter = InterpolationFilter::SWITCHABLE;
63 else
64 {
65 auto index =
66 reader.readBits("interpolation_filter",
67 2,
68 Options().withMeaningMap(interpolationFilterCoding.getMeaningMap()));
69 this->interpolationFilter = interpolationFilterCoding.getValue(index);
70 }
71}
72
73} // namespace parser::av1

Callers

nothing calls this directly

Calls 5

OptionsClass · 0.85
readFlagMethod · 0.80
getMeaningMapMethod · 0.80
readBitsMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected