Files
kinect/core/synth/synth.h
T
kinect-botandsisyphus-dev-ai b38c7bcd82
ci / Linux C++ core (cmake + ctest) (push) Canceled after 0s
ci / Python tracker (pytest) (push) Canceled after 0s
chore(scaffold): project layout, cross-platform build, CI
Co-authored-by: sisyphus-dev-ai <sisyphus-dev-ai@users.noreply.github.com>
2026-11-25 03:23:45 -05:00

18 lines
512 B
C++

#ifndef NUI_CORE_SYNTH_H
#define NUI_CORE_SYNTH_H
#include <cstdint>
// Placeholder for the packed depth + player-index + color rasterizer (plan todo 7).
namespace nui::synth {
// Packs a depth value (mm) and player index into the Kinect v1 depth word layout:
// (mm & 0x1FFF) << 3 | (player & 0x7). Provided now so the library has a real symbol;
// the full rasterizer arrives in todo 7.
uint16_t pack_depth(uint16_t depth_mm, uint8_t player_index);
} // namespace nui::synth
#endif // NUI_CORE_SYNTH_H