How bilalfakhouri/magiclantern_simplified works
Magic Lantern is an open framework of camera-side extensions that runs alongside Canon firmware, loaded from a memory card. Its user-facing capabilities include HDR, timelapse, motion detection, focus assistance, and manual audio controls; the tree also shows raw-video capture and Dual ISO processing. The graph groups these capabilities and notable runtime subsystems, plus the card-installation helper. Edges are limited to relationships documented in the README or visible in the sampled sources; unsampled module wiring is not inferred.
Main entry points: IOManager.py Card installer I/O · tasks.c Task management · cr2hdr.c Dual ISO processing
Components 20
Camera runtime
- Canon camera
- Task management
src/tasks.c - Camera-specific support
platform
Imaging and capture
- Raw video capture
modules/raw_video - Dual ISO processing
modules/dual_iso/cr2hdr.c - Raw development
modules/lv_rec/raw2dng.c - Silent photography
modules/silent/silent.c
Camera extensions
- HDR imaging
modules - Timelapse
modules - Motion detection
modules - Focus assistance
modules - Manual audio controls
modules - Lua scripting
- Tiny C compiler
modules/tcc/tccgen.c - TinyPy interpreter
modules/tinypy/tinypy.c
Host tools
- Card installer I/O
tools/ml-installer/IOManager.py - PTP camera utility
tools/ptpcam/ptpcam.c - MLV viewers
tools/g3gg0/MLVBrowseSharp/Program.cs - WebDAV server
tools/g3gg0/WebDAVServer/WebDAVServer/Program.cs
Other components
- Photographer
Connections 4
- Photographer → Canon camera: starts camera
- Canon camera → Task management: tracks tasks
src/tasks.c - Card installer I/O → Canon camera: sets card flags
tools/ml-installer/IOManager.py - Photographer → Dual ISO processing: post-processes images
modules/dual_iso/cr2hdr.c