Functions | Variables
regview.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "libfreenect.h"
#include <pthread.h>
#include <math.h>
#include <GL/glut.h>
Include dependency graph for regview.c:

Go to the source code of this file.

Functions

void depth_cb (freenect_device *dev, void *v_depth, uint32_t timestamp)
 
void DrawGLScene ()
 
void * freenect_threadfunc (void *arg)
 
void * gl_threadfunc (void *arg)
 
void idle ()
 
void InitGL (int Width, int Height)
 
void keyPressed (unsigned char key, int x, int y)
 
int main (int argc, char **argv)
 
void ReSizeGLScene (int Width, int Height)
 
void rgb_cb (freenect_device *dev, void *rgb, uint32_t timestamp)
 

Variables

uint8_tdepth_front
 
uint8_tdepth_mid
 
volatile int die = 0
 
freenect_contextf_ctx
 
freenect_devicef_dev
 
double fps = 0
 
int frame = 0
 
int freenect_angle = 0
 
int freenect_led
 
pthread_t freenect_thread
 
int g_argc
 
char ** g_argv
 
pthread_mutex_t gl_backbuf_mutex = PTHREAD_MUTEX_INITIALIZER
 
GLuint gl_depth_tex
 
pthread_cond_t gl_frame_cond = PTHREAD_COND_INITIALIZER
 
GLuint gl_rgb_tex
 
int got_depth = 0
 
int got_rgb = 0
 
int my_ftime = 0
 
uint8_trgb_back
 
uint8_trgb_front
 
uint8_trgb_mid
 
uint16_t t_gamma [10000]
 
int window
 

Function Documentation

void depth_cb ( freenect_device dev,
void *  v_depth,
uint32_t  timestamp 
)

Definition at line 222 of file regview.c.

void DrawGLScene ( )

Definition at line 94 of file regview.c.

void* freenect_threadfunc ( void *  arg)

Definition at line 293 of file regview.c.

void* gl_threadfunc ( void *  arg)

Definition at line 197 of file regview.c.

void idle ( )

Definition at line 76 of file regview.c.

void InitGL ( int  Width,
int  Height 
)

Definition at line 171 of file regview.c.

void keyPressed ( unsigned char  key,
int  x,
int  y 
)

Definition at line 144 of file regview.c.

int main ( int  argc,
char **  argv 
)

Definition at line 325 of file regview.c.

void ReSizeGLScene ( int  Width,
int  Height 
)

Definition at line 161 of file regview.c.

void rgb_cb ( freenect_device dev,
void *  rgb,
uint32_t  timestamp 
)

Definition at line 278 of file regview.c.

Variable Documentation

uint8_t * depth_front

Definition at line 57 of file regview.c.

uint8_t* depth_mid

Definition at line 57 of file regview.c.

volatile int die = 0

Definition at line 45 of file regview.c.

Definition at line 63 of file regview.c.

Definition at line 64 of file regview.c.

double fps = 0

Definition at line 74 of file regview.c.

int frame = 0

Definition at line 72 of file regview.c.

int freenect_angle = 0

Definition at line 65 of file regview.c.

int freenect_led

Definition at line 66 of file regview.c.

pthread_t freenect_thread

Definition at line 44 of file regview.c.

int g_argc

Definition at line 47 of file regview.c.

char** g_argv

Definition at line 48 of file regview.c.

pthread_mutex_t gl_backbuf_mutex = PTHREAD_MUTEX_INITIALIZER

Definition at line 52 of file regview.c.

GLuint gl_depth_tex

Definition at line 60 of file regview.c.

pthread_cond_t gl_frame_cond = PTHREAD_COND_INITIALIZER

Definition at line 68 of file regview.c.

GLuint gl_rgb_tex

Definition at line 61 of file regview.c.

int got_depth = 0

Definition at line 70 of file regview.c.

int got_rgb = 0

Definition at line 69 of file regview.c.

int my_ftime = 0

Definition at line 73 of file regview.c.

uint8_t* rgb_back

Definition at line 58 of file regview.c.

uint8_t * rgb_front

Definition at line 58 of file regview.c.

uint8_t * rgb_mid

Definition at line 58 of file regview.c.

uint16_t t_gamma[10000]

Definition at line 220 of file regview.c.

int window

Definition at line 50 of file regview.c.



libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Thu Jun 6 2019 19:25:39