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

Method getProfileLevel

YUViewLib/src/parser/VVC/ParserAnnexBVVC.cpp:232–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232IntPair ParserAnnexBVVC::getProfileLevel()
233{
234 for (const auto &nal : this->nalUnitsForSeeking)
235 {
236 if (nal->header.nal_unit_type == vvc::NalType::SPS_NUT)
237 {
238 auto sps = std::dynamic_pointer_cast<seq_parameter_set_rbsp>(nal->rbsp);
239 return {sps->profile_tier_level_instance.general_profile_idc,
240 sps->profile_tier_level_instance.general_level_idc};
241 }
242 }
243 return {};
244}
245
246Ratio ParserAnnexBVVC::getSampleAspectRatio()
247{

Callers 1

allocateDecoderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected