Forum Discussion
Deinterlacer
Hi all,
I want to write a deinterlancer in vhdl, where I can find some papers or opencore code? Thanks in advance Best regards Luca8 Replies
- Altera_Forum
Honored Contributor
Try http://www.opencores.org I'm pretty sure they have a deinterlacer but the site is temporarily down.
- Altera_Forum
Honored Contributor
Thanks!!
I will try when the site will be avalaible again.. Luca - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
Thanks for your reply..
I am going to write the deinterlacer because the Altera's deinterlacer IP doesn't work in my design! Luca - Altera_Forum
Honored Contributor
So are you going to do motion adaption? May I ask why the Altera deinterlacer doesn't work in your design?
Jake - Altera_Forum
Honored Contributor
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. - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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.