Can I use buffer allocated by g2d_alloc() in V4L2 capture?

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

Can I use buffer allocated by g2d_alloc() in V4L2 capture?

933 Views
dustinzhu
Contributor II

In order to save copy time between capture buffer and fb device buffer, we try to use g2d_alloc() to get buffer which transfers into V4L2 driver with V4L2_MEMORY_USERPTR.

I wanna know whether it is right in the process.

Labels (3)
0 Kudos
Reply
1 Reply

801 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dustin

seems it is not good approach as graphics are handled by gpu drivers

described in sect.5.1 Graphics Processing Unit (GPU) and they are different

from V4L2 drivers, described in sect.6.1.2.1.2.1 Video for Linux 2 (V4L2) APIs

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

0 Kudos
Reply