| 181 | } |
| 182 | |
| 183 | int 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 |
no outgoing calls
no test coverage detected