| 163 | } |
| 164 | |
| 165 | void 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 | |
| 177 | void videoHandlerResample::setFormatFromSizeAndName( |
| 178 | const Size, int, DataLayout, int64_t, const QFileInfo &) |
no test coverage detected