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.
new(buffer_ptr : Pointer(Linux::V4L2Buffer))
Initializes the buffer from a pointer to a Linux::V4L2Buffer struct.
Instance methods
bytes_used
Sourcefd
Sourcefield(*args, **options)
Sourcefield(*args, **options, &)
Sourceflags(*args, **options)
Sourceflags(*args, **options, &)
Sourceindex(*args, **options)
Sourceindex(*args, **options, &)
Sourcelength(*args, **options)
Sourcelength(*args, **options, &)
Sourcememory(*args, **options)
Sourcememory(*args, **options, &)
Sourceoffset
Sourceplanes
Sourcerequested_fd(*args, **options)
Sourcerequested_fd(*args, **options, &)
Sourceto_unsafe
Sourcetype(*args, **options)
Sourcetype(*args, **options, &)
Sourceuser_pointer
Source