CN102055933A - OSD controller and control method thereof - Google Patents

OSD controller and control method thereof Download PDF

Info

Publication number
CN102055933A
CN102055933A CN200910197842XA CN200910197842A CN102055933A CN 102055933 A CN102055933 A CN 102055933A CN 200910197842X A CN200910197842X A CN 200910197842XA CN 200910197842 A CN200910197842 A CN 200910197842A CN 102055933 A CN102055933 A CN 102055933A
Authority
CN
China
Prior art keywords
character
information data
bitmap
register
osd
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
Application number
CN200910197842XA
Other languages
Chinese (zh)
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.)
Wuxi China Resources Semico Co Ltd
Original Assignee
Wuxi China Resources Semico Co Ltd
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 Wuxi China Resources Semico Co Ltd filed Critical Wuxi China Resources Semico Co Ltd
Priority to CN200910197842XA priority Critical patent/CN102055933A/en
Publication of CN102055933A publication Critical patent/CN102055933A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses an on screen display (OSD) controller and a control method thereof. The OSD controller comprises a bitmap processing unit, a character processing unit, a register control unit and a mixed control unit, wherein the bitmap processing unit outputs bitmap information data according to a scanning position; the character processing unit outputs character information data according to the scanning position; the register control unit outputs register information data according to the scanning position; and the mixed control unit is connected with the bitmap processing unit, the character processing unit and the register control unit and outputs color information data according to one or more kinds of information data in the bitmap information data, the character information data and the register information data. Due to the OSD controller, by adopting different display modes for bitmaps, characters, windows, progress bars and other different units, the random-access memory (RAM) space in the OSD controller can be saved. Moreover, by displaying the characters and bitmaps through priority setting, an expected display effect of a user can be achieved.

Description

A kind of osd controller and control method thereof
Technical field
The present invention relates to a kind of controller, relate in particular to a kind of osd controller and control method thereof.
Background technology
At present, the OSD type mainly will have two types on character type (Font-Based) and bitmap type (Bit-Map).
In order to save display buffer, the early stage character type of the OSD use cheaply OSD that reaches, its operation principle is that displaying contents among the OSD is divided into piece according to specific form (12 * 18,12 * 16 etc.), for example digital 0-9, alphabetical a-z, brightness commonly used, contrast symbol etc., and these contents are solidificated among ROM or the Flash, only deposit corresponding call number in display buffer, such " dictionary " structure can reduce the demand of display buffer significantly.Simultaneously, for the control to the attributes such as color of each character is provided, also have one and display buffer property cache of a size usually, its attribute such as foreground color, background color, flicker etc. are effective to each pixel in the whole character.Can not be the shortcoming of each pixel designated color in order to remedy this mode, the designer of osd generator provides the mode that adopts a plurality of display buffers to merge to present the scheme of polychrome character.Its principle is that each display buffer is determined a kind of color scheme, when two even the later polychrome character that goes out to surpass two kinds of colors of just can " piecing together " of more a plurality of display buffer merging.Usually LCD, all use this class OSD on panel TV and the CRT traditional tv cheaply, at present still in occupation of market mainstream status.
Character type OSD advantage is the display buffer RAM (random access memory) that can use OSD inner less, and MCU (micro control unit) only needs to specify the index of displaying contents can show corresponding osd information, can realize on the MCU that compares low speed.But directly perceived inadequately just because of above-mentioned display message and color coding mode, bring very big inconvenience can for the firmware development of character type OSD.
Compare character type OSD, the operation principle of bitmap OSD is directly perceived and simple.Change by each pixel to specific region on the final displaying contents, in the final display frame that directly osd information is added to, its mode of according to pixels controlling can guarantee to have polychrome and enough expressive abilities.Build video processor inside in the bitmap osd generator is common, and share and use its main display buffer.Independent professional OSD bitmap generator outside video processor is also arranged, and as the MAX4455 of U.S.'s letter, this class chip needs outside SDRAM as display buffer usually.
The display effect of bitmap OSD can be accomplished very perfectly degree in theory, can provide and have relief various items among the similar Windows, as abundant figure of button, color with shade and literal etc., on large-sized high-end panel TV and professional display, can use this class OSD usually.But bitmap type OSD shortcoming is to have enough big OSD display buffer RAM, and can according to pixels handle and have the very MCU of high processing rate.In addition, progress bar shows with bitmap, can waste bigger display buffer RAM.
Summary of the invention
Problem to be solved by this invention is to provide a kind of osd controller and control method thereof of using less display buffer RAM to get final product character display, bitmap, window and progress bar display effect.
The invention provides a kind of osd controller and control method thereof, show by different way according to the different displaying contents of character, bitmap, window and progress bar, and above-mentioned different displaying contents can be carried out various combinations back and show, can also priority be set to reach various display effects according to different displaying contents.
The invention provides a kind of osd controller, comprise the bitmap processing unit, be used for according to scanning position output bitmap information data; The character processing unit is used for according to scanning position output character information data; The register controlled unit is used for according to scanning position output register information data; Mixed control unit connects bitmap processing unit, character processing unit and register controlled unit, is used for one or more information data output color information data according to message bit pattern data, character information data and register information data.
As the further improvement of above-mentioned osd controller, mixed control unit comprises that the priority that message bit pattern data, character information data and register information data priority are set is provided with the unit.
The present invention also provides a kind of control method of osd controller, comprises step: according to one or more information datas in scanning position output bitmap information data, character information data and the register information data; One or more information data output color information data according to output.
Above-mentioned multiple information data output color information data according to output specifically comprises step: the priority of the multiple information data of output is set, exports corresponding color information data successively according to the priority of multiple information data.
Adopt osd controller of the present invention and control method thereof, utilize mixed control unit to adopt different display modes, can save the display buffer ram space according to different contents such as character, bitmap, window and progress bars.Can carry out various combinations to bitmap information data, character information data and register information data shows, after can also being set, the priority of message bit pattern data, character information data and register information data shows again, by various combinations and priority setting, can obtain the OSD display effect that the client wants.
Description of drawings
Fig. 1 is the system architecture diagram of OSD display system of the present invention.
Fig. 2 is control progress bar displaying principle figure in the embodiment.
Embodiment
As shown in Figure 1, the invention provides a kind of OSD (on-screen display) system, comprising: scanning element 1, character processing unit 2, bitmap processing unit 3, register controlled unit 4, mixed control unit 5, color lookup table control unit 6.Wherein, osd controller mainly is made up of character processing unit 2, bitmap processing unit 3, register controlled unit 4 and mixed control unit 5.
Scanning element 1 is concatenation character processing unit 2, bitmap processing unit 3 and register controlled unit 4 respectively, is used to provide current scanning position information.Scanning element 1 comprises a pixel clock generator and a row counter controller.The pixel clock generator is to be input according to the crystal oscillator clock, according to the parameter of display screen and follow the VGA timing sequence specification, produces the pixel clock that is fit to display screen, and this pixel clock also provides clock for system in addition.If the pixel clock generator is used and the TV field, then this pixel clock can and HS, VS is the same, by other clock module supply, as the input of OSD system.But the phase place that notes their threes must be consistent.For example certain OSD instance system is exactly to produce pixel clock, HS and VS according to peripheral 50M crystal oscillator.A row counting control unit is to confirm according to above-mentioned three clocks where current scanline arrives.With CRT monitor for instance, its starting point is a field sync signal, every line synchronizing signal, and then line number adds 1.The starting point of line number is a line synchronizing signal, and the while is a pixel clock each, and columns adds 1.Such ranks have just constituted the position of whole OSD in screen.Certainly concrete details also will carefully be consulted the VGA timing sequence specification.And put the position that present character, bitmap, window or progress bar are specified in residing position according to current scanline.For example current scanline point has arrived the position of first row first row of OSD window, and this position should output character, and a row counting control unit is just given index with this information and translated the location device.Also to determine to scan the particular location of certain character in addition according to the position of scanning element, as which of character, which row.If character adopts 24 * 32 dot matrix, and data all are byte representations, therefore need with certain concrete delegation, and 8 on a left side, 8 of centres and right 8 bit position information are given the character library decoder.
The positional information output character information data that character processing unit 2 provides according to scanning element 1.The character processing unit comprises that index translates location device 21, character index RAM (random access memory) 22, character library decoder 23, character library buffer memory RAM 24 and parallel-to-serial converter 25.Index is translated location device 21 according to the present position of character in screen, determines the character ID of this character in character index RAM 22, and sends character ID to character library decoder 23.The character id information and the attribute information of character index RAM 22 main each character of storage osd screen.Suppose that character presses the ranks sequence arrangement of Row Column, the number of calculating the display screen character like this just for the screen pixels sum divided by character pattern.But do in fact like this is a huge waste, because the OSD displaying contents can not take whole screen usually.Usually we suppose that OSD takies the maximum space of screen, as 80 characters of line direction, and 40 characters of column direction.If character library is 256, then the index ID of each character only need be with a byte representation.In addition, foreground and back scenery attribute take a byte altogether, and every kind of color accounts for 4, can look into color in 16 altogether.Suppose that again other attribute informations account for 4, then character index RAM 22 space sizes are 80 * 40 * (8+8+4) bit=8KB.Character library decoder 23 is that the dot matrix of response is removed to take out among the character library RAM in the position that character is deposited in character library according to the character ID of character.Here it should be noted that to know being which character according to character ID, also need in addition to determine the position in character library information, and this positional information is outputed among the character library RAM according to the present position of this scanning element in character.The character pattern information of character library RAM 24 store characters, character processing unit 2 is according to the character library positional information of character library decoder 23 inputs, taking out part character lattice information data corresponding among the character library RAM is character information data, and parallel the outputing in the parallel-to-serial converter 25 of corresponding characters information data outputed to mixed control unit 5 after the conversion.Simultaneously the character attibute information among the corresponding characters index RAM 22 is outputed to mixed control unit 5, to form different character display effects.So when the various effect of needs character display, character information data comprises the corresponding characters attribute.For maximum OSD display screen 80 * 40, the character number that consideration repeats to show estimate that maximum kinds of characters numbers are 100, so character library RAM 24 sizes is 32 * 24 * 100bit=9.6k.
For the very complicated processing procedure of above-mentioned character processing unit 2 output character information datas, the process of bitmap processing unit 3 output bitmap information datas is simple relatively a lot.
Bitmap processing unit 3 comprises that bitmap translates location device 31 and bitmap RAM 32.Bitmap is translated location device 31 with the position of scanning element in screen, replaces the position in the bitmap, as which row in which bitmap, and the pixel of which row, and this positional information delivered among the bitmap RAM 32.Bitmap processing unit 3 finds corresponding point according to the positional information of input in bitmap RAM 32, be the parallel mixed control unit 5 of sending to of bitmap information data with the information data of putting.For example bitmap has 5, and each is that resolution sizes is 48 * 48 dot matrix, the color ID that each point is corresponding 4, and then bitmap RAM 32 sizes are: 5 * 48 * 48 * 4bit=5.76KB.In fact the number of bitmap can be for one or more, and the color figure place that each point is corresponding also can be for a plurality of, and resolution is that the dot matrix number also can correspondingly change.
Register controlled unit 4 comprises window controller 41 and progress bar controller 42, according to scanning position output register control information data to mixed control unit 5.Wherein, window controller 41 and progress bar controller 42 are respectively applied for control display window and progress bar, and the corresponding register information data of output.Register controlled unit 4 comprises register cell, and register cell comprises that some registers are used for the position attribution information of memory window or progress bar.Show that with 4 controls of register controlled unit the rectangle progress is that example describes below.When progress bar was the rectangular mode demonstration, as shown in Figure 2, register cell then utilized 5 registers to carry out progress bar control demonstration.Register cell utilizes initial row register 11, initial column register 13, width register 15, length register a17 and length register b19 to control the progress bar demonstration respectively.Wherein, initial row register 11, initial column register 13 are stored the position attribution parameter that indicates the initial row and column of progress bar respectively.Utilize initial row register 11, initial column register 13, initial row register 11+ width register 15, reach 4 borders that 4 position attribution supplemental characteristics among the initial column register 13+ length register a17 are made the rectangle progress bar.When scanning element 1 scanning was on these 4 borders, OSD showed rectangular shaped rim.In the time will changing the demonstration of rectangle progress bar, utilize initial row register 11, initial column register 13, initial row register 11+ width register 15, reach the grey rectangle zone that 4 position attribution supplemental characteristics among the initial column register 13+ length register b19 decide, fill with color.As the position attribution parameter of utilizing register controlled unit 4 to revise among the length register b19, the then corresponding length of revising the grey rectangle zone shows thereby change progress bar.Certainly, control unit 3 also can be revised among initial row register 11, initial column register 13, width register 15, length register a17 and the length register b19 position attribution parameter in any one or the several register, thereby changes the demonstration of progress bar.The present invention controls the progress displaying bar as specific embodiment with the rectangle progress bar by 5 registers, but in fact progress bar can be triangle or trapezoidal, and corresponding register number is 4 or 6.Thereby the shape of actual progress bar and the number of corresponding register are provided with decision by the user.It should be noted that register controlled unit 4 can only contain fenestrate register 41 or progress bar controller 42, also can contain fenestrate controller 41 or progress bar controller simultaneously, accept or reject according to actual user's needs.
Mixed control unit 5 concatenation character processing units 2, bitmap processing unit 3 and register controlled unit 4, after mixed processing message bit pattern data, character information data and the register controlled information data, output color id information data are to color lookup table control unit 6.As if OSD character display or bitmap, then after 5 processing character information datas of mixed control unit or the message bit pattern data, export corresponding color id information data; If OSD is output character and bitmap simultaneously, then after mixed control unit 5 stack position character information datas and the message bit pattern data, export color id information data; As if OSD character display and progress bar, then mixed control unit 5 is exported color id information data according to register information data and character information data, but this moment, the register information data only contained the progress bar information data.This shows that mixed control unit 5 can be exported color information data according to one or more information datas in message bit pattern data, character information data and the register information data, and follow actual OSD demonstration needs, carry out various combinations back and show.Mixed control unit 5 can also be provided with the priority of message bit pattern data, character information data and register information data, to reach the display effect that the client wants.Contain priority as mixed control unit 5 unit and output unit are set, priority is provided with the priority that the unit is provided with message bit pattern data, character information data and register information data, and output unit is according to the corresponding color information data of priority output that is provided with.As at display screen with the display bitmap again of first character display on the position, then bitmap covers character; All right first display bitmap is character display again, and then character covers bitmap.At this moment, if change the character display effect according to character attibute information, as character is set is translucent, and then the translucent state of character covers on the bitmap, can obtain very unique effect.
Color lookup table control unit 6 is exported after the color id information data translation of mixed control unit 5 input being become 32 color rgb signal.16 kinds of colors of coexistence in the color lookup table, so cache size is 16 * 32bit=64B.Because with CRT is example, simple in order to show, what use in the test is that 8 32bit colors show.But in the reality, can show with 16 or the more high-order colors of carrying out such as 32.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. an osd controller is characterized in that, comprising:
The bitmap processing unit is used for according to scanning position output bitmap information data;
The character processing unit is used for according to scanning position output character information data;
The register controlled unit is used for according to scanning position output register information data;
Mixed control unit connects bitmap processing unit, character processing unit and register controlled unit, is used for one or more information data output color information data according to message bit pattern data, character information data and register information data.
2. osd controller as claimed in claim 1 is characterized in that, described mixed control unit comprises that priority is provided with the unit, is used to be provided with the priority of described message bit pattern data, character information data and register information data.
3. osd controller as claimed in claim 2 is characterized in that described mixed control unit also comprises output unit, is used for exporting corresponding color information data successively according to the described priority that data are set.
4. osd controller as claimed in claim 1 is characterized in that, described register controlled unit comprises in window controller unit and the progress bar control unit at least.
5. osd controller as claimed in claim 4 is characterized in that, described window controller is used for control and treatment window attribute information, and described progress bar controller is used for control and treatment progress bar attribute information.
6. as claim 4 or 5 described osd controllers, it is characterized in that described register controlled unit also comprises register cell, be used for the position attribution parameter of memory window or progress bar.
7. osd controller as claimed in claim 1 is characterized in that, described bitmap processing unit can comprise bitmap decoder and bitmap RAM, and wherein the bitmap decoder can be provided with bitmap RAM size according to bitmap number or bitmap color figure place or bitmap resolution.
8. osd controller as claimed in claim 1 is characterized in that described character information data comprises the character attibute information data, is used to be provided with the display effect of character.
9. osd controller as claimed in claim 1 is characterized in that, described character processing unit comprises:
The location device translated in index, is used for according to scanning position output character ID to the character library decoder;
Character index RAM connects index and translates the location device, is used for store character ID and character attibute information;
The character library decoder connects index and translates location device and character library decoder, is used for determining the positional information of character at character library RAM according to character ID;
Character library RAM connects the character library decoder, is used for the store character lattice information.
10. the control method of an osd controller is characterized in that, may further comprise the steps:
According to one or more information datas in scanning position output bitmap information data, character information data and the register information data;
One or more information data output color information data according to described output.
11. control method as claimed in claim 10 is characterized in that, described multiple information data output color information data according to output specifically comprises step:
The priority of the multiple information data of described output is set,
Export corresponding color information data successively according to described priority.
CN200910197842XA 2009-10-28 2009-10-28 OSD controller and control method thereof Pending CN102055933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910197842XA CN102055933A (en) 2009-10-28 2009-10-28 OSD controller and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910197842XA CN102055933A (en) 2009-10-28 2009-10-28 OSD controller and control method thereof

Publications (1)

Publication Number Publication Date
CN102055933A true CN102055933A (en) 2011-05-11

Family

ID=43959807

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910197842XA Pending CN102055933A (en) 2009-10-28 2009-10-28 OSD controller and control method thereof

Country Status (1)

Country Link
CN (1) CN102055933A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750340A (en) * 2012-06-01 2012-10-24 浙江宇视科技有限公司 Processing method and device for dot matrix data
CN103151021A (en) * 2013-02-22 2013-06-12 广州视源电子科技股份有限公司 Data display method and test method of display device
CN105959826A (en) * 2016-04-29 2016-09-21 深圳创维-Rgb电子有限公司 Method, device and system for processing message
CN107103891A (en) * 2017-01-20 2017-08-29 艾体威尔电子技术(北京)有限公司 A kind of method that color/graphics is used in small internal memory embedded system
CN110933343A (en) * 2019-12-12 2020-03-27 无锡睿思凯科技股份有限公司 Video overlapping information transmission method and video signal overlapping system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713264A (en) * 2005-07-15 2005-12-28 合肥工业大学 Digital OSD controller based on FRGA
CN1825807A (en) * 2005-02-26 2006-08-30 腾讯科技(深圳)有限公司 Instant communication message display managing system, method and display interface thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1825807A (en) * 2005-02-26 2006-08-30 腾讯科技(深圳)有限公司 Instant communication message display managing system, method and display interface thereof
CN1713264A (en) * 2005-07-15 2005-12-28 合肥工业大学 Digital OSD controller based on FRGA

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750340A (en) * 2012-06-01 2012-10-24 浙江宇视科技有限公司 Processing method and device for dot matrix data
CN102750340B (en) * 2012-06-01 2018-03-06 浙江宇视科技有限公司 A kind of processing method and processing device of dot array data
CN103151021A (en) * 2013-02-22 2013-06-12 广州视源电子科技股份有限公司 Data display method and test method of display device
CN103151021B (en) * 2013-02-22 2015-04-22 广州视源电子科技股份有限公司 Data display method and test method of display device
CN105959826A (en) * 2016-04-29 2016-09-21 深圳创维-Rgb电子有限公司 Method, device and system for processing message
CN107103891A (en) * 2017-01-20 2017-08-29 艾体威尔电子技术(北京)有限公司 A kind of method that color/graphics is used in small internal memory embedded system
CN107103891B (en) * 2017-01-20 2019-06-18 艾体威尔电子技术(北京)有限公司 A method of using color/graphics in small memory embedded system
CN110933343A (en) * 2019-12-12 2020-03-27 无锡睿思凯科技股份有限公司 Video overlapping information transmission method and video signal overlapping system

Similar Documents

Publication Publication Date Title
KR100403718B1 (en) A display control apparatus and method
CN100362562C (en) Digital OSD controller based on FRGA
CN1981519B (en) Method and system for displaying a sequence of image frames
US10937378B2 (en) Display panel and display method
KR100499845B1 (en) Active matrix display device and control apparatus thereof
KR100735783B1 (en) Display device and display method
JP2006301166A (en) Display device and driving method thereof
CN103915072A (en) Display system and driving method thereof
CN102055933A (en) OSD controller and control method thereof
CN103412672A (en) Touch display device and driving method thereof
US9076408B2 (en) Frame data shrinking method used in over-driving technology
US5710604A (en) Video memory device for color-sequential-type displays
US7164431B1 (en) System and method for mixing graphics and text in an on-screen display application
CN106933329A (en) A kind of method of mobile terminal adaptive energy-saving grade, device and mobile terminal
CN102103849B (en) OSD controller
CN101535930A (en) Artifact-free transitions between dual display controllers
CN203338322U (en) Touch display device
CN1205501C (en) Active matrix display
CN110751924A (en) Micro-LED display screen controlled in split screen mode
CN115841802A (en) Mini LED liquid crystal backlight control method and control system thereof
CN104933985A (en) Display substrate, display device and display substrate drive method
JPH08234161A (en) Color panel display device and processing method of image information
US6911959B1 (en) Low cost horizontal bar indicator system for on screen displays
US6577294B1 (en) Display device
CN113281983B (en) Control method and system for picture display of smart watch, smart watch and medium

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: 20110511