invisible
annotate src/frame.h @ 2:b0b90ef993a0
backup
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Wed, 09 Oct 2013 22:56:42 +0300 |
parents | fdbd55eaa14e |
children | 1ff5a1a50b41 |
rev | line source |
---|---|
eleni@1 | 1 #ifndef FRAME_H_ |
eleni@1 | 2 #define FRAME_H_ |
eleni@1 | 3 |
eleni@1 | 4 #include <libfreenect.h> |
eleni@2 | 5 #include <cv.h> |
eleni@1 | 6 |
eleni@2 | 7 struct Frame { |
eleni@2 | 8 cv::Mat depth_buf; |
eleni@2 | 9 cv::Mat video_buf; |
eleni@1 | 10 |
eleni@1 | 11 Frame(); |
eleni@2 | 12 void process(); |
eleni@1 | 13 }; |
eleni@1 | 14 |
eleni@2 | 15 void video_cb(freenect_device *kin_dev, void *video, uint32_t time); |
eleni@1 | 16 void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time); |
eleni@1 | 17 |
eleni@1 | 18 #endif // FRAME_H_ |