AnsweredAssumed Answered

i.MX6 L3.0.35_4.1.0 IPU VDIC deinterlacing

Question asked by Zongbiao Liao on Jan 21, 2015
Latest reply on Jan 22, 2015 by Qiang Li - Mpu Se

Hello Qiang Li

 

I am now using the mxc_v4l2_tvin.out to test video in on i.MX6QSabreauto with L3.0.35_4.1.0,

I have some question about it, could you help me?

 

My questions are below.

Q1:

when run the mxc_v4l2_tvin.out with -m parameter, I think the data flow in IPU is

MEM -> VDIC -> IC -> MEM, and when without -m parameter, I think the data flow is

MEM -> IC -> MEM.Could tell me is it right or not?

Q2:

when I run mxc_v4l2_tvin.out -ow 1024 -oh 768 -m <x> &(x is 0 or 1 or 2), and then rum memtool - 32  0x02668004 4

and memtool - 32  0x02a68004 4, I always got value 00000000 for both addr 0x02668004 and 0x02a68004.

but according to the IMX6DQRM page 2939 and page 2958,  0x02668004 and 0x02a68004 are address

for VDI Control Register(IPU1 and IPU2).I donnot understand why I always got 0, could you help me.

Q3:

I think the De-Interlacing algorithm for IPU VDIC is not contained in the BSP code(Because I have not found it),

So could you tell me the processing flow for -m 0, -m 1 and -m 2.What are the differences among them.

Q4:

the app mxc_v4l2_tvin.out has an optional -tb,after tracing the BSP code,I found if using -tb,the bit30 for

VDI Control Register (IPUx_VDI_C)(IMX6DQRM page 3530) will be set to 0,or it will be set to 1.And according

to the RM, 0 for bit30 represents to top field is field 0 and  1 for bit30 represents to top field is field 1,So could you

tell me what do the field0 and field1 here mean.

 

I am so sorry to trouble you with so many questions.

 

Best Regards,

ZongbiaoLiao

Outcomes