31 static constexpr
uint32_t kWarpSize = 32;
37 static constexpr
uint32_t kSuperBlocks = 32;
38 static constexpr
uint32_t kBlocksPerSuperBlock = 4;
39 static constexpr
uint32_t kBlocksPerSuperBlockInBits = 2;
40 static constexpr
uint32_t kSlabsPerBlock = 1024;
43 static constexpr
uint32_t kMaxKeyByteSize = 32;
44 static constexpr
uint32_t kThreadsPerBlock = 128;
49 static constexpr
uint32_t kUIntsPerBlock = kSlabsPerBlock * kWarpSize;
52 static constexpr
uint32_t kBitmapsPerSuperBlock =
53 kBlocksPerSuperBlock * kSlabsPerBlock;
54 static constexpr
uint32_t kUIntsPerSuperBlock =
55 kBlocksPerSuperBlock * kUIntsPerBlock + kBitmapsPerSuperBlock;
61 static constexpr
uint32_t kSuperBlockMaskBits = 27;
62 static constexpr
uint32_t kBlockMaskBits = 10;
63 static constexpr
uint32_t kSlabMaskBits = 5;
66 static constexpr
uint32_t kSyncLanesMask = 0xFFFFFFFF;
67 static constexpr
uint32_t kNodePtrLanesMask = 0x7FFFFFFF;
68 static constexpr
uint32_t kNextSlabPtrLaneId = 31;
70 static constexpr
uint32_t kHeadSlabAddr = 0xFFFFFFFE;
72 static constexpr
uint32_t kEmptySlabAddr = 0xFFFFFFFF;
73 static constexpr
uint32_t kEmptyNodeAddr = 0xFFFFFFFF;
74 static constexpr
uint32_t kNullAddr = 0xFFFFFFFF;
76 static constexpr
uint32_t kNotFoundFlag = 0xFFFFFFFF;
78 #define MEMCPY_AS_INTS(dst, src, num_bytes) \
79 auto dst_in_int = reinterpret_cast<int*>(dst); \
80 auto src_in_int = reinterpret_cast<const int*>(src); \
81 int count_in_int = num_bytes / sizeof(int); \
82 for (int i = 0; i < count_in_int; ++i) { \
83 dst_in_int[i] = src_in_int[i]; \
const char const char value recording_handle imu_sample recording_handle uint8_t size_t data_size k4a_record_configuration_t config target_format k4a_capture_t capture_handle k4a_imu_sample_t imu_sample playback_handle k4a_logging_message_cb_t void min_level device_handle k4a_imu_sample_t timeout_in_ms capture_handle capture_handle capture_handle image_handle temperature_c k4a_image_t image_handle uint8_t image_handle image_handle image_handle image_handle uint32_t
Definition: K4aPlugin.cpp:548
Definition: PinholeCameraIntrinsic.cpp:16