about memory copy using iMX53 IPU

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

about memory copy using iMX53 IPU

998 Views
kyuugosato
Contributor I

Hi everyone,

Please tell me about memory copy using iMX53 IPU. I copied data from Buffer1 to Buffer2 using CH 11 and CH 22 (Post processing). But, I would like to copy memory using PreProcessing VeiwFider. I also want to resize.

Is it possible to copy the buffer using PreProcessing ViewFinder? If possible, Can it be realized by using the CH12 and 21? I am experimenting with various settings, but I can not copy it. Please tell me what kind of register should be set.

By the way, when using CH11, CH22 (PostProcessing), I was setting the following registers.

IPU_IC_IDMAC_1
IPU_IC_IDMAC_2
IPU_IC_IDMAC_3
IPU_IC_PP_RSC
IPU_IC_CONF
IPU_IDMAC_CH_EN_1
IPU_CONF
IPU_INT_CTRL_1
IPU_CH_BUF0_RDY0

CPMEM

Regards,

kyuugo

Labels (1)
0 Kudos
Reply
3 Replies

737 Views
kyuugosato
Contributor I

I was able to solve this problem.
I was able to do it by adding the following settings.

 IC_CONF 0x40000100
 IPU_FS_PROC_FLOW1    0x80000000

The channels I used were CH12 and CH21(ViewFider).

thanks.

0 Kudos
Reply

737 Views
b36401
NXP Employee
NXP Employee

You can perform rotation, color conversion and resizing image using PreProcessing VeiwFider.
Please refer chapter 45 "Image Processing Unit" of i.MX53 Multimedia Applications Processor Reference Manual for the details.

Have a great day,
Victor

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

0 Kudos
Reply

737 Views
kyuugosato
Contributor I

Hi Victor.

Thank you for your reply.

>>Please refer chapter 45 "Image Processing Unit" of i.MX53 Multimedia

Yes, I confirmed the manual.

And I have successfully copied from Buffer 1 to Buffer 2 using CH 11 and CH 22(Post Processing).

>>You can perform rotation, color conversion and resizing image using
>> PreProcessing ViewFider.

How can I do it using CH12 and CH21 ?

I made the following settings to use ViewFinder.

---------------------------------------------------------------------
IPU_IC_IDMAC_1------Select CH12 (CB6) and CH21 (CB1)

IPU_IC_IDMAC_2------Set T2_FR_HEIGHT

IPU_IC_IDMAC_3------Set T2_FR_HEIGHT

IPU_IC_PRP_VF_RSC---Perform the same setting as when using CH 11 and CH 22

IPU_IC_CONF---------Set PRPVF_EN to enable

IPU_IDMAC_CH_EN_1---Set IDMAC_CH_EN_12 and IDMAC_CH_EN_21 to enable

IPU_CONF------------Set IC_EN to enable

IPU_INT_CTRL_1------Perform setting of CH12 and CH21

IPU_CH_BUF0_RDY0----Perform setting of CH12 and CH21
---------------------------------------------------------------------

But I can not make memory copies.

Please tell me which setting is different from when setting CH11 and CH22 (PostProcessing).

 

Regards,

kyuugo

0 Kudos
Reply