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