Monado OpenXR Runtime
v4l2_source_descriptor Struct Reference

Descriptor of a v4l2 source. More...

#include <v4l2/v4l2_interface.h>

Inheritance diagram for v4l2_source_descriptor:
Collaboration diagram for v4l2_source_descriptor:

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
 
- Data Fields inherited from xrt_fs_mode
uint32_t width
 
uint32_t height
 
enum xrt_format format
 
enum xrt_stereo_format stereo_format
 

Detailed Description

Descriptor of a v4l2 source.

Field Documentation

◆ offset

size_t v4l2_source_descriptor::offset

Offset from start off frame to start of pixels.

Also known as crop_scanline_bytes_start.

Special case for ps4 camera


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