class

V4L2::Buffer

Inherits Reference < Object

Represents a "buffer" which the V4L2 kernel API controls.

Constructors

new(type : Type, memory : Memory, index : UInt32)

Initializes a new buffer of the given type, memory type, and index.

Source
new(buffer_ptr : Pointer(Linux::V4L2Buffer))

Initializes the buffer from a pointer to a Linux::V4L2Buffer struct.

Source

Instance methods

bytes_used
Source
field(*args, **options)
Source
field(*args, **options, &)
Source
flags(*args, **options)
Source
flags(*args, **options, &)
Source
index(*args, **options)
Source
index(*args, **options, &)
Source
length(*args, **options)
Source
length(*args, **options, &)
Source
memory(*args, **options)
Source
memory(*args, **options, &)
Source
offset
Source
planes
Source
requested_fd(*args, **options)
Source
requested_fd(*args, **options, &)
Source
to_unsafe
Source
type(*args, **options)
Source
type(*args, **options, &)
Source
user_pointer
Source

Nested types