String processing display method based on Davinci platform

A Da Vinci platform and display method technology, applied in OSD text overlay display, string processing and display field based on Da Vinci platform, can solve the problems of waste of system resources, multi-system resources, unable to meet the dynamic requirements of OSD text information, etc. , to achieve the effect of saving memory space and system resources

Inactive Publication Date: 2015-05-20
GUANGDONG XUNTONG TECH
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method cannot meet the dynamic needs of OSD text information, and the displayed Chinese characters cannot be changed at any time according to actual needs.
Moreover, in this way, in order to display Chinese character font...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • String processing display method based on Davinci platform
  • String processing display method based on Davinci platform
  • String processing display method based on Davinci platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0059] refer to figure 1 , a display method for string processing based on the DaVinci platform, including:

[0060] S1. Obtain a Chinese-English mixed character string to be displayed;

[0061] S2. Find the internal code of the character string to be displayed and perform identification and judgment to obtain all English characters in the character string to be displayed, as follows:

[0062] Find each byte of the internal code of the string to be displayed and judge whether the byte is less than 0x80, if so, judge that the byte is an English character, otherwise, it is a Chinese character, and finally obtain all the English characters in the string to be displayed . Because English characters are represented by ASCII codes, and the encoding range of ASCII codes is 0~127, the first bit of each byte of the internal code of Chinese characters is 1, that is, the internal code of each byte of Chinese characters is greater than It is equal to 128. When a certain byte is retriev...

Embodiment 2

[0077] This embodiment is based on the front-end equipment of the video monitoring system. This front-end equipment is a kind of embedded processing platform-Da Vinci platform. The OSD scheme of this platform can only display standard ASCII codes and fix several Chinese characters. Under this premise, This embodiment proposes a method for processing and displaying character strings based on the Da Vinci platform that can display all Chinese and English characters. Refer to figure 1 , the specific steps are as follows:

[0078] Step 1. First, put the HZK16 font library into the processing platform during the embedded development process. The HZK16 font library is a 16×16 dot matrix font library that conforms to the GB2312 standard. The GB2312-80 of HZK16 supports 6763 Chinese characters and 682 symbols. Among them, there are 3755 first-level Chinese characters and 3008 second-level Chinese characters.

[0079] Step 2. Obtain the user-defined Chinese and English mixed string, t...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a string processing display method based on a Davinci platform. The string processing display method comprises the following steps of acquiring to-be-displayed Chinese-English bilingual character strings; searching internal machine codes of the to-be-displayed character strings, performing recognition and judgment and obtaining all English characters; converting ASCII (American Standard Code For Information Interchange) of the obtained English character of each byte into Chinese machine codes of two corresponding bytes in a preset Chinese character library and finally obtaining the Chinese machine codes of the to-be-displayed character strings; converting the Chinese machine codes of the to-be-displayed character strings into Hanzi section-position codes; searching in the preset Chinese character library and obtaining typehead data corresponding to each character; and expanding the typehead data till the font size set by a user, further judging each byte, filling 0-byte and 1-byte with different YUV (Luma and Charoma) data, then transmitting to an OSD (On Screen Display) buffer area and displaying. The method is capable of dynamically displaying the Chinese-English bilingual characters, realizing display of multiple font sizes and greatly saving system resources, and can be widely applied to the field of the OSD.

Description

technical field [0001] The invention relates to an OSD text overlay display technology in the field of video processing, in particular to a method for processing and displaying character strings based on a Da Vinci platform. Background technique [0002] In the field of video surveillance, OSD (On Screen Display) technology is often used to superimpose the time, location and other information of the video scene into the video image in the form of text. In the actual application process, the user may need to customize some text The information is superimposed on the surveillance video. The Da Vinci platform imported from abroad is a new platform for digital image, video, voice and audio signal processing. The Da Vinci platform basically does not support the processing of Chinese characters. Therefore, the OSD superimposed display of Chinese and English characters is based on the An important problem that the video surveillance system of Qi platform needs to solve. [0003] ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N5/445
Inventor 刘峰苏莎莎陈色桃江艳锋
Owner GUANGDONG XUNTONG TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products