Dialog that collects camera, input source, output, and runtime options. More...
#include <settings.hpp>
Public Member Functions | |
| QString | get_rotation_mode () const |
| Return the selected rotation token for –rotate. | |
| int | getCacheDelay () const |
| int | getCacheSize () const |
| int | getCameraFPS () const |
| QString | getCameraName (int device_index) |
| Resolve display name for a camera device index. | |
| float | getCrossFadeDuration () const |
| Return crossfade duration between shader transitions. | |
| double | getDurationLimit () const |
| Return configured max run duration in seconds. | |
| QString | getEncodeBitrate () const |
| QString | getEncodeCodec () const |
| int | getEncodeCrf () const |
| QString | getEncodeParameters () const |
| QString | getEncodePreset () const |
| QString | getEncodeRateControl () const |
| QString | getEncodeTune () const |
| int | getGenerateInterval () const |
| QString | getGraphicsFile () const |
| QString | getInputVideoFile () const |
| double | getMaxSizeLimit () const |
| Return configured maximum output size in MB. | |
| QString | getModelFile () const |
| QString | getOnnxModelFile () const |
| QString | getOutputVideoFile () const |
| int | getPngLevel () const |
| Return the selected ACMXVK PNG compression level. | |
| QString | getPngOutputDirectory () const |
| Return the directory used for ACMXVK PNG-sequence output. | |
| int | getSelectedCameraIndex () const |
| QSize | getSelectedCameraResolution () const |
| int | getSelectedCudaDevice () const |
| QSize | getSelectedScreenResolution () const |
| float | getTimeSpeed () const |
| bool | is3dEnabled () const |
| bool | is_rotate_enabled () const |
| Return whether input-frame rotation is enabled. | |
| bool | isConvertToHdr10Enabled () const |
| bool | isCopyAudioEnabled () const |
| bool | isDurationLimitEnabled () const |
| Return whether maximum duration limiting is enabled. | |
| bool | isEncodeConstantFrameRate () const |
| bool | isEncodeFillPtsGaps () const |
| bool | isEncodeNoDrop () const |
| bool | isEncodeRealtime () const |
| bool | isFlipEnabled () const |
| Return whether flip mode is enabled. | |
| bool | isFullscreen () const |
| bool | isGenerateEnabled () const |
| bool | isInputHdrDetected () const |
| bool | isMaximizeFpsEnabled () const |
| bool | isMaxSizeLimitEnabled () const |
| Return whether maximum output-size limiting is enabled. | |
| bool | isOnnxModelEnabled () const |
| bool | isPngOutputEnabled () const |
| Return whether Write PNG mode is enabled. | |
| bool | isSavingOutputLog () const |
| bool | isSavingToOutputVideoFile () const |
| bool | isTextureCacheEnabled () const |
| bool | isUseSourceAudioEnabled () const |
| bool | isUseSourceFpsEnabled () const |
| bool | isUseYuvEnabled () const |
| bool | isUsingGraphicsFile () const |
| bool | isUsingInputVideoFile () const |
| void | setCudaAvailable (bool available) |
| Show or hide CUDA-specific controls based on availability. | |
| void | setDnnAvailable (bool available) |
| Enable or disable ONNX controls based on OpenCV DNN support. | |
| SettingsWindow (const QString &execPath, acmx2::Backend backend, QWidget *parent=nullptr) | |
| Construct the settings dialog. | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) override |
Private Slots | |
| void | acceptSettings () |
| void | browseGraphicsFile () |
| void | browseInputVideoFile () |
| void | browseModelFile () |
| void | browseOnnxModelFile () |
| void | browseOutputVideoFile () |
| void | browsePngOutputDirectory () |
| void | detectInputHdr () |
| Probe the currently selected input video file with ffprobe and update HDR-related UI state (status label, HDR10 checkbox). | |
| void | onCameraDeviceChanged (int comboIndex) |
| React to camera-device combo selection changes. | |
| void | onCameraResolutionChanged (int comboIndex) |
| React to camera-resolution selection changes. | |
| void | rejectSettings () |
| void | showEncoderOptions () |
| Display the AVOptions reported by the selected FFmpeg encoder. | |
Private Member Functions | |
| void | enumerateDevice (int deviceIndex) |
| Query resolutions and FPS capabilities for one camera device. | |
| void | init () |
| void | loadUiState () |
| void | populateCameraDevices () |
| void | populateCudaDevices () |
| void | populateFPS () |
| void | populateResolutions () |
| void | populateVideoEncoders (const QString &savedEncoder) |
| Populate exact encoder names by querying the selected backend executable. | |
| void | reflowGroupColumns (int columns) |
| void | saveUiState () |
| void | updateEncoderDetails () |
| Refresh the selected encoder description and option-button state. | |
Dialog that collects camera, input source, output, and runtime options.
Definition at line 32 of file settings.hpp.
|
explicit |
Construct the settings dialog.
| execPath | Path to the selected backend used for capability discovery. |
| backend | Active rendering backend, used to expose compatible options. |
| parent | Parent widget. |
Definition at line 476 of file settings.cpp.
References activeBackend, cameraFPS, executablePath, graphicsDuration, graphicsFile, init(), inputVideoFile, maxDuration, maxSizeLimit, modelFile, outputVideoFile, saveOutputVideoFile, selectedCameraIndex, selectedCameraResolution, selectedCudaDevice, selectedScreenResolution, useGraphicsFile, and useInputVideoFile.
|
privateslot |
Definition at line 1918 of file settings.cpp.
References acmx2::Acmxvk, activeBackend, cameraFPS, cameraFPSComboBox, cameraIndexComboBox, cameraResolutionComboBox, cudaDeviceComboBox, dnnAvailable, enable3dCheckBox, encodeBitrateLineEdit, encodeCodecComboBox, encodeConstantFrameRateCheckBox, encodeCrfSpinBox, encodeFillPtsGapsCheckBox, encodeNoDropCheckBox, encodeParametersLineEdit, encodePresetComboBox, encodeRateControlComboBox, encodeRealtimeCheckBox, encodeTuneComboBox, getEncodeBitrate(), getEncodeCodec(), getEncodeRateControl(), graphicsFile, graphicsFileLineEdit, graphicsFileOptionRadioButton, inputVideoFile, inputVideoFileLineEdit, inputVideoOptionRadioButton, modelFile, modelFileLineEdit, onnxModelFile, onnxModelFileLineEdit, outputVideoFile, outputVideoFileLineEdit, pngOutputDirectory, pngOutputDirectoryLineEdit, saveOutputLog, saveOutputLogCheckBox, saveOutputVideoCheckBox, saveOutputVideoFile, saveUiState(), screenResolutionComboBox, selectedCameraIndex, selectedCameraResolution, selectedCudaDevice, selectedScreenResolution, useGraphicsFile, useInputVideoFile, useOnnxModelCheckBox, and writePngCheckBox.
Referenced by init().
|
privateslot |
Definition at line 2199 of file settings.cpp.
References graphicsFileLineEdit.
Referenced by init().
|
privateslot |
Definition at line 2070 of file settings.cpp.
References detectInputHdr(), and inputVideoFileLineEdit.
Referenced by init().
|
privateslot |
|
privateslot |
Definition at line 2219 of file settings.cpp.
References onnxModelFileLineEdit.
Referenced by init().
|
privateslot |
Definition at line 2163 of file settings.cpp.
References outputVideoFileLineEdit.
Referenced by init().
|
privateslot |
Definition at line 2189 of file settings.cpp.
References pngOutputDirectoryLineEdit.
Referenced by init().
|
privateslot |
Probe the currently selected input video file with ffprobe and update HDR-related UI state (status label, HDR10 checkbox).
Definition at line 2081 of file settings.cpp.
References convertHdr10CheckBox, hdrStatusLabel, inputHdrDetected, and inputVideoFileLineEdit.
Referenced by browseInputVideoFile(), and loadUiState().
|
private |
Query resolutions and FPS capabilities for one camera device.
| deviceIndex | Camera device index to inspect. |
Definition at line 2231 of file settings.cpp.
References acmx2::Acmxvk, activeBackend, deviceCapabilities, executablePath, populateResolutions(), and yuvResolutions.
Referenced by init(), and onCameraDeviceChanged().
| QString SettingsWindow::get_rotation_mode | ( | ) | const |
Return the selected rotation token for –rotate.
Definition at line 1828 of file settings.cpp.
References rotate_combo_box.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getCacheDelay | ( | ) | const |
Definition at line 1738 of file settings.cpp.
References cacheDelaySpinBox.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getCacheSize | ( | ) | const |
Definition at line 1740 of file settings.cpp.
References cacheSizeSpinBox.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getCameraFPS | ( | ) | const |
Definition at line 1716 of file settings.cpp.
References cameraFPS.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getCameraName | ( | int | device_index | ) |
Resolve display name for a camera device index.
| device_index | Camera device index. |
Definition at line 1863 of file settings.cpp.
References acmx2::Acmxvk, activeBackend, and cameraIndexComboBox.
Referenced by populateCameraDevices().
| float SettingsWindow::getCrossFadeDuration | ( | ) | const |
Return crossfade duration between shader transitions.
Definition at line 1822 of file settings.cpp.
References crossFadeSpinBox.
Referenced by MainWindow::cameraSettings().
| double SettingsWindow::getDurationLimit | ( | ) | const |
Return configured max run duration in seconds.
Definition at line 1816 of file settings.cpp.
References durationLimitSpinBox.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getEncodeBitrate | ( | ) | const |
Definition at line 1843 of file settings.cpp.
References encodeBitrateLineEdit.
Referenced by acceptSettings(), and MainWindow::cameraSettings().
| QString SettingsWindow::getEncodeCodec | ( | ) | const |
Definition at line 1845 of file settings.cpp.
References encodeCodecComboBox.
Referenced by acceptSettings(), and MainWindow::cameraSettings().
| int SettingsWindow::getEncodeCrf | ( | ) | const |
Definition at line 1839 of file settings.cpp.
References encodeCrfSpinBox.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getEncodeParameters | ( | ) | const |
Definition at line 1853 of file settings.cpp.
References encodeParametersLineEdit.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getEncodePreset | ( | ) | const |
Definition at line 1830 of file settings.cpp.
References encodePresetComboBox.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getEncodeRateControl | ( | ) | const |
Definition at line 1841 of file settings.cpp.
References encodeRateControlComboBox.
Referenced by acceptSettings(), and MainWindow::cameraSettings().
| QString SettingsWindow::getEncodeTune | ( | ) | const |
Definition at line 1832 of file settings.cpp.
References encodeTuneComboBox.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getGenerateInterval | ( | ) | const |
Definition at line 1760 of file settings.cpp.
References generateIntervalSpinBox.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getGraphicsFile | ( | ) | const |
Definition at line 1722 of file settings.cpp.
References graphicsFile.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getInputVideoFile | ( | ) | const |
Definition at line 1718 of file settings.cpp.
References inputVideoFile.
Referenced by MainWindow::cameraSettings().
| double SettingsWindow::getMaxSizeLimit | ( | ) | const |
Return configured maximum output size in MB.
Definition at line 1820 of file settings.cpp.
References maxSizeLimitSpinBox.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getModelFile | ( | ) | const |
Definition at line 1764 of file settings.cpp.
References modelFile.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getOnnxModelFile | ( | ) | const |
Definition at line 1768 of file settings.cpp.
References onnxModelFile.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getOutputVideoFile | ( | ) | const |
Definition at line 1720 of file settings.cpp.
References outputVideoFile.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getPngLevel | ( | ) | const |
Return the selected ACMXVK PNG compression level.
Definition at line 1756 of file settings.cpp.
References pngLevelComboBox.
Referenced by MainWindow::cameraSettings().
| QString SettingsWindow::getPngOutputDirectory | ( | ) | const |
Return the directory used for ACMXVK PNG-sequence output.
Definition at line 1754 of file settings.cpp.
References pngOutputDirectory.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getSelectedCameraIndex | ( | ) | const |
Definition at line 1710 of file settings.cpp.
References selectedCameraIndex.
Referenced by MainWindow::cameraSettings().
| QSize SettingsWindow::getSelectedCameraResolution | ( | ) | const |
Definition at line 1712 of file settings.cpp.
References selectedCameraResolution.
Referenced by MainWindow::cameraSettings().
| int SettingsWindow::getSelectedCudaDevice | ( | ) | const |
Definition at line 1770 of file settings.cpp.
References selectedCudaDevice.
Referenced by MainWindow::cameraSettings().
| QSize SettingsWindow::getSelectedScreenResolution | ( | ) | const |
Definition at line 1714 of file settings.cpp.
References selectedScreenResolution.
Referenced by MainWindow::cameraSettings().
| float SettingsWindow::getTimeSpeed | ( | ) | const |
Definition at line 1812 of file settings.cpp.
References timeSpeedSpinBox.
Referenced by MainWindow::cameraSettings().
|
private |
Definition at line 757 of file settings.cpp.
References acceptSettings(), acmx2::Acmxvk, activeBackend, acmx2::applyCustomStyleIfEnabled(), browseGraphicsButton, browseGraphicsFile(), browseInputVideoButton, browseInputVideoFile(), browseModelButton, browseModelFile(), browseOnnxModelButton, browseOnnxModelFile(), browseOutputVideoButton, browseOutputVideoFile(), browsePngOutputDirectory(), browsePngOutputDirectoryButton, cacheDelaySpinBox, cacheSizeSpinBox, cameraFPSComboBox, cameraIndexComboBox, cameraOptionRadioButton, cameraResolutionComboBox, cancelButton, convertHdr10CheckBox, copyAudioCheckBox, crossFadeSpinBox, cudaDeviceComboBox, cudaDeviceLabel, durationLimitCheckBox, durationLimitSpinBox, enable3dCheckBox, encodeBitrateLineEdit, encodeCodecComboBox, encodeCodecDetailsLabel, encodeConstantFrameRateCheckBox, encodeCrfSpinBox, encodeFillPtsGapsCheckBox, encodeNoDropCheckBox, encodeOptionsButton, encodeParametersLineEdit, encodePresetComboBox, encodeRateControlComboBox, encodeRealtimeCheckBox, encodeTuneComboBox, enumerateDevice(), flipCheckBox, fullscreenCheckBox, generateCheckBox, generateIntervalSpinBox, graphicsFileLineEdit, graphicsFileOptionRadioButton, groupsRow, hdrStatusLabel, inputVideoFileLineEdit, inputVideoOptionRadioButton, leftColumn, loadUiState(), maximizeFpsCheckBox, maxSizeLimitCheckBox, maxSizeLimitSpinBox, modelFileLineEdit, okButton, onCameraDeviceChanged(), onCameraResolutionChanged(), onnxModelFileLineEdit, onnxModelLabel, outputVideoFileLineEdit, pngLevelComboBox, pngOutputDirectoryLineEdit, populateCameraDevices(), populateCudaDevices(), populateFPS(), populateVideoEncoders(), preferredFpsText, reflowGroupColumns(), reflowGroups, rejectSettings(), rightColumn, rotate_check_box, rotate_combo_box, saveOutputLogCheckBox, saveOutputVideoCheckBox, screenResolutionComboBox, settingsContent, settingsScrollArea, showEncoderOptions(), textureCacheCheckBox, timeSpeedSpinBox, updateEncoderDetails(), useOnnxModelCheckBox, useSourceAudioCheckBox, useSourceFpsCheckBox, useYuvCheckBox, writePngCheckBox, and yuvResolutions.
Referenced by SettingsWindow().
| bool SettingsWindow::is3dEnabled | ( | ) | const |
Definition at line 1708 of file settings.cpp.
References enable3dCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::is_rotate_enabled | ( | ) | const |
Return whether input-frame rotation is enabled.
Definition at line 1826 of file settings.cpp.
References rotate_check_box.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isConvertToHdr10Enabled | ( | ) | const |
Definition at line 1734 of file settings.cpp.
References convertHdr10CheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isCopyAudioEnabled | ( | ) | const |
Definition at line 1750 of file settings.cpp.
References copyAudioCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isDurationLimitEnabled | ( | ) | const |
Return whether maximum duration limiting is enabled.
Definition at line 1814 of file settings.cpp.
References durationLimitCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isEncodeConstantFrameRate | ( | ) | const |
Definition at line 1859 of file settings.cpp.
References encodeConstantFrameRateCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isEncodeFillPtsGaps | ( | ) | const |
Definition at line 1861 of file settings.cpp.
References encodeFillPtsGapsCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isEncodeNoDrop | ( | ) | const |
Definition at line 1857 of file settings.cpp.
References encodeNoDropCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isEncodeRealtime | ( | ) | const |
Definition at line 1855 of file settings.cpp.
References encodeRealtimeCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isFlipEnabled | ( | ) | const |
Return whether flip mode is enabled.
Definition at line 1824 of file settings.cpp.
References flipCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isFullscreen | ( | ) | const |
Definition at line 1742 of file settings.cpp.
References fullscreenCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isGenerateEnabled | ( | ) | const |
Definition at line 1758 of file settings.cpp.
References generateCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isInputHdrDetected | ( | ) | const |
Definition at line 1732 of file settings.cpp.
References inputHdrDetected.
| bool SettingsWindow::isMaximizeFpsEnabled | ( | ) | const |
Definition at line 1744 of file settings.cpp.
References maximizeFpsCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isMaxSizeLimitEnabled | ( | ) | const |
Return whether maximum output-size limiting is enabled.
Definition at line 1818 of file settings.cpp.
References maxSizeLimitCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isOnnxModelEnabled | ( | ) | const |
Definition at line 1766 of file settings.cpp.
References dnnAvailable, and useOnnxModelCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isPngOutputEnabled | ( | ) | const |
Return whether Write PNG mode is enabled.
Definition at line 1752 of file settings.cpp.
References acmx2::Acmxvk, activeBackend, and writePngCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isSavingOutputLog | ( | ) | const |
Definition at line 1730 of file settings.cpp.
References saveOutputLog.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isSavingToOutputVideoFile | ( | ) | const |
Definition at line 1728 of file settings.cpp.
References saveOutputVideoFile.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isTextureCacheEnabled | ( | ) | const |
Definition at line 1736 of file settings.cpp.
References textureCacheCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isUseSourceAudioEnabled | ( | ) | const |
Definition at line 1748 of file settings.cpp.
References useSourceAudioCheckBox, and useSourceFpsCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isUseSourceFpsEnabled | ( | ) | const |
Definition at line 1746 of file settings.cpp.
References useSourceFpsCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isUseYuvEnabled | ( | ) | const |
Definition at line 1762 of file settings.cpp.
References useYuvCheckBox.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isUsingGraphicsFile | ( | ) | const |
Definition at line 1726 of file settings.cpp.
References useGraphicsFile.
Referenced by MainWindow::cameraSettings().
| bool SettingsWindow::isUsingInputVideoFile | ( | ) | const |
Definition at line 1724 of file settings.cpp.
References useInputVideoFile.
Referenced by MainWindow::cameraSettings().
|
private |
Definition at line 1504 of file settings.cpp.
References acmx2::Acmxvk, activeBackend, browseOnnxModelButton, cacheDelaySpinBox, cacheSizeSpinBox, cameraFPSComboBox, cameraIndexComboBox, cameraOptionRadioButton, cameraResolutionComboBox, convertHdr10CheckBox, copyAudioCheckBox, crossFadeSpinBox, cudaDeviceComboBox, detectInputHdr(), durationLimitCheckBox, durationLimitSpinBox, enable3dCheckBox, flipCheckBox, fullscreenCheckBox, generateCheckBox, generateIntervalSpinBox, graphicsFileLineEdit, graphicsFileOptionRadioButton, inputVideoFileLineEdit, inputVideoOptionRadioButton, maximizeFpsCheckBox, maxSizeLimitCheckBox, maxSizeLimitSpinBox, modelFileLineEdit, onCameraResolutionChanged(), onnxModelFileLineEdit, outputVideoFileLineEdit, pngLevelComboBox, pngOutputDirectoryLineEdit, preferredFpsText, rotate_check_box, rotate_combo_box, saveOutputLogCheckBox, saveOutputVideoCheckBox, screenResolutionComboBox, textureCacheCheckBox, timeSpeedSpinBox, useOnnxModelCheckBox, useSourceAudioCheckBox, useSourceFpsCheckBox, useYuvCheckBox, and writePngCheckBox.
Referenced by init().
|
privateslot |
React to camera-device combo selection changes.
| comboIndex | Selected combo-box index. |
Definition at line 2484 of file settings.cpp.
References cameraIndexComboBox, cameraResolutionComboBox, enumerateDevice(), and onCameraResolutionChanged().
Referenced by init().
|
privateslot |
React to camera-resolution selection changes.
| comboIndex | Selected combo-box index. |
Definition at line 2496 of file settings.cpp.
References cameraOptionRadioButton, cameraResolutionComboBox, populateFPS(), useYuvCheckBox, and yuvResolutions.
Referenced by init(), loadUiState(), and onCameraDeviceChanged().
|
private |
Definition at line 478 of file settings.cpp.
References acmx2::Acmxvk, activeBackend, cameraIndexComboBox, executablePath, and getCameraName().
Referenced by init().
|
private |
Definition at line 535 of file settings.cpp.
References cudaDeviceComboBox, and executablePath.
Referenced by init().
|
private |
Definition at line 2443 of file settings.cpp.
References cameraFPSComboBox, cameraResolutionComboBox, deviceCapabilities, and preferredFpsText.
Referenced by init(), onCameraResolutionChanged(), and populateResolutions().
|
private |
Definition at line 2405 of file settings.cpp.
References cameraResolutionComboBox, deviceCapabilities, and populateFPS().
Referenced by enumerateDevice().
|
private |
Populate exact encoder names by querying the selected backend executable.
Definition at line 570 of file settings.cpp.
References encodeCodecComboBox, and executablePath.
Referenced by init().
|
private |
Definition at line 1437 of file settings.cpp.
References currentColumnCount, groupsRow, leftColumn, reflowGroups, rightColumn, and settingsContent.
Referenced by init(), and resizeEvent().
|
privateslot |
|
overrideprotected |
Definition at line 1497 of file settings.cpp.
References reflowGroupColumns(), and settingsScrollArea.
|
private |
Definition at line 1635 of file settings.cpp.
References cacheDelaySpinBox, cacheSizeSpinBox, cameraFPSComboBox, cameraIndexComboBox, cameraResolutionComboBox, convertHdr10CheckBox, copyAudioCheckBox, crossFadeSpinBox, cudaDeviceComboBox, durationLimitCheckBox, durationLimitSpinBox, enable3dCheckBox, flipCheckBox, fullscreenCheckBox, generateCheckBox, generateIntervalSpinBox, graphicsFileLineEdit, graphicsFileOptionRadioButton, inputVideoFileLineEdit, inputVideoOptionRadioButton, maximizeFpsCheckBox, maxSizeLimitCheckBox, maxSizeLimitSpinBox, modelFileLineEdit, onnxModelFileLineEdit, outputVideoFileLineEdit, pngLevelComboBox, pngOutputDirectoryLineEdit, rotate_check_box, rotate_combo_box, saveOutputLogCheckBox, saveOutputVideoCheckBox, screenResolutionComboBox, textureCacheCheckBox, timeSpeedSpinBox, useOnnxModelCheckBox, useSourceAudioCheckBox, useSourceFpsCheckBox, useYuvCheckBox, and writePngCheckBox.
Referenced by acceptSettings(), and rejectSettings().
| void SettingsWindow::setCudaAvailable | ( | bool | available | ) |
Show or hide CUDA-specific controls based on availability.
| available | True when CUDA runtime/device support is available. |
Definition at line 1772 of file settings.cpp.
References cudaDeviceComboBox, and cudaDeviceLabel.
Referenced by MainWindow::cameraSettings().
| void SettingsWindow::setDnnAvailable | ( | bool | available | ) |
Enable or disable ONNX controls based on OpenCV DNN support.
| available | True when OpenCV DNN support is compiled in. |
Definition at line 1786 of file settings.cpp.
References browseOnnxModelButton, dnnAvailable, onnxModelFileLineEdit, onnxModelLabel, and useOnnxModelCheckBox.
Referenced by MainWindow::cameraSettings().
|
privateslot |
Display the AVOptions reported by the selected FFmpeg encoder.
Definition at line 644 of file settings.cpp.
References encodeCodecComboBox, and executablePath.
Referenced by init().
|
private |
Refresh the selected encoder description and option-button state.
Definition at line 624 of file settings.cpp.
References encodeCodecComboBox, encodeCodecDetailsLabel, and encodeOptionsButton.
Referenced by init().
|
private |
Definition at line 193 of file settings.hpp.
Referenced by acceptSettings(), enumerateDevice(), getCameraName(), init(), isPngOutputEnabled(), loadUiState(), populateCameraDevices(), and SettingsWindow().
|
private |
Definition at line 213 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 205 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 230 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 234 of file settings.hpp.
Referenced by init(), loadUiState(), and setDnnAvailable().
|
private |
Definition at line 209 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 211 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 220 of file settings.hpp.
Referenced by getCacheDelay(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 221 of file settings.hpp.
Referenced by getCacheSize(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 283 of file settings.hpp.
Referenced by acceptSettings(), getCameraFPS(), and SettingsWindow().
|
private |
Definition at line 194 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), populateFPS(), and saveUiState().
|
private |
Definition at line 199 of file settings.hpp.
Referenced by acceptSettings(), getCameraName(), init(), loadUiState(), onCameraDeviceChanged(), populateCameraDevices(), and saveUiState().
|
private |
Definition at line 214 of file settings.hpp.
Referenced by init(), loadUiState(), and onCameraResolutionChanged().
|
private |
Definition at line 200 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), onCameraDeviceChanged(), onCameraResolutionChanged(), populateFPS(), populateResolutions(), and saveUiState().
|
private |
Definition at line 203 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 207 of file settings.hpp.
Referenced by detectInputHdr(), init(), isConvertToHdr10Enabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 226 of file settings.hpp.
Referenced by init(), isCopyAudioEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 242 of file settings.hpp.
Referenced by getCrossFadeDuration(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 235 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), populateCudaDevices(), saveUiState(), and setCudaAvailable().
|
private |
Definition at line 236 of file settings.hpp.
Referenced by init(), and setCudaAvailable().
|
private |
Definition at line 273 of file settings.hpp.
Referenced by reflowGroupColumns().
|
private |
Definition at line 196 of file settings.hpp.
Referenced by enumerateDevice(), populateFPS(), and populateResolutions().
|
private |
Definition at line 295 of file settings.hpp.
Referenced by acceptSettings(), isOnnxModelEnabled(), and setDnnAvailable().
|
private |
Definition at line 238 of file settings.hpp.
Referenced by init(), isDurationLimitEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 239 of file settings.hpp.
Referenced by getDurationLimit(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 227 of file settings.hpp.
Referenced by acceptSettings(), init(), is3dEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 251 of file settings.hpp.
Referenced by acceptSettings(), getEncodeBitrate(), and init().
|
private |
Definition at line 252 of file settings.hpp.
Referenced by acceptSettings(), getEncodeCodec(), init(), populateVideoEncoders(), showEncoderOptions(), and updateEncoderDetails().
|
private |
Definition at line 253 of file settings.hpp.
Referenced by init(), and updateEncoderDetails().
|
private |
Definition at line 258 of file settings.hpp.
Referenced by acceptSettings(), init(), and isEncodeConstantFrameRate().
|
private |
Definition at line 249 of file settings.hpp.
Referenced by acceptSettings(), getEncodeCrf(), and init().
|
private |
Definition at line 259 of file settings.hpp.
Referenced by acceptSettings(), init(), and isEncodeFillPtsGaps().
|
private |
Definition at line 257 of file settings.hpp.
Referenced by acceptSettings(), init(), and isEncodeNoDrop().
|
private |
Definition at line 254 of file settings.hpp.
Referenced by init(), and updateEncoderDetails().
|
private |
Definition at line 255 of file settings.hpp.
Referenced by acceptSettings(), getEncodeParameters(), and init().
|
private |
Definition at line 247 of file settings.hpp.
Referenced by acceptSettings(), getEncodePreset(), and init().
|
private |
Definition at line 250 of file settings.hpp.
Referenced by acceptSettings(), getEncodeRateControl(), and init().
|
private |
Definition at line 256 of file settings.hpp.
Referenced by acceptSettings(), init(), and isEncodeRealtime().
|
private |
Definition at line 248 of file settings.hpp.
Referenced by acceptSettings(), getEncodeTune(), and init().
|
private |
Definition at line 192 of file settings.hpp.
Referenced by enumerateDevice(), populateCameraDevices(), populateCudaDevices(), populateVideoEncoders(), SettingsWindow(), and showEncoderOptions().
|
private |
Definition at line 243 of file settings.hpp.
Referenced by init(), isFlipEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 222 of file settings.hpp.
Referenced by init(), isFullscreen(), loadUiState(), and saveUiState().
|
private |
Definition at line 262 of file settings.hpp.
Referenced by init(), isGenerateEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 263 of file settings.hpp.
Referenced by getGenerateInterval(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 292 of file settings.hpp.
Referenced by SettingsWindow().
|
private |
Definition at line 291 of file settings.hpp.
Referenced by acceptSettings(), getGraphicsFile(), and SettingsWindow().
|
private |
Definition at line 212 of file settings.hpp.
Referenced by acceptSettings(), browseGraphicsFile(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 216 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 269 of file settings.hpp.
Referenced by init(), and reflowGroupColumns().
|
private |
Definition at line 206 of file settings.hpp.
Referenced by detectInputHdr(), and init().
|
private |
Definition at line 299 of file settings.hpp.
Referenced by detectInputHdr(), and isInputHdrDetected().
|
private |
Definition at line 284 of file settings.hpp.
Referenced by acceptSettings(), getInputVideoFile(), and SettingsWindow().
|
private |
Definition at line 204 of file settings.hpp.
Referenced by acceptSettings(), browseInputVideoFile(), detectInputHdr(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 215 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 270 of file settings.hpp.
Referenced by init(), and reflowGroupColumns().
|
private |
Definition at line 297 of file settings.hpp.
Referenced by SettingsWindow().
|
private |
Definition at line 223 of file settings.hpp.
Referenced by init(), isMaximizeFpsEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 298 of file settings.hpp.
Referenced by SettingsWindow().
|
private |
Definition at line 240 of file settings.hpp.
Referenced by init(), isMaxSizeLimitEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 241 of file settings.hpp.
Referenced by getMaxSizeLimit(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 293 of file settings.hpp.
Referenced by acceptSettings(), getModelFile(), and SettingsWindow().
|
private |
Definition at line 229 of file settings.hpp.
Referenced by acceptSettings(), browseModelFile(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 202 of file settings.hpp.
Referenced by init().
|
private |
Definition at line 294 of file settings.hpp.
Referenced by acceptSettings(), and getOnnxModelFile().
|
private |
Definition at line 233 of file settings.hpp.
Referenced by acceptSettings(), browseOnnxModelFile(), init(), loadUiState(), saveUiState(), and setDnnAvailable().
|
private |
Definition at line 231 of file settings.hpp.
Referenced by init(), and setDnnAvailable().
|
private |
Definition at line 285 of file settings.hpp.
Referenced by acceptSettings(), getOutputVideoFile(), and SettingsWindow().
|
private |
Definition at line 208 of file settings.hpp.
Referenced by acceptSettings(), browseOutputVideoFile(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 261 of file settings.hpp.
Referenced by getPngLevel(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 286 of file settings.hpp.
Referenced by acceptSettings(), and getPngOutputDirectory().
|
private |
Definition at line 210 of file settings.hpp.
Referenced by acceptSettings(), browsePngOutputDirectory(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 300 of file settings.hpp.
Referenced by init(), loadUiState(), and populateFPS().
|
private |
Definition at line 272 of file settings.hpp.
Referenced by init(), and reflowGroupColumns().
|
private |
Definition at line 271 of file settings.hpp.
Referenced by init(), and reflowGroupColumns().
|
private |
Definition at line 244 of file settings.hpp.
Referenced by init(), is_rotate_enabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 245 of file settings.hpp.
Referenced by get_rotation_mode(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 290 of file settings.hpp.
Referenced by acceptSettings(), and isSavingOutputLog().
|
private |
Definition at line 218 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 217 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 289 of file settings.hpp.
Referenced by acceptSettings(), isSavingToOutputVideoFile(), and SettingsWindow().
|
private |
Definition at line 201 of file settings.hpp.
Referenced by acceptSettings(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 280 of file settings.hpp.
Referenced by acceptSettings(), getSelectedCameraIndex(), and SettingsWindow().
|
private |
Definition at line 281 of file settings.hpp.
Referenced by acceptSettings(), getSelectedCameraResolution(), and SettingsWindow().
|
private |
Definition at line 296 of file settings.hpp.
Referenced by acceptSettings(), getSelectedCudaDevice(), and SettingsWindow().
|
private |
Definition at line 282 of file settings.hpp.
Referenced by acceptSettings(), getSelectedScreenResolution(), and SettingsWindow().
|
private |
Definition at line 265 of file settings.hpp.
Referenced by init(), and reflowGroupColumns().
|
private |
Definition at line 264 of file settings.hpp.
Referenced by init(), and resizeEvent().
|
private |
Definition at line 219 of file settings.hpp.
Referenced by init(), isTextureCacheEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 237 of file settings.hpp.
Referenced by getTimeSpeed(), init(), loadUiState(), and saveUiState().
|
private |
Definition at line 288 of file settings.hpp.
Referenced by acceptSettings(), isUsingGraphicsFile(), and SettingsWindow().
|
private |
Definition at line 287 of file settings.hpp.
Referenced by acceptSettings(), isUsingInputVideoFile(), and SettingsWindow().
|
private |
Definition at line 232 of file settings.hpp.
Referenced by acceptSettings(), init(), isOnnxModelEnabled(), loadUiState(), saveUiState(), and setDnnAvailable().
|
private |
Definition at line 225 of file settings.hpp.
Referenced by init(), isUseSourceAudioEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 224 of file settings.hpp.
Referenced by init(), isUseSourceAudioEnabled(), isUseSourceFpsEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 228 of file settings.hpp.
Referenced by init(), isUseYuvEnabled(), loadUiState(), onCameraResolutionChanged(), and saveUiState().
|
private |
Definition at line 260 of file settings.hpp.
Referenced by acceptSettings(), init(), isPngOutputEnabled(), loadUiState(), and saveUiState().
|
private |
Definition at line 197 of file settings.hpp.
Referenced by enumerateDevice(), init(), and onCameraResolutionChanged().