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

#include <v4l2-ctrls.h>

Data Fields

struct mutex _lock
struct mutexlock
struct list_head ctrls
struct list_head ctrl_refs
struct v4l2_ctrl_refcached
struct v4l2_ctrl_ref ** buckets
u16 nr_of_buckets
int error

Detailed Description

struct v4l2_ctrl_handler - The control handler keeps track of all the controls: both the controls owned by the handler and those inherited from other handlers. : Default for "lock". : Lock to control access to this handler and its controls. May be replaced by the user right after init. : The list of controls owned by this handler. : The list of control references. : The last found control reference. It is common that the same control is needed multiple times, so this is a simple optimization. : Buckets for the hashing. Allows for quick control lookup. : Total number of buckets in the array. : The error code of the first failed control addition.

Definition at line 183 of file v4l2-ctrls.h.

Field Documentation

struct mutex _lock

Definition at line 184 of file v4l2-ctrls.h.

struct v4l2_ctrl_ref** buckets

Definition at line 189 of file v4l2-ctrls.h.

Definition at line 188 of file v4l2-ctrls.h.

struct list_head ctrl_refs

Definition at line 187 of file v4l2-ctrls.h.

Definition at line 186 of file v4l2-ctrls.h.

int error

Definition at line 191 of file v4l2-ctrls.h.

struct mutex* lock

Definition at line 185 of file v4l2-ctrls.h.

u16 nr_of_buckets

Definition at line 190 of file v4l2-ctrls.h.

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