module V4L2::Stream::Capture

Overview

Indicates the stream supports capturing frames.

Direct including types

Defined in:

v4l2/stream.cr

Instance Method Summary

Instance Method Detail

def capture!(&) #

Begins capturing, yields, then stops capturing.


[View source]
def read_frame(&block : Frame -> ) #

Waits for data to become available, then reads an individual frame, yielding the frame.


[View source]
def start_capturing! : self #

Starts capturing by enqueuing all buffers.


[View source]
def stream_off! : self #

Stops the stream.


[View source]
def stream_on! : self #

Starts the stream.


[View source]