This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

De-interlacing using Bob's Algorithm

Hello,

The Scalar Unit [part of the OMAP4 DSS] supports De-interlacing.

The DS talks about Bob's Algorithm for de-interlacing. Please let us know if this is supported in the ICS Releases and if there are any reference code/test app to verify its working.

Thanks,

Ravi

  • Hi Ravi,

    De-interlacing is not supported on the DSS drivers. So you will not find support for this in ICS releases.You will be able to play interlaced streams, in which case only one of the fields buffers (even or odd) will be scaled and displayed on the screen.

    Regards, Satheesh

  • Dear Satheesh,

    Thanks for the update. We right now have a custom board designed based on OMAP4 and are able to play interlaced streams. We wanted to know how to convert/perform de-interlacing.

    The Section 10.2.4.10.4 Scaler Unit of the OMAP4430 TRM talks about Bob's algorithm. You have already indicated that this is not present. So is this a missing feature from the Standard release or a typo with the Datasheet/TRM.

    If this feature is missing from the standard release, can you please point us to the relevant configuration information so that we can add the same if feasible.

     

    Thanks,
    Ravindra

  • Hi Ravindra,

    Bob's algorithm for de-interlacing is done by line doubling, it takes the lines of each interlaced field and doubles them, filling the entire frame. So this will essentially result in double the frame rate, one frame for each field. In the current software only one such frame given to the display, due to display frame rate limitation.

    If you want to display the both the frame at double the framerate, then you would require a display capable for running at 60fps and also you will need to adjust the display settings to adjust for the 1 line spatial drift between odd and even frame. We currently do not have any implementation for this internally but my guess is that it would be relatively easy to do at your end as well. You need not configure any extra registers to enable bob's algorithm as this is a part of the scalar unit. Please refer this patch for details:

    http://git.omapzoom.org/?p=kernel/omap.git;a=commit;h=b2503c7791682300871c62f5c81defdfdd46f1af

    Let me know if this answers your question.

    Regards, Satheesh

  • Dear Satheesh,

    Thanks a lot for the detailed answer. I will look into the patches and get back to you later.

    Thanks once again,

    Ravindra

  • Hello Satheesh,

    Thanks for the helpful information..!!

    Can you please suggest similar patch for Linux-3.0.8 kernel .Few files like arch/arm/plat-omap/include/plat/display.h seems to be changed/missing in 3.0.8 kernel version.

    Regards,

    Sanil Pillai.