Allocating video buffers from user space

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


Hello,
I am a new member in this forum. I am currently trying to write a V4L2
driver for a camera which outputs very high resolution images. The problem
is if I call S_FMT with the correct width&height, the subsequent call to
VIDIOC_REQBUFS fails saying "Cannot allocate memory". I have tried to user
buffer memory type as V4L2_MEMORY_USERPTR, but video_reqbufs still tries to
allocate memory in kernel space (which I think is a bug).

Is there any way to allocate buffers in user space and Queue/Dequeue these
buffers to V4L2 driver?

Regards,
Mayank
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

[Linux Media]     [Older V4L]     [Linux DVB]     [Video Disk Recorder]     [Linux Kernel]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [SSH]     [DVB Maintainers]     [Linux USB]     [Yosemite Information]

Add to Google Powered by Linux