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.

Dynamic text in OSD

Hi

I am looking at displaying dynamic text on the OSD. As of now, I am converting the text to bmp image, then converting it to rgb16 format using the bmptorgb16 convertor and then dumping it onto the framebuffer. Is there a better way of achieving the effect? The dvsdk decode demo has a dynamic OSD text display for system usage and file information. It is using functions like DrawText(), uiDrawText(). I couldn't find a tutorial for this though. How do I proceed ? Thanks

 

  • the demos use a simple widget library for text; this library is not as robust as some others you may find out there in the open source Linux community since it was ported primarily for use by our demos and hece you will not find much documentation on it; but the source code is included under

    dvsdk_2_00_00_22/dvsdk_demos_2_00_00_07/packages/ti/sdo/simplewidget   (assuming you are using our latest dvsdk)

    that said, the Linux graphics stack is quite flexible and offers a variety of choices; there are widget libraries that interact with x-windows system in Linux, there are some that interact directly with drivers, there are even destop-managers built on top of widgets that allow you to develop a common feel set of applications under a given enviroment.  Linux allows you the flexibility to program at the various lavel of this layered graphics architecture found under Linux.  Therefore, you may want to study the Linux graphics subsystem before settling on the solution that is right for you.