Monado OpenXR Runtime
u_imu_sink_force_monotonic.c File Reference

A xrt_imu_sink that forces the samples to be monotonically increasing. More...

#include "util/u_sink.h"
#include "util/u_trace_marker.h"
#include "util/u_logging.h"
Include dependency graph for u_imu_sink_force_monotonic.c:

Data Structures

struct  u_imu_sink_force_monotonic
 An xrt_imu_sink splitter. More...
 

Functions

static void split_sample (struct xrt_imu_sink *xfs, struct xrt_imu_sample *sample)
 
static void split_break_apart (struct xrt_frame_node *node)
 
static void split_destroy (struct xrt_frame_node *node)
 
void u_imu_sink_force_monotonic_create (struct xrt_frame_context *xfctx, struct xrt_imu_sink *downstream, struct xrt_imu_sink **out_imu_sink)
 

Detailed Description

A xrt_imu_sink that forces the samples to be monotonically increasing.

Author
Moses Turner moses.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m