Monado OpenXR Runtime
Data Fields
v4l2_fs Struct Reference

A single open v4l2 capture device, starts it's own thread and waits on it. More...

Collaboration diagram for v4l2_fs:
Collaboration graph
[legend]

Data Fields

struct xrt_fs base
 
struct xrt_frame_node node
 
int fd
 
struct {
   bool   extended_format
 
   bool   timeperframe
 
has
 
struct v4l2_control_state states [256]
 
size_t num_states
 
struct {
   bool   ps4_cam
 
quirks
 
struct v4l2_frame frames [NUM_V4L2_BUFFERS]
 
struct {
   bool   mmap
 
   bool   userptr
 
capture
 
struct xrt_frame_sinksink
 
pthread_t stream_thread
 
struct v4l2_source_descriptordescriptors
 
uint32_t num_descriptors
 
uint32_t selected
 
struct xrt_fs_capture_parameters capture_params
 
bool is_configured
 
bool is_running
 
bool print_spew
 
bool print_debug
 

Detailed Description

A single open v4l2 capture device, starts it's own thread and waits on it.

Field Documentation

◆ base

struct xrt_fs v4l2_fs::base

Referenced by v4l2_fs_create().

◆ capture

struct { ... } v4l2_fs::capture

◆ capture_params

struct xrt_fs_capture_parameters v4l2_fs::capture_params

◆ descriptors

struct v4l2_source_descriptor* v4l2_fs::descriptors

◆ extended_format

bool v4l2_fs::extended_format

◆ fd

int v4l2_fs::fd

◆ frames

struct v4l2_frame v4l2_fs::frames[NUM_V4L2_BUFFERS]

◆ has

struct { ... } v4l2_fs::has

◆ is_configured

bool v4l2_fs::is_configured

◆ is_running

bool v4l2_fs::is_running

◆ mmap

bool v4l2_fs::mmap

◆ node

struct xrt_frame_node v4l2_fs::node

◆ num_descriptors

uint32_t v4l2_fs::num_descriptors

◆ num_states

size_t v4l2_fs::num_states

◆ print_debug

bool v4l2_fs::print_debug

◆ print_spew

bool v4l2_fs::print_spew

◆ ps4_cam

bool v4l2_fs::ps4_cam

◆ quirks

struct { ... } v4l2_fs::quirks

◆ selected

uint32_t v4l2_fs::selected

◆ sink

struct xrt_frame_sink* v4l2_fs::sink

◆ states

struct v4l2_control_state v4l2_fs::states[256]

◆ stream_thread

pthread_t v4l2_fs::stream_thread

◆ timeperframe

bool v4l2_fs::timeperframe

◆ userptr

bool v4l2_fs::userptr

The documentation for this struct was generated from the following file: