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.

Problem in image display with Framebuffer(RGB16) in OMAP3530

Other Parts Discussed in Thread: OMAP3530

Hi,

We use the source code given in http://www-s.ti.com/sc/psheets/spraad7/spraad7.zip to convert a .r24 (RGB888)file to .r16(RGB565) format to display it using Framebuffer (RGB16) in OMAP3530.

But after conversion it looses some color information. If I convert the same file using Gimp, it works.

 1) Please send the link of working code/algorithm.

 2) Please share if you have YUV422 to RGB565 convertor.

 3) Let me know if there is an option to display YUV422 using Framebuffer driver.

Thanks & Regards,

Manoj

  • As per my understanding Framebuffer support RGB format and Video driver supports YUV format.

    Please correct me if am wromg.

    Thanks,

    Manoj

  • Manoj R said:
    1) Please send the link of working code/algorithm.

    This was built for the DM6446 originally, I suspect the color format that the display driver of the OMAP3 is expecting may be slightly different, chances are you could modify that existing algorithm to work with OMAP3, though I have not seen it done yet. You may also be able to simply change the OMAP3 display driver format for the OSD for the existing utility to work, but again I have not tried using this utility with OMAP3.

    Manoj R said:
    2) Please share if you have YUV422 to RGB565 convertor.

    There are algorithms out there, however I have not seen any ported to the OMAP3 specifically.

    Manoj R said:
    3) Let me know if there is an option to display YUV422 using Framebuffer driver

    In general you would display a YUV422 image directly in the video window on the OMAP3, in this case it would be through the V4L2 display driver as opposed to the FBDev driver though. You may want to take a look at chapter 6 of the PSP User's Guide in OMAP35x_SDK_1.0.2\docs\OMAP35x\UserGuide_1_0_2.pdf for details on how the display driver can be used.

  • Yes the graphics pipeline with framebuffer driver supports RGB formats only. The video pipeline with V4L2 driver supports YUV format.

    Please take a look at the section 6.2.1 of the user guide which mentions this point clearly.

    Thanks,

    Prathap.

  • Hey Manoj,

    Hey Learnom,

    I wish to display a pic on a monitor using HDMI connection.

    1. Can u tell me exactly how did you convert the image in 24 bit RGB and how are u sending it to the framebuffer?

    I am copying my image directly to framebuffer however i am getting a distorted image. i have tried converting the image into RGB888 or RGB565 but in vain.

    Thank you in advance