Syntek USB Video Camera
Data Fields
usb_stk11xx Struct Reference

Data Fields

struct video_devicevdev
 
struct usb_deviceudev
 
struct usb_interfaceinterface
 
int release
 
int webcam_model
 
int webcam_type
 
unsigned charint_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
 
voidimage_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

◆ empty_frames

struct stk11xx_frame_buf* usb_stk11xx::empty_frames

Definition at line 361 of file stk11xx.h.

◆ empty_frames_tail

struct stk11xx_frame_buf * usb_stk11xx::empty_frames_tail

Definition at line 361 of file stk11xx.h.

◆ error_status

int usb_stk11xx::error_status

Definition at line 338 of file stk11xx.h.

◆ fill_frame

struct stk11xx_frame_buf* usb_stk11xx::fill_frame

Definition at line 363 of file stk11xx.h.

◆ fill_image

int usb_stk11xx::fill_image

Definition at line 375 of file stk11xx.h.

◆ frame_size

int usb_stk11xx::frame_size

Definition at line 359 of file stk11xx.h.

◆ framebuf

struct stk11xx_frame_buf* usb_stk11xx::framebuf

Definition at line 360 of file stk11xx.h.

◆ full_frames

struct stk11xx_frame_buf* usb_stk11xx::full_frames

Definition at line 362 of file stk11xx.h.

◆ full_frames_tail

struct stk11xx_frame_buf * usb_stk11xx::full_frames_tail

Definition at line 362 of file stk11xx.h.

◆ image

struct stk11xx_coord usb_stk11xx::image

Definition at line 378 of file stk11xx.h.

◆ image_data

void* usb_stk11xx::image_data

Definition at line 369 of file stk11xx.h.

◆ image_read_pos

int usb_stk11xx::image_read_pos

Definition at line 374 of file stk11xx.h.

◆ image_size

int usb_stk11xx::image_size

Definition at line 368 of file stk11xx.h.

◆ image_used

int usb_stk11xx::image_used[STK11XX_MAX_IMAGES]

Definition at line 371 of file stk11xx.h.

◆ images

Definition at line 370 of file stk11xx.h.

◆ int_in_buffer

unsigned char* usb_stk11xx::int_in_buffer

Interrupt IN buffer

Definition at line 327 of file stk11xx.h.

◆ int_in_endpointAddr

__u8 usb_stk11xx::int_in_endpointAddr

Interrupt IN endpoint address

Definition at line 329 of file stk11xx.h.

Referenced by usb_stk11xx_probe().

◆ int_in_size

size_t usb_stk11xx::int_in_size

Interrupt IN buffer size

Definition at line 328 of file stk11xx.h.

Referenced by usb_stk11xx_probe().

◆ interface

struct usb_interface* usb_stk11xx::interface

Pointer on a USB interface

Definition at line 321 of file stk11xx.h.

Referenced by usb_stk11xx_disconnect(), and usb_stk11xx_probe().

◆ isobuf

struct stk11xx_iso_buf usb_stk11xx::isobuf[MAX_ISO_BUFS]

Definition at line 356 of file stk11xx.h.

◆ isoc_in_endpointAddr

__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().

◆ isoc_in_size

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().

◆ isoc_init_ok

char usb_stk11xx::isoc_init_ok

Definition at line 355 of file stk11xx.h.

◆ len_per_image

unsigned int usb_stk11xx::len_per_image

Definition at line 373 of file stk11xx.h.

◆ modlock

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().

◆ mutex

struct semaphore usb_stk11xx::mutex

Mutex

Definition at line 349 of file stk11xx.h.

Referenced by usb_stk11xx_probe().

◆ nbuffers

unsigned int usb_stk11xx::nbuffers

Definition at line 372 of file stk11xx.h.

◆ read_frame

struct stk11xx_frame_buf* usb_stk11xx::read_frame

Definition at line 364 of file stk11xx.h.

◆ release

int usb_stk11xx::release

Release of the device (bcdDevice)

Definition at line 323 of file stk11xx.h.

Referenced by show_release(), and usb_stk11xx_probe().

◆ resolution

int usb_stk11xx::resolution

Definition at line 376 of file stk11xx.h.

◆ spinlock

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().

◆ udev

struct usb_device* usb_stk11xx::udev

◆ v1st_cap

int usb_stk11xx::v1st_cap

used to get a clean 1st capture

Definition at line 345 of file stk11xx.h.

◆ vdev

struct video_device* usb_stk11xx::vdev

◆ vframes_dumped

int usb_stk11xx::vframes_dumped

Count the number of ignored frames

Definition at line 343 of file stk11xx.h.

Referenced by show_videostatus(), and usb_stk11xx_isoc_handler().

◆ vframes_error

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(), and usb_stk11xx_isoc_handler().

◆ view

struct stk11xx_coord usb_stk11xx::view

Definition at line 377 of file stk11xx.h.

◆ view_size

int usb_stk11xx::view_size

Definition at line 367 of file stk11xx.h.

◆ visoc_errors

int usb_stk11xx::visoc_errors

Count the number of ISOCH errors

Definition at line 341 of file stk11xx.h.

Referenced by show_videostatus(), and usb_stk11xx_isoc_handler().

◆ vopen

int usb_stk11xx::vopen

Video status (Opened or Closed)

Definition at line 340 of file stk11xx.h.

Referenced by usb_stk11xx_disconnect().

◆ vsettings

struct stk11xx_video usb_stk11xx::vsettings

◆ vsync

int usb_stk11xx::vsync

sync on valid frame

Definition at line 344 of file stk11xx.h.

◆ wait_frame

wait_queue_head_t usb_stk11xx::wait_frame

Queue head

Definition at line 350 of file stk11xx.h.

Referenced by usb_stk11xx_disconnect(), usb_stk11xx_isoc_handler(), and usb_stk11xx_probe().

◆ watchdog

int usb_stk11xx::watchdog

Counter for the software watchdog

Definition at line 334 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 325 of file stk11xx.h.

Referenced by usb_stk11xx_probe().


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