Add direct video capture driver seam

This commit is contained in:
Meta Vens 2026-05-21 18:41:02 +01:00
commit d1eca0776e
13 changed files with 100 additions and 14 deletions

View file

@ -73,6 +73,9 @@ Local six-camera ingest should push native handles through
edge for network SRT or diagnostics. `MimirVideoFrameDescriptor` carries
dimensions, pixel format, stride, device timestamp, and optional native/GPU
handle metadata so Leap stereo IR can enter Mimir without OpenCV owning timing.
`IMimirVideoCaptureDriver` is the driver-facing seam for LeapUVC/libusb, LeapC
images, Media Foundation, DirectShow, or GPU shared textures. OpenCV is only an
offline calibration or diagnostic library now.
```mermaid
flowchart TD

View file

@ -55,6 +55,10 @@ Get-Content .\state\evidence.jsonl -Tail 8
`MimirVideoFrameDescriptor` now carries video shape, pixel format, stride,
device timestamp, and optional native/GPU handle metadata for close-to-metal
frame ingest; Leap stereo IR is the timing-camera candidate for this path.
`IMimirVideoCaptureDriver` and `MimirVideoCaptureDriverSource` are the live
driver seam; future LeapUVC/libusb, LeapC image, Media Foundation, DirectShow,
or GPU shared-texture adapters should plug in there. OpenCV is no longer a
live ingest target.
- The reservoir is now one native time-ordered rolling buffer with typed
indexes/views. The previous typed-ring crate is gone.
- Native reservoir samples carry provenance flags; diagnostic/fallback samples