ACMX 2.139.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
MainWindow Class Reference

Primary ACMX desktop UI. More...

#include <main_window.hpp>

Inheritance diagram for MainWindow:

Public Slots

void cameraSettings ()
void copyCommand ()
void fileExit ()
void fileOpenProp ()
void listClicked (const QModelIndex &i)
 Handle shader list selection changes.
void menuAudioSettings ()
void menuBuildShaderCache ()
void menuCleanShaderCache ()
void menuCustomUniforms ()
void menuDeepDreamSettings ()
void menuDown ()
void menuFindNext ()
void menuFixBuild ()
void menuGPUFilterSettings ()
void menuLibraryBuilder ()
void menuLoadLibrary ()
void menuMetadataViewer ()
void menuMidiSettings ()
void menuPlaylistSettings ()
void menuRemove ()
void menuRemoveBroken ()
void menuRunFromCache ()
void menuSearch ()
void menuSetCurrentShader ()
void menuShaderPassSettings ()
void menuShuffle ()
void menuSort ()
void menuStableDiffusionSettings ()
void menuToggleDisplayFilter (bool checked)
void menuUniformReference ()
void menuUp ()
void menuWatermarkSettings ()
void newList ()
void newShader ()
void openCustomStyleEditor ()
void runAll ()
void runSelected ()

Public Member Functions

void draw () override
 Per-frame callback: clear, draw ACView, swap buffers.
void event (SDL_Event &e) override
 Placeholder—SDL events are forwarded to ACView::event() by libmx2.
void initControls ()
 Build menus, actions, widgets, and signal wiring.
bool loadShaders (const QString &path, bool force=false)
 Load shader names from index/cache for the provided path.
void Log (const QString &message)
 Append timestamped text to the UI log output.
 MainWindow (const MXArguments &args, const OpenGLContextConfig &context_config)
 Construct a visible (windowed) MainWindow.
 MainWindow (const MXArguments &args, const OpenGLContextConfig &context_config, bool headless)
 Construct a headless (off-screen) MainWindow for silent batch processing.
 MainWindow (QWidget *parent=0)
void updateIndex ()
 Refresh shader index metadata timestamp.
void Write (const QString &message)
 Write raw text to the lower output pane.
 ~MainWindow () override

Public Attributes

QString activeShaderManifestPath
QDateTime indexTimestamp

Protected Member Functions

bool addShaderToList (const QString &shaderName)
 Add shader to list if it is valid and not already present.
void closeEvent (QCloseEvent *event) override

Private Types

enum class  AcmxvkBuildMode { Strict , Fix , Prune }
enum class  CompileHealth { Unknown , Cached , Failed , Stale }
 Compile-health status for a single shader. More...
enum class  PendingAcmxvkAction { None , RunSelected , RunAll , CopyCommand }

Private Member Functions

void addRecentLibrary (const QString &path)
 Add a library directory to the persisted recent-libraries list.
void appendDeepDreamArguments (QStringList &arguments) const
void appendOutputRunLog (const QString &message)
void appendStableDiffusionArguments (QStringList &arguments) const
void applyCustomStyleSheet (bool enable)
 Apply or remove the custom stylesheet override.
void applyMainViewStyles (bool customStyleEnabled)
bool backend_launch_available () const
 Return whether the active backend can be launched.
void beginOutputRunLog (const QString &command)
bool buildRunArguments (QStringList &arguments, PendingAcmxvkAction resume_action=PendingAcmxvkAction::None, bool include_extra_arguments=true)
 Build acmx2 command-line arguments from current UI state.
void cleanupClosedEditors ()
void cleanupShaderSelectionSemaphore ()
void cleanupShaderSelectionSharedMemory ()
QString concatList (const QStringList lst)
 Join list items into a comma-separated argument string.
QString currentShaderName () const
 Return the filename in the Name column for the current selection.
int currentShaderRow () const
 Return the row index of the current selection, or -1.
void detectCudaSupport ()
void detectFeatureSupport ()
void ensureShaderEditorWorkspace ()
void finishOutputRunLog (int exitCode, QProcess::ExitStatus exitStatus)
QString getShaderPassIndicesFromNames ()
 Map selected shader-pass names back to numeric indices.
void handleSavedShader (const QString &filePath)
void initCommon (const MXArguments &args)
void initShaderSelectionSharedMemory ()
bool loadLibraryPath (const QString &path)
 Validate, load, persist, and remember a shader library directory.
void loadSessionSettings ()
 Restore persisted Session Settings into the launcher's runtime state.
void openShaderEditor (const QString &filePath, int lineNumber=1, int columnNumber=0, int matchLength=0)
 Open or focus an editor for a shader source location.
void populateShaderTree ()
 Repopulate the shader tree widget from the current items list, recomputing Last Modified, Compile Health, and Type columns.
void prompt_acmxvk_rebuild (const QString &reason, PendingAcmxvkAction resume_action)
 Offer to rebuild a stale or incomplete ACMXVK source library.
bool publishAcmx2EditorPreview (const QString &filePath, const QString &source)
void publishAcmxvkCompiledShaderReload (const QString &sourcePath, const QString &runtimePath)
void publishCustomUniformsToRunningProcess ()
void publishMultipassShadersToRunningProcess ()
void publishRepeatStateToRunningProcess ()
void publishRuntimeSettingsToRunningProcess ()
void publishSelectedShaderIndexToRunningProcess ()
void publishShaderReloadToRunningProcess (const QString &filePath)
void queueAcmxvkEditorPreview (const QString &filePath, const QString &source)
void queueAcmxvkLiveCompile (const QString &filePath)
QString readFileContents (const QString &filePath)
 Read an entire text file into memory.
void refreshShaderCacheStatus ()
 Refresh shaderCacheStatus from the on-disk shader cache.
void runHdr10Conversion ()
 Run ffmpeg to convert the just-produced acmx2 output (assumed HLG HDR) into HDR10 (HEVC NVENC, BT.2020 / SMPTE2084) and pipe ffmpeg's stdout/stderr to the main log window.
QString sanitizeShaderName (const QString &name)
 Normalize shader names for filesystem/process safety.
void selectShaderRow (int row)
 Select the row at row and scroll it into view.
void set_backend (acmx2::Backend backend, bool persist=true)
 Select the active rendering backend and restore its paths.
void start_acmxvk_build (const QString &build_path, AcmxvkBuildMode mode)
 Start a strict, failure-tolerant, or destructive ACMXVK build.
void startNextAcmxvkEditorPreview ()
void startNextAcmxvkLiveCompile ()
void update_backend_ui ()
 Update title, actions, and status text for the active backend.
void updateOpenEditorCompileStatus (const QString &sourcePath, bool pending, bool success=false, const QString &diagnostics=QString())
void updateOpenEditorShaderContexts ()
void updateRecentLibrariesMenu ()
 Rebuild the File > Load Recent submenu from persisted settings.
bool validateDeepDreamLaunch (QString &error) const
bool validateStableDiffusionLaunch (QString &error) const

Static Private Member Functions

static int eventFilter (void *userdata, SDL_Event *event)

Private Attributes

QString acmxvkPruneLibraryPath
acmx2::Backend active_backend = acmx2::Backend::Acmx2
bool audio_available = false
int audio_buffer_frames = 8
bool audio_buffers_enabled = false
unsigned int audio_channels = 2
bool audio_enabled = false
QString audio_file
int audio_input = -1
int audio_output = -1
bool audio_passthrough = false
bool audio_repeat = false
float audio_sense = 0.25f
bool audio_trunc = false
double audio_warm_rate = 0.5
QAction * audioSet = nullptr
int autopilot_frames = 0
bool autopilot_random = false
QAction * backendAcmx2Action = nullptr
QAction * backendAcmxvkAction = nullptr
QActionGroup * backendActionGroup = nullptr
QMenu * backendMenu = nullptr
QString baseAppStyleSheet
QTextEdit * bottomTextBox
QAction * buildCacheAction
int cache_delay = 1
bool cache_enabled = false
int cache_size = 8
bool cacheBuildInProgress = false
 True while an ACMX2 cache rebuild or ACMXVK source build is running.
unsigned int camera_index
QSize camera_res
QMenu * cameraMenu = nullptr
QAction * cameraSet = nullptr
QAction * cleanShaderCacheAction
bool convert_to_hdr10 = false
bool copy_audio = false
float cross_fade_duration = 0.5f
bool cuda_available = false
int cuda_device = 0
bool cuda_device_available = false
QString customStyleSheet
CustomUniformDialog * customUniformDialog = nullptr
QAction * customUniformsAction = nullptr
bool deep_dream_available = false
int deep_dream_channel = -1
bool deep_dream_enabled = false
double deep_dream_feedback = 0.9
bool deep_dream_fp16 = false
bool deep_dream_gpu_filter_first = false
int deep_dream_iterations = 1
int deep_dream_jitter = 0
QString deep_dream_layer = "relu4_2"
int deep_dream_maximum_dimension = 512
QString deep_dream_model
double deep_dream_octave_scale = 1.4
int deep_dream_octaves = 1
bool deep_dream_original = false
double deep_dream_rotation = 0.1
int deep_dream_smoothing = 0
double deep_dream_strength = 0.05
double deep_dream_zoom = 1.01
QAction * deepDreamAction = nullptr
QPointer< DeepDreamSettingsDialog > deepDreamSettingsDialog
bool display_filter_enabled = false
QAction * displayFilterAction = nullptr
bool dnn_available = false
bool duration_limit_enabled = false
QString editorPreviewInput
QString editorPreviewOutput
QString editorPreviewPath
QProcess * editorPreviewProcess = nullptr
quint64 editorPreviewSequence = 0
QString editorPreviewStderr
QString editorPreviewStdout
QStringList editorPreviewTemporaryFiles
bool enable_3d = false
QString encode_bitrate = "10M"
QString encode_codec = "auto"
bool encode_constant_frame_rate = false
int encode_crf = 18
bool encode_fill_pts_gaps = false
bool encode_no_drop = false
QString encode_parameters
QString encode_preset = "medium"
QString encode_rate_control = "quality"
bool encode_realtime = false
QString encode_tune
QString executable_path
QString extra_arguments
QMenu * fileMenu = nullptr
QAction * fileMenu_exit = nullptr
QAction * fileMenu_loadLibrary = nullptr
QAction * fileMenu_prop = nullptr
QAction * fixBuildAction
bool flip_enabled = false
bool full_screen_value = false
bool generate_enabled = false
int generate_interval = 30
int gpu_buffer_size = 8
bool gpu_filter_enabled = false
QString gpu_filter_indices
QAction * gpuFilterAction
QPointer< GPUFilterDialog > gpuFilterDialog
QString graphics_file
QProcess * hdr10Process = nullptr
QMenu * helpMenu = nullptr
QAction * helpMenu_about = nullptr
QAction * helpMenu_uniformReference = nullptr
QStringList items
int lastFoundIndex = -1
QString lastSearchText
QAction * libraryBuilderAction = nullptr
QPointer< LibraryBuilderDialog > libraryBuilderDialog
QTreeWidget * list_view
QMenu * listMenu = nullptr
QAction * listMenu_down = nullptr
QAction * listMenu_findInFiles = nullptr
QAction * listMenu_findNext = nullptr
QAction * listMenu_new = nullptr
QAction * listMenu_remove = nullptr
QAction * listMenu_search = nullptr
QAction * listMenu_set_current = nullptr
QAction * listMenu_shader = nullptr
QAction * listMenu_shuffle = nullptr
QAction * listMenu_sort = nullptr
QAction * listMenu_up = nullptr
QString liveShaderCompileInput
QString liveShaderCompileOutput
QProcess * liveShaderCompileProcess = nullptr
QStringList liveShaderCompileQueue
quint64 liveShaderCompileSequence = 0
QString liveShaderCompileSource
QString liveShaderCompileStderr
QString liveShaderCompileStdout
QString liveShaderCompileTemporary
QMenu * loadRecentMenu = nullptr
double max_duration = 0.0
bool max_size_limit_enabled = false
double max_size_mb = 0.0
bool maximize_fps = false
bool midi_available = false
QString midi_config_file
int midi_device = -1
bool midi_enabled = false
QAction * midiSettingsAction
QString model_file
bool normalized_time = false
QAction * normalizedTimeAction = nullptr
QString onnx_model
bool onnx_model_enabled = false
QVector< QPointer< TextEditor > > open_files
QString output_file
double output_fps = 24.0f
QFile output_run_log
PendingAcmxvkAction pending_acmxvk_action = PendingAcmxvkAction::None
QString pendingEditorPreviewPath
QString pendingEditorPreviewSource
QAction * play_repeat = nullptr
QAction * play_stop = nullptr
QMenu * playbackMenu = nullptr
bool playlist_enabled = false
QString playlist_file_path
QStringList playlist_names
QList< QPair< QString, QStringList > > playlist_tree_data
QAction * playlistAction
QPointer< PlaylistDialog > playlistDialog
int png_level = 6
bool png_output = false
QString png_output_directory
QString prefix_path
QProcess * process = nullptr
bool record_audio = false
double record_volume = 1.0
QAction * removeBrokenAction
bool rotate_enabled = false
QString rotation_mode = "clockwise"
QAction * runFromCacheAction
QMenu * runMenu = nullptr
QAction * runMenu_all = nullptr
QAction * runMenu_copyCommand = nullptr
QAction * runMenu_select = nullptr
bool save_output_log = false
QSize screen_res
bool shader_pass_enabled = false
QStringList shader_pass_names
QString shader_path
QDateTime shaderCacheMTime
 Modification time of the shader cache file when last read.
QHash< QString, bool > shaderCacheStatus
 Cached map of shader stem -> failed flag for the current library.
QTabWidget * shaderEditorTabs = nullptr
QPointer< QDialog > shaderEditorWorkspace
QAction * shaderPassAction
QPointer< ShaderPassDialog > shaderPassDialog
bool silent_mode = false
bool stable_diffusion_available = false
double stable_diffusion_cfg_scale = 5.0
bool stable_diffusion_enabled = false
int stable_diffusion_height = 320
QStringList stable_diffusion_lora_files
QList< double > stable_diffusion_lora_multipliers
QString stable_diffusion_model
QString stable_diffusion_negative_prompt
QString stable_diffusion_prompt
QString stable_diffusion_sampler = "euler_a"
QString stable_diffusion_scheduler = "discrete"
int stable_diffusion_seed = 1234
QString stable_diffusion_server = "sd-server"
QString stable_diffusion_server_arguments
int stable_diffusion_server_port = 1234
int stable_diffusion_steps = 12
double stable_diffusion_strength = 0.35
bool stable_diffusion_upscale = false
QString stable_diffusion_upscale_model
bool stable_diffusion_upscale_only = false
int stable_diffusion_upscale_working_height = 0
int stable_diffusion_upscale_working_width = 0
int stable_diffusion_width = 576
QAction * stableDiffusionAction = nullptr
QPointer< StableDiffusionSettingsDialog > stableDiffusionSettingsDialog
QAction * stayOnTopAction
QString stderrBuffer
QString stdoutBuffer
QAction * styleSheetAction
float time_speed = 1.0f
QPointer< UniformReferenceDialog > uniformReferenceDialog
bool use_shader_cache = true
bool use_source_audio = false
bool use_source_fps = false
bool use_yuv = false
QString video_file
QMenu * viewMenu = nullptr
int watermark_b = 150
bool watermark_enabled = false
int watermark_g = 0
int watermark_r = 255
QString watermark_text
QAction * watermarkAction = nullptr

Detailed Description

Primary ACMX desktop UI.

Top-level SDL2/OpenGL window that hosts the ACView rendering object.

Manages shader discovery, process launch arguments, and related option dialogs.

Supports both visible and headless (silent) modes. In silent mode an off-screen GL context is used for batch video processing without a window.

Definition at line 12704 of file ACMX2/acmx.cpp.

Member Enumeration Documentation

◆ AcmxvkBuildMode

enum class MainWindow::AcmxvkBuildMode
strongprivate
Enumerator
Strict 
Fix 
Prune 

Definition at line 185 of file ACMX2/interface/main_window.hpp.

◆ CompileHealth

enum class MainWindow::CompileHealth
strongprivate

Compile-health status for a single shader.

Enumerator
Unknown 
Cached 
Failed 
Stale 

Definition at line 157 of file ACMX2/interface/main_window.hpp.

◆ PendingAcmxvkAction

enum class MainWindow::PendingAcmxvkAction
strongprivate
Enumerator
None 
RunSelected 
RunAll 
CopyCommand 

Definition at line 184 of file ACMX2/interface/main_window.hpp.

Constructor & Destructor Documentation

◆ MainWindow() [1/3]

MainWindow::MainWindow ( const MXArguments & args,
const OpenGLContextConfig & context_config )
inline

Construct a visible (windowed) MainWindow.

Creates an SDL2/OpenGL window of the requested size, then calls initCommon() to set up the rendering pipeline.

Parameters
argsParsed CLI arguments (resolution, asset path, etc.).
context_configRequested OpenGL context version.

Definition at line 12749 of file ACMX2/acmx.cpp.

References initCommon(), and silent_mode.

Referenced by eventFilter().

◆ MainWindow() [2/3]

MainWindow::MainWindow ( const MXArguments & args,
const OpenGLContextConfig & context_config,
bool headless )
inline

Construct a headless (off-screen) MainWindow for silent batch processing.

Uses gl::GLMode::DESKTOP to create an OpenGL context without a visible window. Intended for --silent mode where video is processed and recorded without any display.

Parameters
argsParsed CLI arguments.
context_configRequested OpenGL context version.
headlessUnused disambiguator parameter.

Definition at line 12762 of file ACMX2/acmx.cpp.

References initCommon(), and silent_mode.

◆ ~MainWindow()

MainWindow::~MainWindow ( )
inlineoverride

Definition at line 12768 of file ACMX2/acmx.cpp.

◆ MainWindow() [3/3]

MainWindow::MainWindow ( QWidget * parent = 0)
inline

Definition at line 53 of file ACMX2/interface/main_window.hpp.

References initControls().

Member Function Documentation

◆ addRecentLibrary()

void MainWindow::addRecentLibrary ( const QString & path)
private

Add a library directory to the persisted recent-libraries list.

Definition at line 3314 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmx2, active_backend, acmx2::backend_settings_key(), and updateRecentLibrariesMenu().

Referenced by initControls(), and loadLibraryPath().

◆ addShaderToList()

bool MainWindow::addShaderToList ( const QString & shaderName)
protected

Add shader to list if it is valid and not already present.

Parameters
shaderNameCandidate shader identifier.
Returns
true if the shader was added.

◆ appendDeepDreamArguments()

◆ appendOutputRunLog()

void MainWindow::appendOutputRunLog ( const QString & message)
private

◆ appendStableDiffusionArguments()

◆ applyCustomStyleSheet()

void MainWindow::applyCustomStyleSheet ( bool enable)
private

Apply or remove the custom stylesheet override.

Parameters
enableTrue to apply, false to revert.

Definition at line 1382 of file ACMX2/interface/main_window.cpp.

References applyMainViewStyles(), baseAppStyleSheet, and customStyleSheet.

Referenced by initControls(), and openCustomStyleEditor().

◆ applyMainViewStyles()

void MainWindow::applyMainViewStyles ( bool customStyleEnabled)
private

Definition at line 1349 of file ACMX2/interface/main_window.cpp.

References bottomTextBox, and list_view.

Referenced by applyCustomStyleSheet().

◆ backend_launch_available()

bool MainWindow::backend_launch_available ( ) const
private

Return whether the active backend can be launched.

Definition at line 3080 of file ACMX2/interface/main_window.cpp.

Referenced by update_backend_ui().

◆ beginOutputRunLog()

void MainWindow::beginOutputRunLog ( const QString & command)
private

◆ buildRunArguments()

bool MainWindow::buildRunArguments ( QStringList & arguments,
PendingAcmxvkAction resume_action = PendingAcmxvkAction::None,
bool include_extra_arguments = true )
private

Build acmx2 command-line arguments from current UI state.

Parameters
argumentsOutput list to populate with command-line tokens.
resume_actionAction to resume after an ACMXVK build, if needed.
include_extra_argumentsAppend the persisted user arguments when true.
Returns
true if arguments were built, false on user-facing error.

Definition at line 4593 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmx2, acmx2::Acmxvk, active_backend, appendDeepDreamArguments(), appendStableDiffusionArguments(), audio_available, audio_buffer_frames, audio_buffers_enabled, audio_channels, audio_enabled, audio_file, audio_input, audio_output, audio_passthrough, audio_repeat, audio_sense, audio_trunc, audio_warm_rate, autopilot_frames, autopilot_random, cache_delay, cache_enabled, cache_size, camera_index, camera_res, copy_audio, CopyCommand, cross_fade_duration, cuda_available, cuda_device, cuda_device_available, currentShaderName(), currentShaderRow(), acmx2::default_backend_executable(), display_filter_enabled, duration_limit_enabled, enable_3d, encode_bitrate, encode_codec, encode_constant_frame_rate, encode_crf, encode_fill_pts_gaps, encode_no_drop, encode_parameters, encode_preset, encode_rate_control, encode_realtime, encode_tune, executable_path, extra_arguments, flip_enabled, full_screen_value, generate_enabled, generate_interval, getShaderPassIndicesFromNames(), gpu_buffer_size, gpu_filter_enabled, gpu_filter_indices, graphics_file, items, Log(), max_duration, max_size_limit_enabled, max_size_mb, maximize_fps, midi_available, midi_config_file, midi_device, midi_enabled, model_file, normalized_time, onnx_model, onnx_model_enabled, output_file, output_fps, play_repeat, playlist_enabled, playlist_file_path, playlist_names, playlist_tree_data, png_level, png_output, png_output_directory, prefix_path, prompt_acmxvk_rebuild(), record_audio, record_volume, rotate_enabled, rotation_mode, screen_res, shader_pass_enabled, shader_pass_names, shader_path, time_speed, use_shader_cache, use_source_audio, use_source_fps, use_yuv, validateDeepDreamLaunch(), validateStableDiffusionLaunch(), video_file, watermark_b, watermark_enabled, watermark_g, watermark_r, and watermark_text.

Referenced by copyCommand(), and runAll().

◆ cameraSettings

void MainWindow::cameraSettings ( )
slot

Definition at line 4192 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmxvk, active_backend, cache_delay, cache_enabled, cache_size, camera_index, camera_res, convert_to_hdr10, copy_audio, cross_fade_duration, cuda_device, cuda_device_available, dnn_available, duration_limit_enabled, enable_3d, encode_bitrate, encode_codec, encode_constant_frame_rate, encode_crf, encode_fill_pts_gaps, encode_no_drop, encode_parameters, encode_preset, encode_rate_control, encode_realtime, encode_tune, executable_path, flip_enabled, full_screen_value, generate_enabled, generate_interval, SettingsWindow::get_rotation_mode(), SettingsWindow::getCacheDelay(), SettingsWindow::getCacheSize(), SettingsWindow::getCameraFPS(), SettingsWindow::getCrossFadeDuration(), SettingsWindow::getDurationLimit(), SettingsWindow::getEncodeBitrate(), SettingsWindow::getEncodeCodec(), SettingsWindow::getEncodeCrf(), SettingsWindow::getEncodeParameters(), SettingsWindow::getEncodePreset(), SettingsWindow::getEncodeRateControl(), SettingsWindow::getEncodeTune(), SettingsWindow::getGenerateInterval(), SettingsWindow::getGraphicsFile(), SettingsWindow::getInputVideoFile(), SettingsWindow::getMaxSizeLimit(), SettingsWindow::getModelFile(), SettingsWindow::getOnnxModelFile(), SettingsWindow::getOutputVideoFile(), SettingsWindow::getPngLevel(), SettingsWindow::getPngOutputDirectory(), SettingsWindow::getSelectedCameraIndex(), SettingsWindow::getSelectedCameraResolution(), SettingsWindow::getSelectedCudaDevice(), SettingsWindow::getSelectedScreenResolution(), SettingsWindow::getTimeSpeed(), graphics_file, SettingsWindow::is3dEnabled(), SettingsWindow::is_rotate_enabled(), SettingsWindow::isConvertToHdr10Enabled(), SettingsWindow::isCopyAudioEnabled(), SettingsWindow::isDurationLimitEnabled(), SettingsWindow::isEncodeConstantFrameRate(), SettingsWindow::isEncodeFillPtsGaps(), SettingsWindow::isEncodeNoDrop(), SettingsWindow::isEncodeRealtime(), SettingsWindow::isFlipEnabled(), SettingsWindow::isFullscreen(), SettingsWindow::isGenerateEnabled(), SettingsWindow::isMaximizeFpsEnabled(), SettingsWindow::isMaxSizeLimitEnabled(), SettingsWindow::isOnnxModelEnabled(), SettingsWindow::isPngOutputEnabled(), SettingsWindow::isSavingOutputLog(), SettingsWindow::isSavingToOutputVideoFile(), SettingsWindow::isTextureCacheEnabled(), SettingsWindow::isUseSourceAudioEnabled(), SettingsWindow::isUseSourceFpsEnabled(), SettingsWindow::isUseYuvEnabled(), SettingsWindow::isUsingGraphicsFile(), SettingsWindow::isUsingInputVideoFile(), max_duration, max_size_limit_enabled, max_size_mb, maximize_fps, model_file, onnx_model, onnx_model_enabled, output_file, output_fps, png_level, png_output, png_output_directory, rotate_enabled, rotation_mode, save_output_log, screen_res, SettingsWindow::setCudaAvailable(), SettingsWindow::setDnnAvailable(), time_speed, use_source_audio, use_source_fps, use_yuv, and video_file.

Referenced by initControls().

◆ cleanupClosedEditors()

void MainWindow::cleanupClosedEditors ( )
private

Definition at line 5284 of file ACMX2/interface/main_window.cpp.

References open_files.

Referenced by openShaderEditor().

◆ cleanupShaderSelectionSemaphore()

void MainWindow::cleanupShaderSelectionSemaphore ( )
private

◆ cleanupShaderSelectionSharedMemory()

void MainWindow::cleanupShaderSelectionSharedMemory ( )
private

◆ closeEvent()

void MainWindow::closeEvent ( QCloseEvent * event)
inlineoverrideprotected

◆ concatList()

QString MainWindow::concatList ( const QStringList lst)
private

Join list items into a comma-separated argument string.

Parameters
lstInput list of values.
Returns
Concatenated string for command-line usage.

Definition at line 5241 of file ACMX2/interface/main_window.cpp.

Referenced by runAll(), runHdr10Conversion(), runSelected(), start_acmxvk_build(), and startNextAcmxvkLiveCompile().

◆ copyCommand

◆ currentShaderName()

QString MainWindow::currentShaderName ( ) const
private

Return the filename in the Name column for the current selection.

Definition at line 1936 of file ACMX2/interface/main_window.cpp.

References items, and list_view.

Referenced by buildRunArguments(), initControls(), loadShaders(), and runSelected().

◆ currentShaderRow()

int MainWindow::currentShaderRow ( ) const
private

◆ detectCudaSupport()

void MainWindow::detectCudaSupport ( )
private

Definition at line 5652 of file ACMX2/interface/main_window.cpp.

References detectFeatureSupport().

Referenced by initControls().

◆ detectFeatureSupport()

◆ draw()

void MainWindow::draw ( )
inlineoverride

Per-frame callback: clear, draw ACView, swap buffers.

Called by the GLWindow event loop. Clears the default framebuffer, asks the ACView object to render one frame, then swaps and delays to maintain the target frame rate.

Definition at line 12777 of file ACMX2/acmx.cpp.

References silent_mode.

◆ ensureShaderEditorWorkspace()

void MainWindow::ensureShaderEditorWorkspace ( )
private

Definition at line 1864 of file ACMX2/interface/main_window.cpp.

References shaderEditorTabs, and shaderEditorWorkspace.

Referenced by openShaderEditor().

◆ event()

void MainWindow::event ( SDL_Event & e)
inlineoverride

Placeholder—SDL events are forwarded to ACView::event() by libmx2.

Definition at line 12807 of file ACMX2/acmx.cpp.

Referenced by closeEvent(), and eventFilter().

◆ eventFilter()

int MainWindow::eventFilter ( void * userdata,
SDL_Event * event )
inlinestaticprivate

Definition at line 12707 of file ACMX2/acmx.cpp.

References event(), and MainWindow().

Referenced by initCommon().

◆ fileExit

void MainWindow::fileExit ( )
slot

Definition at line 3537 of file ACMX2/interface/main_window.cpp.

Referenced by initControls().

◆ fileOpenProp

◆ finishOutputRunLog()

void MainWindow::finishOutputRunLog ( int exitCode,
QProcess::ExitStatus exitStatus )
private

◆ getShaderPassIndicesFromNames()

QString MainWindow::getShaderPassIndicesFromNames ( )
private

Map selected shader-pass names back to numeric indices.

Returns
Comma-separated list of indices used by CLI args.

Definition at line 5250 of file ACMX2/interface/main_window.cpp.

References items, loadShaders(), shader_pass_names, and shader_path.

Referenced by buildRunArguments().

◆ handleSavedShader()

void MainWindow::handleSavedShader ( const QString & filePath)
private

◆ initCommon()

void MainWindow::initCommon ( const MXArguments & args)
inlineprivate

◆ initControls()

void MainWindow::initControls ( )

Build menus, actions, widgets, and signal wiring.

Definition at line 551 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmx2, acmx2::Acmxvk, acmxvkPruneLibraryPath, active_backend, addRecentLibrary(), appendOutputRunLog(), applyCustomStyleSheet(), audioSet, autopilot_frames, autopilot_random, acmx2::backend_from_id(), acmx2::backend_name(), acmx2::backend_settings_key(), backendAcmx2Action, backendAcmxvkAction, backendActionGroup, backendMenu, baseAppStyleSheet, bottomTextBox, buildCacheAction, cacheBuildInProgress, camera_index, camera_res, cameraMenu, cameraSet, cameraSettings(), cleanShaderCacheAction, convert_to_hdr10, CopyCommand, copyCommand(), currentShaderName(), customStyleSheet, CustomUniformDialog::CustomUniformDialog(), customUniformDialog, customUniformsAction, deepDreamAction, acmx2::default_backend_executable(), acmx2::defaultCustomStyleSheet(), detectCudaSupport(), display_filter_enabled, displayFilterAction, executable_path, fileExit(), fileMenu, fileMenu_exit, fileMenu_loadLibrary, fileMenu_prop, fileOpenProp(), FindShaderDialog::FindShaderDialog(), finishOutputRunLog(), fixBuildAction, gpuFilterAction, hdr10Process, helpMenu, helpMenu_about, helpMenu_uniformReference, initShaderSelectionSharedMemory(), lastFoundIndex, lastSearchText, libraryBuilderAction, list_view, listClicked(), listMenu, listMenu_down, listMenu_findInFiles, listMenu_findNext, listMenu_new, listMenu_remove, listMenu_search, listMenu_set_current, listMenu_shader, listMenu_shuffle, listMenu_sort, listMenu_up, acmx2::load_shader_manifest(), loadRecentMenu, loadSessionSettings(), loadShaders(), Log(), menuAudioSettings(), menuBuildShaderCache(), menuCleanShaderCache(), menuCustomUniforms(), menuDeepDreamSettings(), menuDown(), menuFindNext(), menuFixBuild(), menuGPUFilterSettings(), menuLibraryBuilder(), menuLoadLibrary(), menuMetadataViewer(), menuMidiSettings(), menuPlaylistSettings(), menuRemove(), menuRemoveBroken(), menuSearch(), menuSetCurrentShader(), menuShaderPassSettings(), menuShuffle(), menuSort(), menuStableDiffusionSettings(), menuToggleDisplayFilter(), menuUniformReference(), menuUp(), menuWatermarkSettings(), midi_config_file, midi_device, midi_enabled, midiSettingsAction, newList(), newShader(), None, normalized_time, normalizedTimeAction, openCustomStyleEditor(), openShaderEditor(), output_file, pending_acmxvk_action, play_repeat, play_stop, playbackMenu, playlistAction, populateShaderTree(), prefix_path, process, publishCustomUniformsToRunningProcess(), publishRepeatStateToRunningProcess(), publishRuntimeSettingsToRunningProcess(), publishSelectedShaderIndexToRunningProcess(), publishShaderReloadToRunningProcess(), removeBrokenAction, FindShaderDialog::resultActivated(), RunAll, runAll(), runFromCacheAction, runHdr10Conversion(), runMenu, runMenu_all, runMenu_copyCommand, runMenu_select, RunSelected, runSelected(), screen_res, set_backend(), acmx2::shader_manifest_backend(), acmx2::shader_manifest_exists(), shader_path, shaderPassAction, stable_diffusion_enabled, stableDiffusionAction, stayOnTopAction, stderrBuffer, stdoutBuffer, styleSheetAction, CustomUniformDialog::uniformDefinitionsChanged(), CustomUniformDialog::uniformsChanged(), update_backend_ui(), updateOpenEditorShaderContexts(), updateRecentLibrariesMenu(), use_shader_cache, VERSION_AUTHOR, VERSION_INFO, viewMenu, watermark_b, watermark_enabled, watermark_g, watermark_r, watermark_text, watermarkAction, Write(), and acmx2::write_shader_manifest().

Referenced by MainWindow().

◆ initShaderSelectionSharedMemory()

◆ listClicked

void MainWindow::listClicked ( const QModelIndex & i)
slot

Handle shader list selection changes.

Parameters
iSelected model index.

Definition at line 1785 of file ACMX2/interface/main_window.cpp.

References items, Log(), openShaderEditor(), sanitizeShaderName(), and shader_path.

Referenced by initControls().

◆ loadLibraryPath()

◆ loadSessionSettings()

void MainWindow::loadSessionSettings ( )
private

Restore persisted Session Settings into the launcher's runtime state.

Definition at line 1222 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmxvk, active_backend, cache_delay, cache_enabled, cache_size, camera_index, camera_res, convert_to_hdr10, copy_audio, cross_fade_duration, cuda_device, deep_dream_channel, deep_dream_enabled, deep_dream_feedback, deep_dream_fp16, deep_dream_gpu_filter_first, deep_dream_iterations, deep_dream_jitter, deep_dream_layer, deep_dream_maximum_dimension, deep_dream_model, deep_dream_octave_scale, deep_dream_octaves, deep_dream_original, deep_dream_rotation, deep_dream_smoothing, deep_dream_strength, deep_dream_zoom, duration_limit_enabled, enable_3d, encode_bitrate, encode_codec, encode_constant_frame_rate, encode_crf, encode_fill_pts_gaps, encode_no_drop, encode_parameters, encode_preset, encode_rate_control, encode_realtime, encode_tune, extra_arguments, flip_enabled, full_screen_value, generate_enabled, generate_interval, graphics_file, max_duration, max_size_limit_enabled, max_size_mb, maximize_fps, model_file, normalized_time, normalizedTimeAction, onnx_model, onnx_model_enabled, output_file, output_fps, png_level, png_output, png_output_directory, rotate_enabled, rotation_mode, save_output_log, screen_res, stable_diffusion_cfg_scale, stable_diffusion_enabled, stable_diffusion_height, stable_diffusion_lora_files, stable_diffusion_lora_multipliers, stable_diffusion_model, stable_diffusion_negative_prompt, stable_diffusion_prompt, stable_diffusion_sampler, stable_diffusion_scheduler, stable_diffusion_seed, stable_diffusion_server, stable_diffusion_server_arguments, stable_diffusion_server_port, stable_diffusion_steps, stable_diffusion_strength, stable_diffusion_upscale, stable_diffusion_upscale_model, stable_diffusion_upscale_only, stable_diffusion_upscale_working_height, stable_diffusion_upscale_working_width, stable_diffusion_width, time_speed, use_source_audio, use_source_fps, use_yuv, and video_file.

Referenced by initControls().

◆ loadShaders()

bool MainWindow::loadShaders ( const QString & path,
bool force = false )

◆ Log()

◆ menuAudioSettings

◆ menuBuildShaderCache

◆ menuCleanShaderCache

void MainWindow::menuCleanShaderCache ( )
slot

