All of lore.kernel.org
 help / color / mirror / Atom feed
* videobuf2: V4L2_BUF_TYPE_VIDEO_CAPTURE and V4L2_BUF_TYPE_VIDEO_OUTPUT at the same time?
@ 2013-09-10 14:10 Ricardo Ribalda Delgado
  2013-09-10 21:46 ` Sakari Ailus
  2013-09-11  8:28 ` Hans Verkuil
  0 siblings, 2 replies; 3+ messages in thread
From: Ricardo Ribalda Delgado @ 2013-09-10 14:10 UTC (permalink / raw)
  To: linux-media, Marek Szyprowski

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-11  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10 14:10 videobuf2: V4L2_BUF_TYPE_VIDEO_CAPTURE and V4L2_BUF_TYPE_VIDEO_OUTPUT at the same time? Ricardo Ribalda Delgado
2013-09-10 21:46 ` Sakari Ailus
2013-09-11  8:28 ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.