Monado OpenXR Runtime
|
Android sensors driver code. More...
#include "android_sensors.h"
#include "util/u_debug.h"
#include "util/u_device.h"
#include "util/u_var.h"
#include "util/u_distortion_mesh.h"
#include "android/android_globals.h"
#include "android/android_custom_surface.h"
#include <xrt/xrt_config_android.h>
Macros | |
#define | POLL_RATE_USEC (1000L / 60) * 1000 |
Functions | |
static struct android_device * | android_device (struct xrt_device *xdev) |
static int | android_sensor_callback (int fd, int events, void *data) |
static int32_t | android_get_sensor_poll_rate (const struct android_device *d) |
static void * | android_run_thread (void *ptr) |
static void | android_device_destroy (struct xrt_device *xdev) |
static void | android_device_get_tracked_pose (struct xrt_device *xdev, enum xrt_input_name name, int64_t at_timestamp_ns, struct xrt_space_relation *out_relation) |
static bool | android_device_compute_distortion (struct xrt_device *xdev, uint32_t view, float u, float v, struct xrt_uv_triplet *result) |
struct android_device * | android_device_create () |
Android sensors driver code.
|
static |