char name[V4L2_DEVICE_NAME_SIZE]; void (*notify)(struct v4l2_subdev *sd, unsigned int notification, void *arg); struct v4l2_ctrl_handler *ctrl_handler; struct v4l2_prio_state prio; struct mutex ioctl_lock; struc
struct v4l2_frmsizeenum 是Video4Linux2(V4L2)API 中的一个结构体,用于枚举视频设备支持的帧大小。V4L2 是 Linux 下的一个用于视频捕获和输出的框架,支持广泛的视频设备,包括网络摄像头、USB 摄像头、电视卡等。通过 struct v4l2_frmsizeenum,应用程序可以查询设备支持的不同帧尺寸。
+++ b/drivers/media/platform/s5p-jpeg/jpeg-core.h @@ -62,7 +62,7 @@ */ struct s5p_jpeg { struct mutex lock; - struct spinlock slock; + spinlock_t slock; struct v4l2_device v4l2_dev; struct video_device *vfd_encoder; -- 1.7.4.1 -- To unsubscribe from this list: send the ...
define V4L2_CAP_VBI_OUTPUT0x00000020 /* Is a raw VBI output device */ define V4L2_CAP_SLICED_VBI_CAPTURE0x00000040 /* Is a sliced VBI capture device */ define V4L2_CAP_SLICED_VBI_OUTPUT0x00000080 /* Is a sliced VBI output device */ define V4L2_CAP_RDS_CAPTURE0x00000...
- cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS; - return 0; } @@ -2699,6 +2696,7 @@ static int coda_register_device(struct coda_dev *dev, int i) vfd->lock = &dev->dev_mutex; vfd->v4l2_dev = &dev->v4l2_dev; ...
>>> v4l2loopback [1] driver for testing) but I have a problem which I can't >>> seem >>> to find a solution. >>> >>> VLC [2] uses VIDIOC_CROPCAP [3] to detect the pixelaspect ratio of the >>> input >>> it receives from v4l2 device. But I can't seem to find a way...