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

Method calculateDifference

YUViewLib/src/video/videoHandlerResample.cpp:66–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66QImage videoHandlerResample::calculateDifference(FrameHandler * item2,
67 const int frameIndex0,
68 const int frameIndex1,
69 QList<InfoItem> &differenceInfoList,
70 const int amplificationFactor,
71 const bool markDifference)
72{
73 if (!this->inputValid())
74 return {};
75
76 auto mappedIndex = this->mapFrameIndex(frameIndex0);
77 return videoHandler::calculateDifference(
78 item2, mappedIndex, frameIndex1, differenceInfoList, amplificationFactor, markDifference);
79}
80
81ItemLoadingState videoHandlerResample::needsLoading(int frameIndex, bool loadRawValues)
82{

Callers

nothing calls this directly

Calls 2

inputValidMethod · 0.95
mapFrameIndexMethod · 0.95

Tested by

no test coverage detected