how many IPU tasks could I create by using mxc_ipu

cancel
Showing results for 
Search instead for 
Did you mean: 

how many IPU tasks could I create by using mxc_ipu

Jump to solution
839 Views
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

Labels (2)
Tags (1)
0 Kudos
1 Solution
496 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

3 Replies
497 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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!
-----------------------------------------------------------------------------------------------------------------------

496 Views
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 Kudos
496 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Azmat

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

Best regards
igor

0 Kudos