invisible
diff src/frame.h @ 1:fdbd55eaa14e
add frame class, mutices
author | Eleni Maria Stea <eleni@mutantstargoat.com> |
---|---|
date | Sat, 05 Oct 2013 19:02:40 +0300 |
parents | |
children | b0b90ef993a0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/frame.h Sat Oct 05 19:02:40 2013 +0300 1.3 @@ -0,0 +1,20 @@ 1.4 +#ifndef FRAME_H_ 1.5 +#define FRAME_H_ 1.6 + 1.7 +#include <libfreenect.h> 1.8 + 1.9 +class Frame { 1.10 +private: 1.11 + int width; 1.12 + int height; 1.13 + 1.14 +public: 1.15 + Frame(); 1.16 + 1.17 +}; 1.18 + 1.19 +void init_frame_mx(); 1.20 +void video_cb(freenect_device *kin_dev, void *rgb, uint32_t time); 1.21 +void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time); 1.22 + 1.23 +#endif // FRAME_H_