class

V4cr::Buffer

Inherits Reference < Object

Represents a memory buffer for video data

Constructors

new(index : UInt32, length : UInt32, bytesused : UInt32, flags : UInt32, sequence : UInt32, timestamp : Time)
Source

Instance methods

bytesused
Source
data
Source
done?

Check if buffer is done (ready for dequeuing)

Source
error?

Check if buffer has an error

Source
flags
Source
full_buffer
Source
index
Source
length
Source
mapped?

Check if buffer is mapped

Source
mmap_ptr
Source
offset

For mmap buffers

Source
queued?

Check if buffer is queued

Source
read_data
Source
sequence
Source
set_mmap_info(offset : UInt32, mmap_ptr : Pointer(Void))

Set mmap buffer information

Source
timestamp
Source
to_s(io)
Source
userptr

For userptr buffers

Source
userptr_info=(userptr : UInt64)

Set userptr buffer information

Source