Monado OpenXR Runtime
Files | Data Structures | Functions
V4L2 frameserver driver

Frameserver using the Video 4 Linux 2 framework. More...

Collaboration diagram for V4L2 frameserver driver:

Files

file  v4l2_driver.c
 V4L2 frameserver implementation.
 
file  v4l2_interface.h
 Header.
 

Data Structures

struct  v4l2_source_descriptor
 Descriptor of a v4l2 source. More...
 

Functions

struct xrt_fsv4l2_fs_create (struct xrt_frame_context *xfctx, const char *path)
 Create a v4l2 frameserver. More...
 

Detailed Description

Frameserver using the Video 4 Linux 2 framework.

Function Documentation

◆ v4l2_fs_create()

struct xrt_fs* v4l2_fs_create ( struct xrt_frame_context xfctx,
const char *  path 
)

#include <drivers/v4l2/v4l2_interface.h>

Create a v4l2 frameserver.

References v4l2_fs::base, xrt_fs::enumerate_modes, and U_TYPED_CALLOC.