Monado OpenXR Runtime
xrt_frame Struct Reference

Basic frame data structure - holds a pointer to buffer. More...

#include <xrt/xrt_frame.h>

Inheritance diagram for xrt_frame:
Collaboration diagram for xrt_frame:

Data Fields

struct xrt_reference reference
 
void(* destroy )(struct xrt_frame *)
 
void * owner
 
uint32_t width
 
uint32_t height
 
size_t stride
 
size_t size
 
uint8_t * data
 
enum xrt_format format
 
enum xrt_stereo_format stereo_format
 
int64_t timestamp
 
int64_t source_timestamp
 
uint64_t source_sequence
 sequence id More...
 
uint64_t source_id
 Which xrt_fs this frame originated from. More...
 

Related Functions

(Note that these are not member functions.)

static void xrt_frame_reference (struct xrt_frame **dst, struct xrt_frame *src)
 Update the reference counts on frame(s). More...
 

Detailed Description

Basic frame data structure - holds a pointer to buffer.

Field Documentation

◆ source_id

uint64_t xrt_frame::source_id

Which xrt_fs this frame originated from.

Referenced by create_frame_with_format_of_size(), and u_frame_clone().

◆ source_sequence

uint64_t xrt_frame::source_sequence

sequence id

Referenced by create_frame_with_format_of_size(), and u_frame_clone().


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