CN100389607C - Method for realizing hidden captions display with screen menu type regulating mode - Google Patents
Method for realizing hidden captions display with screen menu type regulating mode Download PDFInfo
- Publication number
- CN100389607C CN100389607C CNB2006100210787A CN200610021078A CN100389607C CN 100389607 C CN100389607 C CN 100389607C CN B2006100210787 A CNB2006100210787 A CN B2006100210787A CN 200610021078 A CN200610021078 A CN 200610021078A CN 100389607 C CN100389607 C CN 100389607C
- Authority
- CN
- China
- Prior art keywords
- character
- memory cell
- screen menu
- show
- shows
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
A method for displaying hidden caption by utilizing screen menu to make regulation includes decoding hidden display data of hidden caption by decoder, judging whether character bit map to be displayed is existed on display-storage unit of screen menu or not by system, directly calling display if it is or otherwise loading said character bit map data into display-storage unit of screen menu to carry out display.
Description
[technical field]
The present invention relates to a kind of scheduling memory method.
[background technology]
Closed caption CC (Closed Captions) is the very detailed captions of preparing for the dysaudia personage.Usually appear in a minute personage's below, comprising the sound of object in the sheet and music description etc.This function not only can be used on radio and television, the cable TV, also can be used on the devices such as DVD, videotape.U.S.'s regulation, since 1993, the television set greater than 13 inches that the U.S. sells all must have the CC decoder.
CC joins a kind of standard code mode in the vision signal to literal.At receiving terminal, the user can watch these Word messages by the CCD function of turning on television set (or other receiving device).For this reason, at video receiver, the literal that the built-in decoder of receiving system or independent decoder must be coded in these in vision signal is given decoding and is shown (being the CCD function).At receiving terminal, decoder decode goes out after the ccd data, must demonstrate the literal and the attribute of these data representatives according to the EIA-608 standard on screen.Usually way is to use screen menu type regulative mode OSD (on-screendisplay) to show: will show that the OSD character data stores among the OSD RAM, show by DISPLAY ORDER addressing corresponding data then, the character that general every page of OSD shows can be not a lot, therefore, concerning showing OSD, this method is feasible fully.Yet according to the EIA-608 standard, every page of CCD text is by 15 row, 34 row are formed, this just needs storage OSD character number is 34 * 15=510, because maximum storable bitmap numbers are 256 among the general OSD RAM, so just well beyond the storable scope of OSD.Supervising in this, reduce utilization to OSD RAM as far as possible by the software optimization processing method, to showing the CC character with OSD, will be a very important ring.
[summary of the invention]
Purpose of the present invention is exactly in order to overcome the above problems, and a kind of easy realization is provided, realizes the method that closed caption shows by the screen menu type regulative mode cheaply.
For achieving the above object, the present invention proposes a kind of method that is shown by screen menu type regulative mode realization closed caption, comprises the steps: hidden-caption decoding device decoding closed caption video data; System judges whether the pairing character bitmap data of this video data have been present in on-screen menu and have shown in the memory cell, if exist, then directly call demonstration; If there is no, then load these character bitmap data to on-screen menu and show in the memory cell, show.
Above-mentioned method, whether already present method comprises the character that described judgement will show: on-screen menu shows the access times that store the character that has shown in the memory cell simultaneously, in the time will showing a character bitmap, at first judge these access times, when this is worth when non-vanishing, then on-screen menu shows this character bitmap that will show of existence in the memory cell, is zero as this value, and then on-screen menu shows the character bitmap that does not exist this to show in the memory cell.
Above-mentioned method when delete character from on-screen menu, need be upgraded the access times of this character simultaneously.The step of described delete character comprises: check the access times of this character, when access times greater than 1 the time, the value of this access times memory cell subtracts 1; When access times were less than or equal to 1, it was 0 that this access times memory cell is set, and searched the allocation index memory cell of deleted character respective type, and this memory cell is made as do not use
Above-mentioned method, when the kinds of characters number that a closed caption picture need show is stored number greater than the maximum character in the described on-screen menu demonstration memory cell, whether other display formats of then searching this character are present in on-screen menu shows in the memory cell, if exist then directly call other display formats that show this character correspondence; If there is no, then call the demonstration space.The described priority of searching by height is on earth: conventional layout character, italic layout character, underscore layout character, italic underscore layout character.
Above-mentioned method, on-screen menu shows to open up to be useful in the memory cell deposits the space that used character is used number of times, when this character bitmap that will show of judgement had been present in the on-screen menu demonstration memory cell and has directly called, the number of times that this character demonstration number of times memory cell is set simultaneously added 1.On-screen menu shows to open up to be useful in the memory cell deposits the space that used character is used number of times, when new character bitmap data to the on-screen menu of loading shows in the memory cell, the access times that this character is set are 1, and preserve character storage index.
Above-mentioned method describedly is used for depositing used character and was used the relative address of the memory cell of number of times to be used to represent that this character bitmap shows the allocation index of memory cell at on-screen menu; If storage unit values is 0, represent that then the pairing on-screen menu of this memory cell relative address shows the memory location NULI character in the memory cell; Storing value as this memory cell is not 0, represent that then the on-screen menu that this side-play amount is pointed to shows that there is character the cell stores position, and the number of times that this character was used is the storing value of this unit.
Owing to adopted above scheme, when carrying out the CCD demonstration, from OSD RAM, carry out earlier calling of character bitmap, when having only the character that does not have the needs demonstration among the OSD RAM, just load these character bitmap data and show in OSD, therefore, method of the present invention has only in the OSD memory cell of less memory space existing, just can realize the CCD function, low, the easy realization of cost.
[description of drawings]
Fig. 1 is the memory cell distribution diagram of OSD RAM of the present invention.
Fig. 2 is that allocation index of the present invention draws the storage organization schematic diagram.
Fig. 3 is the schematic flow sheet of certain character in the deletion OSD RAM of the present invention.
Fig. 4 is the schematic flow sheet that shows certain character in the OSD RAM of the present invention.
[embodiment]
Also the present invention is described in further detail in conjunction with the accompanying drawings below by specific embodiment.
Please refer to shown in Figure 1ly, shown that the memory cell of the OSD RAM of this algorithm is distributed situation.Because character bitmap is to be placed on (requiring according to chip may be different) among the OSD RAM that begins with 0x00, so, reserve the OSD ram space of depositing 256 character cells earlier and be used to deposit character bitmap, that is: 0x00-0x2dff (bitmap of this routine usefulness is 16 * 23).
According to the EIA-608 standard, CCD shows: setting-out word 176 under good word 176, italics 176, following setting-out word 176, the italic, distribute 176 memory spaces respectively for the character of this four classes form, be used for depositing the allocation index that certain character bitmap is coded in OSD RAM, with the start address of identification character bitmap.When memory cell data is 0xff, represent that then there be not (character is unused) in this character in OSD RAM, default value is 0xff.
Open up the space of 255 characters among the OSD RAM, be used to deposit the number of times that used character was used, be used for discerning certain character bitmap and whether exist.Simultaneously, the allocation index of the relative address of these 255 memory cell (with respect to the original position of 255 memory cell) expression character bitmap in OSD RAM.If storage unit values is 0, then represent the memory location NULI character among the pairing OSD RAM of this memory cell relative address.Storing value as this memory cell is not 0, represents that then the OSD RAM bank bit that this side-play amount is pointed to is equipped with character, and the number of times that this character was used is the storing value of this unit.
Suppose that 46 unit that 0x2b2 begins deposit "/" that character is an italic, suppose "/", access times are 2.46 unit that 0x2b2 begins are the 15th word, because be italic, so the 15th memory cell (0X2F3F) of italic corresponding address index area is set to the word address index among the OSD RAM, i.e. 0x0f.From 0x2f3f, access the character address index, can find the character bitmap data to be arranged in OSD RAM position according to allocation index.The 15th memory cell of character access times memory block is set to 2, and its storage organization as shown in Figure 2.
CCD please refer to flow process of the present invention shown in Fig. 3,4: when need show certain character, earlier judge whether this character is the character that showed, if the storage index that then directly reads this character bitmap shows, demonstration number of times memory cell is set simultaneously adds 1; If not, judge that then whether the kinds of characters number that occurs in the CCD picture is greater than 255, if the kinds of characters number greater than 255, whether other display formats of then searching this character of this character correspondence exist, and search priority by height to be on earth: conventional layout character, italic layout character, underscore layout character, italic underscore layout character; If the extended formatting character of this character correspondence is arranged, then show this layout character, demonstration number of times memory cell is set adds 1; If the extended formatting of this character does not all exist, then show the space; If the kinds of characters number be not more than 255, then the data bitmap with this character is loaded among the OSD RAM, is provided with simultaneously to show that number of times is 1, preserves character storage index.
When deletion during certain character, check the access times of this character, when access times greater than 1 the time, the value of this access times memory cell subtracts 1; When access times were less than or equal to 1, it was 0 that this access times memory cell is set, and searched the allocation index memory cell of deleted character respective type, and this memory cell is made as do not use.
According to statistics; generally be difficult to occur kinds of characters number in the CCD picture greater than 255 special circumstances; and the present invention for this reason condition enactment the corresponding protection measure; that is: certain page of CCD picture kinds of characters number greater than 255 o'clock; replace with other types, can not influence User Recognition CCD information like this.And under this condition, all non-existent probability of certain character four kind type-word is almost 0 especially.
According to said method, be 704 at the CCD character, every page of maximum character display is under 510 the situation, the number of characters that uses the maximum OSD of demonstration is that 256 chip can be realized fully.
At present, this invention detects on signal generator PM5418, FLUKE-54200, TG19 and central signal, and is all no abnormal, verifies by inspection center.
Claims (8)
1. a method that is shown by screen menu type regulative mode realization closed caption comprises the steps: hidden-caption decoding device decoding closed caption video data; System judges whether this character bitmap that will show has been present in on-screen menu and has shown in the memory cell, if exist, then directly calls demonstration; If there is no, then load these character bitmap data to on-screen menu and show in the memory cell, show; Whether already present method comprises the character that wherein said judgement will show: on-screen menu shows the access times that store the character that has shown in the memory cell simultaneously, in the time will showing a character bitmap, at first judge these access times, when this is worth when non-vanishing, then on-screen menu shows this character bitmap that will show of existence in the memory cell, as this value is zero, and then on-screen menu shows the character bitmap that does not exist this to show in the memory cell.
2. the method for claim 1 is characterized in that: when removing character from on-screen menu, upgrade the access times of this character simultaneously.
3. the method for claim 1, it is characterized in that: when the kinds of characters number that a closed caption picture need show is stored number greater than the maximum character in the described on-screen menu demonstration memory cell, whether other display formats of then searching this character of this character correspondence are present in on-screen menu shows in the memory cell, if exist then directly call other display formats that show this character correspondence; If there is no, then call the demonstration space.
4. the method for claim 1, it is characterized in that: on-screen menu shows to open up to be useful in the memory cell deposits the space that used character is used number of times, when this character bitmap that will show of judgement had been present in the on-screen menu demonstration memory cell and has directly called, the number of times that this character demonstration number of times memory cell is set simultaneously added 1.
5. the method for claim 1, it is characterized in that: on-screen menu shows to open up to be useful in the memory cell deposits the space that used character is used number of times, when new character bitmap data to the on-screen menu of loading shows in the memory cell, the access times that this character is set are 1, and preserve character storage index.
6. method as claimed in claim 2 is characterized in that: the step of described delete character comprises: check the access times of this character, when access times greater than 1 the time, the value of this access times memory cell subtracts 1; When access times were less than or equal to 1, it was 0 that this access times memory cell is set, and searched the allocation index memory cell of deleted character, and this memory cell is made as do not use.
7. as claim 4 or 5 described methods, it is characterized in that: describedly be used for depositing used character and used the relative address of the memory cell of number of times to be used to represent that this character bitmap shows the allocation index of memory cell at on-screen menu; If storage unit values is 0, represent that then the pairing on-screen menu of this memory cell relative address shows the memory location NULI character in the memory cell; Storing value as this memory cell is not 0, represent that then the on-screen menu that this side-play amount is pointed to shows that there is character the cell stores position, and the number of times that this character was used is the storing value of this unit.
8. method as claimed in claim 3 is characterized in that: the described priority of searching is from high to low: conventional layout character, italic layout character, underscore layout character, italic underscore format words.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100210787A CN100389607C (en) | 2006-05-26 | 2006-05-26 | Method for realizing hidden captions display with screen menu type regulating mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100210787A CN100389607C (en) | 2006-05-26 | 2006-05-26 | Method for realizing hidden captions display with screen menu type regulating mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1889648A CN1889648A (en) | 2007-01-03 |
CN100389607C true CN100389607C (en) | 2008-05-21 |
Family
ID=37578905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100210787A Expired - Fee Related CN100389607C (en) | 2006-05-26 | 2006-05-26 | Method for realizing hidden captions display with screen menu type regulating mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100389607C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102625068B (en) * | 2012-02-24 | 2014-05-07 | 深圳创维-Rgb电子有限公司 | Closed caption display method and TV set |
CN102981795B (en) * | 2012-10-31 | 2015-05-27 | 飞天诚信科技股份有限公司 | Method of displaying information |
CN108174279B (en) * | 2017-12-07 | 2020-07-17 | 四川迪佳通电子有限公司 | Set top box subtitle display method and system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1085719A (en) * | 1992-10-12 | 1994-04-20 | 株式会社金星社 | Equipment and method that the control captions show |
CN1118645A (en) * | 1993-01-29 | 1996-03-13 | 汤姆森消费电子有限公司 | Display of closed captioning status |
CN1283931A (en) * | 1999-08-05 | 2001-02-14 | 深圳市华为技术有限公司 | Captions superposing method |
JP3722750B2 (en) * | 2000-03-16 | 2005-11-30 | デウク ユー | Caption data and audio data reproduction method and display device using the same |
CN1717013A (en) * | 2004-06-29 | 2006-01-04 | 乐金电子(沈阳)有限公司 | Device and its method for correcting caption errors of TV set |
CN1777252A (en) * | 2004-11-16 | 2006-05-24 | 上海乐金广电电子有限公司 | Caption data display method |
-
2006
- 2006-05-26 CN CNB2006100210787A patent/CN100389607C/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1085719A (en) * | 1992-10-12 | 1994-04-20 | 株式会社金星社 | Equipment and method that the control captions show |
CN1118645A (en) * | 1993-01-29 | 1996-03-13 | 汤姆森消费电子有限公司 | Display of closed captioning status |
CN1283931A (en) * | 1999-08-05 | 2001-02-14 | 深圳市华为技术有限公司 | Captions superposing method |
JP3722750B2 (en) * | 2000-03-16 | 2005-11-30 | デウク ユー | Caption data and audio data reproduction method and display device using the same |
CN1717013A (en) * | 2004-06-29 | 2006-01-04 | 乐金电子(沈阳)有限公司 | Device and its method for correcting caption errors of TV set |
CN1777252A (en) * | 2004-11-16 | 2006-05-24 | 上海乐金广电电子有限公司 | Caption data display method |
Also Published As
Publication number | Publication date |
---|---|
CN1889648A (en) | 2007-01-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1095276C (en) | Transmission of an electronic database of information | |
US8510096B2 (en) | Method and device for selecting interface language of software | |
US7912912B2 (en) | Information communication terminal, method of marking mail as read, and program for marking mail as read | |
EP1679863A1 (en) | Mobile terminal and system providing multilingual support | |
US8713124B1 (en) | Highly specialized application protocol for email and SMS and message notification handling and display | |
CN101986739A (en) | Method for setting language by mobile terminal and mobile terminal | |
US9237122B2 (en) | Method and apparatus for adding recipient information | |
CN101938550A (en) | Mobile terminal and method and device for sequencing telephone directory thereof | |
CN100389607C (en) | Method for realizing hidden captions display with screen menu type regulating mode | |
CN108829800A (en) | A kind of search data processing method, equipment and computer readable storage medium | |
CN101431625A (en) | Remote controller with words input function and method for implementing words input | |
EP2574007A1 (en) | Method and device for adding schedule | |
CN101621754A (en) | Method for outputting short message data, system and mobile terminal | |
CN103631777A (en) | Method and system for browsing image | |
CN106713661B (en) | A kind of mobile terminal and the method for showing text | |
CN101605239B (en) | Signal shielding method, device and system | |
EP1195988A2 (en) | Broadcast data receiver and method of use thereof | |
US20040110491A1 (en) | Portable terminal suitable for displaying related electronic mail, method of displaying electronic mail and program for displaying electronic mail | |
US20040135822A1 (en) | Method of representing a tree database and storage medium for same | |
CN102638614B (en) | Method for searching call record on multi-card mobile phone terminal | |
US7079006B1 (en) | Radio paging receiver and message erasing method | |
CN101932133A (en) | Short message storage method and wireless communication terminal | |
CN1499880B (en) | Method for storing short message service in mobile communication terminal | |
US20070005705A1 (en) | System and method of dynamically displaying an associated message in a message | |
CN101826097A (en) | Method, system and mobile terminal for saving memory space of address book database |
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080521 Termination date: 20140526 |