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.

sod display problem

I'm learning dvrrdk3.0 on DM8168 board, osd display problems are as follows:
1. In Demo_osd. c file, what is the AlgLink_OsdChBlindWinParams structure used to do? What is the difference between it and AlgLink_OsdChWinParams structure ?

2. Osd display date and time, but there are a black background, how to remove the black background ? only show the time and date font?

3. Demo_text_draw () function writes the osd data to buffer, and then how is buffer data and video data combined? which is file or function handle it?

  • 1. AlgLink_OsdChBlindWinParams is used while using API to draw solid window of a specified color.

    2. colorkey parameter along with AlgLink_OsdWindowPrm.transperencyEnable should be used. Enabling colorkey disables OSD pixels wherever pixel value equals colorkey. Only video is shown in those pixel areas thus removing the bitmap background.

    3. Demo_text_draw () works on osd buffer which is blended with video by the SW OSD algorithm. Refer osdLink_alg.c, demo_osd.c, demo / use case files to understand the usage.