Unlock instant, AI-driven research and patent intelligence for your innovation.

Text rendering method and text rendering device

A text and rendering tree technology, applied in the field of image processing, can solve the problem of consumption and waste of embedded system video memory, and achieve the effect of reducing the occupancy.

Active Publication Date: 2019-05-24
TCL CORPORATION
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This solution will greatly waste the video memory of the embedded system, especially in the case where the embedded platform memory and video memory are shared, the bottleneck is particularly prominent, for example, following the rule of the Nth power of the embedded texture 2, a 512* 512 textures need to occupy 512*512*4 / 1024=1 megabyte (ie 1M) memory in the video memory. If there are 20 places to display text on the user interface (UI, User Interface), the picture resolution is 512*512 In this case, only the text texture needs to consume 20M memory

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
  • Text rendering method and text rendering device
  • Text rendering method and text rendering device
  • Text rendering method and text rendering device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the description is The embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0025] The following uses an embodiment to describe a text rendering method in the present invention, please refer to Figure 1-a , The text rendering method in the embodiment of the present invention includes:

[0026] 101. Create a texture with only alpha channel;

[0027] In the embodiment of the present invention, the alpha ch...

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 text rendering method and a text rendering device. The text rendering method comprises the following steps: creating textures with only alpha channels; sequentially acquiring font images to be rendered for preprocessing till the preprocessed font images only contain data in alpha channels; updating the preprocessed font images into the textures, and recording texture coordinates of all the font images in the textures; traversing a rendering tree, and converting coordinates of text rendering nodes in the rendering tree into coordinates thereof in the world coordinate system; according to the texture coordinates of all the font images in the textures and the coordinates of the text rendering nodes in the world coordinate system, rendering each preprocessed text image into the corresponding text rendering node. After adoption of the technical scheme provided by the invention, the occupancy of a text memory can be effectively reduced.

Description

Technical field [0001] The invention relates to the field of image processing, in particular to a text rendering method and a text rendering device. Background technique [0002] With the popularity and popularity of mobile development platforms (such as Iphone and Android development platforms), more and more people enjoy the visual experience brought by mobile platforms. OpenGL ES is a subset of OpenGL three-dimensional graphics application programming interface (API, Application Programming Interface), designed for embedded devices such as mobile phones, PDAs (Personal Digital Assistant) and game consoles. With the application of OpenGL ES on smart TVs and smart phones and other smart terminals, 3D-based visual experience effects are becoming more and more popular. With the development, more three-dimensional (ie 3D) applications appear in people’s lives . Compared with two-dimensional (ie 2D), 3D graphics has an incomparable user experience, but the embedded platform resour...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06T15/00G06T15/04
Inventor 赵智宝卢伟超
Owner TCL CORPORATION