四 GM813X OSD叠加原理(智源GM813X多国语言OSD开发)

本文详细介绍了GM813X OSD字体的相关特性,包括可编程字体数量、字体大小、颜色、窗口数量、方向限制、缩放功能、透明度、背景颜色、边框功能、标志模式和最大字体数量等。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

GM813X osd叠加原理,通过font组合,排版,贴入。

根据GM813x文档说明:

OSD contains the following features:
  Supports 455 user-programmable fonts
  Supports font size of 12x18
  Supports 16 programmable palette colors
  Supports eight OSD windows in a frame for each channel
  Maximum 64 fonts in horizontal or vertical direction, and maximum 256 fonts in a font window
  Supports zoom-in with locked aspect ratio: x2, x3, and x4
  Supports zoom-in without locked aspect ratio (Horizontal/Vertical):
x2/x1, x4/x1, x4/x2, x1/x2, x1/x4, and x2/x4
  Supports eight font/background transparencies:
0%, 25%, 37.5%, 50%, 62.5%, 75%, 87.5%, and 100%
  Supports programmable 16-type background color
  Supports border function with 16-type border color
  Supports three marquee modes:
  One horizontal-line marquee effect
  One vertical-line marquee effect
  One horizontal-line flip effect
  Supports programmable border size (Maximum of 32 pixels)

 

OSD Font
The unit of fonts stored in the OSD Font RAM is 12x18. The OSD window adjusts the row and column
spaces to control the space between fonts. Figure 5-1 shows an example of the font bitmap for the
character of “A”. Users can customize the font bitmap and add/replace the new font bitmap to capture the
internal OSD Font RAM through the middleware API. Figure 5-2 shows an example of font and window
color relationship.

 

 字库提取源码demo,以及转码demo:http://download.youkuaiyun.com/detail/duola_rain/8067977

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值