Macros | Functions | Variables
as3-server.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <string.h>
#include "libfreenect_sync.h"
#include "libfreenect.h"
#include <pthread.h>
#include <math.h>
#include "freenect_network.h"
#include "as3_jpeg.h"
Include dependency graph for as3-server.c:

Go to the source code of this file.

Macros

#define AS3_BITMAPDATA_LEN   640 * 480 * 4
 

Functions

void clean_exit ()
 
void * connection_handler (void *arg)
 
int main (int argc, char **argv)
 
void send_policy_file (int child)
 
void sendAccelerometers ()
 
void sendDepth ()
 
void sendRawDepth ()
 
void sendVideo ()
 
void server_connected ()
 

Variables

char * _current_version = "v0.9c"
 
int _depth_compression = 20
 
int _depth_mirrored = 0
 
int _max_depth = 800
 
int _min_depth = 600
 
int _video_compression = 80
 
int _video_mirrored = 0
 
uint8_t buf_depth [AS3_BITMAPDATA_LEN]
 
void * buf_depth_temp
 
uint8_t buf_rgb [AS3_BITMAPDATA_LEN]
 
void * buf_rgb_temp
 
int client_connected = 0
 
pthread_t connection_thread
 
int die = 0
 
int g_argc
 
char ** g_argv
 
int psent = 0
 

Macro Definition Documentation

#define AS3_BITMAPDATA_LEN   640 * 480 * 4

Definition at line 62 of file as3-server.c.

Function Documentation

void clean_exit ( )

Definition at line 366 of file as3-server.c.

void* connection_handler ( void *  arg)

Definition at line 272 of file as3-server.c.

int main ( int  argc,
char **  argv 
)

Definition at line 373 of file as3-server.c.

void send_policy_file ( int  child)

Definition at line 89 of file as3-server.c.

void sendAccelerometers ( )

Definition at line 247 of file as3-server.c.

void sendDepth ( )

Definition at line 107 of file as3-server.c.

void sendRawDepth ( )

Definition at line 169 of file as3-server.c.

void sendVideo ( )

Definition at line 203 of file as3-server.c.

void server_connected ( )

Definition at line 350 of file as3-server.c.

Variable Documentation

char* _current_version = "v0.9c"

Definition at line 59 of file as3-server.c.

int _depth_compression = 20

Definition at line 77 of file as3-server.c.

int _depth_mirrored = 0

Definition at line 73 of file as3-server.c.

int _max_depth = 800

Definition at line 75 of file as3-server.c.

int _min_depth = 600

Definition at line 74 of file as3-server.c.

int _video_compression = 80

Definition at line 76 of file as3-server.c.

int _video_mirrored = 0

Definition at line 72 of file as3-server.c.

Definition at line 64 of file as3-server.c.

void* buf_depth_temp

Definition at line 66 of file as3-server.c.

Definition at line 65 of file as3-server.c.

void* buf_rgb_temp

Definition at line 67 of file as3-server.c.

int client_connected = 0

Definition at line 79 of file as3-server.c.

pthread_t connection_thread

Definition at line 60 of file as3-server.c.

int die = 0

Definition at line 69 of file as3-server.c.

int g_argc

Definition at line 56 of file as3-server.c.

char** g_argv

Definition at line 57 of file as3-server.c.

int psent = 0

Definition at line 70 of file as3-server.c.



libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:42