Monado OpenXR Runtime
u_sink_stereo_sbs_to_slam_sbs.c File Reference

An xrt_frame_sink splitter. More...

#include "util/u_misc.h"
#include "util/u_sink.h"
#include "util/u_trace_marker.h"
#include "util/u_frame.h"
#include "xrt/xrt_frame.h"
Include dependency graph for u_sink_stereo_sbs_to_slam_sbs.c:

Data Structures

struct  u_sink_stereo_sbs_to_slam_sbs
 An xrt_frame_sink splitter. More...
 

Functions

static void split_frame (struct xrt_frame_sink *xfs, struct xrt_frame *xf)
 
static void split_break_apart (struct xrt_frame_node *node)
 
static void split_destroy (struct xrt_frame_node *node)
 
void u_sink_stereo_sbs_to_slam_sbs_create (struct xrt_frame_context *xfctx, struct xrt_frame_sink *downstream_left, struct xrt_frame_sink *downstream_right, struct xrt_frame_sink **out_xfs)
 Splits Stereo SBS frames into two independent frames. More...
 

Detailed Description

Function Documentation

◆ u_sink_stereo_sbs_to_slam_sbs_create()

void u_sink_stereo_sbs_to_slam_sbs_create ( struct xrt_frame_context xfctx,
struct xrt_frame_sink downstream_left,
struct xrt_frame_sink downstream_right,
struct xrt_frame_sink **  out_xfs 
)

Splits Stereo SBS frames into two independent frames.

References xrt_frame_sink::push_frame, and U_TYPED_CALLOC.