alias V4L2::Buffer::Flags

Alias Definition

Linux::V4L2BufFlags

Defined in:

v4l2/buffer.cr

Constant Summary

BFRAME = 32_u32

Image is a B-frame

DONE = 4_u32

Buffer is ready

ERROR = 64_u32

Buffer is ready, but the data contained within is corrupted.

IN_REQUEST = 128_u32

Buffer is added to an unqueued request

KEYFRAME = 8_u32

Image is a keyframe (I-frame)

LAST = 1048576_u32

mem2mem encoder/decoder

MAPPED = 1_u32
NO_CACHE_CLEAN = 4096_u32
NO_CACHE_INVALIDATE = 2048_u32

Cache handling flags

PFRAME = 16_u32

Image is a P-frame

PREPARED = 1024_u32

Buffer is prepared for queuing

QUEUED = 2_u32

Buffer is queued for processing

REQUEST_FD = 8388608_u32

request_fd is valid

TIMECODE = 256_u32

timecode field is valid

TIMESTAMP_COPY = 16384_u32
TIMESTAMP_MASK = 57344_u32

Timestamp type

TIMESTAMP_MONOTONIC = 8192_u32
TIMESTAMP_UNKNOWN = 0_u32
TSTAMP_SRC_EOF = 0_u32
TSTAMP_SRC_MASK = 458752_u32

Timestamp sources.

TSTAMP_SRC_SOE = 65536_u32