7 #ifndef __LIBCAMERA_STREAM_H__ 8 #define __LIBCAMERA_STREAM_H__ 36 std::map<PixelFormat, std::vector<SizeRange>> formats_;
54 std::string toString()
const;
std::vector< StreamRole > StreamRoles
A vector of StreamRole.
Definition: stream.h:68
Video stream for a camera.
Definition: stream.h:70
unsigned int frameSize
Frame size for the stream, in bytes.
Definition: stream.h:46
Top-level libcamera namespace.
Definition: bound_method.h:15
const StreamConfiguration & configuration() const
Retrieve the active configuration of the stream.
Definition: stream.h:75
unsigned int bufferCount
Requested number of buffers to allocate for the stream.
Definition: stream.h:48
Describe a two-dimensional size.
Definition: geometry.h:50
Stream * stream() const
Retrieve the stream associated with the configuration.
Definition: stream.h:50
const StreamFormats & formats() const
Retrieve advisory stream format information.
Definition: stream.h:52
Camera device.
Definition: camera.h:74
PixelFormat pixelFormat
Stream pixel format.
Definition: stream.h:43
void setStream(Stream *stream)
Associate a stream with a configuration.
Definition: stream.h:51
unsigned int stride
Image stride for the stream, in bytes.
Definition: stream.h:45
StreamRole
Identify the role a stream is intended to play.
Definition: stream.h:61
Describe a range of sizes.
Definition: geometry.h:166
StreamConfiguration configuration_
The stream configuration.
Definition: stream.h:80
Size size
Stream size in pixels.
Definition: stream.h:44
Data structures related to geometric objects.
Configuration parameters for a stream.
Definition: stream.h:39