14#include <QDoubleSpinBox>
22#include <QRadioButton>
bool isSavingOutputLog() const
QLineEdit * outputVideoFileLineEdit
QCheckBox * textureCacheCheckBox
bool isGenerateEnabled() const
bool isDurationLimitEnabled() const
Return whether maximum duration limiting is enabled.
QPushButton * browseOutputVideoButton
bool isInputHdrDetected() const
QComboBox * cameraIndexComboBox
bool isCopyAudioEnabled() const
QPushButton * cancelButton
int getSelectedCameraIndex() const
void browseInputVideoFile()
QLineEdit * encodeBitrateLineEdit
bool isSavingToOutputVideoFile() const
QDoubleSpinBox * maxSizeLimitSpinBox
void reflowGroupColumns(int columns)
bool isEncodeNoDrop() const
QSize getSelectedScreenResolution() const
QComboBox * screenResolutionComboBox
QString getEncodeRateControl() const
QDoubleSpinBox * timeSpeedSpinBox
QWidget * settingsContent
QLineEdit * graphicsFileLineEdit
QSpinBox * cacheSizeSpinBox
QMap< QString, QList< double > > deviceCapabilities
bool is_rotate_enabled() const
Return whether input-frame rotation is enabled.
QComboBox * encodeCodecComboBox
QVBoxLayout * rightColumn
QCheckBox * encodeRealtimeCheckBox
QCheckBox * useOnnxModelCheckBox
QLineEdit * onnxModelFileLineEdit
QString getEncodeParameters() const
bool isTextureCacheEnabled() const
QPushButton * browsePngOutputDirectoryButton
bool isEncodeConstantFrameRate() const
QPushButton * browseGraphicsButton
float getTimeSpeed() const
double getMaxSizeLimit() const
Return configured maximum output size in MB.
void onCameraResolutionChanged(int comboIndex)
React to camera-resolution selection changes.
QLineEdit * modelFileLineEdit
QCheckBox * maximizeFpsCheckBox
QSpinBox * encodeCrfSpinBox
bool isPngOutputEnabled() const
Return whether Write PNG mode is enabled.
void browseOnnxModelFile()
QString getModelFile() const
QCheckBox * saveOutputLogCheckBox
QSize selectedScreenResolution
QString getOutputVideoFile() const
void browsePngOutputDirectory()
QSet< QString > yuvResolutions
QString getCameraName(int device_index)
Resolve display name for a camera device index.
void detectInputHdr()
Probe the currently selected input video file with ffprobe and update HDR-related UI state (status la...
QPushButton * browseOnnxModelButton
QScrollArea * settingsScrollArea
QLineEdit * inputVideoFileLineEdit
QList< QGroupBox * > reflowGroups
QString getPngOutputDirectory() const
Return the directory used for ACMXVK PNG-sequence output.
QString getGraphicsFile() const
bool isUsingGraphicsFile() const
bool isEncodeFillPtsGaps() const
bool isConvertToHdr10Enabled() const
bool isUseSourceFpsEnabled() const
void populateVideoEncoders(const QString &savedEncoder)
Populate exact encoder names by querying the selected backend executable.
QCheckBox * encodeNoDropCheckBox
QCheckBox * encodeConstantFrameRateCheckBox
void resizeEvent(QResizeEvent *event) override
QComboBox * cameraFPSComboBox
QString getEncodeBitrate() const
QLabel * encodeCodecDetailsLabel
QCheckBox * generateCheckBox
QSize getSelectedCameraResolution() const
QString getInputVideoFile() const
QCheckBox * useYuvCheckBox
int getPngLevel() const
Return the selected ACMXVK PNG compression level.
acmx2::Backend activeBackend
QCheckBox * rotate_check_box
QPushButton * browseInputVideoButton
bool isUseSourceAudioEnabled() const
SettingsWindow(const QString &execPath, acmx2::Backend backend, QWidget *parent=nullptr)
Construct the settings dialog.
QSize selectedCameraResolution
QRadioButton * cameraOptionRadioButton
bool isMaxSizeLimitEnabled() const
Return whether maximum output-size limiting is enabled.
QString get_rotation_mode() const
Return the selected rotation token for –rotate.
QPushButton * browseModelButton
bool isOnnxModelEnabled() const
QComboBox * pngLevelComboBox
QRadioButton * graphicsFileOptionRadioButton
QComboBox * encodePresetComboBox
QComboBox * encodeRateControlComboBox
QCheckBox * useSourceFpsCheckBox
void browseGraphicsFile()
QCheckBox * durationLimitCheckBox
void updateEncoderDetails()
Refresh the selected encoder description and option-button state.
void browseOutputVideoFile()
QDoubleSpinBox * durationLimitSpinBox
double getDurationLimit() const
Return configured max run duration in seconds.
bool isEncodeRealtime() const
bool isMaximizeFpsEnabled() const
QDoubleSpinBox * crossFadeSpinBox
QCheckBox * enable3dCheckBox
QComboBox * rotate_combo_box
float getCrossFadeDuration() const
Return crossfade duration between shader transitions.
void setCudaAvailable(bool available)
Show or hide CUDA-specific controls based on availability.
QString getEncodeCodec() const
void setDnnAvailable(bool available)
Enable or disable ONNX controls based on OpenCV DNN support.
bool isFlipEnabled() const
Return whether flip mode is enabled.
QCheckBox * saveOutputVideoCheckBox
int getSelectedCudaDevice() const
QCheckBox * maxSizeLimitCheckBox
void showEncoderOptions()
Display the AVOptions reported by the selected FFmpeg encoder.
void onCameraDeviceChanged(int comboIndex)
React to camera-device combo selection changes.
QSpinBox * generateIntervalSpinBox
void populateResolutions()
QCheckBox * writePngCheckBox
QComboBox * encodeTuneComboBox
QPushButton * encodeOptionsButton
void populateCudaDevices()
QCheckBox * encodeFillPtsGapsCheckBox
QCheckBox * copyAudioCheckBox
int getGenerateInterval() const
QString getOnnxModelFile() const
QLineEdit * encodeParametersLineEdit
QComboBox * cameraResolutionComboBox
void populateCameraDevices()
bool isUseYuvEnabled() const
QCheckBox * useSourceAudioCheckBox
int getCacheDelay() const
QSpinBox * cacheDelaySpinBox
QLineEdit * pngOutputDirectoryLineEdit
QCheckBox * fullscreenCheckBox
QString getEncodeTune() const
QString getEncodePreset() const
bool isFullscreen() const
QComboBox * cudaDeviceComboBox
QString pngOutputDirectory
bool isUsingInputVideoFile() const
QRadioButton * inputVideoOptionRadioButton
QCheckBox * convertHdr10CheckBox
void enumerateDevice(int deviceIndex)
Query resolutions and FPS capabilities for one camera device.