All of lore.kernel.org
 help / color / mirror / Atom feed
* v4l2_buffer with PBO mapped memory
@ 2014-04-02 15:10 Thomas Scheuermann
  2014-04-02 19:23 ` Laurent Pinchart
  0 siblings, 1 reply; 9+ messages in thread
From: Thomas Scheuermann @ 2014-04-02 15:10 UTC (permalink / raw)
  To: linux-media

Hello,

I've written a program which shows my webcam with the v4l2 interface.
In the v4l2_buffer I use the type V4L2_BUF_TYPE_VIDEO_CAPTURE and the
memory is V4L2_MEMORY_USERPTR.
Everything works if I use malloced memory for frame buffers.
Now I want to get the frames directly in OpenGL. I've mapped a pixel
buffer object with glMapBuffer and wanted to use this as a frame buffer.
But if I use this memory, the ioctl VIDIOC_QBUF fails with 'invalid
argument'.

What can I do to use the pixel buffer object together with the v4l2
interface?
I want to use as less copy steps as possible.

Regards,

Thomas
This message is subject to the following terms and conditions: MAIL DISCLAIMER<http://www.barco.com/en/maildisclaimer>

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

end of thread, other threads:[~2014-04-15 15:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-02 15:10 v4l2_buffer with PBO mapped memory Thomas Scheuermann
2014-04-02 19:23 ` Laurent Pinchart
2014-04-03 16:52   ` AW: " Scheuermann, Mail
2014-04-03 23:16     ` Laurent Pinchart
2014-04-04 20:01       ` AW: " Scheuermann, Mail
2014-04-06 23:37         ` Laurent Pinchart
2014-04-11  5:56           ` Thomas Scheuermann
2014-04-15  6:04             ` Thomas Scheuermann
2014-04-15 15:02               ` 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.