CN102111661B - Method for displaying pictures by set top box (STB) in line-by-line decompression mode - Google Patents

Method for displaying pictures by set top box (STB) in line-by-line decompression mode Download PDF

Info

Publication number
CN102111661B
CN102111661B CN200910238911.7A CN200910238911A CN102111661B CN 102111661 B CN102111661 B CN 102111661B CN 200910238911 A CN200910238911 A CN 200910238911A CN 102111661 B CN102111661 B CN 102111661B
Authority
CN
China
Prior art keywords
line
picture
decompress
ion
top box
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
Application number
CN200910238911.7A
Other languages
Chinese (zh)
Other versions
CN102111661A (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 Konka Holding Group Co ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN200910238911.7A priority Critical patent/CN102111661B/en
Publication of CN102111661A publication Critical patent/CN102111661A/en
Application granted granted Critical
Publication of CN102111661B publication Critical patent/CN102111661B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Processing (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)

Abstract

The invention relates to a method for displaying pictures by a set top box (STB) in a line-by-line decompression mode. The method comprises the following steps: S1, reading original size information of a picture; S2, applying for a line of internal memory required by decomposing the picture according to the original size information of the picture; and S3, decomposing the picture line by line to the internal memory according to the original size information and final display size of the picture and displaying the picture. By the method, when a decompression space is applied, one line of internal memory space for decomposing the picture is only applied, and scaling is calculated in advance; and the calculated scaling is used to determine whether data in the line is used or not after a line of data is finished decompression, if the data is required to use, the line of data is required to scale, and then the next line of data is decomposed. By utilizing the line-by-line decompression technology, the decompression and display of a large-size picture are achieved in the small internal memory, thereby breaking the restriction that the STB can not display the large-size picture.

Description

A kind of Set Top Box is the method that Shows Picture of decompress(ion) line by line
Technical field
The present invention relates to set-top box technique, more particularly, relate to a kind of Set Top Box method of Showing Picture of decompress(ion) line by line.
Background technology
At present, the method that Set Top Box Shows Picture comprises the following steps.First read dimension of picture information, subsequently according to dimension of picture application decompress(ion) internal memory, then carry out decompress(ion), and calculate scaling according to picture original size and screen size, according to scaling, image zooming is shown to the applicable size of screen.The internal memory computational methods that usual decompress(ion) one pictures needs are: the internal memory that figure leaf length × picture width × 3 (value according to picture color change)=solution repoussage pictures needs.
But during in above process according to dimension of picture application decompress(ion) internal memory, in time needing the picture original size of display very large, the internal memory that usual decompress(ion) needs is very large, and Set Top Box cannot be assigned to enough internal memories, so cause picture to show unsuccessfully.Therefore, the size that current Set Top Box Shows Picture often is subject to the restriction of Set Top Box memory size, cannot show very large-sized picture.
Summary of the invention
The technical problem to be solved in the present invention is, Shows Picture by the defect of internal memory restriction for existing Set Top Box, provides a kind of Set Top Box method of Showing Picture of decompress(ion) line by line.
The technical solution adopted for the present invention to solve the technical problems is: construct a kind of Set Top Box method of Showing Picture of decompress(ion) line by line, the memory headroom that a line of uncompressed picture needs only is applied for when application decompression space, and calculate scaling in advance, after decompress(ion) completes a line, just determine whether the row data use according to the scaling calculated, if need to use again convergent-divergent this row good, and then the next line data that decompress.
The invention provides a kind of Set Top Box method of Showing Picture of decompress(ion) line by line, comprise the following steps:
S1, reading picture raw dimension information;
S2, the internal memory needed according to a line of picture raw dimension information application decompress(ion) picture;
S3, according to showing in picture raw dimension information and final display size line by line decompress(ion) picture to above-mentioned internal memory.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, described step S3 comprises further:
S31, calculate image zooming ratio according to dimension of picture and final display size;
The packed data of a line of S32, reading picture unzips in the memory headroom of current application;
S33, determine that this row is the need of display, is go to step S34, otherwise abandons the row data, go to step S35 according to scaling;
S34, carry out according to scaling width convergent-divergent and show this row;
S35, judge whether scan complete picture, be terminate, otherwise go to step the packed data of S32 scanned picture next line.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, in described step S1, picture raw dimension information is the length of picture, width and color format and the degree of depth.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, according to the internal memory that a line of the change calculations decompress(ion) picture of the width of picture and color depth needs in described step S2.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, in needing according to a line of the change calculations decompress(ion) picture of the color depth of picture in described step S2, save as 3 to 4 times of picture width.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, in described step S31, image zooming ratio comprises length scale ratio and width scaling.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, in described step S33 according to this row of length scale ratio-dependent the need of display.
In the Set Top Box of the present invention method that decompress(ion) Shows Picture line by line, carry out the convergent-divergent of width according to width scaling in described step S34 and show this row.
Implement the Set Top Box of the present invention method that Shows Picture of decompress(ion) line by line, there is following beneficial effect: the present invention utilizes decompression technique line by line, the realization of little internal memory can be utilized the decompression of large scale picture and display, breach the restriction that Set Top Box cannot show large scale picture.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the Set Top Box of the present invention schematic flow sheet of method that Shows Picture of decompress(ion) line by line.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.
The invention provides a kind of Set Top Box method of Showing Picture of decompress(ion) line by line, the problem of large scale picture can not be shown for the restriction solved due to Set Top Box internal memory.Referring to Fig. 1, is the Set Top Box of the present invention schematic flow sheet of method that Shows Picture of decompress(ion) line by line.As shown in Figure 1, method provided by the invention mainly comprises the following steps:
First in step sl, picture raw dimension information is read.This picture raw dimension information is at least the length of picture, width and color format and depth information, so that subsequent application internal memory uses.
Subsequently in step s 2, according to the internal memory that a line of picture raw dimension information application decompress(ion) picture needs.In this step, according to the internal memory that a line of the width of picture and the change calculations decompress(ion) picture of color depth needs, the memory size namely needed by the color of a point in picture calculates the internal memory of a line needs.Usually, save as 3 times of picture width to 4 times in the change calculations application according to the color depth of picture, to ensure normal decompression procedure.
Subsequently in step s3, i.e. step S31 to S35 in Fig. 1, according to showing in picture raw dimension information and final display size line by line decompress(ion) picture to above-mentioned internal memory.
In a preferred embodiment of the invention, the specific implementation process of above-mentioned steps S3 is as follows:
In step S31, calculate image zooming ratio according to dimension of picture and final display size.The scaling of this picture comprises length scale ratio and the width scaling of picture.
Subsequently in step s 32, the packed data reading a line of picture unzips in the memory headroom of current application.
Subsequently in step S33, determine that this row is the need of display, is go to step S34, otherwise abandons the row data, go to step S35 according to scaling.In this step, according to this row of length scale ratio-dependent of picture the need of showing.
Subsequently in step S34, carry out the convergent-divergent of width according to scaling and show this row.In this step, carry out the convergent-divergent of width according to the width scaling of picture and show.
In step s 35, judge whether to scan complete picture, be terminate, otherwise go to step the packed data of S32 scanned picture next line finally.
Two crucial parts of the present invention are as described below.First, the present invention only applies for that when application decompression space the memory headroom that a line of uncompressed picture needs carries out decompress(ion) line by line, which offers a saving a large amount of memory headroom, be generally original less than 1%, breach the restriction that Set Top Box cannot show large scale picture (more than 8,000,000 pixels).Secondly, the present invention, in the specific implementation process decompressed line by line, calculates scaling in advance, after decompress(ion) completes a line, just determine whether the row data use according to the scaling calculated, if need to use again convergent-divergent this row good, and then the next line data that decompress.Therefore, optimize handling process, improve decompression speed.
The present invention is described according to specific embodiment, but it will be understood by those skilled in the art that when not departing from the scope of the invention, can carry out various change and equivalent replacement.In addition, for adapting to specific occasion or the material of the technology of the present invention, can many amendments be carried out to the present invention and not depart from its protection range.Therefore, the present invention is not limited to specific embodiment disclosed herein, and comprises all embodiments dropping into claims.

Claims (7)

1. the Set Top Box method that Shows Picture of decompress(ion) line by line, is characterized in that, comprise the following steps:
S1, reading picture raw dimension information;
S2, the internal memory needed according to a line of picture raw dimension information application decompress(ion) picture;
S3, according to showing in picture raw dimension information and final display size line by line decompress(ion) picture to above-mentioned internal memory, specifically to comprise:
S31, calculate image zooming ratio according to dimension of picture and final display size;
The packed data of a line of S32, reading picture unzips in the memory headroom of current application;
S33, determine that this row is the need of display, is go to step S34, otherwise abandons the row data, go to step S35 according to scaling;
S34, carry out according to scaling width convergent-divergent and show this row;
S35, judge whether scan complete picture, be terminate, otherwise go to step the packed data of S32 scanned picture next line.
2. the Set Top Box according to claim 1 method that Shows Picture of decompress(ion) line by line, is characterized in that, in described step S1, picture raw dimension information is the length of picture, width and color format and the degree of depth.
3. the Set Top Box according to claim 2 method that Shows Picture of decompress(ion) line by line, is characterized in that, according to the internal memory that a line of the change calculations decompress(ion) picture of the width of picture and color depth needs in described step S2.
4. the Set Top Box according to claim 3 method that Shows Picture of decompress(ion) line by line, is characterized in that, saves as 3 to 4 times of picture width in described step S2 according to a line of the change calculations decompress(ion) picture of the color depth of picture in needing.
5. the Set Top Box according to claim 1 method that Shows Picture of decompress(ion) line by line, it is characterized in that, in described step S31, image zooming ratio comprises length scale ratio and width scaling.
6. the Set Top Box according to claim 5 method that Shows Picture of decompress(ion) line by line, is characterized in that, in described step S33 according to this row of length scale ratio-dependent the need of display.
7. the Set Top Box according to claim 5 method that Shows Picture of decompress(ion) line by line, is characterized in that, carry out the convergent-divergent of width and show this row in described step S34 according to width scaling.
CN200910238911.7A 2009-12-29 2009-12-29 Method for displaying pictures by set top box (STB) in line-by-line decompression mode Active CN102111661B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910238911.7A CN102111661B (en) 2009-12-29 2009-12-29 Method for displaying pictures by set top box (STB) in line-by-line decompression mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910238911.7A CN102111661B (en) 2009-12-29 2009-12-29 Method for displaying pictures by set top box (STB) in line-by-line decompression mode

Publications (2)

Publication Number Publication Date
CN102111661A CN102111661A (en) 2011-06-29
CN102111661B true CN102111661B (en) 2014-12-24

Family

ID=44175661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910238911.7A Active CN102111661B (en) 2009-12-29 2009-12-29 Method for displaying pictures by set top box (STB) in line-by-line decompression mode

Country Status (1)

Country Link
CN (1) CN102111661B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139632A (en) * 2011-12-05 2013-06-05 康佳集团股份有限公司 Image processing method and image processing device
CN103678543A (en) * 2013-12-04 2014-03-26 康佳集团股份有限公司 System and method for decompressing PNG (portable network graphic format) images line by line
CN103686306A (en) * 2013-12-17 2014-03-26 康佳集团股份有限公司 Method and system for displaying image in line-by-line decompression mode
CN105844588B (en) * 2016-03-17 2019-05-24 广州筷子信息科技有限公司 The intelligent scalable compression method and system of intention picture

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328677A (en) * 1998-11-30 2001-12-26 夏普公司 Image display device
CN1625230A (en) * 2003-12-01 2005-06-08 北京中视联数字系统有限公司 Method of merging displaying any graphic
CN1933540A (en) * 2005-09-15 2007-03-21 富士通株式会社 Image processing apparatus and method for image resizing matching data supply speed
CN1988596A (en) * 2005-12-22 2007-06-27 海信集团有限公司 MPEG format picture display method for set-top box
CN101489026A (en) * 2009-01-07 2009-07-22 深圳市同洲电子股份有限公司 Set-top box starting control method, image display method and set-top box

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1328677A (en) * 1998-11-30 2001-12-26 夏普公司 Image display device
CN1625230A (en) * 2003-12-01 2005-06-08 北京中视联数字系统有限公司 Method of merging displaying any graphic
CN1933540A (en) * 2005-09-15 2007-03-21 富士通株式会社 Image processing apparatus and method for image resizing matching data supply speed
CN1988596A (en) * 2005-12-22 2007-06-27 海信集团有限公司 MPEG format picture display method for set-top box
CN101489026A (en) * 2009-01-07 2009-07-22 深圳市同洲电子股份有限公司 Set-top box starting control method, image display method and set-top box

Also Published As

Publication number Publication date
CN102111661A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN107493448B (en) Image processing system, image display method and display device
CN101930337B (en) Method for processing on-screen display and associated embedded system
CN102111661B (en) Method for displaying pictures by set top box (STB) in line-by-line decompression mode
JP4995077B2 (en) Pixel overdrive for LCD panels containing very slow responding pixels
JP2010535382A (en) How to supply pixels from an update buffer
TWI382755B (en) Image processing circuit and method thereof
CN103761933A (en) System and method for repairing bad display area of liquid crystal display panel
CN101729840A (en) Storage processing method utilizing video image characteristic sequence
CN101188712B (en) A processing method for page self-adapted display
CN104620574A (en) Methods and device for efficient resampling and resizing of digital images
JP2011049650A (en) Apparatus and method for processing image
CN103870444A (en) Image cutting method and system for image type texts
CN101764968B (en) Anisometric zooming method of video images without perceptive distortion of important content
CN101625847B (en) Rapid display method of large-size non-compressed digital image
CN102572207A (en) Color space transformation method suitable for joint photographic experts group (JPEG) image
JP5059092B2 (en) Display device, luminance unevenness correction method, and correction data creation device
JP2010067253A (en) Image enhancement method using domain gain correction
CN101635807A (en) Smooth scrolling method of characters of set-top box according to pixels
JP2008107894A (en) Image correction method and apparatus using stamp
CN103678543A (en) System and method for decompressing PNG (portable network graphic format) images line by line
CN103139632A (en) Image processing method and image processing device
KR20170033551A (en) Image processing device, method for processing image and computer-readable recording medium
CN204857142U (en) Signal extension display device
JP2005322233A (en) Memory efficient method and apparatus for compression encoding large overlaid camera image
TW200533204A (en) Method of image display with real time compression

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
TR01 Transfer of patent right

Effective date of registration: 20200629

Address after: 23 / F, Guangdong hi tech District

Patentee after: Shenzhen Konka Holding Group Co.,Ltd.

Address before: 518053 Konka Group, Huaqiao Town, Shenzhen, Guangdong, Nanshan District

Patentee before: KONKA GROUP Co.,Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 518057 23rd floor, Konka R & D building, No. 28, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee after: Shenzhen Konka Holding Group Co.,Ltd.

Country or region after: China

Address before: 518057 23rd floor, Konka R & D building, No. 28, Keji South 12th Road, high tech Zone, Yuehai street, Nanshan District, Shenzhen, Guangdong

Patentee before: Shenzhen Konka Holding Group Co.,Ltd.

Country or region before: China

CP03 Change of name, title or address