How to copy memory using VDI without using IC

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

How to copy memory using VDI without using IC

684 次查看
kyuugosato
Contributor I

Hi everyone,

Please tell me about memory copy using iMX53 IPU.

I was able to copy data from BUF 1 to BUF 2 in a way to use the IC.
I would like to copy data from BUF 1 to BUF 2 without using IC.

I found the following functions in the reference manual.

  MEM -> VDIC --> MEM
    input:   IDMAC_CH_25, IDMAC_CH_26
    output: IDMAC_CH_5

I made the following settings to use VDI.

 IPU_CONF                            0x00001761
 IC_CONF                              0x40000000
 IC_IDMAC_1                         0x00000080
 IC_IDMAC_2                         0x00000000
 IC_IDMAC_3                         0x00000000
 IPU_FS_PROC_FLOW1     0x80000000
 IPU_FS_PROC_FLOW2     0x00000000
 IPU_VDI_FSIZE                    0x01DF027F
 IPU_VDI_C                           0x00000000
 IPU_VDI_C2                         0x00000009
 IPU_VDI_PS_1                     0x01DF027F
 IPU_VDI_PS_3                     0x01DF027F

 CPMEM

The thing that I want to do is a copy from BUF 1 to BUF 2, but the second input is necessary, so the same data is set in CH 25 and CH 26.

Results I tried
Interrupts of CH25 and CH26 are generated when one of the following bits is set.

  IPU_CONF.bit30(RWS_EN)
  IPU_VDI_C2.bit3(VDI_PLANE_1_EN)
  IPU_VDI_C2.bit0(VDI_CMB_EN)

But CH5 interrupt does not occur.

Please tell me how to copy memory using VDI without using IC.

Regards,

kyuugo

标签 (1)
0 项奖励
2 回复数

503 次查看
joanxie
NXP TechSupport
NXP TechSupport

refer to the Reference Manual of mx53,

• Input for combining: two progressive video/graphics planes
• Source: system memory
• Plane size: up to 1920x1200 pixels.
• Pixel format: RGB/YUV 4:2:2, 8 bits/value

but I found that you set it to 4:2:0, pls try to use yuv 4:2:2.

0 项奖励

503 次查看
kyuugosato
Contributor I

Dear Joan.

Thank you for your reply.

Please teach me.
Which setting should I change?

CPMEM?

If it is CPMEM, I tried changing CPMEM's W1 [88: 85] (Pixel Format Select) non-interleaved 4:2:2
 or partial interleaved 4:2:2, but no interrupt occurred.

Best regards

kyuugo

0 项奖励