About Preview from V4L2 MIPI-CSI2 camera in i.MX6DQ.

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

About Preview from V4L2 MIPI-CSI2 camera in i.MX6DQ.

Jump to solution
881 Views
keitanagashima
Senior Contributor I

Dear All,

Hello.

[Problem]

In V4L2_BUF_TYPE_VIDEO_CAPTURE, it works fine at V4L2_MEMORY_MMAP, but, it didn't work at the V4L2_MEMORY_USERPTR.

[Phenomenon]

Data isn't written in the acquired buffer by "ioctl(fd, VIDIOC_DQBUF, &buf)".

[Question]

My customer want to use the V4L2_MEMORY_USERPTR.

Is it supporting V4L2_MEMORY_USERPTR in i.MX6DQ with L3.14.28?

[Other]

The function looks no support from below link.

V4L2_MEMORY_USERPTR example for iMX6

Best Regards

Keita

Labels (5)
0 Kudos
1 Solution
537 Views
Yuri
NXP Employee
NXP Employee

Keita, hello !

You are right :

"The current driver used  is coherent mapping .

For customer's use case which need  buffer cache-able for
cpu process  the captured data buffer , they need  implement
this new feature by their own."

  You may try approach, guessed by


Have a great day,
Yuri

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

View solution in original post

0 Kudos
1 Reply
538 Views
Yuri
NXP Employee
NXP Employee

Keita, hello !

You are right :

"The current driver used  is coherent mapping .

For customer's use case which need  buffer cache-able for
cpu process  the captured data buffer , they need  implement
this new feature by their own."

  You may try approach, guessed by


Have a great day,
Yuri

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

0 Kudos