FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP

Deinterlacer

Altera_Forum
Honored Contributor II
1,918 Views

Hi all, 

I want to write a deinterlancer in vhdl, where I can find some papers or opencore code? 

 

Thanks in advance 

Best regards 

 

Luca
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
833 Views

Try http://www.opencores.org I'm pretty sure they have a deinterlacer but the site is temporarily down.

0 Kudos
Altera_Forum
Honored Contributor II
833 Views

Thanks!! 

I will try when the site will be avalaible again.. 

 

Luca
0 Kudos
Altera_Forum
Honored Contributor II
833 Views

I don't believe there is an OpenCores deinterlacer. How fancy are you trying to make this deinterlacer? 

 

You might give Altera's VIP user guide a good read. They give fairly good detail of the algorithms they use. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
833 Views

Thanks for your reply.. 

I am going to write the deinterlacer because the Altera's deinterlacer IP doesn't work in my design! 

 

Luca
0 Kudos
Altera_Forum
Honored Contributor II
833 Views

So are you going to do motion adaption? May I ask why the Altera deinterlacer doesn't work in your design? 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
833 Views

For the moment I want to use "Bob with scanline interpolation", this method should work fine! 

I don't know why the Altera deinterlacer doesn't work; my FAE opened a service request to Altera Support but the problem still persists! 

I met a lot of problem with the VIP (for instance: http://www.alteraforum.com/forum/showthread.php?t=3787) so I decided to write the VIP by myself.
0 Kudos
Altera_Forum
Honored Contributor II
833 Views

Well I'm not sure what your video source is but one thing to know about the deinterlacer is that it does not accept deinterlaced video where the fields are not of equal size. So NTSC for example has more lines in field 1 than in field 2. The deinterlacer doesn't like that. The solution is to clip the input video before presenting it to the deinterlacer. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
833 Views

Hi, 

the video source is PAL 720x576 interlaced. 

As Jake said, unfortunately, in the opencores.org site there isn't a deinterlacer. 

I written a draft of the deinterlacer and now I am debugging the code.
0 Kudos
Reply