Skip to main content

Module source

Module source 

Source
Expand description

The capture seam.

An ImageSource writes one frame into memory the caller owns and returns a validated view of it. A DVP engine, a MIPI-CSI engine, a file on the host and the TestPattern below all fit the same two methods, so everything downstream (encoders, packetizers, the mesh) is written once.

Structs§

TestPattern
A deterministic synthetic source: SMPTE-style colour bars with a moving marker, in Gray8, RGB565 or RGB888. It exists so a pipeline can be exercised on the host, and so a firmware can prove its wiring before a sensor is attached. Frame n is identical on every platform.

Traits§

ImageSource
Something that produces frames.