Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
v4l2-event.h File Reference
#include <linux/types.h>
#include <linux/videodev2.h>
#include <linux/wait.h>

Go to the source code of this file.

Data Structures

struct  v4l2_kevent
 
struct  v4l2_subscribed_event_ops
 
struct  v4l2_subscribed_event
 

Functions

int v4l2_event_dequeue (struct v4l2_fh *fh, struct v4l2_event *event, int nonblocking)
 
void v4l2_event_queue (struct video_device *vdev, const struct v4l2_event *ev)
 
void v4l2_event_queue_fh (struct v4l2_fh *fh, const struct v4l2_event *ev)
 
int v4l2_event_pending (struct v4l2_fh *fh)
 
int v4l2_event_subscribe (struct v4l2_fh *fh, const struct v4l2_event_subscription *sub, unsigned elems, const struct v4l2_subscribed_event_ops *ops)
 
int v4l2_event_unsubscribe (struct v4l2_fh *fh, const struct v4l2_event_subscription *sub)
 
void v4l2_event_unsubscribe_all (struct v4l2_fh *fh)
 

Function Documentation

int v4l2_event_dequeue ( struct v4l2_fh fh,
struct v4l2_event event,
int  nonblocking 
)

Definition at line 67 of file v4l2-event.c.

int v4l2_event_pending ( struct v4l2_fh fh)

Definition at line 199 of file v4l2-event.c.

void v4l2_event_queue ( struct video_device vdev,
const struct v4l2_event ev 
)

Definition at line 169 of file v4l2-event.c.

void v4l2_event_queue_fh ( struct v4l2_fh fh,
const struct v4l2_event ev 
)

Definition at line 186 of file v4l2-event.c.

int v4l2_event_subscribe ( struct v4l2_fh fh,
const struct v4l2_event_subscription sub,
unsigned  elems,
const struct v4l2_subscribed_event_ops ops 
)

Definition at line 205 of file v4l2-event.c.

int v4l2_event_unsubscribe ( struct v4l2_fh fh,
const struct v4l2_event_subscription sub 
)

Definition at line 280 of file v4l2-event.c.

void v4l2_event_unsubscribe_all ( struct v4l2_fh fh)

Definition at line 257 of file v4l2-event.c.