

void OSDHZ_ Display
{
Uint8 *pFrame
Uint32 pitch
OSDUTIL_Point* loc
Uint32 CodeQ
OSDHZ?ont *font
Uint8 fgColor
Uint8 bgColor
}
Among them, Uint8 *pFrame is the Buffer buffer output by OSD; Uint32 pitch is the pixel value displayed in each line; OSDUTIL_Point *loc is the display position of the first character; Uint32 CodeQ is the location code of the Chinese character to be displayed; OSDHZ?ont * font is the font used to display Chinese characters; Uint8 fgColor displays the foreground color of Chinese characters; Uint8 bgColor displays the background color of Chinese characters.
Therefore, if you need to display Chinese characters, you only need to convert the Chinese characters to the necessary code system, and then output the converted area code to the OSD FPGA to give the displayed position. Of course, to display Chinese characters, a Chinese character library is essential.
author:
Li Hongshuai
design engineer
Beijing Hezhongda Electronic Technology Co., Ltd.
The Links: PK250HB160 CM50DU-24H