CN101707055A - Method and system for processing window images of digital television set-top box - Google Patents

Method and system for processing window images of digital television set-top box Download PDF

Info

Publication number
CN101707055A
CN101707055A CN200910109913A CN200910109913A CN101707055A CN 101707055 A CN101707055 A CN 101707055A CN 200910109913 A CN200910109913 A CN 200910109913A CN 200910109913 A CN200910109913 A CN 200910109913A CN 101707055 A CN101707055 A CN 101707055A
Authority
CN
China
Prior art keywords
window
plate
value
chained list
covers
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.)
Granted
Application number
CN200910109913A
Other languages
Chinese (zh)
Other versions
CN101707055B (en
Inventor
傅雪松
刘涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Software Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology 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 Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN 200910109913 priority Critical patent/CN101707055B/en
Publication of CN101707055A publication Critical patent/CN101707055A/en
Application granted granted Critical
Publication of CN101707055B publication Critical patent/CN101707055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Studio Circuits (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method and a system for processing window images of a digital television set-top box. The method comprises the following steps of: establishing window masks and a clipping area linked list, namely after establishing a window, establishing the window masks of which the widths and the heights are equal to those of the window, and establishing the clipping area linked list, wherein the byte-size of a memory area is equal to the result of the width of the window multiplied by the height of the window and divided by 8, and an initial node of the linked list is a copy of the window masks; clipping the masks in a superposing mode; and drawing the window, judging the value of a corresponding bit of each mask point to point according to the clipping area linked list while drawing the window, drawing the point when the value is 1, and not drawing the point when the value is 0, wherein clipping areas with any shapes can be established by changing the values of the corresponding bits of the masks. The method and the system can improve the display quality of a complex window interface of the digital television set-top box.

Description

A kind of window images of digital television set-top box disposal route and system
Technical field
The present invention relates to the digital TV set-top box technology, relate in particular to a kind of window images of digital television set-top box disposal route and system.
Background technology
In recent years, the Digital Television develop rapidly, set-top box has entered huge numbers of families.Along with becoming increasingly abundant of digital television function, also have benefited from the develop rapidly of chip technology simultaneously, integrated more complicated graphics system has become inevitable on set-top box.At present, popular window system is only supported the cut out areas of rectangle mostly, and is for example shown in Figure 1, and the situation when being added on the window 11 for window 12 has the background of a rectangle, thereby influences the effect of whole interface; Be illustrated in figure 2 as the situation that does not have the rectangle background, as can be seen, display effect can be got well a lot.
Therefore, along with the continuous development of digital TV set-top box technology, complicated interface how to handle the digital TV set-top box window shows, demonstration problem such as irregularly shaped window, it is better to make that picture quality shows, makes product have more the market competitiveness, becomes problem anxious to be solved.
Summary of the invention
The object of the present invention is to provide a kind of image processing method and system of digital television roof window mouth, improve the display quality at TV set-top box complex window interface.
For solving technical matters of the present invention, the present invention discloses a kind of window images of digital television set-top box disposal route, wherein, comprising:
Create window and cover plate, create window after, set up the illiteracy plate that a size equates with the wide of window and height, the byte-sized of region of memory is that the wide height that multiply by of window is again divided by 8;
Set up one and cut out the district of cutting out that district's chained list is used to preserve window, each node of chained list all is one and covers plate that the start node of chained list is the copy that window covers plate;
Using stacked system to cover plate cuts out;
Draw window, window judges according to cutting out the value pointwise that district's chained list respectively covers the plate corresponding positions when drawing, and is to draw this point at 1 o'clock, is then not draw in 0 o'clock;
Wherein, by changing the value of covering the plate corresponding positions, can create the cut out areas of arbitrary shape.
More excellent, each binary digit correspondence of described illiteracy plate the pixel of window relevant position, and its value is 1 o'clock, represents that this pixel needs to show; Be 0 o'clock, this pixel does not need to show.
More excellent, also comprise: the volume bar of picture partly is set to 1, and the frame branch is set to 0.
More excellent, described use stacked system covers plate and cuts out and be specially:
After first window is cut out by second window, described illiteracy plate is divided into 5 parts, the illiteracy plate of described second window remains unchanged, wherein, first, second, third and fourth covers plate and inherits the value that former described first window covers the plate appropriate section, described the 5th illiteracy plate is that the value of described first window illiteracy plate appropriate section deducts the value that described second window covers plate, be that a lot of are cut out districts if first window or second window have been tailored, then first window each node of cutting out district's chained list all will be done above-mentioned computing with all nodes that second window be cut out district's chained list.
More excellent, the subtraction rule of described illiteracy plate is: have only when described first value of covering plate be 1 and described second value of covering plate when being 0, the value that the result covers plate just is 1; Other situations all are 0.
For solving technical matters of the present invention, the present invention also discloses a kind of window images of digital television set-top box treating apparatus, wherein, comprising:
Creation module is used to create window and covers plate, create window after, set up the illiteracy plate that a size equates with the wide of window and height, the byte-sized of region of memory is that the wide height that multiply by of window is again divided by 8; Set up one and cut out the district of cutting out that district's chained list is used to preserve window, each node of chained list all is one and covers plate that the start node of chained list is the copy that window covers plate;
Cut out module, be used to use stacked system to cover plate and cut out;
Drafting module is used to draw window, and window judges according to cutting out the value pointwise that district's chained list respectively covers the plate corresponding positions when drawing, and is to draw this point at 1 o'clock, is then not draw in 0 o'clock;
Wherein, by changing the value of covering the plate corresponding positions, can create the cut out areas of arbitrary shape.
More excellent, described creation module also is used to be provided with each binary digit correspondence of described illiteracy plate and the pixel of window relevant position, and its value is 1 o'clock, represents that this pixel needs to show; Be 0 o'clock, this pixel does not need to show; Window is set cuts out the copy that the start node of district's chained list is a window illiteracy plate;
More excellent, described creation module also is used for the volume bar of picture partly is set to 1, and the frame branch is set to 0.
More excellent, the described module of cutting out also is used for described illiteracy plate is divided into 5 parts, the illiteracy plate of described second window remains unchanged, wherein, first, second, third and fourth covers plate and inherits the value that former described first window covers the plate appropriate section, described the 5th illiteracy plate is that the value of described first window illiteracy plate appropriate section deducts the value that described second window covers plate, be that a lot of are cut out districts if first window or second window have been tailored, then first window each node of cutting out district's chained list all will be done above-mentioned computing with all nodes that second window be cut out district's chained list.
More excellent, the subtraction rule of described illiteracy plate is: have only when described first value of covering plate be 1 and described second value of covering plate when being 0, the value that the result covers plate just is 1; Other situations all are 0.
Compared with prior art, the present invention has following beneficial effect:
According to window images of digital television set-top box disposal route disclosed by the invention and system, cut out mechanism according to this kind window, can realize the demonstration of some the complicated shape windows in the set-top box application at an easy rate, as quiet, new mail prompting etc., with great universalization of the demonstration of these information and simplification, this programme supports the stack of multiwindow to show.
Description of drawings
Fig. 1 is the synoptic diagram of superimpose rectangles volume window on other interfaces of prior art;
Fig. 2 is superpose on other interfaces synoptic diagram of non-rectangle volume window of the embodiment of the invention;
Fig. 3 is the amplification effect figure of the volume video in window of the embodiment of the invention;
Fig. 4 cuts out the window stacking diagram for the embodiment of the invention;
Fig. 5 is the synoptic diagram behind the window cut out of the embodiment of the invention;
Fig. 6 is the synoptic diagram of the value of cutting out of the illiteracy plate 1 of the embodiment of the invention;
Fig. 7 is the synoptic diagram of the value of cutting out of the illiteracy plate 2 of the embodiment of the invention;
Fig. 8 is the illiteracy plate 1 of the embodiment of the invention and covers the result schematic diagram that plate 2 subtracts each other;
Fig. 9 is a kind of window images of digital television set-top box disposal system structural representation of the embodiment of the invention.
Embodiment
The present invention discloses a kind of window images of digital television set-top box disposal route and system, improves the display quality at TV set-top box complex window interface, and following embodiment is that example is elaborated with non-rectangle volume window just.
As described in Figure 2, be the superpose synoptic diagram of non-rectangle volume window of the embodiment of the invention on other interfaces, 21 comprise a non-rectangle volume window 22 in the viewing area.
As shown in Figure 3, be the amplification effect figure of volume video in window, comprise volume window 31 and volume bar 32, for realizing the non-rectangle display effect, a kind of window images of digital television set-top box disposal route of the embodiment of the invention can comprise the steps.
Step 1 is created window and is covered plate and initially cut out the district;
After creating window, set up the illiteracy plate (region of memory) that a size equates with the wide of window and height, the byte-sized of region of memory is that the wide height that multiply by of window is again divided by 8.This each binary digit correspondence of covering plate the pixel of window relevant position, and its value is 1 o'clock, represents that this pixel needs to show; Be 0 o'clock, this pixel does not need to show.By changing the value of covering the plate corresponding positions, can create the cut out areas of arbitrary shape.Corresponding to the volume window of Fig. 3, the volume bar part 32 of picture can be set to 1, framework part 31 is set to 0.Set up one and cut out district's chained list, the start node of chained list is the copy that this window covers plate.
Step 2 is used stacked system to cover plate and is cut out;
As described in Figure 4, for the embodiment of the invention cut out the window stacking diagram, cover the mode that plate cuts out and be: window 2 is added on the window 1.
After window 1 (or being referred to as first window) was cut out by window 2 (or being referred to as second window), it covered plate and is divided into 5 parts, and as shown in Figure 5, the illiteracy plate of window 2 remains unchanged.Wherein, illiteracy plate 1,2,3,4 (or being referred to as first, second, third, fourth illiteracy plate respectively) is inherited the value that parent window 1 covers the plate appropriate section, and illiteracy plate 5 (or being referred to as the 5th illiteracy plate) is that the value of window 1 illiteracy plate appropriate section deducts the value that window 2 covers plates.Be that a lot of are cut out districts if first window or second window have been tailored, then first window each node of cutting out district's chained list all will be done above-mentioned computing with all nodes that second window be cut out district's chained list.
For example, same size cover plate the subtraction rule can for:
A、1-0=1
B、1-1=0
C、0-1=0
D、0-0=0
But this rule simplified summary is: have only when the value of covering plate 1 be 1 and the value of covering plate 2 when being 0, the value that the result covers plate just is 1; Other situations all are 0.According to above-mentioned rule, the result that illiteracy plate 1 (Fig. 6) and illiteracy plate 2 (Fig. 7) subtract each other as shown in Figure 8.
Step 3 is drawn window
Window judges according to cutting out the value pointwise that district's chained list respectively covers the plate corresponding positions when drawing, and is to draw this point at 1 o'clock, is then not draw in 0 o'clock.
Accordingly, the present invention also discloses a kind of window images of digital television set-top box disposal system, as described in Figure 9, is the window images of digital television set-top box disposal system structural representation of the embodiment of the invention, comprise: creation module 41, cut out module 42 and draw mould 43.
Described creation module 41, being used to create window covers plate and cuts out district's chained list. after creating window, described creation module 41 also is used to set up a size and the wide of window and the high illiteracy plate (region of memory) that equates, the byte-sized of region of memory is that the wide height that multiply by of window the pixel of window relevant position divided by each binary digit correspondence of 8. these illiteracy plates again, its value is 1 o'clock, represents that this pixel needs to show; It is 0 o'clock, this pixel does not need to show. by changing the value of covering the plate corresponding positions, can create the cut out areas of arbitrary shape. corresponding to the volume window of Fig. 2, the volume bar part 32 of picture can be set to 1, framework part 31 is set to 0. and sets up one and cut out district's chained list, and the start node of chained list is the copy that this window covers plate;
The described module 42 of cutting out is used to use stacked system to cover plate and cuts out, and the mode that described illiteracy plate is cut out is: window 2 is added on the window 1.
After window 1 was cut out by window 2, the described module 42 of cutting out also was used for its illiteracy plate is divided into 5 parts, and as shown in Figure 5, the illiteracy plate of window 2 remains unchanged.Wherein, cover plate 1,2,3,4 and inherit the value that parent window 1 covers the plate appropriate section, covering plate 5 is that the value that window 1 covers the plate appropriate section deducts the value that window 2 covers plate.Be that a lot of are cut out districts if first window or second window have been tailored, then first window each node of cutting out district's chained list all will be done above-mentioned computing with all nodes that second window be cut out district's chained list.
For example, described cut out the 42 pairs of same sizes of module cover plate the subtraction rule can for:
A、1-0=1
B、1-1=0
C、0-1=0
D、0-0=0
But this rule simplified summary is: have only when the value of covering plate 1 be 1 and the value of covering plate 2 when being 0, the value that the result covers plate just is 1; Other situations all are 0.According to above-mentioned rule, the result that illiteracy plate 1 (Fig. 6) and illiteracy plate 2 (Fig. 7) subtract each other as shown in Figure 8.
Described drafting module 43 is used to draw window, and window judges according to cutting out the value pointwise that district's chained list respectively covers the plate corresponding positions when drawing, and is to draw this point at 1 o'clock, is then not draw in 0 o'clock.
In sum, according to window images of digital television set-top box disposal route disclosed by the invention and system, cut out mechanism according to this kind window, can realize the demonstration of some the complicated shape windows in the set-top box application at an easy rate, as quiet, new mail prompting etc., with great universalization of the demonstration of these information and simplification, this programme supports the stack of multiwindow to show.

Claims (10)

1. a window images of digital television set-top box disposal route is characterized in that, comprising:
Create window and cover plate and cut out district's chained list, create window after, set up the illiteracy plate that a size equates with the wide of window and height, the byte-sized of region of memory is that the wide height that multiply by of window is again divided by 8;
Set up one and cut out the district of cutting out that district's chained list is used to preserve window, each node of chained list all is one and covers plate that the start node of chained list is the copy that window covers plate;
Using stacked system to cover plate cuts out;
Draw window, window judges according to cutting out the value pointwise that district's chained list respectively covers the plate corresponding positions when drawing, and is to draw this point at 1 o'clock, is then not draw in 0 o'clock;
Wherein, by changing the value of covering the plate corresponding positions, create the cut out areas of arbitrary shape.
2. the method for claim 1 is characterized in that, each binary digit correspondence of described illiteracy plate the pixel of window relevant position, and its value is 1 o'clock, represents that this pixel needs to show; Be 0 o'clock, this pixel does not need to show.
3. method as claimed in claim 2 is characterized in that, also comprises:
The volume bar of picture partly is set to 1, and the frame branch is set to 0.
4. the method for claim 1 is characterized in that, described use stacked system covers plate and cuts out and be specially:
After first window is cut out by second window, described illiteracy plate is divided into 5 parts, the illiteracy plate of described second window remains unchanged, wherein, first, second, third and fourth covers plate and inherits the value that former described first window covers the plate appropriate section, described the 5th illiteracy plate is that the value of described first window illiteracy plate appropriate section deducts the value that described second window covers plate, be that a lot of are cut out districts if first window or second window have been tailored, then first window each node of cutting out district's chained list is all done above-mentioned computing with all nodes that second window is cut out district's chained list.
5. method as claimed in claim 4 is characterized in that, the subtraction rule of described illiteracy plate is: have only when described first value of covering plate be 1 and described second value of covering plate when being 0, the value that the result covers plate just is 1; Other situations all are 0.
6. a window images of digital television set-top box treating apparatus is characterized in that, comprising:
Creation module is used to create window and covers plate and cut out district's chained list, create window after, set up the illiteracy plate that a size equates with the wide of window and height, the byte-sized of region of memory is that the wide height that multiply by of window is again divided by 8; Set up one and cut out the district of cutting out that district's chained list is used to preserve window, each node of chained list all is one and covers plate that the start node of chained list is the copy that window covers plate;
Cut out module, be used to use stacked system to cover plate and cut out;
Drafting module is used to draw window, and window judges according to cutting out the value pointwise that district's chained list respectively covers the plate corresponding positions when drawing, and is to draw this point at 1 o'clock, is then not draw in 0 o'clock;
Wherein, by changing the value of covering the plate corresponding positions, create the cut out areas of arbitrary shape.
7. device as claimed in claim 6 is characterized in that, described creation module also is used to be provided with each binary digit correspondence of described illiteracy plate and the pixel of window relevant position, and its value is 1 o'clock, represents that this pixel needs to show; Be 0 o'clock, this pixel does not need to show; Window is set cuts out the copy that the start node of district's chained list is a window illiteracy plate.
8. device as claimed in claim 7 is characterized in that, described creation module also is used for the volume bar of picture partly is set to 1, and the frame branch is set to 0.
9. device as claimed in claim 6, it is characterized in that, the described module of cutting out also is used for described illiteracy plate is divided into 5 parts, the illiteracy plate of described second window remains unchanged, wherein, first, two, three, four cover plate inherits the value that former described first window covers the plate appropriate section, described the 5th illiteracy plate is that the value of described first window illiteracy plate appropriate section deducts the value that described second window covers plate, be that a lot of are cut out districts if first window or second window have been tailored, then first window each node of cutting out district's chained list is all done above-mentioned computing with all nodes that second window is cut out district's chained list.
10. device as claimed in claim 9 is characterized in that, the subtraction rule of described illiteracy plate is: have only when described first value of covering plate be 1 and described second value of covering plate when being 0, the value that the result covers plate just is 1; Other situations all are 0.
CN 200910109913 2009-10-30 2009-10-30 Method and system for processing window images of digital television set-top box Active CN101707055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910109913 CN101707055B (en) 2009-10-30 2009-10-30 Method and system for processing window images of digital television set-top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910109913 CN101707055B (en) 2009-10-30 2009-10-30 Method and system for processing window images of digital television set-top box

Publications (2)

Publication Number Publication Date
CN101707055A true CN101707055A (en) 2010-05-12
CN101707055B CN101707055B (en) 2013-01-09

Family

ID=42377274

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910109913 Active CN101707055B (en) 2009-10-30 2009-10-30 Method and system for processing window images of digital television set-top box

Country Status (1)

Country Link
CN (1) CN101707055B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012051771A1 (en) * 2010-10-20 2012-04-26 中兴通讯股份有限公司 Image copying method and device
CN110189250A (en) * 2019-05-28 2019-08-30 成都依能科技股份有限公司 Picture method of cutting out

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0145817A1 (en) * 1983-12-19 1985-06-26 International Business Machines Corporation A data display system
JPH0548969A (en) * 1991-08-09 1993-02-26 Nippon Telegr & Teleph Corp <Ntt> Plural image display device
EP0838945A2 (en) * 1996-10-25 1998-04-29 Matsushita Electric Industrial Co., Ltd. Video user's environment
CN101465995A (en) * 2008-11-14 2009-06-24 深圳创维数字技术股份有限公司 Digital television set-top box, device and method for managing window layout
CN101494747A (en) * 2009-02-24 2009-07-29 山东泰信电子有限公司 Method for displaying roll titles based on digital television set-top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0145817A1 (en) * 1983-12-19 1985-06-26 International Business Machines Corporation A data display system
JPH0548969A (en) * 1991-08-09 1993-02-26 Nippon Telegr & Teleph Corp <Ntt> Plural image display device
EP0838945A2 (en) * 1996-10-25 1998-04-29 Matsushita Electric Industrial Co., Ltd. Video user's environment
CN101465995A (en) * 2008-11-14 2009-06-24 深圳创维数字技术股份有限公司 Digital television set-top box, device and method for managing window layout
CN101494747A (en) * 2009-02-24 2009-07-29 山东泰信电子有限公司 Method for displaying roll titles based on digital television set-top box

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012051771A1 (en) * 2010-10-20 2012-04-26 中兴通讯股份有限公司 Image copying method and device
US8693042B2 (en) 2010-10-20 2014-04-08 Zte Corporation Image copying method and device
CN110189250A (en) * 2019-05-28 2019-08-30 成都依能科技股份有限公司 Picture method of cutting out

Also Published As

Publication number Publication date
CN101707055B (en) 2013-01-09

Similar Documents

Publication Publication Date Title
US10825130B2 (en) Method and apparatus for displaying picture content in application, and storage medium
CN101930337B (en) Method for processing on-screen display and associated embedded system
EP3220249A1 (en) Method, device and terminal for implementing regional screen capture
CN107172351B (en) Method for rapidly superposing subtitles in real time by using camera
CN101419715A (en) Method and device for generating character or graphic dot matrix
CN101950239A (en) Large size image display method and system
US8731330B2 (en) Apparatus and method for composing images in an image processing device
EP3719741B1 (en) Image processing apparatus and image processing method thereof
CN102890603A (en) Video image processing method and video image processing device
CN111986601B (en) Screen display method, device, terminal equipment and storage medium
CN101707055B (en) Method and system for processing window images of digital television set-top box
CN113313027A (en) Image processing method, image processing device, electronic equipment and storage medium
KR20080056583A (en) Method for editing an image and for generating an editing image and for storing an edited image of a portable display device and apparatus thereof
CN103049430A (en) Page display method based on IDF (interactive document format) files
CN111787240A (en) Video generation method, device and computer readable storage medium
CN102340635A (en) Multimedia playing equipment and method and device for displaying texts in file of multimedia playing equipment
CN107204024A (en) Handle the method and device of sequence of pictures frame
CN103067774A (en) Method and system capable of enabling set top box to display add-on subtitles
CN110996026B (en) OSD display method, device, equipment and storage medium
CN108243355A (en) Set-top box users interface loading method and system
CN111161127A (en) Picture resource rendering optimization method
CN113132786A (en) User interface display method and device and readable storage medium
CN104836962A (en) Photo processing method and apparatus
CN112288862B (en) Panoramic three-dimensional interactive mixed reality method based on smart building
CN107221019B (en) Chart conversion method and 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
ASS Succession or assignment of patent right

Owner name: SHENZHEN SKYWORTH SOFTWARE CO., LTD.

Free format text: FORMER OWNER: SKY-WORTH DIGITAL TECHNOLOGY CO., LTD.;SHENZHEN CITY

Effective date: 20120418

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 518000 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20120418

Address after: 518000 Shenzhen city Nanshan District Gao Xin Road No. 008 building, room 704, SKYWORTH A703

Applicant after: Shenzhen Skyworth Software Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road SKYWORTH building A14

Applicant before: Shenzhen Skyworth Digital Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant