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

Method setJob

YUViewLib/src/video/VideoCache.cpp:119–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117int loadingWorker::id_counter = 0;
118
119void loadingWorker::setJob(playlistItem *item, int frame, bool test)
120{
121 Q_ASSERT_X(item != nullptr, Q_FUNC_INFO, "Given item is nullptr");
122 Q_ASSERT_X(frame >= 0 || !item->properties().isIndexedByFrame(),
123 Q_FUNC_INFO,
124 "Given frame index invalid");
125 currentCacheItem = item;
126 currentFrame = frame;
127 testMode = test;
128}
129
130void loadingWorker::processCacheJob()
131{

Callers 3

loadFrameMethod · 0.80

Calls 2

isIndexedByFrameMethod · 0.80
propertiesMethod · 0.80

Tested by

no test coverage detected