Modules
A camera on a Linux V4L2 device, captured through ffmpeg.
Starts the one process this driver needs outside any robot.
How BB.Camera.V4L.Capture talks to the thing producing bytes.
Runs ffmpeg behind an Erlang port.
One running capture: the ffmpeg process, the framer, and the bounds.
The ffmpeg invocation for one capture, built and validated up front.
An exact frame rate, held as a rational.
Turns the byte stream coming out of a capture into whole JPEG frames.
Structural scanning of a JPEG byte stream.
What the frame header says about an image.
Kills the ffmpeg process when the Elixir process that owned it goes away.
Builds structurally valid JPEG byte streams for testing the scanner.
A capture backend the test drives byte by byte.
A robot whose camera is driven by BB.Camera.V4L.Test.StubBackend.
Mix Tasks
Installs BB.Camera.V4L into a robot