#include "libfreenect.h"
#include "platform.h"
#include <sys/stat.h>
#include <sys/types.h>
#include <stdio.h>
#include <signal.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
|
void | depth_cb (freenect_device *dev, void *depth, uint32_t timestamp) |
|
void | depth_cb_ffmpeg (freenect_device *dev, void *depth, uint32_t timestamp) |
|
void | dump (char type, uint32_t timestamp, void *data, int data_size) |
|
void | dump_depth (FILE *fp, void *data, int data_size) |
|
void | dump_ffmpeg_24 (FILE *stream, uint32_t timestamp, void *data, int data_size) |
|
void | dump_ffmpeg_pad16 (FILE *stream, uint32_t timestamp, void *data, int data_size) |
|
void | dump_rgb (FILE *fp, void *data, int data_size) |
|
void | init () |
|
void | init_ffmpeg_streams () |
|
int | main (int argc, char **argv) |
|
FILE * | open_dump (char type, double cur_time, uint32_t timestamp, int data_size, const char *extension) |
|
FILE * | open_ffmpeg (char *output_filename) |
|
FILE * | open_index (const char *fn) |
|
void | print_mode (const char *name, freenect_frame_mode mode) |
|
void | rgb_cb (freenect_device *dev, void *rgb, uint32_t timestamp) |
|
void | rgb_cb_ffmpeg (freenect_device *dev, void *rgb, uint32_t timestamp) |
|
void | signal_cleanup (int num) |
|
void | snapshot_accel (freenect_device *dev) |
|
void | usage () |
|
#define FREENECT_FRAME_H 480 |
#define FREENECT_FRAME_W 640 |
void dump |
( |
char |
type, |
|
|
uint32_t |
timestamp, |
|
|
void * |
data, |
|
|
int |
data_size |
|
) |
| |
void dump_depth |
( |
FILE * |
fp, |
|
|
void * |
data, |
|
|
int |
data_size |
|
) |
| |
void dump_ffmpeg_24 |
( |
FILE * |
stream, |
|
|
uint32_t |
timestamp, |
|
|
void * |
data, |
|
|
int |
data_size |
|
) |
| |
void dump_ffmpeg_pad16 |
( |
FILE * |
stream, |
|
|
uint32_t |
timestamp, |
|
|
void * |
data, |
|
|
int |
data_size |
|
) |
| |
void dump_rgb |
( |
FILE * |
fp, |
|
|
void * |
data, |
|
|
int |
data_size |
|
) |
| |
void init_ffmpeg_streams |
( |
| ) |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
FILE* open_dump |
( |
char |
type, |
|
|
double |
cur_time, |
|
|
uint32_t |
timestamp, |
|
|
int |
data_size, |
|
|
const char * |
extension |
|
) |
| |
FILE* open_ffmpeg |
( |
char * |
output_filename | ) |
|
FILE* open_index |
( |
const char * |
fn | ) |
|
void signal_cleanup |
( |
int |
num | ) |
|
volatile sig_atomic_t running = 1 |