GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
freenect.c File Reference
#include <gpac/modules/service.h>
#include <gpac/modules/codec.h>
#include <gpac/constants.h>
#include <gpac/download.h>
#include <libfreenect/libfreenect.h>
#include <gpac/thread.h>
+ Include dependency graph for freenect.c:

Data Structures

struct  FreenectIn
 

Functions

void Freenect_DepthCallback_RGBD (freenect_device *dev, void *v_depth, uint32_t timestamp)
 
void Freenect_DepthCallback_GREY16 (freenect_device *dev, void *v_depth, uint32_t timestamp)
 
void Freenect_DepthCallback_GREY8 (freenect_device *dev, void *v_depth, uint32_t timestamp)
 
void Freenect_DepthCallback_ColorGradient (freenect_device *dev, void *v_depth, uint32_t timestamp)
 
void Freenect_RGBCallback (freenect_device *dev, void *rgb, uint32_t timestamp)
 
u32 FreenectRun (void *par)
 
Bool Freenect_CanHandleURL (GF_InputService *plug, const char *url)
 
void Freenect_Logs (freenect_context *dev, freenect_loglevel level, const char *msg)
 
GF_Err Freenect_ConnectService (GF_InputService *plug, GF_ClientService *serv, const char *url)
 
GF_Err Freenect_CloseService (GF_InputService *plug)
 
static GF_DescriptorFreenect_GetServiceDesc (GF_InputService *plug, u32 expect_type, const char *sub_url)
 
GF_Err Freenect_ServiceCommand (GF_InputService *plug, GF_NetworkCommand *com)
 
GF_Err Freenect_ConnectChannel (GF_InputService *plug, LPNETCHANNEL channel, const char *url, Bool upstream)
 
GF_Err Freenect_DisconnectChannel (GF_InputService *plug, LPNETCHANNEL channel)
 
Bool Freenect_CanHandleURLInService (GF_InputService *plug, const char *url)
 
const u32QueryInterfaces ()
 
GF_BaseInterfaceLoadInterface (u32 InterfaceType)
 
void ShutdownInterface (GF_BaseInterface *bi)
 

Data Structure Documentation

struct FreenectIn
+ Collaboration diagram for FreenectIn:
Data Fields
GF_ClientService * service
freenect_context * f_ctx
freenect_device * f_dev
u32 width
u32 height
u32 fps
u32 out_depth_size
u32 out_color_size
u32 color_stride
u32 depth_stride
u32 color_pixel_format
u32 depth_pixel_format
u32 depth_format
u8 * vid_buf
u8 * depth_buf
u16 gamma[2048]
GF_SLHeader depth_sl_header
GF_SLHeader color_sl_header
LPNETCHANNEL depth_channel
LPNETCHANNEL color_channel
GF_Thread * th
u32 nb_running
Bool done

Function Documentation

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 FreenectRun ( void *  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool Freenect_CanHandleURL ( GF_InputService plug,
const char *  url 
)

+ Here is the caller graph for this function:

void Freenect_Logs ( freenect_context *  dev,
freenect_loglevel  level,
const char *  msg 
)

+ Here is the caller graph for this function:

GF_Err Freenect_ConnectService ( GF_InputService plug,
GF_ClientService *  serv,
const char *  url 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err Freenect_CloseService ( GF_InputService plug)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Descriptor* Freenect_GetServiceDesc ( GF_InputService plug,
u32  expect_type,
const char *  sub_url 
)
static

+ Here is the caller graph for this function:

GF_Err Freenect_ServiceCommand ( GF_InputService plug,
GF_NetworkCommand com 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err Freenect_ConnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel,
const char *  url,
Bool  upstream 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err Freenect_DisconnectChannel ( GF_InputService plug,
LPNETCHANNEL  channel 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool Freenect_CanHandleURLInService ( GF_InputService plug,
const char *  url 
)

+ Here is the caller graph for this function:

const u32* QueryInterfaces ( )
GF_BaseInterface* LoadInterface ( u32  InterfaceType)

+ Here is the call graph for this function:

void ShutdownInterface ( GF_BaseInterface bi)

+ Here is the call graph for this function: