CN103092553A - Red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method - Google Patents
Red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method Download PDFInfo
- Publication number
- CN103092553A CN103092553A CN2013100245413A CN201310024541A CN103092553A CN 103092553 A CN103092553 A CN 103092553A CN 2013100245413 A CN2013100245413 A CN 2013100245413A CN 201310024541 A CN201310024541 A CN 201310024541A CN 103092553 A CN103092553 A CN 103092553A
- Authority
- CN
- China
- Prior art keywords
- liquid crystal
- color
- rgb
- platform
- white
- 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.)
- Pending
Links
Images
Abstract
The invention provides a red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method. In a bootloader operation stage of an embedded system, on the condition that a RGB liquid crystal bottom layer picture-drawing program is not changed, a logic video memory is arranged in an internal memory of the embedded system, under different platforms, when the logic video memory draws a picture, only a switching performance function blit is called, and RGB liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display can be realized. According to the method, the liquid crystal bottom layer picture-drawing program does not need to be changed, work amount of programming personnel is reduced, and working efficiency is improved.
Description
Technical field
The present invention relates to a kind of embedded system technology field, relate in particular to a kind of method that RGB liquid crystal and black and white/gray scale lattice lcd compatibility Shows Picture.
Background technology
Along with the development of infotech, embedded system is being applied to the fields such as Aero-Space, consumer electronics, communication facilities more and more widely.And in embedded system, LCD is as one of major equipment of man-machine interaction, and display system is again an indispensable part.In recent years, along with improving constantly of microprocessor performance, the particularly appearance of arm processor series, the function of embedded system also becomes from strength to strength.The characteristics such as liquid crystal display is low in energy consumption owing to having, physical dimension is little, price is low, driving voltage is low with and superior character and the Presentation Function of figure, become the output device of the first-selection of embedded system in using.
In embedded system, different platforms often uses with a code to maintain easily.Embedded system is when different platforms need to show different pictures like this, will change the paint program of liquid crystal bottom, such as being the picture that the RGB liquid crystal will show RGB under a platform, if when switching to black and white under another platform or gray scale lattice lcd and will show black and white or gray scale dot matrix picture, paint program that will the liquid opaque polycrystalline underlayer; Like this in embedded system, different platform just can't compatible RGB liquid crystal and the Showing Picture of black and white or gray scale lattice lcd; Want to show and to revise paint program, so just increased programming personnel's labour, and revise more complicated.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of RGB of realization liquid crystal and black and white/gray scale lattice lcd the compatible method that shows, has reduced programming personnel's work, has improved work efficiency.
The present invention is achieved in that a kind of RGB liquid crystal and the method that black and white/gray scale lattice lcd compatibility Shows Picture, and comprises the steps:
Step 1, open up a logic video memory in the internal memory of embedded system, use all the time the drafting method of RGB to draw when this piece logic video memory is drawn;
Step 2, in each platform of embedded system separately a translation function function blit of definition;
After step 3, described picture were completed, each self-corresponding translation function function blit of different platform invokes realized the conversion of data in the logic video memory, and the image data of finishing is synchronized to the liquid crystal display screen display;
If corresponding when being the RGB liquid crystal under a platform, image data is write the translation function function blit that calls before the physics video memory under this platform, translation function function blit under this platform is empty, namely do not do any operation, image data can be write in the graph data buffer zone of physics video memory and show;
If corresponding when being black and white/gray scale lattice lcd under a platform, image data is write the translation function function blit that calls before the physics video memory under this platform, this translation function function blit is: take out the color that needs, the color of these needs comprises: word, the color of the piece that icon need to show is converted into corresponding greyscale color, for the color that does not need to show, the color that does not need to show comprises: background and the icon of wanting conductively-closed are set to white; Image data after conversion is synchronized to the liquid crystal display screen display.
The present invention has following advantage: the method that this compatibility Shows Picture can in the bootloader operation phase of embedded system, in the situation that do not change RGB liquid crystal bottom paint program, be opened up a logic video memory in the internal memory of embedded system; In the time of under different platforms, the logic video memory is drawn and only need be called translation function function blit, can realize that RGB liquid crystal and black and white/gray scale lattice lcd compatibility Shows Picture.The present invention need not to change the paint program of liquid crystal bottom, has reduced programming personnel's work, has improved work efficiency.
Description of drawings
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
See also shown in Figure 1ly, the method that a kind of RGB liquid crystal of the present invention and black and white/gray scale lattice lcd compatibility Shows Picture comprises the steps:
Step 1, open up a logic video memory in the internal memory of embedded system, when this piece logic video memory is drawn, need not consider that the LCDs under platform this moment is RGB screen or black and white/gray scale lattice lcd screen; All the time use the drafting method of RGB to draw;
Step 2, in each platform of embedded system separately a translation function function blit of definition; Namely a platform is to there being a translation function function blit;
After step 3, described picture were completed, each self-corresponding translation function function blit of different platform invokes realized the conversion of image data in the logic video memory, and the image data of finishing is synchronized to the liquid crystal display screen display;
If corresponding when being the RGB liquid crystal under a platform, image data is write the translation function function blit that calls before the physics video memory under this platform, translation function function blit under this platform is empty, namely do not do any operation, image data can be write in the graph data buffer zone of physics video memory and show;
If corresponding when being black and white/gray scale lattice lcd under a platform, image data is write the translation function function blit that calls before the physics video memory under this platform, this translation function function blit is: take out the color that needs, the color of these needs comprises: word, the color of the piece that icon need to show is converted into corresponding greyscale color, for the color that does not need to show, the color that does not need to show comprises: background and the icon of wanting conductively-closed are set to white; Image data after conversion is synchronized to the liquid crystal display screen display.
Wherein, the color that described taking-up needs is converted into corresponding greyscale color, is specially: the color of the pixel that judgement is taken out, according to the color corresponding relation of RGB known under platform and gray scale, carry out conversion and the filling of pixel color.
In a word, the present invention opens up a logic video memory in the situation that do not change RGB liquid crystal bottom paint program in the internal memory of embedded system; In the time of under different platforms, the logic video memory is drawn and only need be called translation function function blit, can realize that RGB liquid crystal and black and white/gray scale lattice lcd compatibility Shows Picture.Reduce programming personnel's work, improved work efficiency.
The above is only preferred embodiment of the present invention, and all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.
Claims (2)
1. a RGB liquid crystal and method that black and white/gray scale lattice lcd compatibility Shows Picture, is characterized in that: comprise the steps:
Step 1, open up a logic video memory in the internal memory of embedded system, use all the time the drafting method of RGB to draw when this piece logic video memory is drawn;
Step 2, in each platform of embedded system separately a translation function function blit of definition;
After step 3, described picture were completed, each self-corresponding translation function function blit of different platform invokes realized the conversion of image data in the logic video memory, and the image data of finishing is synchronized to the liquid crystal display screen display;
If corresponding when being the RGB liquid crystal under a platform, image data is write the translation function function blit that calls before liquid crystal under this platform, translation function function blit under this platform is empty, does not namely do any operation, image data can be write in the graph data buffer zone of physics video memory to show;
If corresponding when being black and white/gray scale lattice lcd under a platform, image data is write the translation function function blit that calls before the physics video memory under this platform, this translation function function blit is: take out the color that needs, the color of these needs comprises: word, the color of the piece that icon need to show is converted into corresponding greyscale color, for the color that does not need to show, the color that does not need to show comprises: background and the icon of wanting conductively-closed are set to white; Image data after conversion is synchronized to the liquid crystal display screen display.
2. the method that RGB liquid crystal according to claim 1 and black and white/gray scale lattice lcd compatibility Shows Picture, it is characterized in that: the color of described taking-up needs, be converted into corresponding greyscale color, be specially: the color of the pixel that judgement is taken out, according to the color corresponding relation of RGB known under platform and gray scale, carry out conversion and the filling of pixel color.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100245413A CN103092553A (en) | 2013-01-23 | 2013-01-23 | Red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100245413A CN103092553A (en) | 2013-01-23 | 2013-01-23 | Red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103092553A true CN103092553A (en) | 2013-05-08 |
Family
ID=48205176
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100245413A Pending CN103092553A (en) | 2013-01-23 | 2013-01-23 | Red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103092553A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6567186B1 (en) * | 1998-10-27 | 2003-05-20 | Hewlett-Packard Company | Method for determining gray values in a printer |
CN1533563A (en) * | 2001-05-09 | 2004-09-29 | ������Ү��ʵ��������˾ | Converson of a sub-pixel format data to another sub-pixel data format |
-
2013
- 2013-01-23 CN CN2013100245413A patent/CN103092553A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6567186B1 (en) * | 1998-10-27 | 2003-05-20 | Hewlett-Packard Company | Method for determining gray values in a printer |
CN1533563A (en) * | 2001-05-09 | 2004-09-29 | ������Ү��ʵ��������˾ | Converson of a sub-pixel format data to another sub-pixel data format |
Non-Patent Citations (2)
Title |
---|
王丽娜等: "《信息隐藏技术实验教程》", 31 October 2004, article "图像类型的相互转换" * |
陈涵深等: "基于嵌入式系统的双屏兼容显示设计", 《电视技术》, vol. 35, no. 18, 30 September 2011 (2011-09-30) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10978027B2 (en) | Electronic display partial image frame update systems and methods | |
CN102270428A (en) | Display device and display interface refresh method and device | |
CN102253560A (en) | Display device, and refreshing method and device of display interface | |
CN106023904A (en) | Display control method and device based on electronic ink screen | |
WO2018119575A1 (en) | Display method and electronic device | |
CN104038807A (en) | Layer mixing method and device based on open graphics library (OpenGL) | |
CN101908318B (en) | Electrophoretic display controller providing PIP and cursor support | |
CN102279723A (en) | System and method for realizing split-screen display | |
US10043459B1 (en) | Display timing controller with single-frame buffer memory | |
CN104981766A (en) | Method for displaying data on screen and display control device | |
CN105705991A (en) | Display systems and methods | |
CN104866318A (en) | Method and device for displaying label pages in multiple windows | |
CN105895030B (en) | Controller for persistence display panel | |
CN102866898B (en) | A kind of method realizing interface on embedded device and show fast | |
US9245485B1 (en) | Dithering techniques for electronic paper displays | |
US20110069082A1 (en) | Image control apparatus, information processing apparatus, image control method, and recording medium | |
EP2852948A1 (en) | Electronic display | |
CN102486913A (en) | Bistable-state display screen refreshing method and device | |
CN109065001B (en) | Image down-sampling method and device, terminal equipment and medium | |
CN103092553A (en) | Red-green-blue (RGB) liquid crystal and black-white/grey scale lattice liquid crystal compatible picture display method | |
CN115079869B (en) | Rendering method and device of electronic whiteboard | |
CN103631725B (en) | MCU-LCD driving method based on ARM-Linux platform and system | |
GB2502356A (en) | Compensating for degradation due to pixel influence | |
CN114201627A (en) | Display method, device and equipment for electronic ink screen and storage medium | |
CN102117477B (en) | Method and system showing waiting animation of embedded device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130508 |