invisible

annotate 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
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@1 5
eleni@1 6 class Frame {
eleni@1 7 private:
eleni@1 8 int width;
eleni@1 9 int height;
eleni@1 10
eleni@1 11 public:
eleni@1 12 Frame();
eleni@1 13
eleni@1 14 };
eleni@1 15
eleni@1 16 void init_frame_mx();
eleni@1 17 void video_cb(freenect_device *kin_dev, void *rgb, uint32_t time);
eleni@1 18 void depth_cb(freenect_device *kin_dev, void *depth, uint32_t time);
eleni@1 19
eleni@1 20 #endif // FRAME_H_