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
 
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 301 of file stk11xx.h.

Field Documentation

◆ int_in_buffer

unsigned char* usb_stk11xx::int_in_buffer

Interrupt IN buffer

Definition at line 310 of file stk11xx.h.

◆ int_in_endpointAddr

__u8 usb_stk11xx::int_in_endpointAddr

Interrupt IN endpoint address

Definition at line 312 of file stk11xx.h.

◆ int_in_size

size_t usb_stk11xx::int_in_size

Interrupt IN buffer size

Definition at line 311 of file stk11xx.h.

◆ interface

struct usb_interface* usb_stk11xx::interface

Pointer on a USB interface

Definition at line 304 of file stk11xx.h.

Referenced by v4l_stk11xx_register_video_device(), and v4l_stk11xx_release().

◆ isoc_in_endpointAddr

__u8 usb_stk11xx::isoc_in_endpointAddr

Isochrone IN endpoint address

Definition at line 315 of file stk11xx.h.

Referenced by usb_stk11xx_isoc_init().

◆ isoc_in_size

size_t usb_stk11xx::isoc_in_size

Isochrone IN size

Definition at line 314 of file stk11xx.h.

Referenced by usb_stk11xx_isoc_init().

◆ modlock

struct mutex usb_stk11xx::modlock

To prevent races in video_open(), etc

Definition at line 331 of file stk11xx.h.

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

◆ mutex

struct semaphore usb_stk11xx::mutex

Mutex

Definition at line 329 of file stk11xx.h.

◆ release

int usb_stk11xx::release

Release of the device (bcdDevice)

Definition at line 306 of file stk11xx.h.

Referenced by show_release().

◆ spinlock

spinlock_t usb_stk11xx::spinlock

Spin lock

Definition at line 329 of file stk11xx.h.

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

◆ udev

struct usb_device* usb_stk11xx::udev

◆ vdev

struct video_device* usb_stk11xx::vdev

◆ vframes_dumped

int usb_stk11xx::vframes_dumped

Count the number of ignored frames

Definition at line 326 of file stk11xx.h.

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

◆ vframes_error

int usb_stk11xx::vframes_error

Count the number of fault frames (so dropped)

Definition at line 325 of file stk11xx.h.

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

◆ visoc_errors

int usb_stk11xx::visoc_errors

Count the number of ISOCH errors

Definition at line 324 of file stk11xx.h.

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

◆ vopen

int usb_stk11xx::vopen

Video status (Opened or Closed)

Definition at line 323 of file stk11xx.h.

Referenced by v4l_stk11xx_open(), and v4l_stk11xx_release().

◆ vsettings

struct stk11xx_video usb_stk11xx::vsettings

◆ wait_frame

wait_queue_head_t usb_stk11xx::wait_frame

Queue head

Definition at line 331 of file stk11xx.h.

Referenced by usb_stk11xx_isoc_handler(), v4l_stk11xx_poll(), and v4l_stk11xx_read().

◆ watchdog

int usb_stk11xx::watchdog

Counter for the software watchdog

Definition at line 317 of file stk11xx.h.

◆ webcam_model

int usb_stk11xx::webcam_model

◆ webcam_type

int usb_stk11xx::webcam_type

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

Definition at line 308 of file stk11xx.h.

Referenced by v4l_stk11xx_select_video_mode().


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