⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module v4l2

Module v4l2 

Source
Expand description

V4L2 (Video for Linux 2) Device Interface

Provides a kernel-side V4L2-compatible device interface for video capture devices (webcams, capture cards). Implements the standard V4L2 ioctl commands and a test pattern generator.

All color math uses integer-only operations (no floating point).

Structs§

V4l2Buffer
V4L2 buffer descriptor
V4l2Capability
V4L2 device capabilities
V4l2Device
V4L2 device instance
V4l2FmtDesc
V4L2 format description (for enumeration)
V4l2PixFormat
V4L2 pixel format descriptor

Enums§

V4l2BufState
V4L2 buffer state

Functions§

v4l2_global_ioctl
Process a V4L2 ioctl on the global device
v4l2_init
Initialize the V4L2 subsystem
v4l2_ioctl
Process a V4L2 ioctl command