| 64 | } |
| 65 | |
| 66 | QImage videoHandlerResample::calculateDifference(FrameHandler * item2, |
| 67 | const int frameIndex0, |
| 68 | const int frameIndex1, |
| 69 | QList<InfoItem> &differenceInfoList, |
| 70 | const int amplificationFactor, |
| 71 | const bool markDifference) |
| 72 | { |
| 73 | if (!this->inputValid()) |
| 74 | return {}; |
| 75 | |
| 76 | auto mappedIndex = this->mapFrameIndex(frameIndex0); |
| 77 | return videoHandler::calculateDifference( |
| 78 | item2, mappedIndex, frameIndex1, differenceInfoList, amplificationFactor, markDifference); |
| 79 | } |
| 80 | |
| 81 | ItemLoadingState videoHandlerResample::needsLoading(int frameIndex, bool loadRawValues) |
| 82 | { |
nothing calls this directly
no test coverage detected