[go: up one dir, main page]

CN101419781B - Graphics display method and device for video control system on embedded terminal - Google Patents

Graphics display method and device for video control system on embedded terminal Download PDF

Info

Publication number
CN101419781B
CN101419781B CN2007101654116A CN200710165411A CN101419781B CN 101419781 B CN101419781 B CN 101419781B CN 2007101654116 A CN2007101654116 A CN 2007101654116A CN 200710165411 A CN200710165411 A CN 200710165411A CN 101419781 B CN101419781 B CN 101419781B
Authority
CN
China
Prior art keywords
lcd
multimedia chip
graph data
human
buffer zone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2007101654116A
Other languages
Chinese (zh)
Other versions
CN101419781A (en
Inventor
殷飞
童晓演
惠毅
易云山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2007101654116A priority Critical patent/CN101419781B/en
Publication of CN101419781A publication Critical patent/CN101419781A/en
Application granted granted Critical
Publication of CN101419781B publication Critical patent/CN101419781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

The invention discloses a method for displaying the graph of an on-screen display on an embedded terminal, and the embedded terminal comprises a multimedia chip, a liquid crystal display (LCD) and a human-computer interface system; the method comprises: after the control power of the LCD is converted to the multimedia chip from the human-computer interface system, the multimedia chip reads the graphic data in a buffer area of the LCD, and outputs the graphic data read from the buffer area of the LCD to the LCD. The invention also discloses a device for displaying the graph of the on-screen display on the embedded terminal, which comprises the human-computer interface system, the multimedia chip and the LCD. By adopting invention, the developer can complete the display of OSD graph only by using a GDI interface, so as to completely shield a display mechanism of OSD and lower the development difficulty. Therefore, the development approach of interfaces relating to the OSD is unified with that of interfaces of other application program, thus simplifying the program flow and reducing the workload.

Description

The graphic display method and the device that are used for screen video control on the built-in terminal
Technical field
The present invention relates to computing machine and show the field, relate to the display packing of OSD figure on the built-in terminal display system of being with multimedia chip and the built-in terminal particularly.
Background technology
Man-machine interface (the Man-Machine Interface of common built-in terminal, hereinafter to be referred as MMI) system provides graphics device interface (Graphics Device Interface, hereinafter to be referred as GDI) interface, these interfaces are responsible for the output of figure, graph data can at first output in the blocks of data buffer zone (LCD buffer), in due course, human-computer interface system can flush to this blocks of data buffer zone on the screen.Can develop the built-in application program interface more easily by these GDI interfaces.
In built-in terminal, have video playback, multimedia functions such as taking pictures/make a video recording is very common, and this class multimedia function generally can be provided by a multimedia chip at present, multimedia chip utilizes its powerful processing power to finish the encoding and decoding of video, work such as graphics process.With the displaying video is example, when work multimedia chip can control whole lcd screen, at this moment LCD goes up content displayed is provided by multimedia chip fully, multimedia chip directly outputs to screen after with video data decoding.Usually in this class application program except the needs display video, outside the image of taking pictures/making a video recording, want other interface elements such as explicit user menu toward contact, so that give user prompt information and operation guide.But after the control of LCD had been given multimedia chip, the figure among the LCD buffer just can't flush on the screen, and the GDI interface of human-computer interface system also just can't be born the function of graphic plotting to the screen.Therefore multimedia chip provides the interface that OSD (On Screen Display) figure is set to satisfy this functional requirement, the display mechanism of OSD as shown in Figure 1, the output of video directly outputs to LCD by multimedia chip on the one hand, other graphic element on the screen outputs to LCD by OSD buffer is set on the other hand, be superimposed upon on the video image then and show the user interface that formation needs.This mechanism makes video playback in embedded system, the exploitation of the exploitation of this class multimedia application and other Application Program Interfaces of taking pictures/make a video recording is different, for display graphics, the developer must generate graph data, displays it by the mode that OSD is set then.Mainly contain following shortcoming like this.
The developer need clearly understand the OSD display mechanism, has increased developer's burden.
Program must be with generating the OSD graph data someway voluntarily, if the OSD figure be a small icon so the workload of classic method still be receptible, if OSD graphic element more complicated and frequent variation, at one text is arranged such as considering, play one section video in the page of picture, and text may constantly change, and developer's workload is huge so.
Different with other Application Program Interfaces on the program circuit have singularity, and OSD are set, and the operation of switching controls power and so on is hardware-related, is not easy to the maintenance and the transplanting of code.
Summary of the invention
Consider the problems referred to above and make the present invention that for this reason, fundamental purpose of the present invention is, a kind of graphic display method and device that is used for screen video control on the built-in terminal is provided.
According to the graphic display method that is used for screen video control on the built-in terminal of the present invention, built-in terminal comprises multimedia chip, LCD and human-computer interface system, this method comprises: after human-computer interface system was transformed into multimedia chip, multimedia chip read the graph data in the buffer zone of LCD in the control of LCD; And the graph data that multimedia chip will read from the buffer zone of LCD outputs to LCD.
In addition, in the method, read the graph data in the buffer zone of LCD by the screen video control system in the multimedia chip, and graph data is outputed to LCD.
In addition, in the method, multimedia chip is simultaneously displayed on video information and the graph data that reads on the LCD from the buffer zone of LCD.
In addition, in the method, graph data is write the buffer zone of LCD by the GDI interface of human-computer interface system.Wherein, multimedia chip has the zone bit of the control that is used to represent LCD.
According to the graphics device that is used for screen video control on the built-in terminal of the present invention, comprise human-computer interface system, be used for graph data is stored into the buffer zone of LCD, and the graph data in the buffer zone is offered LCD; Multimedia chip is used for video information is offered LCD, and in the control of LCD after human-computer interface system is transformed into multimedia chip, from the buffer zone of LCD, read graph data; And LCD, be used to show from the graph data of human-computer interface system or from the video information of multimedia chip.
In addition, in this device, read the graph data in the buffer zone of LCD by the screen video control in the multimedia chip, and graph data is outputed to LCD.
In addition, in this device, multimedia chip is simultaneously displayed on video information and the graph data that reads on the LCD from the buffer zone of LCD.
In addition, in this device, graph data is write the buffer zone of LCD by the GDI interface of human-computer interface system.Wherein, multimedia chip has the zone bit of the control that is used to represent LCD.
By above-mentioned aspect of the present invention, the developer only need just can finish the demonstration of OSD figure with the GDI interface, has shielded the display mechanism of OSD fully, reduces development difficulty.Allow the relevant interface development method of OSD unify with the development approach of other Application Program Interface, the flow process of simplifying procedures has reduced workload.The interface development of this type of application program will not relate to OSD and be provided with, and the associative operation of switching controls power has broken away from the correlativity with hardware platform, is convenient to transplant.
Other features and advantages of the present invention will be set forth in the following description, and, partly from instructions, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the instructions of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing is used to provide further understanding of the present invention, and constitutes the part of instructions, is used from explanation the present invention with embodiments of the invention one, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 shows the structural representation of the built-in terminal OSD figure tradition display packing of prior art;
Fig. 2 shows the process flow diagram that is used for the graphic display method of screen video control on the built-in terminal according to the embodiment of the invention;
Fig. 3 shows the structural representation that is used for the graphics device of screen video control on the built-in terminal according to the embodiment of the invention; And
Fig. 4 shows the structural representation that is used for built-in terminal OSD graphic display method according to another embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein only is used for description and interpretation the present invention, and be not used in qualification the present invention.
Fig. 2 shows the process flow diagram that is used for the graphic display method of screen video control on the built-in terminal according to the embodiment of the invention.
As shown in Figure 2, built-in terminal comprises multimedia chip, LCD and human-computer interface system, this method comprises: step S202, after human-computer interface system was transformed into multimedia chip, multimedia chip read the graph data in the buffer zone of LCD in the control of LCD; And step S204, the graph data that multimedia chip will read from the buffer zone of LCD outputs to LCD.
In addition, in the method, read the graph data in the buffer zone of LCD by the screen video control system in the multimedia chip, and graph data is outputed to LCD.
In addition, in the method, multimedia chip is simultaneously displayed on video information and the graph data that reads on the LCD from the buffer zone of LCD.
In addition, in the method, graph data is write the buffer zone of LCD by the GDI interface of human-computer interface system.Wherein, multimedia chip has the zone bit of the control that is used to represent LCD.
Fig. 3 shows the structural representation that is used for the graphics device of screen video control on the built-in terminal according to the embodiment of the invention.
As shown in Figure 3, comprise human-computer interface system 302, be used for graph data is stored into the buffer zone of LCD, and the graph data in the buffer zone is offered LCD; Multimedia chip 304 is used for video information is offered LCD, and in the control of LCD after human-computer interface system is transformed into multimedia chip, from the buffer zone of LCD, read graph data; And LCD 306, be used to show from the graph data of human-computer interface system or from the video information of multimedia chip.
In addition, in this device, read the graph data in the buffer zone of LCD by the screen video control system in the multimedia chip, and graph data is outputed to LCD.
In addition, in this device, multimedia chip is simultaneously displayed on video information and the graph data that reads on the LCD from the buffer zone of LCD.
In addition, in this device, graph data is write the buffer zone of LCD by the GDI interface of human-computer interface system.Wherein, multimedia chip has the zone bit of the control that is used to represent LCD.
Fig. 4 shows the structural representation for built-in terminal OSD figure tradition display packing according to the embodiment of the invention.
As shown in Figure 4, the graph data that the GDI interface of human-computer interface system generates outputs among the LCD buffer, even after the LCD control switches to multimedia chip, this blocks of data buffer zone remains and exists effectively, call the GDI interface and still graph data can be write among this piece buffer, only the content in this blocks of data buffer zone can not flush on the lcd screen again.Therefore can directly utilize the data among the LCD buffer it to be outputed on the LCD as OSD graph data source, just after the control of LCD is switched to multimedia chip, normal output except images such as videos, LCD buffer is read among the OSD buffer, and multimedia chip outputs to it on screen then.
With the displaying video is example, and multimedia chip generally can provide broadcast, stops, and Play Control interfaces such as time-out have the interface that switches the LCD control in addition, and the interface of OSD graph data is set.The realization of this method has following process:
1. encapsulate the interface that multimedia chip directly provides
For being shielded, the user switches the LCD control, processes such as OSD are set, offering the developer after need encapsulating the interface that multimedia chip provides uses, on the interface basis that multimedia chip provides, enumerated the interface flow process after two encapsulation below, a zone bit is wherein arranged, and this zone bit represents whether the control of LCD has switched to multimedia chip.
Playback interface PLAY after the encapsulation
{
Switch the LCD control and give multimedia chip;
With LCD control mark position 1;
The beginning displaying video;
}
Stop interface STOP after the encapsulation
{
Stop displaying video;
Switch the LCD control and give human-computer interface system;
With LCD control mark position 0;
}
2. revise the clear screen process of human-computer interface system
When the bottom layer treatment of human-computer interface system, there is the process of a clear screen usually, this process is responsible for that the graph data among the LCD buffer is flushed to screen and is got on, and the code snippet of this process is as follows
{
Obtain LCD buffer;
LCD buffer is flushed on the screen;
}
For the robotization that realizes the OSD figure shows, need to revise this process, amended code snippet is as follows
{
Obtain the zone bit of LCD control
If control has switched to multimedia chip
Obtain LCD buffer
LCD buffer is set among the OSD
Otherwise
Obtain LCD buffer
LCD buffer is flushed on the screen
}
In the above-mentioned screen-refresh process, behind application call PLAY interface displaying video, because the zone bit of LCD control is changed to 1, LCD buffer will be set to OSD buffer and flushes to screen and get on so, if in case there is the GDI interface to be called, human-computer interface system can guarantee that this refresh process is performed once, can guarantee that therefore the graph data of realizing with the GDI interface can be by suitable being updated on the screen.After calling the STOP interface and stopping displaying video, the LCD control is given human-computer interface system, and the zone bit of LCD control is changed to 0, and the screen-refresh flow process can return to common refresh process again.By said method, multimedia application uses the GDI interface just can finish the demonstration of OSD figure, uses the interface after encapsulating to carry out Play Control, has realized the exploitation of Multimedia Program in the built-in terminal easily.
In sum, by the present invention, the developer only need just can finish the demonstration of OSD figure with the GDI interface, has shielded the display mechanism of OSD fully, reduces development difficulty.Allow the relevant interface development method of OSD unify with the development approach of other Application Program Interface, the flow process of simplifying procedures has reduced workload.The interface development of this type of application program will not relate to OSD and be provided with, and the associative operation of switching controls power has broken away from the correlativity with hardware platform, is convenient to transplant.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. graphic display method that is used for screen video control on the built-in terminal, described built-in terminal comprises multimedia chip, LCD and human-computer interface system, it is characterized in that, comprising:
After described human-computer interface system was transformed into described multimedia chip, described multimedia chip read the graph data in the buffer zone of described LCD in the control of described LCD; And
The graph data that described multimedia chip will read from the buffer zone of described LCD outputs to described LCD.
2. graphic display method according to claim 1, it is characterized in that, read the described graph data in the buffer zone of described LCD by the screen video control system in the described multimedia chip, and described graph data is outputed to described LCD.
3. graphic display method according to claim 2 is characterized in that, the described graph data that described multimedia chip reads with video information with from the buffer zone of described LCD is simultaneously displayed on the described LCD.
4. graphic display method according to claim 3 is characterized in that, described graph data is write the buffer zone of described LCD by the GDI interface of described human-computer interface system.
5. graphic display method according to claim 4 is characterized in that, described multimedia chip has the zone bit of the control that is used to represent described LCD.
6. a graphics device that is used for screen video control on the built-in terminal is characterized in that, comprising:
Human-computer interface system is used for graph data is stored into the buffer zone of LCD, and the described graph data in the described buffer zone is offered described LCD;
Multimedia chip, be used for video information is offered described LCD, and after described human-computer interface system is transformed into described multimedia chip, from the buffer zone of described LCD, read described graph data in the control of described LCD; And
Described LCD is used to show from the described graph data of described human-computer interface system or from the video information of described multimedia chip.
7. graphics device according to claim 6, it is characterized in that, read the described graph data in the buffer zone of described LCD by the screen video control system in the described multimedia chip, and described graph data is outputed to described LCD.
8. graphics device according to claim 7 is characterized in that, the described graph data that described multimedia chip reads with video information with from the buffer zone of described LCD is simultaneously displayed on the described LCD.
9. graphics device according to claim 8 is characterized in that, described graph data is write the buffer zone of described LCD by the GDI interface of described human-computer interface system.
10. graphics device according to claim 9 is characterized in that, described multimedia chip has the zone bit of the control that is used to represent described LCD.
CN2007101654116A 2007-10-25 2007-10-25 Graphics display method and device for video control system on embedded terminal Active CN101419781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101654116A CN101419781B (en) 2007-10-25 2007-10-25 Graphics display method and device for video control system on embedded terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101654116A CN101419781B (en) 2007-10-25 2007-10-25 Graphics display method and device for video control system on embedded terminal

Publications (2)

Publication Number Publication Date
CN101419781A CN101419781A (en) 2009-04-29
CN101419781B true CN101419781B (en) 2011-06-22

Family

ID=40630549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101654116A Active CN101419781B (en) 2007-10-25 2007-10-25 Graphics display method and device for video control system on embedded terminal

Country Status (1)

Country Link
CN (1) CN101419781B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102169390B (en) * 2011-04-29 2013-03-20 深圳市大富科技股份有限公司 Information terminal and touch control method thereof
CN102917111B (en) * 2011-08-02 2015-07-29 希姆通信息技术(上海)有限公司 Multimedia video brush screen method
CN102567017B (en) * 2011-12-15 2015-09-30 深圳市九洲电器有限公司 The Simple Realizable Method that a kind of OSD interface exports and device
CN109710356A (en) * 2018-12-19 2019-05-03 深圳市金刚蚁机器人技术有限公司 Graphical display implementation method under linux system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434373A (en) * 2002-01-21 2003-08-06 矽统科技股份有限公司 On-screen display control method
CN1832547A (en) * 2005-03-10 2006-09-13 三星电子株式会社 Graphical menu screen display device and method for displaying a menu thereon

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1434373A (en) * 2002-01-21 2003-08-06 矽统科技股份有限公司 On-screen display control method
CN1832547A (en) * 2005-03-10 2006-09-13 三星电子株式会社 Graphical menu screen display device and method for displaying a menu thereon

Also Published As

Publication number Publication date
CN101419781A (en) 2009-04-29

Similar Documents

Publication Publication Date Title
CA2756537C (en) Backing store memory management for rendering scrollable webpage subregions
US10205985B2 (en) Management of the channel bar
CN101496399B (en) Image display device and image display method
KR101475797B1 (en) Dynamic information adaptation for a computing device having multiple power modes
US20220011929A1 (en) Display Method And Display Apparatus
US20170300151A1 (en) Management of the channel bar
US8539447B2 (en) Real-time validation of interactive applications
US20150109184A1 (en) Terminal apparatus for processing data
TW201337568A (en) Application programming interface for providing native and non-native display utility
CN104423805A (en) User terminal apparatus, method for controlling user terminal apparatus, and expanded display system
CN101419781B (en) Graphics display method and device for video control system on embedded terminal
KR20130131695A (en) Method and apparatus for multi-playing videos
JP5010605B2 (en) Event processing device
US8917356B2 (en) Play control system and method
US20200301992A1 (en) Page updating method and display device
US20150135044A1 (en) Information processing apparatus, information processing method, computer program, and recording medium
CN112631796A (en) Display device and file copying progress display method
EP4607938A1 (en) Image processing method and electronic device
CN118689580A (en) Application window switching method and device, storage medium and electronic device
JP2009301473A (en) Window display unit, window display process, window display program, recording medium recording window display program, and window display integrated circuit
CN102740022B (en) Broadcasting control system and method
CN115167796A (en) Display content acquisition method, device, terminal equipment and medium
CN120296183A (en) Interactive media data generation method, device, electronic device and storage medium
KR101100085B1 (en) Web page display method and device
TWI392349B (en) Device and method for displaying caption window

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant