Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/version.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-ctrls.h>
#include <media/v4l2-fh.h>
#include <media/v4l2-event.h>
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>
#include <media/videobuf2-core.h>
Go to the source code of this file.
Data Structures | |
struct | std_descr |
struct | v4l2_ioctl_info |
Macros | |
#define | CLEAR_AFTER_FIELD(p, field) |
#define | prt_names(a, arr) (((unsigned)(a)) < ARRAY_SIZE(arr) ? arr[a] : "unknown") |
#define | INFO_FL_PRIO (1 << 0) |
#define | INFO_FL_CTRL (1 << 1) |
#define | INFO_FL_STD (1 << 2) |
#define | INFO_FL_FUNC (1 << 3) |
#define | INFO_FL_QUEUE (1 << 4) |
#define | INFO_FL_CLEAR(v4l2_struct, field) |
#define | INFO_FL_CLEAR_MASK (_IOC_SIZEMASK << 16) |
#define | IOCTL_INFO_STD(_ioctl, _vidioc, _debug, _flags) |
#define | IOCTL_INFO_FNC(_ioctl, _func, _debug, _flags) |
#define | V4L2_IOCTLS ARRAY_SIZE(v4l2_ioctls) |
Functions | |
const char * | v4l2_norm_to_name (v4l2_std_id id) |
EXPORT_SYMBOL (v4l2_norm_to_name) | |
void | v4l2_video_std_frame_period (int id, struct v4l2_fract *frameperiod) |
EXPORT_SYMBOL (v4l2_video_std_frame_period) | |
int | v4l2_video_std_construct (struct v4l2_standard *vs, int id, const char *name) |
EXPORT_SYMBOL (v4l2_video_std_construct) | |
EXPORT_SYMBOL (v4l2_field_names) | |
EXPORT_SYMBOL (v4l2_type_names) | |
bool | v4l2_is_known_ioctl (unsigned int cmd) |
struct mutex * | v4l2_ioctl_get_lock (struct video_device *vdev, unsigned cmd) |
void | v4l_printk_ioctl (const char *prefix, unsigned int cmd) |
EXPORT_SYMBOL (v4l_printk_ioctl) | |
long | video_usercopy (struct file *file, unsigned int cmd, unsigned long arg, v4l2_kioctl func) |
EXPORT_SYMBOL (video_usercopy) | |
long | video_ioctl2 (struct file *file, unsigned int cmd, unsigned long arg) |
EXPORT_SYMBOL (video_ioctl2) | |
Variables | |
const char * | v4l2_field_names [] |
const char * | v4l2_type_names [] |
#define INFO_FL_CLEAR | ( | v4l2_struct, | |
field | |||
) |
Definition at line 1929 of file v4l2-ioctl.c.
#define INFO_FL_CLEAR_MASK (_IOC_SIZEMASK << 16) |
Definition at line 1932 of file v4l2-ioctl.c.
#define INFO_FL_CTRL (1 << 1) |
Definition at line 1921 of file v4l2-ioctl.c.
#define INFO_FL_FUNC (1 << 3) |
Definition at line 1925 of file v4l2-ioctl.c.
#define INFO_FL_PRIO (1 << 0) |
Definition at line 1919 of file v4l2-ioctl.c.
#define INFO_FL_QUEUE (1 << 4) |
Definition at line 1927 of file v4l2-ioctl.c.
#define INFO_FL_STD (1 << 2) |
Definition at line 1923 of file v4l2-ioctl.c.
#define IOCTL_INFO_FNC | ( | _ioctl, | |
_func, | |||
_debug, | |||
_flags | |||
) |
Definition at line 1943 of file v4l2-ioctl.c.
#define IOCTL_INFO_STD | ( | _ioctl, | |
_vidioc, | |||
_debug, | |||
_flags | |||
) |
Definition at line 1934 of file v4l2-ioctl.c.
#define prt_names | ( | a, | |
arr | |||
) | (((unsigned)(a)) < ARRAY_SIZE(arr) ? arr[a] : "unknown") |
Definition at line 160 of file v4l2-ioctl.c.
#define V4L2_IOCTLS ARRAY_SIZE(v4l2_ioctls) |
Definition at line 2036 of file v4l2-ioctl.c.
EXPORT_SYMBOL | ( | v4l2_norm_to_name | ) |
EXPORT_SYMBOL | ( | v4l2_video_std_frame_period | ) |
EXPORT_SYMBOL | ( | v4l2_video_std_construct | ) |
EXPORT_SYMBOL | ( | v4l2_field_names | ) |
EXPORT_SYMBOL | ( | v4l2_type_names | ) |
EXPORT_SYMBOL | ( | v4l_printk_ioctl | ) |
EXPORT_SYMBOL | ( | video_usercopy | ) |
EXPORT_SYMBOL | ( | video_ioctl2 | ) |
|
read |
Definition at line 2045 of file v4l2-ioctl.c.
Definition at line 2038 of file v4l2-ioctl.c.
const char* v4l2_norm_to_name | ( | v4l2_std_id | id | ) |
Definition at line 79 of file v4l2-ioctl.c.
Definition at line 112 of file v4l2-ioctl.c.
void v4l2_video_std_frame_period | ( | int | id, |
struct v4l2_fract * | frameperiod | ||
) |
Definition at line 98 of file v4l2-ioctl.c.
Definition at line 2059 of file v4l2-ioctl.c.
Definition at line 2357 of file v4l2-ioctl.c.
Definition at line 2250 of file v4l2-ioctl.c.
Definition at line 126 of file v4l2-ioctl.c.
Definition at line 140 of file v4l2-ioctl.c.