videobuf2: V4L2_BUF_TYPE_VIDEO_CAPTURE and V4L2_BUF_TYPE_VIDEO_OUTPUT at the same time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

I am writing the driver for a device that can work as an input and as
output at the same time. It is used for debugging of the video
pipeline.

Is it possible to have a vb2 queue that supports capture and out at
the same time?

After a fast look on the code it seems that the code flow is different
depending of the type. if (V4L2_TYPE_IS_OUTPUT()....)  :(

Also it seems that struct video device has only space for one
vb2_queue, so I cant create a video device with two vbuf2 queues.

So is there any way to have a video device with videobuf2 that
supports caputer and output?

Thanks!

-- 
Ricardo Ribalda
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux