Monado OpenXR Runtime
Data Fields
xrt_fs Struct Reference

Frameserver that generates frame, multiple subframes (like stereo and mipmaps) can be generate in one frame. More...

#include <xrt/xrt_frameserver.h>

Data Fields

char name [512]
 Name of the frame server source. More...
 
uint64_t source_id
 All frames produced by this frameserver is tagged with this id. More...
 
bool(* enumerate_modes )(struct xrt_fs *xfs, struct xrt_fs_mode **out_modes, uint32_t *out_count)
 Enumerate all available modes that this frameserver supports. More...
 
bool(* configure_capture )(struct xrt_fs *xfs, struct xrt_fs_capture_parameters *cp)
 Set the capture parameters, may not be supported on all capture devices. More...
 
bool(* stream_start )(struct xrt_fs *xfs, struct xrt_frame_sink *xs, uint32_t descriptor_index)
 Start the capture stream. More...
 
bool(* stream_stop )(struct xrt_fs *xfs)
 Stop the capture stream. More...
 
bool(* is_running )(struct xrt_fs *xfs)
 Is the capture stream running. More...
 

Detailed Description

Frameserver that generates frame, multiple subframes (like stereo and mipmaps) can be generate in one frame.

Field Documentation

◆ configure_capture

bool(* xrt_fs::configure_capture) (struct xrt_fs *xfs, struct xrt_fs_capture_parameters *cp)

Set the capture parameters, may not be supported on all capture devices.

◆ enumerate_modes

bool(* xrt_fs::enumerate_modes) (struct xrt_fs *xfs, struct xrt_fs_mode **out_modes, uint32_t *out_count)

Enumerate all available modes that this frameserver supports.

Referenced by v4l2_fs_create().

◆ is_running

bool(* xrt_fs::is_running) (struct xrt_fs *xfs)

Is the capture stream running.

◆ name

char xrt_fs::name[512]

Name of the frame server source.

◆ source_id

uint64_t xrt_fs::source_id

All frames produced by this frameserver is tagged with this id.

◆ stream_start

bool(* xrt_fs::stream_start) (struct xrt_fs *xfs, struct xrt_frame_sink *xs, uint32_t descriptor_index)

Start the capture stream.

◆ stream_stop

bool(* xrt_fs::stream_stop) (struct xrt_fs *xfs)

Stop the capture stream.


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