How aaronmurniadi/ofxrawhost works
OFX Raw Host is a desktop still-image OpenFX host. The principal workflow is to open a RAW or raster image, configure an ordered filter chain, preview its rendered output, and export PNG or JPEG. The graph also preserves workspace/filmstrip and sidecar-project capabilities, plus the host’s plugin, image, UI, and render subsystems. Edges cite README statements or shown source references; where excerpts do not establish a runtime call, the relationship is omitted or marked unverified.
Main entry points: Actions.cpp User actions · OfxPlugins.cpp OFX host · NodeGraph.cpp Filter chain · RenderScheduler.cpp Render scheduler
Components 23
Application
- App entry
src/main.cpp - Desktop UI
src/UI.cpp - Image preview
src/ui/PreviewPanel.cpp - App state
src/AppState.h - User actions
src/Actions.cpp
Image Pipeline
- Image I/O
src/imgio/ImageIO.h - Image decoding
src/imgio/ImageLoad.cpp - Color handling
src/imgio/ImageColor.cpp - Image export
src/imgio/ImageWrite.cpp
OFX Effects
- Filter chain
src/NodeGraph.cpp - Parameter bridge
src/ParamBridge.cpp - OFX host
src/ofx/OfxPlugins.cpp - OFX suites
src/ofx/OfxSuites.cpp - GPU support
src/ofx/OfxEffectGpu.h - Metal support
src/ofx/OfxMetal.h - Transform plugin
plugins/Transform.cpp
Rendering
- Chain renderer
src/ChainRenderer.cpp - Render scheduler
src/RenderScheduler.cpp
Workspace & Persistence
- Filmstrip
src/Filmstrip.cpp - Project persistence
src/persist/ProjectPersist.h - Chain persistence
src/persist/ChainIO.cpp - JSON handling
src/persist/Json.cpp
Other components
- Image editor
Connections 27
- Image editor → App entry: opens app
README.md - App entry → Desktop UI: starts
src/main.cpp - Desktop UI → User actions: dispatches
- Desktop UI → Image preview: draws
src/ui/PreviewPanel.cpp - User actions → Image decoding: opens image
src/Actions.cpp - Image decoding → Image I/O: provides image
src/imgio/ImageLoad.cpp - User actions → Filter chain: manages chain
src/Actions.cpp - Filter chain → OFX host: creates effects
- Parameter bridge → OFX host: bridges parameters
- Render scheduler → Chain renderer: schedules render
src/RenderScheduler.cpp - Render scheduler → OFX host: renders effects
src/RenderScheduler.cpp - User actions → Render scheduler: rebuilds preview
src/Actions.cpp - Chain renderer → Image I/O: uses pixels
- User actions → Image export: writes output
src/Actions.cpp - Image export → Color handling: embeds profile
- User actions → Filmstrip: refreshes
src/Actions.cpp - Filmstrip → Image I/O: loads thumbnails
src/Filmstrip.cpp - User actions → Project persistence: loads and saves
src/Actions.cpp - User actions → Chain persistence: loads chain
src/Actions.cpp - Chain persistence → Filter chain: restores nodes
src/persist/ChainIO.cpp - Project persistence → JSON handling: stores JSON
- OFX host → OFX suites: provides suites
src/ofx/OfxSuites.cpp - OFX host → GPU support: uses GPU support
src/ofx/OfxPlugins.cpp - OFX host → Metal support: uses Metal support
src/ofx/OfxPlugins.cpp - Transform plugin → OFX host: runs as plugin
README.md - Filter chain → Transform plugin: chains filters
README.md - App state → Render scheduler: holds render state