mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-14 10:55:23 +00:00
xrt: use int64_t for timestamps in get_body_joints
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2298>
This commit is contained in:
parent
68ca582362
commit
8cf2e4bd2b
|
@ -384,7 +384,7 @@ struct xrt_device
|
|||
*/
|
||||
xrt_result_t (*get_body_joints)(struct xrt_device *xdev,
|
||||
enum xrt_input_name body_tracking_type,
|
||||
uint64_t desired_timestamp_ns,
|
||||
int64_t desired_timestamp_ns,
|
||||
struct xrt_body_joint_set *out_value);
|
||||
|
||||
/*!
|
||||
|
@ -613,7 +613,7 @@ xrt_device_get_body_skeleton(struct xrt_device *xdev,
|
|||
static inline xrt_result_t
|
||||
xrt_device_get_body_joints(struct xrt_device *xdev,
|
||||
enum xrt_input_name body_tracking_type,
|
||||
uint64_t desired_timestamp_ns,
|
||||
int64_t desired_timestamp_ns,
|
||||
struct xrt_body_joint_set *out_value)
|
||||
{
|
||||
if (xdev->get_body_joints == NULL) {
|
||||
|
|
|
@ -151,7 +151,7 @@ ipc_client_device_get_body_skeleton(struct xrt_device *xdev,
|
|||
static xrt_result_t
|
||||
ipc_client_device_get_body_joints(struct xrt_device *xdev,
|
||||
enum xrt_input_name body_tracking_type,
|
||||
uint64_t desired_timestamp_ns,
|
||||
int64_t desired_timestamp_ns,
|
||||
struct xrt_body_joint_set *out_value)
|
||||
{
|
||||
ipc_client_device_t *icd = ipc_client_device(xdev);
|
||||
|
|
|
@ -2138,7 +2138,7 @@ xrt_result_t
|
|||
ipc_handle_device_get_body_joints(volatile struct ipc_client_state *ics,
|
||||
uint32_t id,
|
||||
enum xrt_input_name body_tracking_type,
|
||||
uint64_t desired_timestamp_ns,
|
||||
int64_t desired_timestamp_ns,
|
||||
struct xrt_body_joint_set *out_value)
|
||||
{
|
||||
struct xrt_device *xdev = get_xdev(ics, id);
|
||||
|
|
|
@ -507,7 +507,7 @@
|
|||
"in": [
|
||||
{"name": "id", "type": "uint32_t"},
|
||||
{"name": "body_tracking_type", "type": "enum xrt_input_name"},
|
||||
{"name": "desired_timestamp_ns", "type": "uint64_t"}
|
||||
{"name": "desired_timestamp_ns", "type": "int64_t"}
|
||||
],
|
||||
"out": [
|
||||
{"name": "value", "type": "struct xrt_body_joint_set"}
|
||||
|
|
Loading…
Reference in a new issue