V4L2 application on i.MX8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

V4L2 application on i.MX8

995 Views
xu_ji1
Contributor V

Hello,

How to used memtype that V4L2_MEMORY_USERPTR on i.MX8QM platform for application?

And when use V4L2_MEMORY_MMAP memcpy dqbuf to user space buffer will cost 25ms,

if use V4L2_MEMORY_USERPTR,does the memcpy cost time reduce or not?

0 Kudos
2 Replies

842 Views
igorpadykov
NXP Employee
NXP Employee

Hi Xu

may be useful to look at sect.6.5.1.1 i.MX 8 DPU V4L2 attached Linux

Manual and unit tests

mx8_v4l2_cap_drm.c\mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

842 Views
xu_ji1
Contributor V

hi,

there is no answer about my question,and how about modprobe mxc_v4l2_capture must be run before using V4L2 camera functions?

the module mxc_v4l2_capture can not found on my i.MX8 board

0 Kudos