Monado OpenXR Runtime
Data Fields
v4l2_source_descriptor Struct Reference

Descriptor of a v4l2 source. More...

#include <v4l2/v4l2_interface.h>

Collaboration diagram for v4l2_source_descriptor:
Collaboration graph
[legend]

Data Fields

struct xrt_fs_mode base
 
char format_name [32]
 
struct {
   uint32_t   width
 
   uint32_t   height
 
   uint32_t   format
 
   uint8_t   extended_format
 
   size_t   size
 
   size_t   stride
 
stream
 
size_t offset
 Offset from start off frame to start of pixels. More...
 
uint32_t rate
 

Detailed Description

Descriptor of a v4l2 source.

Field Documentation

◆ base

struct xrt_fs_mode v4l2_source_descriptor::base

◆ extended_format

uint8_t v4l2_source_descriptor::extended_format

◆ format

uint32_t v4l2_source_descriptor::format

◆ format_name

char v4l2_source_descriptor::format_name[32]

◆ height

uint32_t v4l2_source_descriptor::height

◆ offset

size_t v4l2_source_descriptor::offset

Offset from start off frame to start of pixels.

Aka crop_scanline_bytes_start.

Special case for ps4 camera

◆ rate

uint32_t v4l2_source_descriptor::rate

◆ size

size_t v4l2_source_descriptor::size

◆ stream

struct { ... } v4l2_source_descriptor::stream

◆ stride

size_t v4l2_source_descriptor::stride

◆ width

uint32_t v4l2_source_descriptor::width

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