CN106993191A - Video streaming coding/decoding method and video streaming solution code system - Google Patents
Video streaming coding/decoding method and video streaming solution code system Download PDFInfo
- Publication number
- CN106993191A CN106993191A CN201610040299.2A CN201610040299A CN106993191A CN 106993191 A CN106993191 A CN 106993191A CN 201610040299 A CN201610040299 A CN 201610040299A CN 106993191 A CN106993191 A CN 106993191A
- Authority
- CN
- China
- Prior art keywords
- compression
- image data
- data group
- picture
- video streaming
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/44—Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The present invention relates to a kind of video streaming coding/decoding method and video streaming solution code system.The system includes a Video Decoder, a picture coding device, a buffer and a picture decoder.Video Decoder receives a video streaming, and picture after the coding in video streaming is decoded, to produce a picture.Picture coding device includes one first compressor reducer, one second compressor reducer and a selector.First compressor reducer compresses the image data group in an encoded block with one first compression algorithm, and produces image data group after one first compression.Second compressor reducer produces image data group after one second compression with the image data group in one second compression algorithm compressed encoding block, wherein the first compression algorithm is different from second compression algorithm.
Description
Technical field
The invention relates to a kind of video streaming processing method and video streaming processing system, and in particular to
A kind of video streaming coding/decoding method and video streaming solution code system.
Background technology
Fig. 1 is refer to, it depicts the schematic diagram of known video string stream decoding system 100.Video streaming decoding system
System 100 for example may be disposed in a TV or a computer.Video streaming solution code system 100 is decoded including a video
Device 110, a picture coding device 120, a buffer 130 and a picture decoder 140, picture coding device 120
Comprising a compressor reducer 122, picture decoder 140 includes a decompressor 142.Video Decoder 110 receives one
Picture (coded frame) after several codings is included in video streaming (video stream), video streaming.Video
Picture produces a picture after decoding after 110 pairs of codings of decoder, and the picture includes multiple encoded block (coding
Block), encoded block is most I absolute coding or the unit of decoding, and picture coding device 120 is with an encoded block
The picture is encoded for unit.The code area in 122 pairs of pictures of compressor reducer in picture coding device 120
Image data group (image data group) in block produces image data group after a compression after being compressed, its
In, compressor reducer 122 is that a fixed-length code (FLC) device (fixed length encoder) or one change length decoder
(variable length encoder).Then, compressor reducer 122 by this compress after image data group via bus B 1
Output is to buffer 130, and image data group is temporarily stored into buffer 130 after the compression, for Video Decoder 110
Referred in decoding program.Image data group after Video Decoder 110 needs to refer to the compression in decoding program
When, buffer 130 exports after the compression image data group to picture decoder 140, picture solution via bus B 1
Image data group produces image data group after 142 pairs of compressions of decompressor in code device 140 after decompressing,
And image data group is exported to Video Decoder 110 so that Video Decoder 110 is referred in decoding program.
In general, the compression efficiency for changing length coding algorithm is higher.However, changing smaller for pixel value
Image data group, what the compression efficiency for changing length coding algorithm may be less than fixed-length code (FLC) algorithm
Compression efficiency.When compressor reducer 122 is a fixed-length code (FLC) device or one changes length decoder, just it can not be directed to
Different image data mass selections select suitable encoder to improve compression efficiency, are used with the frequency range for reducing bus B 1
Amount.
The content of the invention
The present invention is related to a kind of video streaming coding/decoding method and video streaming solution code system, and it can be directed to different shadows
As data group selects suitable encoder to improve compression efficiency, to reduce bus bandwidth usage amount.
According to an aspect of the invention, it is proposed that a kind of video streaming solution code system.The system comprising a Video Decoder,
One picture coding device, a buffer and a picture decoder.Video Decoder receives a video streaming, and this is regarded
Picture is decoded after a coding in frequency crossfire, and to produce a picture, the picture includes multiple encoded blocks
(coding block).Picture coding device includes one first compressor reducer, one second compressor reducer and a selector.First
Compressor reducer compresses the image data group (image data group) in an encoded block with one first compression algorithm,
And produce image data group after one first compression.Second compressor reducer compresses the encoded block with one second compression algorithm
In the image data group, and produce one second compression after image data group, wherein first compression algorithm with should
Second compression algorithm is different.Selector is according to image data group after first compression and image number after second compression
According to group, image data group is exported after first compression to a buffer.Buffer keeps in image number after first compression
According to group.Picture decoder receives image data after first compression from the buffer, to image number after first compression
According to being decompressed, to produce image data group, and image data group is exported to the Video Decoder, for
The Video Decoder is decoded with reference to image data group to picture after another coding in the video streaming.According to
Another aspect of the present invention, proposes a kind of video streaming coding/decoding method, the method includes the steps of.One is received to regard
Frequency crossfire, the video streaming includes picture (coded frames) after multiple codings.To the volume in the video streaming
Picture is decoded after code, to produce a picture, and the picture includes multiple encoded blocks (coding block).With
One first compression algorithm compresses the image data group (image data group) in an encoded block, and produces
Image data group after one first compression.The image data group in the encoded block is compressed with one second compression algorithm,
And image data group after one second compression is produced, wherein first compression algorithm is different from second compression algorithm.
According to image data group after first compression and image data group after second compression, image after first compression is exported
Data group is to a buffer.Image data after first compression is received from the buffer.To image after first compression
Data are decompressed, to produce image data group.With reference to image data group to another in the video streaming
Picture is decoded after coding.
More preferably understand in order to which the above-mentioned and other aspect to the present invention has, preferred embodiment cited below particularly, and coordinate
Accompanying drawing, is described in detail below:
Brief description of the drawings
Fig. 1 depicts the schematic diagram of known video string stream decoding system.
Fig. 2 depicts the schematic diagram of the video streaming solution code system according to an example.
Fig. 3 depicts the flow chart of the video streaming coding/decoding method according to an example.
Symbol description
100、200:Video streaming solution code system
110、210:Video Decoder
120、220:Picture coding device
122:Compressor reducer
130、230:Buffer
140、240:Picture decoder
142:Decompressor
222:First compressor reducer
224:Second compressor reducer
226:Selector
242:Decompressor
300:Video streaming coding/decoding method
B1、B2:Bus
CIDG1:Image data group after first compression
CIDG2:Image data group after second compression
S310、S320、S330、S340、S350、S360、S370、S380、S390:Process step
Embodiment
The present invention is carried out through two or more different compressor reducers to same image data with different compression algorithms
Compression, to produce shadow after image data group after the compression with two or more, and the best compression of output squeezing efficiency
As data group is to buffer, to reduce bus bandwidth usage amount.
Fig. 2 is refer to, it depicts the schematic diagram of the video streaming solution code system 200 according to an example.Video string
Stream decoding system 200 for example may be disposed in a TV or a computer.Video streaming solution code system 200 is regarded including one
Frequency decoder 210, a picture coding device 220, a buffer 230 and a picture decoder 240.Picture coding
Device 220 includes one first compressor reducer 222, one second compressor reducer 224 and a selector 226.Video Decoder 210,
Picture coding device 220, buffer 230 and picture decoder 240 are by hardware circuit realiration.
Video Decoder 210, which is received, includes picture after several codings in a video streaming, the video streaming.Video solution
Picture is decoded after one coding of code 210 pairs of video streamings of device, and to produce a picture, the picture is comprising multiple
Encoded block, encoded block is most I absolute coding or the unit of decoding.
Picture coding device 220 is encoded in units of encoded block to the picture, and exports image number after a compression
According to group to buffer 230.Specifically, the first compressor reducer 222 in picture coding device 220 is with one first compression
Algorithm compresses the image data in the encoded block in the picture, to produce image data after one first compression
Group CIDG1, and export selectors 226 of the image data group CIDG1 into picture coding device 220 after the first compression.
The second compressor reducer 224 in picture coding device 220 compresses the code area in the picture with one second compression algorithm
Image data group in block, is compressed with producing image data group CIDG2 after one second compression, and exporting second
Image data group CIDG2 is to selector 226 afterwards.Wherein, the first compression algorithm of the first compressor reducer 222 with
Second compression algorithm of the second compressor reducer 224 is different;For example, the first compressor reducer 222 is a regular length
Encoder, the first compression algorithm is a fixed-length code (FLC) method, and the second compressor reducer 224 is a variation length coding
Device, the second compression algorithm is a variation length coding method.
Then, image data after image data group CIDG1 and second compressions after selector 226 compresses according to first
Group CIDG1, image data group CIDG1 after image data group CIDG1 and second compressions after the compression of output first
One of.For example, image data group CIDG1 learns the first pressure after selector 226 can compress according to first
Data volume after image data group CIDG1 compression after contracting, and can be according to image data group CIDG2 after the second compression
Data volume after the group of image data after the second compression CIDG2 compression is learnt, and compares image data after the first compression
Data volume and data volume after image data group CIDG2 compression after the second compression after group CIDG1 compression, to sentence
The compression efficiency of disconnected first compressor reducer 222 and the second compressor reducer 224.If image data group CIDG1 after the first compression
Data volume be less than second compression after image data group CIDG2 data volume, then selector 226 just can sentence according to this
Broken needle is more than the second compressor reducer to the image data in the encoded block, the compression efficiency of the first compressor reducer 222
224 compression efficiency, and then via image data group CIDG1 after the compression of the output of bus B 10 first to buffer
230;If image data group CIDG2 data volume is less than image data group CIDG1 after the first compression after the second compression
Data volume, then selector 226 just can judge according to this for the image data in the encoded block, the second compression
The first compressor reducer of compression efficiency 222 that the compression efficiency of device 224 is more than, and then pressed via the output of bus B 20 second
Image data group CIDG2 is to buffer 230 after contracting.First compression after image data group CIDG1 (or second compression
Afterwards image data group CIDG2) be just temporarily stored into buffer 230.
When Video Decoder 210 needs to refer to the image data group in the encoded block in decoding program, draw
Face decoder 240 just receives from buffer 230 via bus B 2 and is temporarily stored into image data after the first compression therein
Group CIDG1 (or image data group CIDG2 after the second compression), and to image data group after the first compression
CIDG1 (or image data group CIDG2 after the second compression) is decompressed, to produce image data group, and defeated
Go out image data group to Video Decoder 210, Video Decoder 210 is just according to image data group to the picture
In another coding after picture decoded.
Consequently, it is possible to which picture coding device 220 just can select suitable encoder to carry for different image data mass selections
High compression efficiency, to reduce the frequency range usage amount of bus B 2.
In an example, for same image data, if fixed-length code (FLC) device is (for example:First compressor reducer 222) with
Change length decoder (for example:Second compressor reducer 224) compression efficiency it is equal when (for example:Image number after first compression
It is equal to the data volume of image data group CIDG2 after the second compression according to group CIDG1 data volume), selector 226
May be selected output fixed-length code (FLC) device compression after image data group (for example:Image data group after first compression
CIDG1) to buffer, so that decoder 210 is referred in subsequent decoding program.Due to being compiled through regular length
The decompression speed of image data group is more than through the method compression of variation length coding after code method is compressed obtained from compressing
Obtained from compress after image data group decompression speed, therefore the solution bit rate of Video Decoder 210 can be lifted.
Fig. 3 is refer to, it illustrates the flow chart of the video streaming coding/decoding method 300 according to an example.Video streaming
Coding/decoding method 300 is comprised the steps of:
Step S310:Receive a video streaming;
Step S320:Picture after a coding in the video streaming is decoded to produce a picture;
Step S330:The image number in the encoded block in the picture is compressed with one first compression algorithm
According to produce image data group after one first compression;
Step S340:The image number in the encoded block in the picture is compressed with one second compression algorithm
According to produce image data group after one second compression;
Step S350:Image data group and image data group after two compression, judge the after being compressed according to first
The compression efficiency of one compression algorithm is more than the compression efficiency of the second compression algorithm;
Step S360:Image data group is exported after first compression to a buffer;
Step S370:Image data after first compression is received from the buffer;
Step S380:Image data after first compression is decompressed, to produce image data group;
And
Step S390:With reference to the image data, group decodes to picture after another coding in the video streaming.
Video streaming coding/decoding method 300 can be performed by video streaming solution code system 200.Wherein, step S310,
S320, S390 can be as performed by Video Decoders 210, and step S330 can be by first in picture coding device 220
Performed by compressor reducer 222, step S340 can as performed by the second compressor reducer 224 in picture coding device 220,
Step S350, S360 can be as performed by the selector 226 in picture coding device 220, step S370, S380
Can be as performed by the decompressor 242 in picture decoder 240.Those skilled in the art are being read on video
After the explanation of string stream decoding system 200, it should be appreciated that how to perform video streaming solution using crossfire compressibility 200
Code method 300, therefore related description omits herein.
Wherein, step S330 and step S340 can be performed simultaneously.For example, in picture coding device 120
In the first compressor reducer 122 image in the encoded block in the picture is compressed with one first compression algorithm
While data, the second compressor reducer 124 in picture coding device 120 can be somebody's turn to do with the compression of one second compression algorithm
Image data in the encoded block in picture.
In one embodiment, the first compression algorithm is a fixed-length code (FLC) method, and the second compression algorithm is a change
Dynamic length coding method;For example, the first compressor reducer 222 is a fixed-length code (FLC) device, the second compressor reducer 224
Length decoder is changed for one.In another embodiment, the first compression algorithm is a variation length coding method, the
Two compression algorithms are a fixed-length code (FLC) method;For example, the first compressor reducer 222 is a variation length coding
Device, the second compressor reducer 224 is a fixed-length code (FLC) device.
It note that in the above-mentioned case, Video Decoder 210, picture coding device 220 and picture decoder 240
By hardware circuit realiration, but the simultaneously limitation of non-invention.In other words, Video Decoder 210, picture coding
Device 220 and picture decoder 240 can also arrange in pairs or groups software formula to realize by processor.
In summary, although the present invention is disclosed as above with preferred embodiment, and so it is not limited to the present invention.
Persond having ordinary knowledge in the technical field of the present invention, without departing from the spirit and scope of the present invention, when can make
Various changes and retouching.Therefore, protection scope of the present invention is worked as to be defined by claims and is defined.
Claims (10)
1. a kind of video streaming solution code system, the system is included:
One Video Decoder, receives a video streaming, and picture after the coding in the video streaming is decoded,
To produce a picture, the picture includes multiple encoded blocks;
One picture coding device, including:
One first compressor reducer, the image data group in an encoded block is compressed with one first compression algorithm,
And produce image data group after one first compression;
One second compressor reducer, the image data group in the encoded block is compressed with one second compression algorithm,
And image data group after one second compression is produced, wherein first compression algorithm is different from second compression algorithm;
And
One selector, it is defeated according to image data group after first compression and image data group after second compression
Go out after first compression image data group to a buffer;
The buffer, keeps in image data group after first compression;And
One picture decoder, image data after first compression is received from the buffer, to image after first compression
Data are decompressed, and to produce image data group, and export image data group to the Video Decoder, with
Picture after another coding in the video streaming is decoded with reference to image data group for the Video Decoder.
2. video streaming solution code system as claimed in claim 1, it is characterised in that the selector according to this
One compression after image data group with this second compression after image data group, export this first compression after image data group extremely
The buffer is included:
Image data group after second compression is less than according to data volume after the compression of image data group after first compression
Compression after data volume a judgement, export after first compression image data group to the buffer.
3. video streaming solution code system as claimed in claim 2, it is characterised in that first compressor reducer is one
Fixed-length code (FLC) device, second compressor reducer is a variation length decoder.
4. video streaming solution code system as claimed in claim 2, it is characterised in that first compressor reducer is one
Length decoder is changed, second compressor reducer is a fixed-length code (FLC) device.
5. video streaming solution code system as claimed in claim 1, it is characterised in that the selector according to this
One compression after image data group with this second compression after image data group, export this first compression after image data group extremely
The buffer is included:
The selector according to this first compression after image data group compression after data volume be equal to this second compression after shadow
As data group compression after data volume, export after first compression image data group to the buffer, wherein this first
Compressor reducer is a fixed-length code (FLC) device, and second compressor reducer is a variation length decoder.
6. a kind of video streaming coding/decoding method, this method is included:
A video streaming is received, the video streaming includes picture after multiple codings;
Picture after a coding in the video streaming is decoded, to produce a picture, the picture is compiled comprising multiple
Code block;
The image data group in an encoded block is compressed with one first compression algorithm, and is produced after one first compression
Image data group;
The image data group in the encoded block is compressed with one second compression algorithm, and is produced after one second compression
Image data group, wherein first compression algorithm is different from second compression algorithm;
According to image data group after first compression and image data group after second compression, export after first compression
Image data group is to a buffer;
Image data after first compression is received from the buffer;
Image data after first compression is decompressed, to produce image data group;And
With reference to the image data, group decodes to picture after another coding in the video streaming.
7. method as claimed in claim 6, it is characterised in that according to image data group after first compression with
This second compression after image data group, export this first compression after image data group to the buffer the step of include:
Image data group after second compression is less than according to data volume after the compression of image data group after first compression
Compression after data volume a judgement, export after first compression image data group to the buffer.
8. method as claimed in claim 7, it is characterised in that first compression algorithm is a regular length
Compiling method, second compression algorithm is a variation length coding method.
9. method as claimed in claim 7, it is characterised in that first compression algorithm is a variation length
Compiling method, second compression algorithm is a fixed-length code (FLC) method.
10. method as claimed in claim 6, it is characterised in that according to image data group after first compression with
This second compression after image data group, export this first compression after image data group to the buffer the step of include:
Image data group after second compression is equal to according to data volume after the compression of image data group after first compression
Compression after data volume, export after first compression that image data group is to the buffer, wherein the first compression calculation
Method is a fixed-length code (FLC) method, and second compression algorithm is a variation length coding method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610040299.2A CN106993191A (en) | 2016-01-21 | 2016-01-21 | Video streaming coding/decoding method and video streaming solution code system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610040299.2A CN106993191A (en) | 2016-01-21 | 2016-01-21 | Video streaming coding/decoding method and video streaming solution code system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106993191A true CN106993191A (en) | 2017-07-28 |
Family
ID=59414487
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610040299.2A Pending CN106993191A (en) | 2016-01-21 | 2016-01-21 | Video streaming coding/decoding method and video streaming solution code system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106993191A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110556000A (en) * | 2018-06-04 | 2019-12-10 | 义硕智能股份有限公司 | Artificial intelligence traffic detection system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1158050A (en) * | 1995-12-27 | 1997-08-27 | 汤姆森消费电子有限公司 | Image data compression system |
CN101160725A (en) * | 2005-04-13 | 2008-04-09 | 弗劳恩霍夫应用研究促进协会 | Lossless encoding of information with guaranteed maximum bitrate |
-
2016
- 2016-01-21 CN CN201610040299.2A patent/CN106993191A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1158050A (en) * | 1995-12-27 | 1997-08-27 | 汤姆森消费电子有限公司 | Image data compression system |
CN101160725A (en) * | 2005-04-13 | 2008-04-09 | 弗劳恩霍夫应用研究促进协会 | Lossless encoding of information with guaranteed maximum bitrate |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110556000A (en) * | 2018-06-04 | 2019-12-10 | 义硕智能股份有限公司 | Artificial intelligence traffic detection system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9454552B2 (en) | Entropy coding and decoding using polar codes | |
CN105472389B (en) | Compression method is cached outside a kind of piece for ultra high-definition processing system for video | |
RU2630750C1 (en) | Device and method for encoding and decoding initial data | |
TWI479456B (en) | Method and apparatus for data compression using error plane coding | |
CN103814573A (en) | Apparatus and method for decoding using coefficient compression | |
CN109889846B (en) | Method and device for compressing and decompressing Demura table data and coding and decoding system | |
WO2022095797A1 (en) | Image compression method and apparatus, and intelligent terminal and computer-readable storage medium | |
CN103546161A (en) | Lossless compression method based on binary processing | |
KR102068383B1 (en) | Entropy modifier and method | |
CN106993191A (en) | Video streaming coding/decoding method and video streaming solution code system | |
CN105791819B (en) | The decompression method and device of a kind of frame compression method of image, image | |
TWI601410B (en) | Video stream decoding method and video stream decoding system | |
JP2014521273A (en) | Method and apparatus for encoding an image | |
CN116582689A (en) | Lossless compression for low-latency video transmission in resource-constrained coding environments | |
CN101540906A (en) | Packing switching system and method | |
CN105306941B (en) | A kind of method for video coding | |
US8754791B1 (en) | Entropy modifier and method | |
WO2011162964A2 (en) | System and method and computer program product for parameter estimation for lossless video compression | |
CN109639285B (en) | Method for improving BZIP2 compression algorithm speed based on finite block ordering compression | |
CN106576162A (en) | An universal video codec | |
Krainyk | Combined Run-Length and Huffman Encoding for Image Compression | |
CN111147865B (en) | Pre-decoding method before video coding | |
US20230079090A1 (en) | Systems and Methods for Multi-Pipe Scheduling During Image Decoding | |
JP2013255092A (en) | Image data compression coding device, image data compression coding method, and image data compression coding program | |
CN100490534C (en) | Continuous image compression method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200102 Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China Applicant after: MediaTek.Inc Address before: Taiwan Hsinchu County Tai Yuan Street China jhubei City, No. 26 4 floor 1 Applicant before: MStar Semiconductor Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170728 |
|
RJ01 | Rejection of invention patent application after publication |