Tool/software: Linux
Hi,
We are trying to use USER pointer instead of mmap, but when we request for user pointer using VIDIOC_REQBUFS ioctl, it is returning error. How to enable this in v4l2 driver?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi,
We are trying to use USER pointer instead of mmap, but when we request for user pointer using VIDIOC_REQBUFS ioctl, it is returning error. How to enable this in v4l2 driver?
Is this using Processor SDK on AM57x GP/IDK EVM?? If yes, which version of Processor SDK are you using?? Are you trying to use VIP capture or VPE driver memory to memory operations? Both are V4l2 device. Please use below instruction to find which device you want to use. For example, using Processor SDK 4.1 on AM57x GP EVM, below v4l2 devices are listed.
# v4l2-ctl --list-devices
wbcap (platform:omapwb-cap):
/dev/video11
omapwb-m2m (platform:omapwb-m2m):
/dev/video10
vip (platform:vip):
/dev/video1
vpe (platform:vpe):
/dev/video0
If you want to configure vpe device, please follow the v4l2-m2m example here -