◆ menuCustomUniforms

void MainWindow::menuCustomUniforms ( )
slot

◆ menuDeepDreamSettings

◆ menuDown

void MainWindow::menuDown ( )
slot

◆ menuFindNext

void MainWindow::menuFindNext ( )
slot

Definition at line 1611 of file ACMX2/interface/main_window.cpp.

References items, lastFoundIndex, lastSearchText, Log(), and selectShaderRow().

Referenced by initControls().

◆ menuFixBuild

void MainWindow::menuFixBuild ( )
slot

◆ menuGPUFilterSettings

◆ menuLibraryBuilder

◆ menuLoadLibrary

void MainWindow::menuLoadLibrary ( )
slot

Definition at line 3064 of file ACMX2/interface/main_window.cpp.

References loadLibraryPath(), and shader_path.

Referenced by initControls().

◆ menuMetadataViewer

void MainWindow::menuMetadataViewer ( )
slot

Definition at line 5443 of file ACMX2/interface/main_window.cpp.

Referenced by initControls().

◆ menuMidiSettings

◆ menuPlaylistSettings

◆ menuRemove

◆ menuRemoveBroken

◆ menuRunFromCache

void MainWindow::menuRunFromCache ( )
slot

Definition at line 5441 of file ACMX2/interface/main_window.cpp.

◆ menuSearch

void MainWindow::menuSearch ( )
slot

Definition at line 1569 of file ACMX2/interface/main_window.cpp.

References items, lastFoundIndex, lastSearchText, Log(), and selectShaderRow().

Referenced by initControls().

◆ menuSetCurrentShader

void MainWindow::menuSetCurrentShader ( )
slot

◆ menuShaderPassSettings

◆ menuShuffle

void MainWindow::menuShuffle ( )
slot

Definition at line 5288 of file ACMX2/interface/main_window.cpp.

References items, Log(), populateShaderTree(), and updateIndex().

Referenced by initControls().

◆ menuSort

void MainWindow::menuSort ( )
slot

Definition at line 5300 of file ACMX2/interface/main_window.cpp.

References items, Log(), populateShaderTree(), and updateIndex().

Referenced by initControls(), and loadShaders().

◆ menuStableDiffusionSettings

void MainWindow::menuStableDiffusionSettings ( )
slot

Definition at line 3775 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmxvk, active_backend, StableDiffusionConfiguration::cfg_scale, StableDiffusionSettingsDialog::configuration(), StableDiffusionConfiguration::enabled, StableDiffusionConfiguration::height, Log(), StableDiffusionConfiguration::lora_files, StableDiffusionConfiguration::lora_multipliers, StableDiffusionConfiguration::model_file, StableDiffusionConfiguration::negative_prompt, StableDiffusionConfiguration::prompt, StableDiffusionConfiguration::sampler, StableDiffusionConfiguration::scheduler, StableDiffusionConfiguration::seed, StableDiffusionConfiguration::server_arguments, StableDiffusionConfiguration::server_executable, StableDiffusionConfiguration::server_port, StableDiffusionSettingsDialog::settingsApplied(), stable_diffusion_available, stable_diffusion_cfg_scale, stable_diffusion_enabled, stable_diffusion_height, stable_diffusion_lora_files, stable_diffusion_lora_multipliers, stable_diffusion_model, stable_diffusion_negative_prompt, stable_diffusion_prompt, stable_diffusion_sampler, stable_diffusion_scheduler, stable_diffusion_seed, stable_diffusion_server, stable_diffusion_server_arguments, stable_diffusion_server_port, stable_diffusion_steps, stable_diffusion_strength, stable_diffusion_upscale, stable_diffusion_upscale_model, stable_diffusion_upscale_only, stable_diffusion_upscale_working_height, stable_diffusion_upscale_working_width, stable_diffusion_width, StableDiffusionSettingsDialog::StableDiffusionSettingsDialog(), stableDiffusionSettingsDialog, StableDiffusionConfiguration::steps, StableDiffusionConfiguration::strength, StableDiffusionConfiguration::upscale, StableDiffusionConfiguration::upscale_model_file, StableDiffusionConfiguration::upscale_only, StableDiffusionConfiguration::upscale_working_height, StableDiffusionConfiguration::upscale_working_width, and StableDiffusionConfiguration::width.

Referenced by initControls().

◆ menuToggleDisplayFilter

void MainWindow::menuToggleDisplayFilter ( bool checked)
slot

◆ menuUniformReference

void MainWindow::menuUniformReference ( )
slot

◆ menuUp

void MainWindow::menuUp ( )
slot

◆ menuWatermarkSettings

◆ newList

void MainWindow::newList ( )
slot

◆ newShader

◆ openCustomStyleEditor

◆ openShaderEditor()

◆ populateShaderTree()

◆ prompt_acmxvk_rebuild()

void MainWindow::prompt_acmxvk_rebuild ( const QString & reason,
PendingAcmxvkAction resume_action )
private

Offer to rebuild a stale or incomplete ACMXVK source library.

Definition at line 3082 of file ACMX2/interface/main_window.cpp.

References Log(), menuBuildShaderCache(), pending_acmxvk_action, and shader_path.

Referenced by buildRunArguments(), and runSelected().

◆ publishAcmx2EditorPreview()

bool MainWindow::publishAcmx2EditorPreview ( const QString & filePath,
const QString & source )
private

◆ publishAcmxvkCompiledShaderReload()

void MainWindow::publishAcmxvkCompiledShaderReload ( const QString & sourcePath,
const QString & runtimePath )
private

◆ publishCustomUniformsToRunningProcess()

void MainWindow::publishCustomUniformsToRunningProcess ( )
private

◆ publishMultipassShadersToRunningProcess()

◆ publishRepeatStateToRunningProcess()

void MainWindow::publishRepeatStateToRunningProcess ( )
private

Definition at line 2721 of file ACMX2/interface/main_window.cpp.

References Log(), and play_repeat.

Referenced by initControls().

◆ publishRuntimeSettingsToRunningProcess()

◆ publishSelectedShaderIndexToRunningProcess()

void MainWindow::publishSelectedShaderIndexToRunningProcess ( )
private

◆ publishShaderReloadToRunningProcess()

void MainWindow::publishShaderReloadToRunningProcess ( const QString & filePath)
private

◆ queueAcmxvkEditorPreview()

void MainWindow::queueAcmxvkEditorPreview ( const QString & filePath,
const QString & source )
private

◆ queueAcmxvkLiveCompile()

void MainWindow::queueAcmxvkLiveCompile ( const QString & filePath)
private

◆ readFileContents()

QString MainWindow::readFileContents ( const QString & filePath)
private

Read an entire text file into memory.

Parameters
filePathPath to source file.
Returns
File contents, or empty string on failure.

Definition at line 1772 of file ACMX2/interface/main_window.cpp.

References Log().

Referenced by openShaderEditor().

◆ refreshShaderCacheStatus()

void MainWindow::refreshShaderCacheStatus ( )
private

Refresh shaderCacheStatus from the on-disk shader cache.

Definition at line 2894 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmx2, active_backend, cache_enabled, cache_size, Log(), shader_path, shaderCacheMTime, and shaderCacheStatus.

Referenced by populateShaderTree().

◆ runAll

◆ runHdr10Conversion()

void MainWindow::runHdr10Conversion ( )
private

Run ffmpeg to convert the just-produced acmx2 output (assumed HLG HDR) into HDR10 (HEVC NVENC, BT.2020 / SMPTE2084) and pipe ffmpeg's stdout/stderr to the main log window.

Definition at line 4939 of file ACMX2/interface/main_window.cpp.

References concatList(), cuda_available, encode_codec, encode_preset, hdr10Process, Log(), output_file, and play_stop.

Referenced by initControls().

◆ runSelected

void MainWindow::runSelected ( )
slot

Definition at line 4281 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmx2, acmx2::Acmxvk, active_backend, appendDeepDreamArguments(), appendOutputRunLog(), appendStableDiffusionArguments(), audio_available, audio_buffer_frames, audio_buffers_enabled, audio_channels, audio_enabled, audio_file, audio_input, audio_output, audio_passthrough, audio_repeat, audio_sense, audio_trunc, audio_warm_rate, beginOutputRunLog(), cache_delay, cache_enabled, cache_size, camera_index, camera_res, concatList(), copy_audio, cross_fade_duration, cuda_available, cuda_device, cuda_device_available, currentShaderName(), currentShaderRow(), acmx2::default_backend_executable(), display_filter_enabled, duration_limit_enabled, enable_3d, encode_bitrate, encode_codec, encode_constant_frame_rate, encode_crf, encode_fill_pts_gaps, encode_no_drop, encode_parameters, encode_preset, encode_rate_control, encode_realtime, encode_tune, executable_path, extra_arguments, finishOutputRunLog(), flip_enabled, full_screen_value, generate_enabled, generate_interval, gpu_buffer_size, gpu_filter_enabled, gpu_filter_indices, graphics_file, initShaderSelectionSharedMemory(), items, Log(), max_duration, max_size_limit_enabled, max_size_mb, maximize_fps, midi_available, midi_config_file, midi_device, midi_enabled, model_file, normalized_time, onnx_model, onnx_model_enabled, output_file, output_fps, play_repeat, play_stop, png_level, png_output, png_output_directory, prefix_path, process, prompt_acmxvk_rebuild(), publishMultipassShadersToRunningProcess(), publishRuntimeSettingsToRunningProcess(), publishSelectedShaderIndexToRunningProcess(), record_audio, record_volume, rotate_enabled, rotation_mode, RunSelected, screen_res, shader_path, time_speed, use_shader_cache, use_source_audio, use_source_fps, use_yuv, validateDeepDreamLaunch(), validateStableDiffusionLaunch(), video_file, watermark_b, watermark_enabled, watermark_g, watermark_r, and watermark_text.

Referenced by initControls().

◆ sanitizeShaderName()

QString MainWindow::sanitizeShaderName ( const QString & name)
private

Normalize shader names for filesystem/process safety.

Parameters
nameRaw shader name.
Returns
Sanitized shader name.

Definition at line 5262 of file ACMX2/interface/main_window.cpp.

References Log().

Referenced by listClicked(), loadShaders(), menuShaderPassSettings(), publishAcmx2EditorPreview(), publishAcmxvkCompiledShaderReload(), and queueAcmxvkLiveCompile().

◆ selectShaderRow()

void MainWindow::selectShaderRow ( int row)
private

Select the row at row and scroll it into view.

Definition at line 2884 of file ACMX2/interface/main_window.cpp.

References list_view.

Referenced by loadShaders(), menuDown(), menuFindNext(), menuSearch(), and menuUp().

◆ set_backend()

◆ start_acmxvk_build()

void MainWindow::start_acmxvk_build ( const QString & build_path,
AcmxvkBuildMode mode )
private

◆ startNextAcmxvkEditorPreview()

◆ startNextAcmxvkLiveCompile()

◆ update_backend_ui()

◆ updateIndex()

◆ updateOpenEditorCompileStatus()

void MainWindow::updateOpenEditorCompileStatus ( const QString & sourcePath,
bool pending,
bool success = false,
const QString & diagnostics = QString() )
private

◆ updateOpenEditorShaderContexts()

void MainWindow::updateOpenEditorShaderContexts ( )
private

◆ updateRecentLibrariesMenu()

void MainWindow::updateRecentLibrariesMenu ( )
private

Rebuild the File > Load Recent submenu from persisted settings.

Definition at line 3340 of file ACMX2/interface/main_window.cpp.

References acmx2::Acmx2, active_backend, acmx2::backend_settings_key(), loadLibraryPath(), and loadRecentMenu.

Referenced by addRecentLibrary(), initControls(), and set_backend().

◆ validateDeepDreamLaunch()

◆ validateStableDiffusionLaunch()

◆ Write()

void MainWindow::Write ( const QString & message)

Write raw text to the lower output pane.

Parameters
messageText block to display.

Definition at line 3002 of file ACMX2/interface/main_window.cpp.

References bottomTextBox.

Referenced by initControls(), menuRemoveBroken(), and startNextAcmxvkLiveCompile().

Member Data Documentation

◆ acmxvkPruneLibraryPath

QString MainWindow::acmxvkPruneLibraryPath
private

Definition at line 426 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and start_acmxvk_build().

◆ active_backend

◆ activeShaderManifestPath

QString MainWindow::activeShaderManifestPath

Definition at line 70 of file ACMX2/interface/main_window.hpp.

Referenced by loadShaders(), menuRemove(), set_backend(), and updateIndex().

◆ audio_available

bool MainWindow::audio_available = false
private

◆ audio_buffer_frames

int MainWindow::audio_buffer_frames = 8
private

◆ audio_buffers_enabled

bool MainWindow::audio_buffers_enabled = false
private

◆ audio_channels

unsigned int MainWindow::audio_channels = 2
private

◆ audio_enabled

bool MainWindow::audio_enabled = false
private

◆ audio_file

QString MainWindow::audio_file
private

◆ audio_input

int MainWindow::audio_input = -1
private

◆ audio_output

int MainWindow::audio_output = -1
private

◆ audio_passthrough

bool MainWindow::audio_passthrough = false
private

◆ audio_repeat

bool MainWindow::audio_repeat = false
private

◆ audio_sense

float MainWindow::audio_sense = 0.25f
private

◆ audio_trunc

bool MainWindow::audio_trunc = false
private

◆ audio_warm_rate

double MainWindow::audio_warm_rate = 0.5
private

◆ audioSet

QAction * MainWindow::audioSet = nullptr
private

Definition at line 200 of file ACMX2/interface/main_window.hpp.

Referenced by detectFeatureSupport(), and initControls().

◆ autopilot_frames

int MainWindow::autopilot_frames = 0
private

◆ autopilot_random

bool MainWindow::autopilot_random = false
private

◆ backendAcmx2Action

QAction* MainWindow::backendAcmx2Action = nullptr
private

Definition at line 204 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ backendAcmxvkAction

QAction* MainWindow::backendAcmxvkAction = nullptr
private

Definition at line 205 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ backendActionGroup

QActionGroup* MainWindow::backendActionGroup = nullptr
private

Definition at line 203 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ backendMenu

QMenu* MainWindow::backendMenu = nullptr
private

Definition at line 192 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ baseAppStyleSheet

QString MainWindow::baseAppStyleSheet
private

Definition at line 368 of file ACMX2/interface/main_window.hpp.

Referenced by applyCustomStyleSheet(), and initControls().

◆ bottomTextBox

QTextEdit* MainWindow::bottomTextBox
private

Definition at line 152 of file ACMX2/interface/main_window.hpp.

Referenced by applyMainViewStyles(), initControls(), Log(), and Write().

◆ buildCacheAction

QAction* MainWindow::buildCacheAction
private

Definition at line 363 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ cache_delay

int MainWindow::cache_delay = 1
private

◆ cache_enabled

◆ cache_size

◆ cacheBuildInProgress

bool MainWindow::cacheBuildInProgress = false
private

True while an ACMX2 cache rebuild or ACMXVK source build is running.

Definition at line 424 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), menuBuildShaderCache(), menuCleanShaderCache(), publishShaderReloadToRunningProcess(), and start_acmxvk_build().

◆ camera_index

unsigned int MainWindow::camera_index
private

◆ camera_res

QSize MainWindow::camera_res
private

◆ cameraMenu

QMenu* MainWindow::cameraMenu = nullptr
private

Definition at line 193 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ cameraSet

QAction* MainWindow::cameraSet = nullptr
private

Definition at line 200 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ cleanShaderCacheAction

QAction* MainWindow::cleanShaderCacheAction
private

Definition at line 366 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ convert_to_hdr10

bool MainWindow::convert_to_hdr10 = false
private

◆ copy_audio

bool MainWindow::copy_audio = false
private

◆ cross_fade_duration

float MainWindow::cross_fade_duration = 0.5f
private

◆ cuda_available

◆ cuda_device

int MainWindow::cuda_device = 0
private

◆ cuda_device_available

bool MainWindow::cuda_device_available = false
private

◆ customStyleSheet

QString MainWindow::customStyleSheet
private

◆ customUniformDialog

CustomUniformDialog* MainWindow::customUniformDialog = nullptr
private

◆ customUniformsAction

QAction* MainWindow::customUniformsAction = nullptr
private

Definition at line 411 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ deep_dream_available

bool MainWindow::deep_dream_available = false
private

◆ deep_dream_channel

int MainWindow::deep_dream_channel = -1
private

◆ deep_dream_enabled

◆ deep_dream_feedback

double MainWindow::deep_dream_feedback = 0.9
private

◆ deep_dream_fp16

bool MainWindow::deep_dream_fp16 = false
private

◆ deep_dream_gpu_filter_first

◆ deep_dream_iterations

int MainWindow::deep_dream_iterations = 1
private

◆ deep_dream_jitter

int MainWindow::deep_dream_jitter = 0
private

◆ deep_dream_layer

QString MainWindow::deep_dream_layer = "relu4_2"
private

◆ deep_dream_maximum_dimension

int MainWindow::deep_dream_maximum_dimension = 512
private

◆ deep_dream_model

◆ deep_dream_octave_scale

double MainWindow::deep_dream_octave_scale = 1.4
private

◆ deep_dream_octaves

int MainWindow::deep_dream_octaves = 1
private

◆ deep_dream_original

bool MainWindow::deep_dream_original = false
private

◆ deep_dream_rotation

double MainWindow::deep_dream_rotation = 0.1
private

◆ deep_dream_smoothing

int MainWindow::deep_dream_smoothing = 0
private

◆ deep_dream_strength

double MainWindow::deep_dream_strength = 0.05
private

◆ deep_dream_zoom

double MainWindow::deep_dream_zoom = 1.01
private

◆ deepDreamAction

QAction* MainWindow::deepDreamAction = nullptr
private

◆ deepDreamSettingsDialog

QPointer<DeepDreamSettingsDialog> MainWindow::deepDreamSettingsDialog
private

Definition at line 333 of file ACMX2/interface/main_window.hpp.

Referenced by menuDeepDreamSettings(), and set_backend().

◆ display_filter_enabled

bool MainWindow::display_filter_enabled = false
private

◆ displayFilterAction

QAction* MainWindow::displayFilterAction = nullptr
private

Definition at line 405 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ dnn_available

bool MainWindow::dnn_available = false
private

◆ duration_limit_enabled

bool MainWindow::duration_limit_enabled = false
private

◆ editorPreviewInput

QString MainWindow::editorPreviewInput
private

Definition at line 440 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkEditorPreview().

◆ editorPreviewOutput

QString MainWindow::editorPreviewOutput
private

Definition at line 441 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkEditorPreview().

◆ editorPreviewPath

QString MainWindow::editorPreviewPath
private

Definition at line 439 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkEditorPreview().

◆ editorPreviewProcess

QProcess* MainWindow::editorPreviewProcess = nullptr
private

Definition at line 436 of file ACMX2/interface/main_window.hpp.

Referenced by closeEvent(), and startNextAcmxvkEditorPreview().

◆ editorPreviewSequence

quint64 MainWindow::editorPreviewSequence = 0
private

◆ editorPreviewStderr

QString MainWindow::editorPreviewStderr
private

Definition at line 443 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkEditorPreview().

◆ editorPreviewStdout

QString MainWindow::editorPreviewStdout
private

Definition at line 442 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkEditorPreview().

◆ editorPreviewTemporaryFiles

QStringList MainWindow::editorPreviewTemporaryFiles
private

◆ enable_3d

bool MainWindow::enable_3d = false
private

◆ encode_bitrate

QString MainWindow::encode_bitrate = "10M"
private

◆ encode_codec

QString MainWindow::encode_codec = "auto"
private

◆ encode_constant_frame_rate

bool MainWindow::encode_constant_frame_rate = false
private

◆ encode_crf

int MainWindow::encode_crf = 18
private

◆ encode_fill_pts_gaps

bool MainWindow::encode_fill_pts_gaps = false
private

◆ encode_no_drop

bool MainWindow::encode_no_drop = false
private

◆ encode_parameters

QString MainWindow::encode_parameters
private

◆ encode_preset

QString MainWindow::encode_preset = "medium"
private

◆ encode_rate_control

QString MainWindow::encode_rate_control = "quality"
private

◆ encode_realtime

bool MainWindow::encode_realtime = false
private

◆ encode_tune

QString MainWindow::encode_tune
private

◆ executable_path

◆ extra_arguments

QString MainWindow::extra_arguments
private

◆ fileMenu

QMenu* MainWindow::fileMenu = nullptr
private

Definition at line 190 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ fileMenu_exit

QAction * MainWindow::fileMenu_exit = nullptr
private

Definition at line 199 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ fileMenu_loadLibrary

QAction* MainWindow::fileMenu_loadLibrary = nullptr
private

Definition at line 199 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ fileMenu_prop

QAction * MainWindow::fileMenu_prop = nullptr
private

Definition at line 199 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ fixBuildAction

QAction* MainWindow::fixBuildAction
private

Definition at line 364 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ flip_enabled

bool MainWindow::flip_enabled = false
private

◆ full_screen_value

bool MainWindow::full_screen_value = false
private

◆ generate_enabled

bool MainWindow::generate_enabled = false
private

◆ generate_interval

int MainWindow::generate_interval = 30
private

◆ gpu_buffer_size

int MainWindow::gpu_buffer_size = 8
private

◆ gpu_filter_enabled

◆ gpu_filter_indices

◆ gpuFilterAction

QAction* MainWindow::gpuFilterAction
private

Definition at line 313 of file ACMX2/interface/main_window.hpp.

Referenced by detectFeatureSupport(), and initControls().

◆ gpuFilterDialog

QPointer<GPUFilterDialog> MainWindow::gpuFilterDialog
private

Definition at line 314 of file ACMX2/interface/main_window.hpp.

Referenced by menuGPUFilterSettings(), and set_backend().

◆ graphics_file

◆ hdr10Process

QProcess* MainWindow::hdr10Process = nullptr
private

Definition at line 230 of file ACMX2/interface/main_window.hpp.

Referenced by closeEvent(), initControls(), and runHdr10Conversion().

◆ helpMenu

QMenu* MainWindow::helpMenu = nullptr
private

Definition at line 198 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ helpMenu_about

QAction* MainWindow::helpMenu_about = nullptr
private

Definition at line 210 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ helpMenu_uniformReference

QAction* MainWindow::helpMenu_uniformReference = nullptr
private

Definition at line 211 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ indexTimestamp

QDateTime MainWindow::indexTimestamp

Definition at line 69 of file ACMX2/interface/main_window.hpp.

Referenced by loadShaders(), menuRemove(), set_backend(), and updateIndex().

◆ items

◆ lastFoundIndex

int MainWindow::lastFoundIndex = -1
private

Definition at line 215 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), menuFindNext(), and menuSearch().

◆ lastSearchText

QString MainWindow::lastSearchText
private

Definition at line 214 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), menuFindNext(), and menuSearch().

◆ libraryBuilderAction

QAction* MainWindow::libraryBuilderAction = nullptr
private

Definition at line 209 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ libraryBuilderDialog

QPointer<LibraryBuilderDialog> MainWindow::libraryBuilderDialog
private

Definition at line 361 of file ACMX2/interface/main_window.hpp.

Referenced by menuLibraryBuilder(), and set_backend().

◆ list_view

◆ listMenu

QMenu* MainWindow::listMenu = nullptr
private

Definition at line 196 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_down

QAction * MainWindow::listMenu_down = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_findInFiles

QAction* MainWindow::listMenu_findInFiles = nullptr
private

Definition at line 213 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_findNext

QAction* MainWindow::listMenu_findNext = nullptr
private

Definition at line 212 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_new

QAction* MainWindow::listMenu_new = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ listMenu_remove

QAction * MainWindow::listMenu_remove = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_search

QAction* MainWindow::listMenu_search = nullptr
private

Definition at line 227 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_set_current

QAction * MainWindow::listMenu_set_current = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_shader

QAction * MainWindow::listMenu_shader = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ listMenu_shuffle

QAction * MainWindow::listMenu_shuffle = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_sort

QAction * MainWindow::listMenu_sort = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ listMenu_up

QAction * MainWindow::listMenu_up = nullptr
private

Definition at line 208 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ liveShaderCompileInput

QString MainWindow::liveShaderCompileInput
private

Definition at line 430 of file ACMX2/interface/main_window.hpp.

Referenced by closeEvent(), and startNextAcmxvkLiveCompile().

◆ liveShaderCompileOutput

QString MainWindow::liveShaderCompileOutput
private

Definition at line 431 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkLiveCompile().

◆ liveShaderCompileProcess

QProcess* MainWindow::liveShaderCompileProcess = nullptr
private

Definition at line 427 of file ACMX2/interface/main_window.hpp.

Referenced by closeEvent(), and startNextAcmxvkLiveCompile().

◆ liveShaderCompileQueue

QStringList MainWindow::liveShaderCompileQueue
private

◆ liveShaderCompileSequence

quint64 MainWindow::liveShaderCompileSequence = 0
private

Definition at line 435 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkLiveCompile().

◆ liveShaderCompileSource

QString MainWindow::liveShaderCompileSource
private

Definition at line 429 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkLiveCompile().

◆ liveShaderCompileStderr

QString MainWindow::liveShaderCompileStderr
private

Definition at line 434 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkLiveCompile().

◆ liveShaderCompileStdout

QString MainWindow::liveShaderCompileStdout
private

Definition at line 433 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkLiveCompile().

◆ liveShaderCompileTemporary

QString MainWindow::liveShaderCompileTemporary
private

Definition at line 432 of file ACMX2/interface/main_window.hpp.

Referenced by startNextAcmxvkLiveCompile().

◆ loadRecentMenu

QMenu* MainWindow::loadRecentMenu = nullptr
private

Definition at line 191 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and updateRecentLibrariesMenu().

◆ max_duration

double MainWindow::max_duration = 0.0
private

◆ max_size_limit_enabled

bool MainWindow::max_size_limit_enabled = false
private

◆ max_size_mb

double MainWindow::max_size_mb = 0.0
private

◆ maximize_fps

bool MainWindow::maximize_fps = false
private

◆ midi_available

bool MainWindow::midi_available = false
private

◆ midi_config_file

QString MainWindow::midi_config_file
private

◆ midi_device

int MainWindow::midi_device = -1
private

◆ midi_enabled

bool MainWindow::midi_enabled = false
private

◆ midiSettingsAction

QAction* MainWindow::midiSettingsAction
private

Definition at line 409 of file ACMX2/interface/main_window.hpp.

Referenced by detectFeatureSupport(), and initControls().

◆ model_file

QString MainWindow::model_file
private

◆ normalized_time

bool MainWindow::normalized_time = false
private

◆ normalizedTimeAction

QAction* MainWindow::normalizedTimeAction = nullptr
private

Definition at line 207 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and loadSessionSettings().

◆ onnx_model

QString MainWindow::onnx_model
private

◆ onnx_model_enabled

bool MainWindow::onnx_model_enabled = false
private

◆ open_files

QVector<QPointer<TextEditor> > MainWindow::open_files
private

◆ output_file

◆ output_fps

double MainWindow::output_fps = 24.0f
private

◆ output_run_log

QFile MainWindow::output_run_log
private

◆ pending_acmxvk_action

PendingAcmxvkAction MainWindow::pending_acmxvk_action = PendingAcmxvkAction::None
private

◆ pendingEditorPreviewPath

QString MainWindow::pendingEditorPreviewPath
private

◆ pendingEditorPreviewSource

QString MainWindow::pendingEditorPreviewSource
private

◆ play_repeat

QAction* MainWindow::play_repeat = nullptr
private

◆ play_stop

QAction * MainWindow::play_stop = nullptr
private

◆ playbackMenu

QMenu* MainWindow::playbackMenu = nullptr
private

Definition at line 194 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ playlist_enabled

bool MainWindow::playlist_enabled = false
private

Definition at line 414 of file ACMX2/interface/main_window.hpp.

Referenced by buildRunArguments(), and menuPlaylistSettings().

◆ playlist_file_path

QString MainWindow::playlist_file_path
private

Definition at line 417 of file ACMX2/interface/main_window.hpp.

Referenced by buildRunArguments(), and menuPlaylistSettings().

◆ playlist_names

QStringList MainWindow::playlist_names
private

Definition at line 415 of file ACMX2/interface/main_window.hpp.

Referenced by buildRunArguments(), and menuPlaylistSettings().

◆ playlist_tree_data

QList<QPair<QString, QStringList> > MainWindow::playlist_tree_data
private

Definition at line 416 of file ACMX2/interface/main_window.hpp.

Referenced by buildRunArguments(), and menuPlaylistSettings().

◆ playlistAction

QAction* MainWindow::playlistAction
private

Definition at line 420 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ playlistDialog

QPointer<PlaylistDialog> MainWindow::playlistDialog
private

Definition at line 360 of file ACMX2/interface/main_window.hpp.

Referenced by menuPlaylistSettings().

◆ png_level

int MainWindow::png_level = 6
private

◆ png_output

bool MainWindow::png_output = false
private

◆ png_output_directory

QString MainWindow::png_output_directory
private

◆ prefix_path

QString MainWindow::prefix_path
private

◆ process

◆ record_audio

bool MainWindow::record_audio = false
private

◆ record_volume

double MainWindow::record_volume = 1.0
private

◆ removeBrokenAction

QAction* MainWindow::removeBrokenAction
private

Definition at line 367 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ rotate_enabled

bool MainWindow::rotate_enabled = false
private

◆ rotation_mode

QString MainWindow::rotation_mode = "clockwise"
private

◆ runFromCacheAction

QAction* MainWindow::runFromCacheAction
private

Definition at line 365 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ runMenu

QMenu* MainWindow::runMenu = nullptr
private

Definition at line 195 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ runMenu_all

QAction * MainWindow::runMenu_all = nullptr
private

Definition at line 201 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ runMenu_copyCommand

QAction* MainWindow::runMenu_copyCommand = nullptr
private

Definition at line 202 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ runMenu_select

QAction* MainWindow::runMenu_select = nullptr
private

Definition at line 201 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and update_backend_ui().

◆ save_output_log

bool MainWindow::save_output_log = false
private

◆ screen_res

QSize MainWindow::screen_res
private

◆ shader_pass_enabled

bool MainWindow::shader_pass_enabled = false
private

◆ shader_pass_names

QStringList MainWindow::shader_pass_names
private

◆ shader_path

◆ shaderCacheMTime

QDateTime MainWindow::shaderCacheMTime
private

Modification time of the shader cache file when last read.

Definition at line 161 of file ACMX2/interface/main_window.hpp.

Referenced by populateShaderTree(), and refreshShaderCacheStatus().

◆ shaderCacheStatus

QHash<QString, bool> MainWindow::shaderCacheStatus
private

Cached map of shader stem -> failed flag for the current library.

Definition at line 159 of file ACMX2/interface/main_window.hpp.

Referenced by populateShaderTree(), and refreshShaderCacheStatus().

◆ shaderEditorTabs

QTabWidget* MainWindow::shaderEditorTabs = nullptr
private

◆ shaderEditorWorkspace

QPointer<QDialog> MainWindow::shaderEditorWorkspace
private

◆ shaderPassAction

QAction* MainWindow::shaderPassAction
private

Definition at line 358 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ shaderPassDialog

QPointer<ShaderPassDialog> MainWindow::shaderPassDialog
private

Definition at line 359 of file ACMX2/interface/main_window.hpp.

Referenced by menuShaderPassSettings().

◆ silent_mode

bool MainWindow::silent_mode = false
private

Definition at line 12705 of file ACMX2/acmx.cpp.

Referenced by draw(), initCommon(), MainWindow(), and MainWindow().

◆ stable_diffusion_available

bool MainWindow::stable_diffusion_available = false
private

◆ stable_diffusion_cfg_scale

double MainWindow::stable_diffusion_cfg_scale = 5.0
private

◆ stable_diffusion_enabled

◆ stable_diffusion_height

int MainWindow::stable_diffusion_height = 320
private

◆ stable_diffusion_lora_files

QStringList MainWindow::stable_diffusion_lora_files
private

◆ stable_diffusion_lora_multipliers

QList<double> MainWindow::stable_diffusion_lora_multipliers
private

◆ stable_diffusion_model

QString MainWindow::stable_diffusion_model
private

◆ stable_diffusion_negative_prompt

QString MainWindow::stable_diffusion_negative_prompt
private

◆ stable_diffusion_prompt

QString MainWindow::stable_diffusion_prompt
private

◆ stable_diffusion_sampler

QString MainWindow::stable_diffusion_sampler = "euler_a"
private

◆ stable_diffusion_scheduler

QString MainWindow::stable_diffusion_scheduler = "discrete"
private

◆ stable_diffusion_seed

int MainWindow::stable_diffusion_seed = 1234
private

◆ stable_diffusion_server

◆ stable_diffusion_server_arguments

QString MainWindow::stable_diffusion_server_arguments
private

◆ stable_diffusion_server_port

int MainWindow::stable_diffusion_server_port = 1234
private

◆ stable_diffusion_steps

int MainWindow::stable_diffusion_steps = 12
private

◆ stable_diffusion_strength

double MainWindow::stable_diffusion_strength = 0.35
private

◆ stable_diffusion_upscale

bool MainWindow::stable_diffusion_upscale = false
private

◆ stable_diffusion_upscale_model

QString MainWindow::stable_diffusion_upscale_model
private

◆ stable_diffusion_upscale_only

bool MainWindow::stable_diffusion_upscale_only = false
private

◆ stable_diffusion_upscale_working_height

int MainWindow::stable_diffusion_upscale_working_height = 0
private

◆ stable_diffusion_upscale_working_width

int MainWindow::stable_diffusion_upscale_working_width = 0
private

◆ stable_diffusion_width

int MainWindow::stable_diffusion_width = 576
private

◆ stableDiffusionAction

QAction* MainWindow::stableDiffusionAction = nullptr
private

Definition at line 356 of file ACMX2/interface/main_window.hpp.

Referenced by detectFeatureSupport(), and initControls().

◆ stableDiffusionSettingsDialog

QPointer<StableDiffusionSettingsDialog> MainWindow::stableDiffusionSettingsDialog
private

Definition at line 357 of file ACMX2/interface/main_window.hpp.

Referenced by menuStableDiffusionSettings().

◆ stayOnTopAction

QAction* MainWindow::stayOnTopAction
private

Definition at line 410 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ stderrBuffer

QString MainWindow::stderrBuffer
private

Definition at line 421 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ stdoutBuffer

QString MainWindow::stdoutBuffer
private

Definition at line 422 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ styleSheetAction

QAction* MainWindow::styleSheetAction
private

Definition at line 362 of file ACMX2/interface/main_window.hpp.

Referenced by initControls(), and openCustomStyleEditor().

◆ time_speed

float MainWindow::time_speed = 1.0f
private

◆ uniformReferenceDialog

QPointer<UniformReferenceDialog> MainWindow::uniformReferenceDialog
private

Definition at line 413 of file ACMX2/interface/main_window.hpp.

Referenced by menuUniformReference().

◆ use_shader_cache

bool MainWindow::use_shader_cache = true
private

Definition at line 382 of file ACMX2/interface/main_window.hpp.

Referenced by buildRunArguments(), initControls(), and runSelected().

◆ use_source_audio

bool MainWindow::use_source_audio = false
private

◆ use_source_fps

bool MainWindow::use_source_fps = false
private

◆ use_yuv

bool MainWindow::use_yuv = false
private

◆ video_file

◆ viewMenu

QMenu* MainWindow::viewMenu = nullptr
private

Definition at line 197 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().

◆ watermark_b

int MainWindow::watermark_b = 150
private

◆ watermark_enabled

bool MainWindow::watermark_enabled = false
private

◆ watermark_g

int MainWindow::watermark_g = 0
private

◆ watermark_r

int MainWindow::watermark_r = 255
private

◆ watermark_text

QString MainWindow::watermark_text
private

◆ watermarkAction

QAction* MainWindow::watermarkAction = nullptr
private

Definition at line 404 of file ACMX2/interface/main_window.hpp.

Referenced by initControls().


The documentation for this class was generated from the following files: