Monado OpenXR Runtime
t_vit_loader.c File Reference

Visual-Inertial Tracking consumer helper. More...

#include "xrt/xrt_config_os.h"
#include "tracking/t_vit_loader.h"
#include "util/u_logging.h"
#include "vit/vit_interface.h"
#include <stdlib.h>
#include <dlfcn.h>
Include dependency graph for t_vit_loader.c:

Macros

#define GET_PROC(SYM)
 

Functions

static bool vit_get_proc (void *handle, const char *name, void *proc_ptr)
 
bool t_vit_bundle_load (struct t_vit_bundle *vit, const char *path)
 Load the tracker. More...
 
void t_vit_bundle_unload (struct t_vit_bundle *vit)
 Unload the tracker. More...
 

Detailed Description

Visual-Inertial Tracking consumer helper.

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m
Simon Zeni simon.nosp@m..zen.nosp@m.i@col.nosp@m.labo.nosp@m.ra.co.nosp@m.m

Macro Definition Documentation

◆ GET_PROC

#define GET_PROC (   SYM)
Value:
do { \
if (!vit_get_proc(vit->handle, "vit_" #SYM, &vit->SYM)) { \
return false; \
} \
} while (0)