Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
vb2_fileio_data Struct Reference

Data Fields

struct v4l2_requestbuffers req
 
struct v4l2_buffer b
 
struct vb2_fileio_buf bufs [VIDEO_MAX_FRAME]
 
unsigned int index
 
unsigned int q_count
 
unsigned int dq_count
 
unsigned int flags
 

Detailed Description

struct vb2_fileio_data - queue context used by file io emulator

vb2 provides a compatibility layer and emulator of file io (read and write) calls on top of streaming API. For proper operation it required this structure to save the driver state between each call of the read or write function.

Definition at line 1802 of file videobuf2-core.c.

Field Documentation

Definition at line 1804 of file videobuf2-core.c.

Definition at line 1805 of file videobuf2-core.c.

unsigned int dq_count

Definition at line 1808 of file videobuf2-core.c.

unsigned int flags

Definition at line 1809 of file videobuf2-core.c.

unsigned int index

Definition at line 1806 of file videobuf2-core.c.

unsigned int q_count

Definition at line 1807 of file videobuf2-core.c.

Definition at line 1803 of file videobuf2-core.c.


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