Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

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

Luca

8 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.