#include <libusb-1.0/libusb.h>
Go to the source code of this file.
Classes | |
struct | fnusb_ctx |
struct | fnusb_dev |
struct | fnusb_isoc_stream |
Defines | |
#define | DEPTH_PKTBUF 1920 |
#define | NUM_XFERS 16 |
#define | PKTS_PER_XFER 16 |
#define | RGB_PKTBUF 1920 |
Functions | |
int | fnusb_control (fnusb_dev *dev, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint8_t *data, uint16_t wLength) |
int | fnusb_init (fnusb_ctx *ctx, freenect_usb_context *usb_ctx) |
int | fnusb_open_subdevices (freenect_device *dev, int index) |
Open a camera/motor device using an user given index. | |
int | fnusb_process_events (fnusb_ctx *ctx) |
int | fnusb_shutdown (fnusb_ctx *ctx) |
Deinitialize libusb. | |
int | fnusb_start_iso (fnusb_dev *dev, fnusb_isoc_stream *strm, fnusb_iso_cb cb, int ep, int xfers, int pkts, int len) |
int | fnusb_stop_iso (fnusb_dev *dev, fnusb_isoc_stream *strm) |
#define DEPTH_PKTBUF 1920 |
Definition at line 54 of file usb_libusb10.h.
#define NUM_XFERS 16 |
Definition at line 53 of file usb_libusb10.h.
#define PKTS_PER_XFER 16 |
Definition at line 52 of file usb_libusb10.h.
#define RGB_PKTBUF 1920 |
Definition at line 55 of file usb_libusb10.h.
int fnusb_control | ( | fnusb_dev * | dev, | |
uint8_t | bmRequestType, | |||
uint8_t | bRequest, | |||
uint16_t | wValue, | |||
uint16_t | wIndex, | |||
uint8_t * | data, | |||
uint16_t | wLength | |||
) |
Definition at line 222 of file usb_libusb10.c.
int fnusb_init | ( | fnusb_ctx * | ctx, | |
freenect_usb_context * | usb_ctx | |||
) |
Definition at line 34 of file usb_libusb10.c.
int fnusb_open_subdevices | ( | freenect_device * | dev, | |
int | index | |||
) |
Open a camera/motor device using an user given index.
Definition at line 74 of file usb_libusb10.c.
int fnusb_process_events | ( | fnusb_ctx * | ctx | ) |
Definition at line 67 of file usb_libusb10.c.
int fnusb_shutdown | ( | fnusb_ctx * | ctx | ) |
Deinitialize libusb.
Definition at line 56 of file usb_libusb10.c.
int fnusb_start_iso | ( | fnusb_dev * | dev, | |
fnusb_isoc_stream * | strm, | |||
fnusb_iso_cb | cb, | |||
int | ep, | |||
int | xfers, | |||
int | pkts, | |||
int | len | |||
) |
Definition at line 165 of file usb_libusb10.c.
int fnusb_stop_iso | ( | fnusb_dev * | dev, | |
fnusb_isoc_stream * | strm | |||
) |
Definition at line 201 of file usb_libusb10.c.