Make hybrid watermark unobtrusive

This commit is contained in:
Meta Vens 2026-05-22 19:59:09 +01:00
commit 8ee6b42b62
10 changed files with 82 additions and 19 deletions

View file

@ -55,7 +55,8 @@ timing evidence Mimir is allowed to emit:
GCC-PHAT-style phase correlation. The active fallback now uses
`MimirChirpBinTimeline`: a fixed-slope chirp-bin watermark whose symbols are
decoded by one dechirp and a fixed Goertzel bin bank instead of dense sliding
matched filters.
matched filters. Hybrid emission is pulsed, not continuous: when passive
confidence is weak, Mimir emits one half-second coded burst every two seconds.
The mode belongs to the runtime, not the decoder. The decoder should consume
known timing evidence; it should not decide whether Mimir is allowed to make
@ -75,7 +76,9 @@ uses a common chirp duration, chirp slope, and Hann window for every symbol.
Symbol identity is the dechirped frequency bin. The synthetic invariant is
`dotnet run --project .\src\Mimir.BufferSmoke\Mimir.BufferSmoke.csproj -- --chirp-bin-self-test`;
it renders the chirp-bin timeline, decodes by dechirp plus Goertzel bins, and
requires code-valid triplet anchors plus a stable source clock.
requires code-valid triplet anchors plus a stable source clock. Default hybrid
watermark gain is intentionally low (`watermarkGain`, or
`MIMIR_WATERMARK_GAIN`) and separate from the louder chirp-only lab gain.
## Next Cut

View file

@ -82,7 +82,9 @@ a named invariant that the native runtime cannot protect yet.
- `MimirChirpBinTimeline` is the active hybrid watermark path. It renders a
fixed-slope chirp-bin codebook and decodes symbols with one dechirp plus
fixed Goertzel bins, then feeds the same de Bruijn triplet timeline-anchor
machine. Use `--chirp-bin-self-test` to prove this path without hardware.
machine. Hybrid emits this as low-gain half-second bursts every two seconds
only while passive confidence is weak. Use `--chirp-bin-self-test` to prove
this path without hardware.
- `MimirVideoFrameDescriptor` for dimensions, pixel format, stride, device
timestamp, and native/GPU handle metadata.
- `IMimirVideoCaptureDriver` and `MimirVideoCaptureDriverSource` as the live