V4L2::Stream(TYPE, FORMAT)
Inherits Reference < Object
Represents a "stream", defined by a V4L2::Buffer::Type and V4L2::Format.
See V4L2::Streams for all supported streams.
Constructors
Instance methods
buffers
Returns the allocated buffers for the stream. Raises an UninitializedError if the buffers have not been allocated.
malloc_buffers!(count : UInt32, length : UInt32) : self
Requests user malloced buffers of the given count and length for the stream.
mmap_buffers!(count : UInt32) : self
Requests memory-mapped buffers of the given count for the stream.
queue
Returns the buffer queue for the stream. Raises an UninitializedError if the buffer queue has not been initialized.