402 #define XRT_INPUT_NAME(id, type) ((id << 8) | XRT_INPUT_TYPE_##type) 413 #define XRT_GET_INPUT_TYPE(name) (name & 0xff) 524 #define XRT_OUTPUT_NAME(id, type) ((id << 8) | XRT_OUTPUT_TYPE_##type) 566 int count = xrt_atomic_dec_return(&xref->
count);
573 xrt_atomic_inc_return(&xref->
count);
Definition: xrt_defines.h:440
Definition: xrt_defines.h:449
Definition: xrt_defines.h:447
Over & Under.
Definition: xrt_defines.h:91
Definition: xrt_defines.h:465
Definition: xrt_defines.h:39
Definition: xrt_defines.h:445
Definition: xrt_defines.h:520
Definition: xrt_defines.h:474
Definition: xrt_defines.h:362
Definition: xrt_defines.h:458
Definition: xrt_defines.h:430
Definition: xrt_defines.h:484
Definition: xrt_defines.h:40
Definition: xrt_defines.h:324
float angle_right
Definition: xrt_defines.h:245
Definition: xrt_defines.h:363
A tracked pose.
Definition: xrt_defines.h:387
Definition: xrt_defines.h:459
float b
Definition: xrt_defines.h:209
Definition: xrt_defines.h:65
Definition: xrt_defines.h:425
Definition: xrt_defines.h:470
A 3 element vector with single floats.
Definition: xrt_defines.h:133
A 3 element colour with 8 bits per channel.
Definition: xrt_defines.h:168
int64_t time_duration_ns
Integer duration type in nanoseconds.
Definition: u_time.h:45
int32_t y
Definition: xrt_defines.h:148
A pose composed of a position and orientation.
Definition: xrt_defines.h:231
Float input in [-1, 1].
Definition: xrt_defines.h:379
Definition: xrt_defines.h:63
Definition: xrt_defines.h:434
Definition: xrt_defines.h:485
Definition: xrt_defines.h:488
Definition: xrt_defines.h:71
A 2 element vector with single floats.
Definition: xrt_defines.h:122
xrt_input_type
Base type of this inputs.
Definition: xrt_defines.h:373
Definition: xrt_defines.h:489
Definition: xrt_defines.h:315
Vec2 input, components in [-1, 1].
Definition: xrt_defines.h:381
xrt_distortion_model
Which distortion model does the device expose, used both as a bitfield and value. ...
Definition: xrt_defines.h:48
float z
Definition: xrt_defines.h:137
Definition: xrt_defines.h:424
Definition: xrt_defines.h:313
Definition: xrt_defines.h:535
float r
Definition: xrt_defines.h:195
Definition: xrt_defines.h:473
#define XRT_OUTPUT_NAME(id, type)
Definition: xrt_defines.h:524
uint8_t r
Definition: xrt_defines.h:182
int32_t x
Definition: xrt_defines.h:147
A tightly packed 3x3 matrix of floats.
Definition: xrt_defines.h:268
Definition: xrt_defines.h:466
A quaternion with single floats.
Definition: xrt_defines.h:99
uint8_t a
Definition: xrt_defines.h:185
xrt_stereo_format
What type of stereo format a frame has.
Definition: xrt_defines.h:86
Definition: xrt_defines.h:481
uint32_t min_major
Definition: xrt_defines.h:290
uint32_t max_minor
Definition: xrt_defines.h:295
A relation with two spaces, includes velocity and acceleration.
Definition: xrt_defines.h:336
int h
Definition: xrt_defines.h:221
Definition: xrt_defines.h:491
Definition: xrt_defines.h:54
Definition: xrt_defines.h:314
Vec3 input, components in [-1, 1].
Definition: xrt_defines.h:383
Definition: xrt_defines.h:451
Time-keeping: a clock that is steady, convertible to system time, and ideally high-resolution.
Definition: xrt_defines.h:477
Definition: xrt_defines.h:88
float w
Definition: xrt_defines.h:104
uint32_t min_patch
Definition: xrt_defines.h:292
Definition: xrt_defines.h:431
A 2 element vector with 32 bit integers.
Definition: xrt_defines.h:157
A 1 element vector with single floats.
Definition: xrt_defines.h:112
A union of all output types.
Definition: xrt_defines.h:547
A range of API versions supported.
Definition: xrt_defines.h:288
Boolean (digital, binary) input.
Definition: xrt_defines.h:385
float g
Definition: xrt_defines.h:196
Definition: xrt_defines.h:443
A 4 element colour with floating point channels.
Definition: xrt_defines.h:205
A 3 element vector with 32 bit integers.
Definition: xrt_defines.h:145
float y
Definition: xrt_defines.h:136
Definition: xrt_defines.h:428
Definition: xrt_defines.h:436
Definition: xrt_defines.h:478
Definition: xrt_defines.h:448
xrt_output_name
Name of a output with a baked in type.
Definition: xrt_defines.h:532
Definition: xrt_defines.h:493
xrt_output_type
Base type of this output.
Definition: xrt_defines.h:517
Image size.
Definition: xrt_defines.h:218
Definition: xrt_defines.h:480
float x
Definition: xrt_defines.h:124
Definition: xrt_defines.h:74
A tightly packed 4x4 matrix of floats.
Definition: xrt_defines.h:278
Definition: xrt_defines.h:361
Definition: xrt_defines.h:52
Definition: xrt_defines.h:487
#define XRT_INPUT_NAME(id, type)
Create an enum value for xrt_input_name that packs an ID and input type.
Definition: xrt_defines.h:402
Definition: xrt_defines.h:312
Definition: xrt_defines.h:463
Definition: xrt_defines.h:64
Definition: xrt_defines.h:442
float a
Definition: xrt_defines.h:210
Definition: xrt_defines.h:427
Definition: xrt_defines.h:429
uint32_t max_patch
Definition: xrt_defines.h:296
float angle_down
Definition: xrt_defines.h:247
float frequency
Definition: xrt_defines.h:550
uint32_t min_minor
Definition: xrt_defines.h:291
Definition: xrt_defines.h:433
int32_t z
Definition: xrt_defines.h:149
Definition: xrt_defines.h:462
Definition: xrt_defines.h:441
Definition: xrt_defines.h:308
Definition: xrt_defines.h:475
Definition: xrt_defines.h:38
int32_t x
Definition: xrt_defines.h:159
xrt_blend_mode
Which blend mode does the device support, used as both a bitfield and value.
Definition: xrt_defines.h:35
uint8_t g
Definition: xrt_defines.h:183
float y
Definition: xrt_defines.h:102
Definition: xrt_defines.h:455
Definition: xrt_defines.h:437
Definition: xrt_defines.h:479
Definition: xrt_defines.h:310
Definition: xrt_defines.h:76
Definition: xrt_defines.h:464
float r
Definition: xrt_defines.h:207
Definition: xrt_defines.h:483
Definition: xrt_defines.h:309
float angle_up
Definition: xrt_defines.h:246
float z
Definition: xrt_defines.h:103
Describes a projection matrix fov.
Definition: xrt_defines.h:242
float amplitude
Definition: xrt_defines.h:551
Definition: xrt_defines.h:444
Definition: xrt_defines.h:359
uint8_t b
Definition: xrt_defines.h:172
Definition: xrt_defines.h:476
A 3 element colour with floating point channels.
Definition: xrt_defines.h:193
A 4 element colour with 8 bits per channel.
Definition: xrt_defines.h:180
Definition: xrt_defines.h:307
uint8_t r
Definition: xrt_defines.h:170
float y
Definition: xrt_defines.h:125
Definition: xrt_defines.h:438
Definition: xrt_defines.h:471
Definition: xrt_defines.h:452
float x
Definition: xrt_defines.h:135
int w
Definition: xrt_defines.h:220
xrt_device_name
A enum that is used to name devices so that the state trackers can reason about the devices easier...
Definition: xrt_defines.h:357
Definition: xrt_defines.h:365
xrt_format
Common formats, use u_format_* functions to reason about them.
Definition: xrt_defines.h:61
uint8_t g
Definition: xrt_defines.h:171
Side by side.
Definition: xrt_defines.h:89
A base class for reference counted objects.
Definition: xrt_defines.h:25
float b
Definition: xrt_defines.h:197
Definition: xrt_defines.h:461
Definition: xrt_defines.h:486
Definition: xrt_defines.h:69
Definition: xrt_defines.h:537
Definition: xrt_defines.h:454
Definition: xrt_defines.h:446
xrt_space_relation_flags
Flags of which components of a xrt_space_relation is valid.
Definition: xrt_defines.h:305
Definition: xrt_defines.h:435
time_duration_ns duration
Definition: xrt_defines.h:552
uint8_t b
Definition: xrt_defines.h:184
Header holding common defines.
uint32_t count
Definition: xrt_defines.h:27
Float input in [0, 1].
Definition: xrt_defines.h:377
Definition: xrt_defines.h:75
Definition: xrt_defines.h:467
Definition: xrt_defines.h:53
float angle_left
Definition: xrt_defines.h:244
int32_t y
Definition: xrt_defines.h:160
Definition: xrt_defines.h:51
Definition: xrt_defines.h:490
Definition: xrt_defines.h:66
Definition: xrt_defines.h:468
Definition: xrt_defines.h:472
Definition: xrt_defines.h:457
uint32_t max_major
Definition: xrt_defines.h:294
A tightly packed 2x2 matrix of floats.
Definition: xrt_defines.h:255
Definition: xrt_defines.h:67
float x
Definition: xrt_defines.h:101
xrt_input_name
Name of a input with a baked in type.
Definition: xrt_defines.h:421
Definition: xrt_defines.h:364
Interleaved pixels.
Definition: xrt_defines.h:90
Definition: xrt_defines.h:492
Definition: xrt_defines.h:453
float x
Definition: xrt_defines.h:114
Definition: xrt_defines.h:78
Definition: xrt_defines.h:469
Definition: xrt_defines.h:311
Definition: xrt_defines.h:536
float g
Definition: xrt_defines.h:208
Definition: xrt_defines.h:72
Definition: xrt_defines.h:432