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

Method needsLoading

YUViewLib/src/playlistitem/playlistItemWithVideo.cpp:136–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136ItemLoadingState playlistItemWithVideo::needsLoading(int frameIdx, bool loadRawValues)
137{
138 // See if the item has so many frames
139 auto range = this->properties().startEndRange;
140 if (frameIdx < range.first || frameIdx > range.second)
141 return ItemLoadingState::LoadingNotNeeded;
142
143 if (video)
144 return video->needsLoading(frameIdx, loadRawValues);
145 return ItemLoadingState::LoadingNotNeeded;
146}
147
148QList<int> playlistItemWithVideo::getCachedFrames() const
149{

Callers 1

loadFrameMethod · 0.45

Calls 1

propertiesMethod · 0.80

Tested by

no test coverage detected