Classes | Enumerations | Functions
usb_cam.h File Reference
#include <string>
#include <sstream>
Include dependency graph for usb_cam.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  usb_cam_camera_image_t

Enumerations

enum  usb_cam_io_method { IO_METHOD_READ, IO_METHOD_MMAP, IO_METHOD_USERPTR }
enum  usb_cam_pixel_format { PIXEL_FORMAT_YUYV, PIXEL_FORMAT_UYVY, PIXEL_FORMAT_MJPEG }

Functions

void usb_cam_camera_grab_image (usb_cam_camera_image_t *image)
void usb_cam_camera_set_auto_focus (int value)
void usb_cam_camera_shutdown (void)
usb_cam_camera_image_tusb_cam_camera_start (const char *dev, usb_cam_io_method io, usb_cam_pixel_format pf, int image_width, int image_height)

Enumeration Type Documentation

Enumerator:
IO_METHOD_READ 
IO_METHOD_MMAP 
IO_METHOD_USERPTR 

Definition at line 51 of file usb_cam.h.

Enumerator:
PIXEL_FORMAT_YUYV 
PIXEL_FORMAT_UYVY 
PIXEL_FORMAT_MJPEG 

Definition at line 57 of file usb_cam.h.


Function Documentation

Definition at line 883 of file usb_cam.cpp.

void usb_cam_camera_set_auto_focus ( int  value)

Definition at line 915 of file usb_cam.cpp.

void usb_cam_camera_shutdown ( void  )

Definition at line 864 of file usb_cam.cpp.

usb_cam_camera_image_t* usb_cam_camera_start ( const char *  dev,
usb_cam_io_method  io,
usb_cam_pixel_format  pf,
int  image_width,
int  image_height 
)

Definition at line 825 of file usb_cam.cpp.



usb_cam
Author(s): Benjamin Pitzer
autogenerated on Mon Oct 6 2014 10:09:47