#include <stdint.h>
#include "libfreenect.h"
#include "usb_libusb10.h"
Go to the source code of this file.
Classes | |
struct | _freenect_context |
struct | _freenect_device |
struct | caminit |
struct | packet_stream |
Defines | |
#define | DEPTH_PKTDSIZE (DEPTH_PKTSIZE-12) |
#define | DEPTH_PKTS_10_BIT_PER_FRAME ((DEPTH_RAW_10_BIT_SIZE+DEPTH_PKTDSIZE-1)/DEPTH_PKTDSIZE) |
#define | DEPTH_PKTS_11_BIT_PER_FRAME ((DEPTH_RAW_11_BIT_SIZE+DEPTH_PKTDSIZE-1)/DEPTH_PKTDSIZE) |
#define | DEPTH_PKTSIZE 1760 |
#define | DEPTH_RAW_10_BIT_SIZE 384000 |
#define | DEPTH_RAW_11_BIT_SIZE 422400 |
#define | FN_DEBUG(...) FN_LOG(LL_DEBUG, __VA_ARGS__) |
#define | FN_ERROR(...) FN_LOG(LL_ERROR, __VA_ARGS__) |
#define | FN_FATAL(...) FN_LOG(LL_FATAL, __VA_ARGS__) |
#define | FN_FLOOD(...) FN_LOG(LL_FLOOD, __VA_ARGS__) |
#define | FN_INFO(...) FN_LOG(LL_INFO, __VA_ARGS__) |
#define | FN_LOG(level,...) fn_log(ctx, level, __VA_ARGS__) |
#define | FN_NOTICE(...) FN_LOG(LL_NOTICE, __VA_ARGS__) |
#define | FN_SPEW(...) FN_LOG(LL_SPEW, __VA_ARGS__) |
#define | FN_WARNING(...) FN_LOG(LL_WARNING, __VA_ARGS__) |
#define | FRAME_H FREENECT_FRAME_H |
#define | FRAME_PIX_DEPTH FREENECT_FRAME_PIX |
#define | FRAME_PIX_IR (DEPTH_RAW_10_BIT_SIZE + RGB_PKTSIZE*3) |
#define | FRAME_PIX_RGB FREENECT_FRAME_PIX |
#define | FRAME_W FREENECT_FRAME_W |
#define | LL_DEBUG FREENECT_LOG_DEBUG |
#define | LL_ERROR FREENECT_LOG_ERROR |
#define | LL_FATAL FREENECT_LOG_FATAL |
#define | LL_FLOOD FREENECT_LOG_FLOOD |
#define | LL_INFO FREENECT_LOG_INFO |
#define | LL_NOTICE FREENECT_LOG_NOTICE |
#define | LL_SPEW FREENECT_LOG_SPEW |
#define | LL_WARNING FREENECT_LOG_WARNING |
#define | MS_MAGIC_CAMERA_PRODUCT 0x02ae |
#define | MS_MAGIC_MOTOR_PRODUCT 0x02b0 |
#define | MS_MAGIC_VENDOR 0x45e |
#define | RGB_PKTDSIZE (RGB_PKTSIZE-12) |
#define | RGB_PKTS_PER_FRAME_IR ((FRAME_PIX_IR+RGB_PKTDSIZE-1)/RGB_PKTDSIZE) |
#define | RGB_PKTS_PER_FRAME_RGB ((FRAME_PIX_RGB+RGB_PKTDSIZE-1)/RGB_PKTDSIZE) |
#define | RGB_PKTSIZE 1920 |
Typedefs | |
typedef void(* | fnusb_iso_cb )(freenect_device *dev, uint8_t *buf, int len) |
Functions | |
void | fn_log (freenect_context *ctx, freenect_loglevel level, const char *fmt,...) __attribute__((format(printf |
#define DEPTH_PKTDSIZE (DEPTH_PKTSIZE-12) |
Definition at line 79 of file freenect_internal.h.
#define DEPTH_PKTS_10_BIT_PER_FRAME ((DEPTH_RAW_10_BIT_SIZE+DEPTH_PKTDSIZE-1)/DEPTH_PKTDSIZE) |
Definition at line 82 of file freenect_internal.h.
#define DEPTH_PKTS_11_BIT_PER_FRAME ((DEPTH_RAW_11_BIT_SIZE+DEPTH_PKTDSIZE-1)/DEPTH_PKTDSIZE) |
Definition at line 83 of file freenect_internal.h.
#define DEPTH_PKTSIZE 1760 |
Definition at line 76 of file freenect_internal.h.
#define DEPTH_RAW_10_BIT_SIZE 384000 |
Definition at line 68 of file freenect_internal.h.
#define DEPTH_RAW_11_BIT_SIZE 422400 |
Definition at line 69 of file freenect_internal.h.
#define FN_DEBUG | ( | ... | ) | FN_LOG(LL_DEBUG, __VA_ARGS__) |
Definition at line 64 of file freenect_internal.h.
#define FN_ERROR | ( | ... | ) | FN_LOG(LL_ERROR, __VA_ARGS__) |
Definition at line 60 of file freenect_internal.h.
#define FN_FATAL | ( | ... | ) | FN_LOG(LL_FATAL, __VA_ARGS__) |
Definition at line 59 of file freenect_internal.h.
#define FN_FLOOD | ( | ... | ) | FN_LOG(LL_FLOOD, __VA_ARGS__) |
Definition at line 66 of file freenect_internal.h.
#define FN_INFO | ( | ... | ) | FN_LOG(LL_INFO, __VA_ARGS__) |
Definition at line 63 of file freenect_internal.h.
#define FN_LOG | ( | level, | |||
... | ) | fn_log(ctx, level, __VA_ARGS__) |
Definition at line 57 of file freenect_internal.h.
#define FN_NOTICE | ( | ... | ) | FN_LOG(LL_NOTICE, __VA_ARGS__) |
Definition at line 62 of file freenect_internal.h.
#define FN_SPEW | ( | ... | ) | FN_LOG(LL_SPEW, __VA_ARGS__) |
Definition at line 65 of file freenect_internal.h.
#define FN_WARNING | ( | ... | ) | FN_LOG(LL_WARNING, __VA_ARGS__) |
Definition at line 61 of file freenect_internal.h.
#define FRAME_H FREENECT_FRAME_H |
Definition at line 70 of file freenect_internal.h.
#define FRAME_PIX_DEPTH FREENECT_FRAME_PIX |
Definition at line 72 of file freenect_internal.h.
#define FRAME_PIX_IR (DEPTH_RAW_10_BIT_SIZE + RGB_PKTSIZE*3) |
Definition at line 74 of file freenect_internal.h.
#define FRAME_PIX_RGB FREENECT_FRAME_PIX |
Definition at line 73 of file freenect_internal.h.
#define FRAME_W FREENECT_FRAME_W |
Definition at line 71 of file freenect_internal.h.
#define LL_DEBUG FREENECT_LOG_DEBUG |
Definition at line 50 of file freenect_internal.h.
#define LL_ERROR FREENECT_LOG_ERROR |
Definition at line 46 of file freenect_internal.h.
#define LL_FATAL FREENECT_LOG_FATAL |
Definition at line 45 of file freenect_internal.h.
#define LL_FLOOD FREENECT_LOG_FLOOD |
Definition at line 52 of file freenect_internal.h.
#define LL_INFO FREENECT_LOG_INFO |
Definition at line 49 of file freenect_internal.h.
#define LL_NOTICE FREENECT_LOG_NOTICE |
Definition at line 48 of file freenect_internal.h.
#define LL_SPEW FREENECT_LOG_SPEW |
Definition at line 51 of file freenect_internal.h.
#define LL_WARNING FREENECT_LOG_WARNING |
Definition at line 47 of file freenect_internal.h.
#define MS_MAGIC_CAMERA_PRODUCT 0x02ae |
Definition at line 88 of file freenect_internal.h.
#define MS_MAGIC_MOTOR_PRODUCT 0x02b0 |
Definition at line 89 of file freenect_internal.h.
#define MS_MAGIC_VENDOR 0x45e |
Definition at line 87 of file freenect_internal.h.
#define RGB_PKTDSIZE (RGB_PKTSIZE-12) |
Definition at line 80 of file freenect_internal.h.
#define RGB_PKTS_PER_FRAME_IR ((FRAME_PIX_IR+RGB_PKTDSIZE-1)/RGB_PKTDSIZE) |
Definition at line 85 of file freenect_internal.h.
#define RGB_PKTS_PER_FRAME_RGB ((FRAME_PIX_RGB+RGB_PKTDSIZE-1)/RGB_PKTDSIZE) |
Definition at line 84 of file freenect_internal.h.
#define RGB_PKTSIZE 1920 |
Definition at line 77 of file freenect_internal.h.
typedef void(* fnusb_iso_cb)(freenect_device *dev, uint8_t *buf, int len) |
Definition at line 34 of file freenect_internal.h.
void fn_log | ( | freenect_context * | ctx, | |
freenect_loglevel | level, | |||
const char * | fmt, | |||
... | ||||
) |