V4L2::Video
Inherits Reference < Object
Constructors
Class methods
enumerate_loopback_devices
SourceInstance methods
allocate_mmap_buffers(count : Int, buffer_type : BufferType = BufferType::VIDEO_CAPTURE)
Sourcebuffer
Sourcebuffer_length
Sourcebuffers
Sourcecleanup_buffers(buffers, length : UInt32)
Sourceclose
Sourcedevice
Sourcedevice_details
Sourcefinalize
Sourcerequest_buffers(count : Int, buffer_type : BufferType = BufferType::VIDEO_CAPTURE, memory_type : Memory = Memory::MMAP)
Sourcereset_buffer
Sourceset_format(format_id : UInt32, width : UInt32, height : UInt32, buffer_type : BufferType = BufferType::VIDEO_CAPTURE)
Sourcestart_stream(buffer_type : BufferType = BufferType::VIDEO_CAPTURE)
Sourcestop_stream(buffer_type : BufferType = BufferType::VIDEO_CAPTURE)
Sourcestream(timeout : Time::Span = 2.seconds, buffer_type : BufferType = BufferType::VIDEO_CAPTURE, & : Bytes -> )
Sourcestreaming?
Sourcesupported_formats(buffer_type : BufferType = BufferType::VIDEO_CAPTURE)
Source