Пример #1
0
void depth_cb_ffmpeg(freenect_device *dev, void *depth, uint32_t timestamp)
{
	double cur_time = get_time();
	fprintf(index_fp, "d-%f-%u\n", cur_time, timestamp);

	dump_ffmpeg_pad16(depth_stream, timestamp, depth,
                      freenect_find_depth_mode(FREENECT_RESOLUTION_MEDIUM,
                                               FREENECT_DEPTH_11BIT).bytes);
}
Пример #2
0
void depth_cb_ffmpeg(freenect_device *dev, void *depth, uint32_t timestamp)
{
	dump_ffmpeg_pad16(depth_stream, timestamp, depth,
					  FREENECT_DEPTH_11BIT_SIZE);
}