how many IPU tasks could I create by using mxc_ipu

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how many IPU tasks could I create by using mxc_ipu

跳至解决方案
1,924 次查看
azmatliu
Contributor III

my BSP version L_4.1.15_1.2.0_ga

my application is multiple channel video display and I'm confused about how to handle 4 capture task by only one mxc_ipu. Someone says that IPU can handle two task at a time.Can I just use "ioctl(fd_ipu, IPU_QUEUE_TASK, &task0/1/2/3)" to convert and resize four capture buffers ? Meanwhile,could please tell me how can I know the ipu task is done ? Because I need to memcpy the buffer to v4l2_output buffer

Best regards

Azmat

标签 (2)
标记 (1)
0 项奖励
回复
1 解答
1,581 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Azmat

could you clarify meaning "handle 4 capture task" question, in general i.MX6Q
IPU capture subsystem (CSI) is depicted on Figure 19-1. CSI2IPU gasket connectivity
i.MX6DQ Reference Manual. i.MX6DQ has two IPU modules, V4L2 linux driver
is described in Chapter 9 Video for Linux Two (V4L2) Driver attached Linux Manual.
As each IPU has one IC module (it performs resizing) , only two resizing processes
can be performed simultaneously.
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
May be useful presentation A Deep Dive into Image Processing for i.MX 6
Series Applications Processors
https://community.nxp.com/docs/DOC-100482

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

在原帖中查看解决方案

3 回复数
1,582 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Azmat

could you clarify meaning "handle 4 capture task" question, in general i.MX6Q
IPU capture subsystem (CSI) is depicted on Figure 19-1. CSI2IPU gasket connectivity
i.MX6DQ Reference Manual. i.MX6DQ has two IPU modules, V4L2 linux driver
is described in Chapter 9 Video for Linux Two (V4L2) Driver attached Linux Manual.
As each IPU has one IC module (it performs resizing) , only two resizing processes
can be performed simultaneously.
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
May be useful presentation A Deep Dive into Image Processing for i.MX 6
Series Applications Processors
https://community.nxp.com/docs/DOC-100482

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

1,581 次查看
azmatliu
Contributor III

Thank you igor. "handle 4 capture task" means that I want to capture four camera images, then resize and merge the images into framebuffer.I will try GPU then

0 项奖励
回复
1,581 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Azmat

for 4 cameras example one can look on
https://community.nxp.com/docs/DOC-328548 

Best regards
igor

0 项奖励
回复