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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

2,427件の閲覧回数
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.

ラベル(3)
0 件の賞賛
返信
1 返信

2,294件の閲覧回数
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 件の賞賛
返信