37 #include <QMutexLocker>
39 #include <libfreenect/libfreenect.h>
197 bool getDepth(std::vector<uint8_t> &o_buffer);
217 bool getRGB(std::vector<uint8_t> &o_buffer);
315 void depthFunc(freenect_device *_dev,
void *o_depth, uint32_t _timestamp);
323 void rgbFunc(freenect_device *_dev,
void *o_rgb, uint32_t _timestamp);
398 void grabDepth(
void *_depth, uint32_t timestamp);
407 void grabVideo(
void *_video, uint32_t timestamp);
416 static inline
void depthCallback(freenect_device *_dev,
void *_depth, uint32_t _timestamp=0)
424 Q_UNUSED(_timestamp);
434 static inline void videoCallback(freenect_device *_dev,
void *_video, uint32_t _timestamp=0)
442 Q_UNUSED(_timestamp);