SyntekUSBVideoCamera
Data Fields
usb_stk11xx Struct Reference

Data Fields

struct video_device * vdev
 
struct usb_device * udev
 
struct usb_interface * interface
 
int release
 
int webcam_model
 
int webcam_type
 
unsigned char * int_in_buffer
 
size_t int_in_size
 
__u8 int_in_endpointAddr
 
size_t isoc_in_size
 
__u8 isoc_in_endpointAddr
 
int watchdog
 
struct stk11xx_video vsettings
 
int error_status
 
int vopen
 
int visoc_errors
 
int vframes_error
 
int vframes_dumped
 
int vsync
 
int v1st_cap
 
spinlock_t spinlock
 
struct semaphore mutex
 
wait_queue_head_t wait_frame
 
struct mutex modlock
 
char isoc_init_ok
 
struct stk11xx_iso_buf isobuf [MAX_ISO_BUFS]
 
int frame_size
 
struct stk11xx_frame_bufframebuf
 
struct stk11xx_frame_bufempty_frames
 
struct stk11xx_frame_bufempty_frames_tail
 
struct stk11xx_frame_buffull_frames
 
struct stk11xx_frame_buffull_frames_tail
 
struct stk11xx_frame_buffill_frame
 
struct stk11xx_frame_bufread_frame
 
int view_size
 
int image_size
 
void * image_data
 
struct stk11xx_image_buf images [STK11XX_MAX_IMAGES]
 
int image_used [STK11XX_MAX_IMAGES]
 
unsigned int nbuffers
 
unsigned int len_per_image
 
int image_read_pos
 
int fill_image
 
int resolution
 
struct stk11xx_coord view
 
struct stk11xx_coord image
 

Detailed Description

Definition at line 318 of file stk11xx.h.

Field Documentation

unsigned char* usb_stk11xx::int_in_buffer

Interrupt IN buffer

Definition at line 327 of file stk11xx.h.

__u8 usb_stk11xx::int_in_endpointAddr

Interrupt IN endpoint address

Definition at line 329 of file stk11xx.h.

Referenced by usb_stk11xx_probe().

size_t usb_stk11xx::int_in_size

Interrupt IN buffer size

Definition at line 328 of file stk11xx.h.

Referenced by usb_stk11xx_probe().

struct usb_interface* usb_stk11xx::interface

Pointer on a USB interface

Definition at line 321 of file stk11xx.h.

Referenced by usb_stk11xx_probe(), and v4l_stk11xx_register_video_device().

__u8 usb_stk11xx::isoc_in_endpointAddr

Isochrone IN endpoint address

Definition at line 332 of file stk11xx.h.

Referenced by usb_stk11xx_isoc_init(), and usb_stk11xx_probe().

size_t usb_stk11xx::isoc_in_size

Isochrone IN size

Definition at line 331 of file stk11xx.h.

Referenced by usb_stk11xx_isoc_init(), and usb_stk11xx_probe().

struct mutex usb_stk11xx::modlock

To prevent races in video_open(), etc

Definition at line 351 of file stk11xx.h.

Referenced by usb_stk11xx_probe(), v4l_stk11xx_ioctl(), v4l_stk11xx_open(), and v4l_stk11xx_read().

struct semaphore usb_stk11xx::mutex

Mutex

Definition at line 349 of file stk11xx.h.

Referenced by usb_stk11xx_probe().

int usb_stk11xx::release

Release of the device (bcdDevice)

Definition at line 323 of file stk11xx.h.

Referenced by show_release(), store_vflip(), and usb_stk11xx_probe().

spinlock_t usb_stk11xx::spinlock

Spin lock

Definition at line 348 of file stk11xx.h.

Referenced by stk11xx_handle_frame(), stk11xx_next_frame(), stk11xx_reset_buffers(), and usb_stk11xx_probe().

struct usb_device* usb_stk11xx::udev
int usb_stk11xx::v1st_cap

used to get a clean 1st capture

Definition at line 345 of file stk11xx.h.

Referenced by v4l_stk11xx_open().

struct video_device* usb_stk11xx::vdev
int usb_stk11xx::vframes_dumped

Count the number of ignored frames

Definition at line 343 of file stk11xx.h.

Referenced by show_videostatus(), usb_stk11xx_isoc_handler(), and v4l_stk11xx_open().

int usb_stk11xx::vframes_error

Count the number of fault frames (so dropped)

Definition at line 342 of file stk11xx.h.

Referenced by show_videostatus(), usb_stk11xx_isoc_handler(), and v4l_stk11xx_open().

int usb_stk11xx::visoc_errors

Count the number of ISOCH errors

Definition at line 341 of file stk11xx.h.

Referenced by show_videostatus(), usb_stk11xx_isoc_handler(), and v4l_stk11xx_open().

int usb_stk11xx::vopen

Video status (Opened or Closed)

Definition at line 340 of file stk11xx.h.

Referenced by usb_stk11xx_disconnect(), v4l_stk11xx_open(), and v4l_stk11xx_release().

struct stk11xx_video usb_stk11xx::vsettings
int usb_stk11xx::vsync

sync on valid frame

Definition at line 344 of file stk11xx.h.

Referenced by v4l_stk11xx_open().

wait_queue_head_t usb_stk11xx::wait_frame
int usb_stk11xx::watchdog

Counter for the software watchdog

Definition at line 334 of file stk11xx.h.

int usb_stk11xx::webcam_model
int usb_stk11xx::webcam_type

Type of camera : VGA, SXGA (1.3M), UXGA (2M)

Definition at line 325 of file stk11xx.h.

Referenced by usb_stk11xx_probe(), v4l_stk11xx_do_ioctl(), and v4l_stk11xx_select_video_mode().


The documentation for this struct was generated from the following file: