US8284309B2 - Device and method for displaying caption window - Google Patents
Device and method for displaying caption window Download PDFInfo
- Publication number
- US8284309B2 US8284309B2 US12/647,658 US64765809A US8284309B2 US 8284309 B2 US8284309 B2 US 8284309B2 US 64765809 A US64765809 A US 64765809A US 8284309 B2 US8284309 B2 US 8284309B2
- Authority
- US
- United States
- Prior art keywords
- offset
- caption
- window
- caption data
- stored
- 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, expires
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 208000032041 Hearing impaired Diseases 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
Definitions
- the present invention relates to a caption window display device and a method thereof, and more particularly, to a caption window display device applied to a TV system, and a method thereof.
- DTVCC Digital TV Closed Captioning
- the closed captioning decoder is a specific chip independent from a microcontroller and a graphic engine.
- the foregoing decoding may be achieved by software executed by the TV controller.
- FIG. 1 showing a functional block diagram of a TV system comprising a display 22 , a TV controller 20 and a system memory 21 .
- the system memory 21 is a dynamic random access memory (DRAM).
- the TV controller 20 comprises a microcontroller 201 , a graphic engine 202 , a static random access memory (SRAM) 203 , a memory interface unit 204 and a graphic output processor 205 .
- the graphic engine 202 produces a caption data to be displayed on the display 22 according to the received window-defining command.
- the content of the window-defining command comprises the width and height of a caption window, i.e., m*n pixels
- the graphic engine 202 draws the caption data according to the width and height of the caption window.
- the caption data comprises chromaticity index data, which, corresponding to the m*n pixels, is written into a predetermined block 210 of the memory 21 .
- FIG. 2( a ) and FIG. 2( b ) showing schematic diagrams of a TV controller drawing captioning on the display 22 .
- a caption window defined by a window-defining command has a two-character height
- the TV controller has to change content of the caption window in order to display all content of the captioning
- a direct displacement as illustrated in FIG. 2( a ) is the simplest approach for changing the content of the caption window. That is, the graphic engine 202 directly rewrites a first caption data 11 stored in the specific block 210 of the system memory 21 into a second caption data 12 .
- FIG. 2( b ) a scrolling technique illustrated in FIG. 2( b ) is developed.
- the graphic engine 202 gradually rewrites the first caption data 11 stored in the specific block 210 of the system memory 21 into a third caption data 13 , a fourth caption data 14 , and so forth, to finally complete the rewrite to display the second caption data 12 . Accordingly, a caption scrolling effect is created.
- a main object of the present invention is to develop new caption scrolling technology to overcome disadvantages of the prior art.
- a method for displaying a caption window applied to a TV system comprising a system memory and an offset register is provided according to the present invention.
- the method firstly receives a first window-defining command by a TV controller, with the first window-defining command including a first window size and first caption content.
- a first caption data according to the first caption content is generated and stored into a system memory.
- a first portion of the first caption data stored in the system memory is accessed and displayed.
- a first offset stored in an offset register is updated to a second offset after a predetermined period.
- a second portion of the first caption data is accessed and displayed according to the second offset and the first window size.
- the first caption data is stored in a predetermined block of the system memory.
- data stored in the predetermined block is accessed from a start point, which is defined by adding the offset stored in the offset register to a default start address of the predetermined block.
- the predetermined block is a circular buffer for resetting the start point when the start point and the offset are overflowed.
- the foregoing method for displaying a caption window may receive a second window-defining command comprising a second window size and second caption content, wherein the second window-defining command and the first window-defining command have a same window identification (ID) code.
- a second caption data according to the second caption content is generated and stored to the system memory.
- a first portion of the second caption data stored in the system memory is accessed and displayed according to a third offset stored in the offset register and the second window size.
- the third offset stored in the offset register updated to a fourth offset after a predetermined period.
- a second portion of the second caption data is accessed and displayed according to the fourth offset and the second window size.
- a caption window display device applied to a TV system comprises a TV controller and a system memory.
- the TV controller comprises an offset register for receiving a first window-defining command comprising a first window size and first window content, and generates a first caption data according to the first caption content.
- the system memory electrically connected to the TV controller, stores the first caption data.
- the TV controller accesses and displays a first portion of the first caption data stored in the system memory according to a first offset stored in the offset register and the first window size.
- the TV controller comprises a graphic engine and a graphic output processor.
- the graphic engine generates the first caption data and stores the first caption data into a predetermined block of the system memory.
- the graphic output processor electrically connected to the graphic engine and the offset register, accesses and displays a first portion of the first caption data stored in the system memory according to a first offset stored in the offset register and the first window size, updates the first offset stored in the offset register to a second offset after a predetermined period, and accesses and displays a second portion of the first caption data according to the second offset and the first window size.
- data stored in the predetermined block is accessed from a start point, which is defined by adding the offset stored in the offset register to a default start address of the predetermined block.
- the predetermined block is a circular buffer for resetting the start point when the start point and the offset when are overflowed.
- the TV controller further receives a second window-defining command comprising second window size and second caption content, wherein the second window-defining command and the first window-defining command have a same ID code; generates a second caption data according to the second caption content and stores the second caption data into the system memory; accesses and displays a first portion of the second caption data stored in the system memory according to a third offset stored in the offset register and the second window size; and updates the third offset stored in the offset register to a fourth offset after a predetermined period, and accesses and displays a second portion of the second caption data according to the fourth offset and the second window size.
- FIG. 1 is a functional block diagram of a conventional TV system.
- FIG. 2( a ) and FIG. 2( b ) are schematic diagrams of a TV controller drawing captioning outside a caption window on the display 22 of the prior art.
- FIG. 3( a ) is a functional block diagram of a TV system performing a caption window property defining method in accordance with an embodiment of the present invention.
- FIG. 3( b ) is a flowchart of a method for displaying a caption window in accordance with a preferred embodiment of the present invention.
- FIG. 4 is a schematic diagram of a caption data in accordance with an embodiment of the present invention.
- FIG. 5 is a schematic diagram of another caption data in accordance with an embodiment of the present invention.
- the TV system comprises a display 32 , a TV controller 30 , and a system memory 31 independent from the TV controller 30 .
- the system memory 31 is a DRAM.
- the TV controller 30 comprises a microcontroller 301 , a graphic engine 302 , an SRAM 303 , a memory interface unit 304 , a graphic output processor 305 , and an offset register 306 .
- Step S 11 the graphic engine 302 generates a caption data according to content of a received window-defining command.
- Step S 12 the graphic engine 302 stores the caption data into a predetermined block 310 of the system memory 31 .
- the size of the caption data is not limited to a height limitation specified by the window-defining command, and the caption data generated according to the caption content of the window-defining command are stored altogether into the predetermined block 310 . Comparing with the conventional approach illustrated in FIG.
- the graphic engine 202 operates several times to respectively generate a plurality of caption data complying with the height limitation of the caption window, and the plurality of caption data are stored into the memory in order to create a caption scrolling effect.
- the graphic engine 302 also draws and writes all the caption content into the predetermined block 310 as shown by a schematic diagram of caption content illustrated in FIG. 4 .
- the predetermined block 310 stores a complete caption data 40 having a three-character caption height. Therefore, before a next window-defining command having a same window ID code is received, the system needs to finish displaying all the caption content in a caption window having a two-character height.
- the graphic output processor 305 directly accesses from the predetermined block 310 the caption data 40 to be displayed on a display 32 . Further, the graphic output processor 305 is defined to access data from a start point to display the captioning within a predetermined range of the predetermined block 310 .
- the start point is defined by adding an offset stored in the offset register 306 to a default start address of the predetermined block 310 . Therefore, when the offset stored in the offset register 306 is 0, the graphic output processor 305 accesses and displays data stored in the predetermined block 310 from a first start point 400 illustrated in FIG. 4 , and further displays caption data within a range marked by a frame 41 on the display 32 .
- Step S 14 whether a predetermined period has passed is determined. When positive, proceed to Step S 15 .
- Step S 15 the offset stored in the offset register 306 is rewritten to change the start point so that the graphic output processor 305 next accesses data from a second start point 401 .
- Step S 16 caption data within a range marked by a frame 42 illustrated in FIG. 4 is outputted and displayed. Accordingly, by gradually increasing the offset stored inside the offset register 306 , an access address that the graphic output processor 305 reads is incremented, so as to sequentially output caption content with a scrolling effect without the process of writing into a memory when the captioning is scrolled to overcome the disadvantages of the conventional approach.
- the predetermined block 310 may also be designed as a circular buffer. Therefore, upon receiving a next window-defining command having a same window ID code, the predetermined block 310 generates another caption data according to content of the window-defining command and writes the caption data into a subsequent block of the predetermined block 310 . When all blocks are occupied, the predetermined block 310 is written again from the beginning address. For example, when a received caption window defined by a window-defining command has a two-character height and the caption content is expressed in more than four lines of characters, in this embodiment, the graphic engine 302 draws and writes all the caption content into the predetermined block 310 as shown by a schematic diagram of caption content illustrated in FIG. 5 .
- the predetermined block 310 is previously stored with a three-character height caption data defined by a previous window-defining command. Supposing that the predetermined block 310 accommodates a six-character height, the predetermined block 310 is bound to run out of memory space when a fourth line of a next captioning is written into it. However, since the predetermined block 310 is designed as a circular buffer, the first line of the previous captioning is overwritten as a caption data 50 illustrated in FIG. 5 . Moreover, the offset stored in the offset register 306 is incremented, and the graphic output processor 305 moves the access range by varying the offset, so as to control the graphic output processor 305 to output the captioning with a scrolling effect.
- the offset returns to zero when an access index defined by the default start address and the offset overflows, so that the predetermined block 310 is again accessed from the start address at the beginning of the predetermined block 310 and continues to process, without intermittence, the caption content subsequently received.
- a system according to an embodiment of the present invention need not clear content of the predetermined block 310 , but only need to change the predetermine range defined by the graphic output processor 305 from the two-character height to a three-character height. Accordingly, without wasting resources for redrawing the captioning as in the prior art, three lines of caption data within ranges marked by frames 51 and 52 illustrated in FIG. 5 are displayed on the display 32 .
- a DTV system provider is allowed to transmit an image data that contains at most 8 windows defining commands. Therefore, when a next received window-defining command has a different window ID code from a previous one, the system allocates another predetermined block to process the window-defining command.
- a caption window display device and a method thereof are provided to accomplish window scrolling, so that the disadvantages of the prior art having high hardware requirements and cost are overcome to achieve the main object of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Controls And Circuits For Display Device (AREA)
- Television Systems (AREA)
Abstract
Description
Claims (10)
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910001559A CN101778238A (en) | 2009-01-12 | 2009-01-12 | Subtitle window display device and display method thereof |
CN200910001559 | 2009-01-12 | ||
CN200910001559.5 | 2009-01-12 |
Publications (2)
Publication Number | Publication Date |
---|---|
US20100177242A1 US20100177242A1 (en) | 2010-07-15 |
US8284309B2 true US8284309B2 (en) | 2012-10-09 |
Family
ID=42318799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/647,658 Active 2030-12-19 US8284309B2 (en) | 2009-01-12 | 2009-12-28 | Device and method for displaying caption window |
Country Status (2)
Country | Link |
---|---|
US (1) | US8284309B2 (en) |
CN (1) | CN101778238A (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103237179B (en) * | 2013-04-03 | 2016-09-28 | 广东威创视讯科技股份有限公司 | A kind of combination video window caption presentation method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4670745A (en) * | 1983-11-15 | 1987-06-02 | Motorola Inc. | Video display address generator |
CN1781153A (en) | 2003-04-28 | 2006-05-31 | 松下电器产业株式会社 | Recording medium and method,reproduction apparatus and method,program and integrated circuit |
-
2009
- 2009-01-12 CN CN200910001559A patent/CN101778238A/en active Pending
- 2009-12-28 US US12/647,658 patent/US8284309B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4670745A (en) * | 1983-11-15 | 1987-06-02 | Motorola Inc. | Video display address generator |
CN1781153A (en) | 2003-04-28 | 2006-05-31 | 松下电器产业株式会社 | Recording medium and method,reproduction apparatus and method,program and integrated circuit |
Non-Patent Citations (1)
Title |
---|
Masami Harigai, Tsutomu Nakazawa, Takeshi Yoshida, Yutaka Hirakoso, Kenji Suto, and Hiroaki Negishi."LSI chip set for closed caption decoder system" Sanyo Electric Co., Ltd. Gunma Japan. Aug. 1991. |
Also Published As
Publication number | Publication date |
---|---|
CN101778238A (en) | 2010-07-14 |
US20100177242A1 (en) | 2010-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11350069B2 (en) | Source device and control method thereof, and sink device and image quality improvement processing method thereof | |
US9037984B2 (en) | Display apparatus for displaying widget windows, display system including the display apparatus, and a display method thereof | |
US7262776B1 (en) | Incremental updating of animated displays using copy-on-write semantics | |
US6057888A (en) | Method and apparatus for enabling a user to access data network applications from a television system | |
CN113687745B (en) | Interface display method, system and terminal for split-screen window | |
US10133711B2 (en) | Display apparatus and control method thereof | |
CN111476852A (en) | Reader refresh method, computing device, and computer storage medium | |
US9135672B2 (en) | Display system and data transmission method thereof | |
JP2024513380A (en) | Subtitle processing methods, devices, devices and storage media | |
US20140026100A1 (en) | Method and apparatus for displaying an image, and computer readable recording medium | |
US8284309B2 (en) | Device and method for displaying caption window | |
US20100122042A1 (en) | Multi-windows color adjustment system and method | |
US8264612B2 (en) | Method of raster-scan search for multi-region on-screen display and system using the same | |
US20210233481A1 (en) | Display device and method for controlling same | |
US20090161013A1 (en) | Method for Setting Caption Window Attributes and Associated Television System | |
CN108132767B (en) | Application window preview method and system | |
JP2022515709A (en) | Methods, computer programs, and devices for generating images | |
US8248529B2 (en) | Method and associated device for displaying caption windows in television | |
US8767009B1 (en) | Method and system for record-time clipping optimization in display list structure | |
KR102413839B1 (en) | Apparatus for providing content, method for controlling thereof and recording media thereof | |
CN108255568B (en) | Terminal interface display method and device, terminal and storage medium | |
US9148699B2 (en) | Optimized algorithm for construction of composite video from a set of discrete video sources | |
JP2008092316A (en) | Display device | |
US6380946B1 (en) | Enhancing hardware clipping for bit-packed fonts | |
KR950004966A (en) | OSD character data support system by external memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: MSTAR SEMICONDUCTOR, INC., TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:LI, CHENG-HAO;REEL/FRAME:023705/0905 Effective date: 20091015 |
|
FEPP | Fee payment procedure |
Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
AS | Assignment |
Owner name: MEDIATEK INC., TAIWAN Free format text: MERGER;ASSIGNOR:MSTAR SEMICONDUCTOR, INC.;REEL/FRAME:052931/0468 Effective date: 20190115 |
|
FEPP | Fee payment procedure |
Free format text: 7.5 YR SURCHARGE - LATE PMT W/IN 6 MO, LARGE ENTITY (ORIGINAL EVENT CODE: M1555); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 8 |
|
AS | Assignment |
Owner name: XUESHAN TECHNOLOGIES INC., CANADA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:MEDIATEK INC.;REEL/FRAME:055486/0870 Effective date: 20201223 |
|
FEPP | Fee payment procedure |
Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |