How marshiyar/myupscaler works
myUpscaler is a macOS SwiftUI video-upscaling app. Users select a video, configure scaling and restoration options, then run or cancel processing and inspect progress and output. The Swift runner dispatches work to either the CoreML image-processing engine or the bridged C/FFmpeg pipeline; the README documents interpolation and extensive filter stacks in that pipeline. The editor, presets, shortcuts, and settings support the workflow. Some C internals and UI wiring were not excerpted, so unverified links are omitted; documented product capabilities remain represented.
Main entry points: ContentViewPanels.swift Control panels · UpscaleRunner.swift Run coordinator · UpscaleSettings.swift Processing settings · up60p_restore_beast_main.c Video pipeline
Components 20
App interface
- App entry
myUpscaler/myUpscalerApp.swift - Main workspace
myUpscaler/ContentView/ContentView.swift - Control panels
myUpscaler/ContentView/ContentViewPanels.swift - Media import
myUpscaler/DragDropView.swift
Editing and settings
- Preview editor
myUpscaler/EditorState.swift - Processing settings
myUpscaler/UpscaleSettings.swift - Preset store
myUpscaler/PresetStore.swift - Quality analysis
myUpscaler/QualityAnalyzer.swift - Shortcut manager
myUpscaler/KeyboardShortcutsManager.swift
Processing engines
- Run coordinator
myUpscaler/UpscaleRunner.swift - CoreML engine
myUpscaler/upscaler/CoreMLEngine.swift - Shader processing
myUpscaler/upscaler/CoreMLEngine+Shaders.swift - Model registry
myUpscaler/CoreMLModelRegistry.swift - C engine bridge
myUpscaler/upscaler/Up60PEngine.swift
Native pipeline
- C interface
myUpscaler/upscaler/Up60PBridging.m - Pipeline options
myUpscaler/upscaler/up60p.h - Video pipeline
myUpscaler/up60p_restore_beast_main.c - Process control
myUpscaler/upscaler/up60p_process.c
Other components
- User
- Bundled FFmpeg
Connections 23
- User → App entry: opens
README.md - App entry → Main workspace: shows
myUpscaler/myUpscalerApp.swift - Main workspace → Control panels: presents
myUpscaler/ContentView/ContentView.swift - Control panels → Media import: embeds
myUpscaler/ContentView/ContentViewPanels.swift - Main workspace → Run coordinator: controls
myUpscaler/ContentView/ContentView.swift - Control panels → Processing settings: edits
myUpscaler/ContentView/ContentViewPanels.swift - Control panels → Run coordinator: starts or cancels
myUpscaler/ContentView/ContentViewPanels.swift - Run coordinator → Processing settings: snapshots
myUpscaler/UpscaleRunner.swift - Run coordinator → CoreML engine: dispatches
myUpscaler/UpscaleRunner.swift - Run coordinator → C engine bridge: dispatches
myUpscaler/UpscaleRunner.swift - Run coordinator → Preview editor: updates preview state
- Control panels → Preset store: manages
myUpscaler/ContentView/ContentViewPanels.swift - Control panels → Shortcut manager: uses shortcuts
- Processing settings → Model registry: lists models
myUpscaler/UpscaleSettings.swift - CoreML engine → Model registry: loads model specs
myUpscaler/upscaler/CoreMLEngine.swift - Shader processing → CoreML engine: extends
myUpscaler/upscaler/CoreMLEngine+Shaders.swift - C engine bridge → C interface: calls
myUpscaler/upscaler/Up60PEngine.swift - C interface → Video pipeline: invokes
- Video pipeline → Pipeline options: uses options
myUpscaler/up60p_restore_beast_main.c - Video pipeline → Process control: controls child process
myUpscaler/up60p_restore_beast_main.c - Video pipeline → Bundled FFmpeg: runs video processing
README.md - Processing settings → Video pipeline: configures scaling, filters, EQ
README.md - Processing settings → Quality analysis: provides analysis inputs
myUpscaler/QualityAnalyzer.swift