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

Method setCutAndSample

YUViewLib/src/video/videoHandlerResample.cpp:165–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165void videoHandlerResample::setCutAndSample(indexRange startEnd, int sampling)
166{
167 if (startEnd.first > startEnd.second || sampling < 1)
168 return;
169
170 this->cutRange = startEnd;
171 this->sampling = sampling;
172
173 this->invalidateAllBuffers();
174 emit signalHandlerChanged(true, RECACHE_CLEAR);
175}
176
177void videoHandlerResample::setFormatFromSizeAndName(
178 const Size, int, DataLayout, int64_t, const QFileInfo &)

Callers 2

drawItemMethod · 0.80

Calls 1

invalidateAllBuffersMethod · 0.80

Tested by

no test coverage detected