7 static IplImage *image = 0;
9 if (!image) image = cvCreateImageHeader(cvSize(640,480), 16, 1);
10 unsigned int timestamp;
13 cvSetData(image, data, 640*2);
19 static IplImage *image = 0;
20 static char *data = 0;
21 if (!image) image = cvCreateImageHeader(cvSize(640,480), 8, 3);
22 unsigned int timestamp;
25 cvSetData(image, data, 640*3);
int freenect_sync_get_depth(void **depth, uint32_t *timestamp, int index, freenect_depth_format fmt)
IplImage * freenect_sync_get_rgb_cv(int index)
IplImage * freenect_sync_get_depth_cv(int index)
int freenect_sync_get_video(void **video, uint32_t *timestamp, int index, freenect_video_format fmt)