|
Krita Source Code Documentation
|
Public Member Functions | |
| QString | applyVariables (const QString &templateArguments) |
| void | checkExporter () |
| void | cleanupExporter () |
| void | fillComboProfiles () |
| QString | formatDuration (long durationMs) |
| void | initDimensions () |
| Private (RecorderExport *q_ptr) | |
| QString | requestFile (const QString &extension, const QString &defaultDir=QString()) |
| QStringList | splitCommand (const QString &command) |
| void | startExport () |
| bool | tryAbortExport () |
| void | updateFps (RecorderExportConfig &config, bool takeFromInputFps=false) |
| void | updateFrameInfo () |
| void | updateRatio (bool widthToHeight) |
| void | updateVideoDuration () |
| void | updateVideoFilePath () |
| void | updateWarningVisibility () |
Static Public Member Functions | |
| static void | desktopServicesOpenPath (const QString &path) |
Public Attributes | |
| RecorderDirectoryCleaner * | cleaner = nullptr |
| QElapsedTimer | elapsedTimer |
| QScopedPointer< Exporter > | exporter |
| RecorderExport * | q |
| RecorderExportSettings * | settings |
| int | spinInputFPSMaxValue = 0 |
| int | spinInputFPSMinValue = 0 |
| QScopedPointer< Ui::RecorderExport > | ui |
Static Public Attributes | |
| static constexpr int | DIMENSION_LIMIT = 1920 |
Definition at line 61 of file recorder_export.cpp.
|
inline |
Definition at line 78 of file recorder_export.cpp.
|
inline |
Definition at line 336 of file recorder_export.cpp.
References RecorderExportSettings::extendResult, RecorderFormatInfo::fileExtension(), RecorderExportSettings::firstFrameSec, RecorderExportSettings::format, RecorderExportSettings::fps, RecorderExportSettings::framesCount, RecorderExportSettings::h264Encoder, RecorderExportSettings::imageSize, RecorderExportSettings::inputDirectory, RecorderExportSettings::inputFps, RecorderExportSettings::lastFrameSec, RecorderExportSettings::resize, RecorderExportSettings::resultPreview, settings, and RecorderExportSettings::size.
|
inline |
Definition at line 86 of file recorder_export.cpp.
References RecorderExportSettings::ffmpegPath, KisFFMpegWrapper::findFFMpeg(), RecorderExportSettings::h264Encoder, KisIconUtils::loadIcon(), settings, and ui.
|
inline |
Definition at line 327 of file recorder_export.cpp.
References exporter.
|
inlinestatic |
Definition at line 445 of file recorder_export.cpp.
References KisAndroidUtils::clearJniException().
|
inline |
Definition at line 116 of file recorder_export.cpp.
References KisMediaEncoderWrapper::getSupportedFormats(), RecorderExportSettings::profileIndex, RecorderExportSettings::profiles, settings, and ui.
|
inline |
Definition at line 372 of file recorder_export.cpp.
|
inline |
Definition at line 396 of file recorder_export.cpp.
References DIMENSION_LIMIT, RecorderExportSettings::imageSize, RecorderExportSettings::lockRatio, RecorderExportSettings::resize, settings, and RecorderExportSettings::size.
|
inline |
Definition at line 434 of file recorder_export.cpp.
References KisMimeDatabase::mimeTypeForSuffix(), q, and KoFileDialog::SaveFile.
|
inline |
Definition at line 241 of file recorder_export.cpp.
|
inline |
Definition at line 282 of file recorder_export.cpp.
References applyVariables(), RecorderProfile::arguments, elapsedTimer, exporter, RecorderExportSettings::ffmpegPath, RecorderExportSettings::firstFrameSec, RecorderExportSettings::fps, KisMediaEncoderWrapper::getFormatByKey(), RecorderExportSettings::imageSize, RecorderExportSettings::inputFps, RecorderExportSettings::lastFrameSec, RecorderExport::onExporterFinished(), RecorderExport::onExporterFinishedWithError(), RecorderExport::onExporterProgressUpdated(), RecorderExport::onExporterStarted(), KisMediaEncoderWrapperSettings::outputFile, RecorderExportSettings::profileIndex, RecorderExportSettings::profiles, q, RecorderExportSettings::resize, settings, RecorderExportSettings::size, splitCommand(), ui, updateFrameInfo(), and RecorderExportSettings::videoFilePath.
|
inline |
Definition at line 226 of file recorder_export.cpp.
References cleanupExporter(), exporter, and q.
|
inline |
Definition at line 209 of file recorder_export.cpp.
References RecorderExportSettings::fps, RecorderExportSettings::inputFps, RecorderExportSettings::lockFps, RecorderExportConfig::setFps(), RecorderExportConfig::setInputFps(), settings, ui, and updateVideoDuration().
|
inline |
Definition at line 152 of file recorder_export.cpp.
References RecorderFormatInfo::fileExtension(), RecorderExportSettings::format, RecorderExportSettings::framesCount, RecorderExportSettings::imageSize, RecorderExportSettings::inputDirectory, and settings.
|
inline |
Definition at line 192 of file recorder_export.cpp.
References RecorderExportSettings::imageSize, settings, RecorderExportSettings::size, and ui.
|
inline |
Definition at line 357 of file recorder_export.cpp.
References RecorderExportSettings::extendResult, RecorderExportSettings::firstFrameSec, formatDuration(), RecorderExportSettings::framesCount, RecorderExportSettings::inputFps, RecorderExportSettings::lastFrameSec, RecorderExportSettings::resultPreview, settings, and ui.
|
inline |
Definition at line 177 of file recorder_export.cpp.
References RecorderExportSettings::profileIndex, RecorderExportSettings::profiles, settings, ui, RecorderExportConfig::videoDirectory(), RecorderExportSettings::videoDirectory, RecorderExportSettings::videoFileName, and RecorderExportSettings::videoFilePath.
|
inline |
Definition at line 427 of file recorder_export.cpp.
References DIMENSION_LIMIT, RecorderExportSettings::fps, RecorderExportSettings::imageSize, RecorderExportSettings::resize, settings, RecorderExportSettings::size, and ui.
| RecorderDirectoryCleaner* RecorderExport::Private::cleaner = nullptr |
Definition at line 71 of file recorder_export.cpp.
|
staticconstexpr |
Definition at line 64 of file recorder_export.cpp.
| QElapsedTimer RecorderExport::Private::elapsedTimer |
Definition at line 73 of file recorder_export.cpp.
| QScopedPointer<Exporter> RecorderExport::Private::exporter |
Definition at line 70 of file recorder_export.cpp.
| RecorderExport* RecorderExport::Private::q |
Definition at line 66 of file recorder_export.cpp.
| RecorderExportSettings* RecorderExport::Private::settings |
Definition at line 68 of file recorder_export.cpp.
| int RecorderExport::Private::spinInputFPSMaxValue = 0 |
Definition at line 76 of file recorder_export.cpp.
| int RecorderExport::Private::spinInputFPSMinValue = 0 |
Definition at line 75 of file recorder_export.cpp.
| QScopedPointer<Ui::RecorderExport> RecorderExport::Private::ui |
Definition at line 67 of file recorder_export.cpp.