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

Method mapFrameIndex

YUViewLib/src/video/videoHandlerResample.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183int videoHandlerResample::mapFrameIndex(int frameIndex)
184{
185 auto mappedIndex = (frameIndex * this->sampling) + this->cutRange.first;
186 DEBUG_RESAMPLE(
187 "videoHandlerResample::mapFrameIndex frameIndex %d mapped to %d", frameIndex, mappedIndex);
188 return mappedIndex;
189}
190
191} // namespace video

Callers 4

drawFrameMethod · 0.95
calculateDifferenceMethod · 0.95
needsLoadingMethod · 0.95
loadResampledFrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected