Classes | Macros | Functions
usb_libusb10.h File Reference
#include "libfreenect.h"
#include <libusb.h>
Include dependency graph for usb_libusb10.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fnusb_ctx
 
struct  fnusb_dev
 
struct  fnusb_isoc_stream
 

Macros

#define DEPTH_PKTBUF   1920
 
#define NUM_XFERS   16
 
#define PKTS_PER_XFER   16
 
#define VIDEO_PKTBUF   1920
 

Functions

int fnusb_bulk (fnusb_dev *dev, uint8_t endpoint, uint8_t *data, int len, int *transferred)
 
int fnusb_close_subdevices (freenect_device *dev)
 
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_list_device_attributes (fnusb_ctx *ctx, struct freenect_device_attributes **attribute_list)
 
int fnusb_num_devices (fnusb_ctx *ctx)
 
int fnusb_num_interfaces (fnusb_dev *dev)
 
int fnusb_open_subdevices (freenect_device *dev, int index)
 
int fnusb_process_events (fnusb_ctx *ctx)
 
int fnusb_process_events_timeout (fnusb_ctx *ctx, struct timeval *timeout)
 
int fnusb_shutdown (fnusb_ctx *ctx)
 
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)
 

Macro Definition Documentation

#define DEPTH_PKTBUF   1920

Definition at line 59 of file usb_libusb10.h.

#define NUM_XFERS   16

Definition at line 57 of file usb_libusb10.h.

#define PKTS_PER_XFER   16

Definition at line 56 of file usb_libusb10.h.

#define VIDEO_PKTBUF   1920

Definition at line 60 of file usb_libusb10.h.

Function Documentation

int fnusb_bulk ( fnusb_dev dev,
uint8_t  endpoint,
uint8_t data,
int  len,
int *  transferred 
)

Definition at line 828 of file usb_libusb10.c.

int fnusb_close_subdevices ( freenect_device dev)

Definition at line 650 of file usb_libusb10.c.

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 823 of file usb_libusb10.c.

int fnusb_init ( fnusb_ctx ctx,
freenect_usb_context usb_ctx 
)

Definition at line 214 of file usb_libusb10.c.

int fnusb_list_device_attributes ( fnusb_ctx ctx,
struct freenect_device_attributes **  attribute_list 
)

Definition at line 110 of file usb_libusb10.c.

int fnusb_num_devices ( fnusb_ctx ctx)

Definition at line 40 of file usb_libusb10.c.

int fnusb_num_interfaces ( fnusb_dev dev)

Definition at line 833 of file usb_libusb10.c.

int fnusb_open_subdevices ( freenect_device dev,
int  index 
)

Definition at line 255 of file usb_libusb10.c.

int fnusb_process_events ( fnusb_ctx ctx)

Definition at line 245 of file usb_libusb10.c.

int fnusb_process_events_timeout ( fnusb_ctx ctx,
struct timeval *  timeout 
)

Definition at line 250 of file usb_libusb10.c.

int fnusb_shutdown ( fnusb_ctx ctx)

Definition at line 235 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 755 of file usb_libusb10.c.

int fnusb_stop_iso ( fnusb_dev dev,
fnusb_isoc_stream strm 
)

Definition at line 793 of file usb_libusb10.c.



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