libcamera
v0.3.2+116-83c5ad0f
Supporting cameras in Linux since 2019
|
Video stream for a camera. More...
Public Member Functions | |
Stream () | |
Construct a stream with default parameters. | |
const StreamConfiguration & | configuration () const |
Retrieve the active configuration of the stream. More... | |
Protected Attributes | |
StreamConfiguration | configuration_ |
The stream configuration. More... | |
Video stream for a camera.
The Stream class models all static information which are associated with a single video stream. Streams are exposed by the Camera object they belong to.
Cameras may supply more than one stream from the same video source. In such cases an application can inspect all available streams and select the ones that best fit its use case.
|
inline |
Retrieve the active configuration of the stream.
|
protected |
The stream configuration.
The configuration for the stream is set by any successful call to Camera::configure() that includes the stream, and remains valid until the next call to Camera::configure() regardless of if it includes the stream.