How seefn1000-afk/vrchat-dlss5-cam works
VRChat-DLSS5-Cam is a Windows desktop application for previewing and enhancing VRChat camera feeds, capturing PNG photos, and processing image or video files. The principal workflow is to launch the app, receive a Spout camera feed, render it through the GPU pipeline, preview it, then capture a photo. The graph also preserves documented media-library, video, settings, localization, and update capabilities. Source excerpts establish the application shell and processing interfaces; several subsystem connections are documented in the README rather than verified in implementation excerpts.
Main entry points: App.cpp App shell · Pipeline.cpp Frame pipeline · MainUI.cpp Main interface · main.cpp Program entry
Components 23
Application
- Program entry
src/main.cpp - App shell
src/core/App.cpp - Main interface
src/ui/MainUI.cpp - Live preview
src/core/App.cpp
Sources and Capture
- Spout receiver
src/core/SpoutReceiver.cpp - Media library
src/core/MediaLibrary.cpp - Image source
src/core/ImageSource.cpp - Video source
src/core/VideoSource.cpp - Photo capture
src/core/Capture.cpp - Video writer
src/core/VideoWriter.cpp
GPU Rendering
- Frame pipeline
src/gfx/Pipeline.cpp - GPU device
src/gfx/Device.cpp - Optical flow
src/gfx/NvOpticalFlow.cpp - Depth estimation
src/gfx/DepthEstimator.cpp - NGX runtime
src/ngx/NgxCore.cpp - DLSS features
src/ngx/DlssFeature.cpp - DLSS neural rendering
src/ngx/DlssnrFeature.cpp
Settings and Services
- Settings
src/core/Settings.cpp - Localization
src/core/I18n.cpp - Updater
src/core/Updater.cpp - Logging
src/core/Log.cpp
Other components
- User
- VRChat camera
Connections 25
- User → Program entry: launches
- Program entry → App shell: starts
src/main.cpp - User → Main interface: operates
- Main interface → App shell: sends actions
- VRChat camera → Spout receiver: provides feed
- Spout receiver → App shell: supplies frames
- App shell → Live preview: updates
src/core/App.cpp - App shell → Frame pipeline: dispatches frames
- Frame pipeline → GPU device: uses GPU
- Frame pipeline → Optical flow: uses flow
- Frame pipeline → Depth estimation: uses depth
- Frame pipeline → NGX runtime: uses runtime
- Frame pipeline → DLSS features: runs DLSS
- Frame pipeline → DLSS neural rendering: runs neural rendering
- User → Photo capture: requests photo
- Frame pipeline → Photo capture: submits capture
- App shell → Media library: manages
- App shell → Image source: opens images
- App shell → Video source: processes video
- App shell → Video writer: owns video output
- User → Settings: configures
- App shell → Settings: reads settings
- Main interface → Localization: displays translations
src/ui/MainUI.cpp - App shell → Updater: checks updates
src/core/App.cpp - App shell → Logging: logs events