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

Method loadFrame

YUViewLib/src/playlistitem/playlistItemStatisticsFile.cpp:182–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182void playlistItemStatisticsFile::loadFrame(int frameIdx, bool, bool, bool emitSignals)
183{
184 DEBUG_STAT("playlistItemStatisticsFile::loadFrame frameIdx %d", frameIdx);
185
186 if (this->statisticsData.needsLoading(frameIdx) == ItemLoadingState::LoadingNeeded)
187 {
188 this->isStatisticsLoading = true;
189 {
190 auto typesToLoad = this->statisticsData.getTypesThatNeedLoading(frameIdx);
191 for (auto typeID : typesToLoad)
192 this->file->loadStatisticData(this->statisticsData, frameIdx, typeID);
193 }
194 this->isStatisticsLoading = false;
195 if (emitSignals)
196 emit SignalItemChanged(true, RECACHE_NONE);
197 }
198}
199
200ValuePairListSets playlistItemStatisticsFile::getPixelValues(const QPoint &pixelPos, int frameIdx)
201{

Callers

nothing calls this directly

Calls 3

needsLoadingMethod · 0.45
loadStatisticDataMethod · 0.45

Tested by

no test coverage detected