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; struct kref ref; void (*release)(struct v4l2_device *v4l2_dev); }; [cpp]...
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...
Guys I'm adding v4l2 output device support for VLC/ffmpeg/libav (I'm using 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...
- return v4l2_m2m_querybuf(file, ctx->m2m_ctx, buf); -} - -static int vidioc_qbuf(struct file *file, void *priv, struct v4l2_buffer *buf) -{ - struct deinterlace_ctx *ctx = priv; - - return v4l2_m2m_qbuf(file, ctx->m2m_ctx, buf); -} - -static int vidioc_dqbuf(struct fil...
device结构体:设备驱动模型中的基础结构体之一 struct device { /*设备所依附的父设备 大多数情况下,这样的设备是某种总线或主控制器 如果该成员变量的值为NULL,表示当前设备是一个最顶端设备,通常这样的设备都不是你想得到的那个*/ struct device *parent; ...
(), try_decode_video_frame(), update_context_from_thread(), v4l2_configure_contexts(), v4l2_get_framesize_compressed(), vaapi_mpeg4_start_frame(), validate_thread_parameters(), vc1_decode_init(), vdpau_mpeg4_start_frame(), vp6_decode_init(), vp78_decode_init(), and wma_decode_...
gint NvDsSourceConfig::camera_v4l2_dev_node Definition at line 52 of file deepstream_sources.h. ◆ cuda_memory_type guint NvDsSourceConfig::cuda_memory_type Definition at line 71 of file deepstream_sources.h. ◆ dewarper_config NvDsDewarperConfig NvDsSourceConfig::dewarper_config Definit...
void* NvBufSurface::_reserved[STRUCTURE_PADDING] Definition at line476of filenvbufsurface.h. ◆batchSize uint32_t NvBufSurface::batchSize Holds the batch size. Definition at line464of filenvbufsurface.h. ◆gpuId Holds a GPU ID. Valid only for a multi-GPU system. ...
*/ 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 line "unsubscribe linux-media" in ...
- 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; ...