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

Method endOfFile

YUViewLib/src/parser/AVC/HRD.cpp:321–333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void HRD::endOfFile(HRDPlotModel *plotModel)
322{
323 // From time this->t_af_nm1 onwards, just remove all of the frames which have not been removed
324 // yet.
325 auto lastFrameTime = this->t_af_nm1;
326 for (const auto &frame : this->framesToRemove)
327 {
328 this->addConstantBufferLine(frame.poc, lastFrameTime, frame.t_r, plotModel);
329 this->removeFromBufferAndCheck(frame, frame.poc, frame.t_r, plotModel);
330 lastFrameTime = frame.t_r;
331 }
332 this->framesToRemove.clear();
333}
334
335std::vector<HRD::HRDFrameToRemove> HRD::popRemoveFramesInTimeInterval(time_t from, time_t to)
336{

Callers 1

parseAndAddNALUnitMethod · 0.80

Calls 3

addConstantBufferLineMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected