CN102665056A - Display method for videos and images in display terminals - Google Patents
Display method for videos and images in display terminals Download PDFInfo
- Publication number
- CN102665056A CN102665056A CN2012101297694A CN201210129769A CN102665056A CN 102665056 A CN102665056 A CN 102665056A CN 2012101297694 A CN2012101297694 A CN 2012101297694A CN 201210129769 A CN201210129769 A CN 201210129769A CN 102665056 A CN102665056 A CN 102665056A
- Authority
- CN
- China
- Prior art keywords
- sub
- image
- section
- resolution
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a display method for videos and images in display terminals. The method includes the steps of dividing an input compressed video or image into at least two sub-segments in a segment way before decoding; decoding the video or the image of each of the sub-segments successively based on the segment mode, and saving the decoded video or image in a decoding cache; scaling each of the sub-segments and saving the scaled sub-segments into an output cache; and displaying the scaled video or image. According to the display method, the compressed video or image is decoded in segment, resolution is scaled in segment, and the video or image is stored in segment to complete the display of the video or image with large resolution, accordingly, efficiency of the whole decoding display process is enhanced, intermediate buffer is saved, and processing time is reduced.
Description
Technical field
The present invention relates to the Display Technique field of video and image, relate in particular to a kind of video and image display packing at display terminal.
Background technology
Nearest increasing electronic display unit and mobile device begin to support video playback and picture display function.These electronic display units and mobile device are merely able to support the demonstration of fixed resolution usually.For example: DTV is supported the resolution of maximum 1920x1080 usually; Mobile phone can be supported the resolution of 800x600 usually, and panel computer is supported the display mode of 1280x720 etc. usually.
At present along with the popularizing of HD video, high pixel digital camera, video and photo resolution after compression is gathered all will be greater than the resolution of top said display device.For example, the video resolution of high definition compression is generally 1920x1080.80,000 pixel digital camera picture shot resolution are 3500x2500 on the market.That is to say that the resolution of these videos and image is all greater than the resolution that shows display terminal.
To on display terminal, show greater than the video of display terminal resolution and image and need carry out usually could showing after convergent-divergent is handled, if but improve the efficient of whole procedure for displaying, just this has become needs to go the realistic problem that solves.
Summary of the invention
To the problems referred to above; The object of the present invention is to provide a kind of video and image display packing at display terminal; Through video or image are divided into certain data segment, based on data segment is decoded, convergent-divergent, storage and demonstration, thereby improved the efficient of whole decoding and displaying process; Save intermediate buffering, reduced the processing time.
For achieving the above object, a kind of video according to the invention and image are in the display packing of display terminal, and this method may further comprise the steps:
The compressed video or the image of input are divided at least two sub-section with segmented mode before decoding;
Successively each sub-section is carried out the decoding of video or image according to segmented mode, and deposit in the decoding buffer memory;
Each sub-section is carried out convergent-divergent, and deposit in the output buffers;
The video or the image of convergent-divergent are shown.
Preferably, the decoding of said each sub-section is specially:
Decode successively to each sub-section is single;
Son section picturedeep to decoding is added up;
When the statistics line number is identical with the total line number of son section, sends interrupt signal to system and stop decoding.
Preferably, the buffer memory of said decoded each sub-section is specially:
At least two decoding buffer memorys are set;
At least deposit a decoded sub-segment data in each decoding buffer memory.
Preferably, said buffer memory may further comprise the steps:
At least one sub-segment data deposited in one of them decoding in buffer memory, and started follow-up convergent-divergent and handle;
Remaining decoding buffer memory relaying renewed put remaining sub-segment data, and the follow-up convergent-divergent of corresponding startup is handled;
Decoding buffer memory after convergent-divergent finished dealing with is deposited sub-segment data once more, and starts follow-up convergent-divergent once more and handle.
Preferably, the convergent-divergent of said each sub-section is specially:
Each sub-section resolution processes in the horizontal direction is big or small to the display resolution on the display terminal;
Again that each sub-section resolution processes in vertical direction is big or small to the display resolution on the display terminal.
Preferably, the convergent-divergent of said each sub-section is specially:
With each sub-section in the horizontal direction and the resolution on the vertical direction handle the display resolution size on the display terminal simultaneously.
Preferably, the convergent-divergent of said each sub-section is specially:
Each sub-section resolution processes in vertical direction is big or small to the display resolution on the display terminal;
Again that each sub-section resolution processes in the horizontal direction is big or small to the display resolution on the display terminal.
Preferably, said identical with the horizontal resolution of input video or image to go the horizontal resolution of each sub-section that segmented mode divides; The vertical resolution sum of each sub-section is identical with the vertical resolution of input video or image.
Preferably, the resolution of the compressed video of said input or image is greater than the resolution of display terminal.
Preferably, the stream treatment mode section of the being decoding → section convergent-divergent → demonstration of said method.
Beneficial effect of the present invention is:
The present invention carries out segmentation decoding through video or the image to compression, and the resolution convergent-divergent is carried out in segmentation, and fragmented storage; Accomplish the demonstration of big resolution video or image; Thereby improved the efficient of whole decoding and displaying process, saved intermediate buffering, reduced the processing time.
Description of drawings
Fig. 1 is the overall flow figure of the said display packing of the embodiment of the invention;
Fig. 2 is the processing procedure figure of the said display packing of the embodiment of the invention;
Fig. 3 is the structural representation of the said decoding unit of the embodiment of the invention.
Embodiment
Below in conjunction with Figure of description the present invention is done further description.
At present along with the popularizing of HD video, high pixel digital camera, video and photo resolution after compression is gathered all will be greater than the resolution of top said display device.For example, the video resolution of high definition compression is generally 1920x1080.80,000 pixel digital camera picture shot resolution are 3500x2500 on the market.That is to say that the resolution of these videos and image is all greater than the resolution that shows display terminal.To on display terminal, show greater than the video of display terminal resolution and image and need carry out usually could showing after convergent-divergent is handled, if but improve the efficient of whole procedure for displaying, just this has become needs to go the realistic problem that solves.
Video of the present invention and image are mainly to the video or the image of big resolution and handle in the display packing of display terminal.Need explanation here, big resolution is meant the situation of the resolution of the video that will decode or image greater than the resolution of display terminal.
Video or image show that at display terminal devices needed does not change.Be generally these modules: compressed video or image buffer storage unit, compressed video or picture decoding unit, decoded video or image buffer storage unit, reprocessing or display unit.
Compressed video or image buffer storage unit: this buffer memory is commonly used to store video or the view data that input need show, it can be video or picture format with the compress mode storage.For example, general H.264 or the video data of standard compression such as MPEG series; The view data of standard compression such as JPEG/PNG/JPEG2000 etc., the data of other compression standard also are fine certainly.
Compressed video or picture decoding unit: decode according to the compressed video of input or the form of image in this unit, decoded data deposit the decoded data buffer unit in.
Decoded video or image buffer storage unit: the decoded data buffer unit is used for decoded video of buffer memory or view data.
Reprocessing or display unit: this unit comprises the convergent-divergent to decoded video or view data, and this convergent-divergent is handled and comprised horizontal scaling and vertically scale.
Horizontal scaling: decoded video or image are carried out the convergent-divergent processing on the horizontal direction.
Vertically scale: decoded video or image are carried out the convergent-divergent processing on the vertical direction.
Data after the processing are carried out buffer memory, are used for subsequent treatment or show output.
In order to solve the above problems, as shown in Figure 1, said a kind of video of the embodiment of the invention and image are in the display packing of display terminal, and this method may further comprise the steps:
The compressed video or the image of input are divided at least two sub-section with segmented mode before decoding;
Successively each sub-section is carried out the decoding of video or image according to segmented mode, and deposit in the decoding buffer memory;
Each sub-section is carried out convergent-divergent, and deposit in the output buffers;
The video or the image of convergent-divergent are shown.
As shown in Figure 2, down in the face of said method to go the segmented mode explanation that makes an explanation:
Before explaining, at first define several variablees:
The resolution of input video or image: level is H_IN, vertically is V_IN.
The resolution of output video or image: level is H_OUT, vertically is V_OUT.
Horizontal scaling ratio: Ratio_H=H_IN/H_OUT.
Vertically scale ratio: Ratio_V=V_IN/V_OUT.
1, carries out segmentation to compressing video to be decoded or image.Adopt the row processing mode, that is to say that image or the video data with full line carries out segmentation.Video or image for each segmentation below are defined as " son section ".This a little section is not on compressed video or image, to define, but on video after the decompression or image, defines.Here in video or image decoder, define a counter, controlled the resolution of son section through this counter.
The division of said son section can be even division, also can be non-homogeneous division.The horizontal resolution of each sub-section is identical with input picture resolution, all is H_IN; Vertical resolution can be different, are defined as V1_IN, V2_IN ..., Vn_IN, formula below these sections resolution satisfies:
V_IN=V1_IN+V2_IN+V3_IN+....+Vn_IN。
2, the decoding step of said each sub-section is specially:
Decode successively to each sub-section is single;
Son section picturedeep to decoding is added up;
When the statistics line number is identical with the total line number of son section, sends interrupt signal to system and stop decoding.
As shown in Figure 3, what be worth explanation is, starts will the decode data of video or image of a sub-section of decode procedure.A counter is arranged here, be used for adding up the video of having decoded and the line number of image.When rolling counters forward the time to predetermined line number, just our predefined son section resolution the time, just stop decoding, produces one and interrupt or signalisation system or subsequent treatment unit, son section decoding completion.
3, the caching situation of said decoded each sub-section is specially:
At least two decoding buffer memorys are set; At least deposit a decoded sub-segment data in each decoding buffer memory.Wherein, the size of buffer memory is greater than or equals the decoded size of data of video or image section.The purpose that adopts a plurality of buffer memorys is to pause for fear of data, and mode is visited in the processing that forms flowing water.
Said buffer memory may further comprise the steps:
At least one sub-segment data deposited in one of them decoding in buffer memory, and started follow-up convergent-divergent and handle;
Remaining decoding buffer memory relaying renewed put remaining sub-segment data, and the follow-up convergent-divergent of corresponding startup is handled;
Decoding buffer memory after convergent-divergent finished dealing with is deposited sub-segment data once more, and starts follow-up convergent-divergent once more and handle.
Be example with two buffer memorys below:
When decoder with storage behind buffer memory 1, can start follow-up zoom operations;
Then, decoder can continue decoding, and decoding back data are put into buffer memory 2;
Again then, after data processing was finished in the buffer memory 1, decoder can reuse buffer memory 1.
According to the mode that is used alternatingly like this, can effectively avoid the pause of whole data path, improve treatment effeciency.
4, the convergent-divergent of decoded video or view data is handled:
The convergent-divergent of said each sub-section is specially:
Each sub-section resolution processes in the horizontal direction is big or small to the display resolution on the display terminal;
Again that each sub-section resolution processes in vertical direction is big or small to the display resolution on the display terminal.
Following explaining: the resolution of horizontal direction is carried out convergent-divergent handle predetermined display resolution for this scalable manner.Here carrying out the convergent-divergent processing earlier is in order to reduce the quantity of row cache.The ratio of each sub-section horizontal scaling is identical, all should be: Ratio_H, therefore the horizontal direction resolution of input all is: H_OUT.
After the convergent-divergent of the level of completion is handled, can start vertically scale and handle.The convergent-divergent that sub-segment data after this process is handled convergent-divergent on the horizontal direction is carried out on the vertical direction is handled the real data of finally being exported.Here the zoom ratio of each sub-section vertical direction is identical, is Ratio_V.Can obtain the data resolution of the vertical direction of each sub-section according to this ratio.
V1_OUT=V1_IN/Ratio_V
V2_OUT=V2_IN/Ratio_V
......
Vn_OUT=Vn_IN/Ratio_V
Final satisfied following formula:
V_OUT=V1_OUT+V2_OUT+...+Vn_OUT。
In addition, the scalable manner of decoded video or view data is not limited to above-mentioned a kind of, also includes:
The convergent-divergent of said each sub-section is specially:
Each sub-section resolution processes in vertical direction is big or small to the display resolution on the display terminal;
Again that each sub-section resolution processes in the horizontal direction is big or small to the display resolution on the display terminal.
Following explaining for this scalable manner:
After the interruption or signal of receiving the son section decoding end that decoder produces, can at first start vertically scale and handle.Here the zoom ratio of each sub-section vertical direction is identical, is Ratio_V.Can obtain the data resolution of the vertical direction of each sub-section according to this ratio.Data after vertically scale is handled deposit in the metadata cache.
V1_OUT=V1_IN/Ratio_V
V2_OUT=V2_IN/Ratio_V
......
Vn_OUT=Vn_IN/Ratio_V
And the formula below satisfying:
V_OUT=V1_OUT+V2_OUT+...+Vn_OUT。
After the vertical direction convergent-divergent finishes, can start horizontal scaling and handle.The further convergent-divergent of the resolution of horizontal direction is handled predetermined display resolution.Here the ratio of each sub-section horizontal scaling is identical, all should be: Ratio_H, therefore the horizontal direction size of output all is: H_OUT.
The convergent-divergent of said each sub-section is specially:
With each sub-section in the horizontal direction and the resolution on the vertical direction handle the display resolution size on the display terminal simultaneously.
Through top 1 to 4 processing procedure, can accomplish the level of an image and vertical convergent-divergent processing procedure.Top processing mode can form a decoding, horizontal scaling, the processing mode of the flowing water between 3 processing procedures such as vertically scale.A process of the processing mode section of the being decoding → section convergent-divergent → demonstration of its overall work.
Said display packing is primarily aimed at the situation of the resolution of video or image greater than the resolution of display terminal, but also is suitable for for the situation that the resolution of video or image is less than or equal to the resolution of display terminal.
More than; Be merely preferred embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range that claim was defined.
Claims (10)
1. video and image is characterized in that in the display packing of display terminal this method may further comprise the steps:
The compressed video or the image of input are divided at least two sub-section with segmented mode before decoding;
Successively each sub-section is carried out the decoding of video or image according to segmented mode, and deposit in the decoding buffer memory;
Each sub-section is carried out convergent-divergent, and deposit in the output buffers;
The video or the image of convergent-divergent are shown.
2. video according to claim 1 and image is characterized in that in the display packing of display terminal the decoding of said each sub-section is specially:
Decode successively to each sub-section is single;
Son section picturedeep to decoding is added up;
When the statistics line number is identical with the total line number of son section, sends interrupt signal to system and stop decoding.
3. video according to claim 1 and image is characterized in that in the display packing of display terminal the buffer memory of said decoded each sub-section is specially:
At least two decoding buffer memorys are set;
At least deposit a decoded sub-segment data in each decoding buffer memory.
4. video according to claim 3 and image is characterized in that in the display packing of display terminal said buffer memory may further comprise the steps:
At least one sub-segment data deposited in one of them decoding in buffer memory, and started follow-up convergent-divergent and handle;
Remaining decoding buffer memory relaying renewed put remaining sub-segment data, and the follow-up convergent-divergent of corresponding startup is handled;
Decoding buffer memory after convergent-divergent finished dealing with is deposited sub-segment data once more, and starts follow-up convergent-divergent once more and handle.
According to claim 1 or 4 described videos and image in the display packing of display terminal, it is characterized in that the convergent-divergent of said each sub-section is specially:
Each sub-section resolution processes in the horizontal direction is big or small to the display resolution on the display terminal;
Again that each sub-section resolution processes in vertical direction is big or small to the display resolution on the display terminal.
According to claim 1 or 4 described videos and image in the display packing of display terminal, it is characterized in that the convergent-divergent of said each sub-section is specially:
With each sub-section in the horizontal direction and the resolution on the vertical direction handle the display resolution size on the display terminal simultaneously.
According to claim 1 or 4 described videos and image in the display packing of display terminal, it is characterized in that the convergent-divergent of said each sub-section is specially:
Each sub-section resolution processes in vertical direction is big or small to the display resolution on the display terminal;
Again that each sub-section resolution processes in the horizontal direction is big or small to the display resolution on the display terminal.
8. video according to claim 1 and image is characterized in that in the display packing of display terminal, and be said identical with the horizontal resolution of input video or image to go the horizontal resolution of each sub-section that segmented mode divides; The vertical resolution sum of each sub-section is identical with the vertical resolution of input video or image.
9. video according to claim 1 and image is characterized in that in the display packing of display terminal the compressed video of said input or the resolution of image are greater than the resolution of display terminal.
10. video according to claim 1 and image is characterized in that in the display packing of display terminal, the stream treatment mode section of the being decoding → section convergent-divergent → demonstration of said method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101297694A CN102665056A (en) | 2012-04-28 | 2012-04-28 | Display method for videos and images in display terminals |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101297694A CN102665056A (en) | 2012-04-28 | 2012-04-28 | Display method for videos and images in display terminals |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102665056A true CN102665056A (en) | 2012-09-12 |
Family
ID=46774455
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012101297694A Pending CN102665056A (en) | 2012-04-28 | 2012-04-28 | Display method for videos and images in display terminals |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102665056A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995451A (en) * | 2016-10-26 | 2018-05-04 | 北京视联动力国际信息技术有限公司 | A kind of inspection method and device regarding networked video stream |
WO2021196037A1 (en) * | 2020-03-31 | 2021-10-07 | 西安诺瓦星云科技股份有限公司 | Image processing method and apparatus, and system |
CN115348454A (en) * | 2022-10-17 | 2022-11-15 | 此芯科技(上海)有限公司 | Video transmission processing method and terminal equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327327A (en) * | 2000-06-07 | 2001-12-19 | 株式会社日立制作所 | Data distribution device and method |
CN1822656A (en) * | 2006-01-13 | 2006-08-23 | 深圳创维-Rgb电子有限公司 | Method for displaying high resolution JPEG picture using embedded Linux system TV set |
CN1922854A (en) * | 2004-02-17 | 2007-02-28 | 皇家飞利浦电子股份有限公司 | Method of visualizing a large still picture on a small-size display. |
CN101212660A (en) * | 2006-12-29 | 2008-07-02 | 安凯(广州)软件技术有限公司 | Sectionalized image decoding method |
CN101237582A (en) * | 2008-03-07 | 2008-08-06 | 北京中星微电子有限公司 | Local dynamic image amplification device and method and image processing system |
US20080216125A1 (en) * | 2007-03-01 | 2008-09-04 | Microsoft Corporation | Mobile Device Collaboration |
CN101568028A (en) * | 2009-05-15 | 2009-10-28 | 中兴通讯股份有限公司 | Mobile terminal and method for cooperatively broadcasting mobile broadcasting television between mobile terminals |
CN101764982A (en) * | 2008-12-23 | 2010-06-30 | 康佳集团股份有限公司 | Method and device for processing high-definition video image |
-
2012
- 2012-04-28 CN CN2012101297694A patent/CN102665056A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1327327A (en) * | 2000-06-07 | 2001-12-19 | 株式会社日立制作所 | Data distribution device and method |
CN1922854A (en) * | 2004-02-17 | 2007-02-28 | 皇家飞利浦电子股份有限公司 | Method of visualizing a large still picture on a small-size display. |
CN1822656A (en) * | 2006-01-13 | 2006-08-23 | 深圳创维-Rgb电子有限公司 | Method for displaying high resolution JPEG picture using embedded Linux system TV set |
CN101212660A (en) * | 2006-12-29 | 2008-07-02 | 安凯(广州)软件技术有限公司 | Sectionalized image decoding method |
US20080216125A1 (en) * | 2007-03-01 | 2008-09-04 | Microsoft Corporation | Mobile Device Collaboration |
CN101237582A (en) * | 2008-03-07 | 2008-08-06 | 北京中星微电子有限公司 | Local dynamic image amplification device and method and image processing system |
CN101764982A (en) * | 2008-12-23 | 2010-06-30 | 康佳集团股份有限公司 | Method and device for processing high-definition video image |
CN101568028A (en) * | 2009-05-15 | 2009-10-28 | 中兴通讯股份有限公司 | Mobile terminal and method for cooperatively broadcasting mobile broadcasting television between mobile terminals |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107995451A (en) * | 2016-10-26 | 2018-05-04 | 北京视联动力国际信息技术有限公司 | A kind of inspection method and device regarding networked video stream |
WO2021196037A1 (en) * | 2020-03-31 | 2021-10-07 | 西安诺瓦星云科技股份有限公司 | Image processing method and apparatus, and system |
US11830413B2 (en) | 2020-03-31 | 2023-11-28 | Xi'an Novastar Tech Co., Ltd. | Method, device for processing image, and system |
CN115348454A (en) * | 2022-10-17 | 2022-11-15 | 此芯科技(上海)有限公司 | Video transmission processing method and terminal equipment |
CN115348454B (en) * | 2022-10-17 | 2022-12-20 | 此芯科技(上海)有限公司 | Video transmission processing method and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111580765B (en) | Screen projection method, screen projection device, storage medium, screen projection equipment and screen projection equipment | |
TWI529656B (en) | Image display system and image processing method | |
CN1976429B (en) | Video frequency transmitting system and method based on PC and high-resolution video signal collecting card | |
CN102792689B (en) | Delta compression can be carried out and for by image, remote display is presented to the amendment of estimation and metadata | |
EP2134092A1 (en) | Information processing apparatus and method, and program | |
CN105072353B (en) | A kind of image decoding based on more GPU spells prosecutor method | |
CN109889846B (en) | Method and device for compressing and decompressing Demura table data and coding and decoding system | |
CN103248797A (en) | Video resolution enhancing method and module based on FPGA (field programmable gate array) | |
CN103609117A (en) | Method and device for encoding and decoding an image | |
CN104954812A (en) | Video synchronized playing method, device and system | |
CN103945223A (en) | Video processor with frame buffer compression and methods for use therewith | |
CN101237582A (en) | Local dynamic image amplification device and method and image processing system | |
CN113473126B (en) | Video stream processing method and device, electronic equipment and computer readable medium | |
WO2022135092A1 (en) | Screen sharing display method and apparatus, device, and storage medium | |
CN103763556B (en) | Video image encoding and decoding devices and methods therefor, Transmission system and its method | |
CN113906764B (en) | Method, apparatus and computer readable medium for transcoding video | |
CN102665056A (en) | Display method for videos and images in display terminals | |
CN103997651A (en) | Data compression method and device for composite images | |
CN211909012U (en) | Mosaic image processing apparatus | |
CN104575427A (en) | High-compression-ratio lossless image compression method suitable for embedded system decoding | |
CN113747242B (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN105376586A (en) | Three-level flow line hardware architecture suitable for integer motion estimation in HEVC standard | |
CN1332560C (en) | Method based on difference between block bundaries and quantizing factor for removing block effect without additional frame memory | |
CN205212951U (en) | 4K display screen devices that show more | |
EP3170306B1 (en) | Multilevel video compression, decompression, and display for 4k and 8k applications |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120912 |