Skip to main content

Module mock

Module mock 

Source
Expand description

Deterministic mock video sources.

These implement crate::VideoStream without any external decoder dependency, so we can:

  • exercise the player loop end-to-end in tests,
  • drive wisp examples that prove the GPU path,
  • keep cargo check / just gate clean on machines without a system FFmpeg / AVFoundation toolchain.

Structs§

MockVideoStream
A scrolling-gradient mock: each frame phase-shifts a smooth RGB gradient across the surface. Visually obvious motion; mathematically deterministic.

Functions§

synthesize 🔒