CN1988668A - Error detecting device and method for video frequency decoder - Google Patents

Error detecting device and method for video frequency decoder Download PDF

Info

Publication number
CN1988668A
CN1988668A CN 200510111946 CN200510111946A CN1988668A CN 1988668 A CN1988668 A CN 1988668A CN 200510111946 CN200510111946 CN 200510111946 CN 200510111946 A CN200510111946 A CN 200510111946A CN 1988668 A CN1988668 A CN 1988668A
Authority
CN
China
Prior art keywords
sign
bit stream
mentioned
video decoder
additional information
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
CN 200510111946
Other languages
Chinese (zh)
Other versions
CN100534200C (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.)
Shanghai LG Electronics Co Ltd
Original Assignee
Shanghai LG Electronics 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 Shanghai LG Electronics Co Ltd filed Critical Shanghai LG Electronics Co Ltd
Priority to CN 200510111946 priority Critical patent/CN100534200C/en
Publication of CN1988668A publication Critical patent/CN1988668A/en
Application granted granted Critical
Publication of CN100534200C publication Critical patent/CN100534200C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention relates to a facility and method for detecting errors of video decoder. The facility includes: a scanner unit which is used for detecting syntax video signs in the bit stream, a storage unit which is used for saving the additional information of the type of the detected signs and location information of bit-stream, a comparing unit which is used for comparing the location on the bit-stream guided by the video recorder and the location of the signs saved in storage unit for the additional information, and a controlling unit which is used for decoding from the location of related signs after the decoding location is changed according to the error information of the comparing unit.

Description

The error detector element of Video Decoder and method
Technical field
The present invention relates to the error detector element and the method for Video Decoder.
Background technology
Video Codec (codec) is along with H.261/263/264 ITU's waits and the normalizing operation of the MPEG-1/2/4 of ISO etc. and being widely used, especially along with the prosperity day by day of the Internet, third generation radio communication etc., become the main application program (application) in the network environment.
When utilizing network to transmit vision signal, especially under wireless environment, transmitting the phenomenon that loss of data (loss) can take place on the channel and damage (corruption).Therefore, Video Decoder must possess when the data that these are made a mistake are decoded, the function that the mistake that mistake is in time detected and will detect is hidden.
Inerrably the information of wanting to transmit is sent out rapidly, and make the other side's correct information of can applying in a flexible way, this is the target of all transfer systems.For this reason, in the middle of most of digital transmission system, originator is all encoded to the numerical data that will transmit according to certain coding rule and is transmitted then, and the transmission data of destination after to these codings are decoded, and therefrom extract needed data out.When transmitting then, in transport process, seldom can make a mistake when data are encoded, even and mistake has taken place, the destination also can come error correction.
In general, the detection method of mistake is made up of the method that video standard sentence structure (syntax) and semantic (semantic) are checked.
Now just with reference to accompanying drawing to the structure of the existing Video Decoder that is used for the displaying video code stream with move and carry out simple explanation, comprise error-detecting facility and the equipment that the mistake that is detected is recovered and hidden in this Video Decoder.
Fig. 1 is to be the structural representation of the Video Decoder of foundation with the prior art.
With reference to Fig. 1, bit buffer unit 102 is responsible for receiving the bit stream that is transmitted and it is stored.
Image head testing circuit 104 is responsible for the image head that each image front in the bit stream that stores in the described bit buffer unit 102 is being pasted is detected, and judges the type (I, P, B) of each image.
Control centre's circuit 112 is responsible for the above-mentioned foundation that is judged as, from described bit buffer unit 102 with the video code flow interpretation of 1 image to each I image duration.
The slice header that slice header testing circuit 105 is responsible for the front of each fragment in the bit stream is being pasted detects.
Variable length decoder 106 is responsible for according to the Huffman code in the Huffman encoding table of memory among the 1ROM (memory) 110 each image being carried out the variable-length decoding of bit stream.
Dequantization circuit 107 is responsible for according to the quantization critical value in the quantization coding schedule of memory among the 2ROM (memory) 111 data after handling through variable-length decoding being carried out inverse guantization (IQ), and calculates the coefficient data of DCT (discrete cosine transform).
(Inverse DCT: inverse discrete cosine transform) circuit 108 is responsible for carrying out inverse discrete cosine transform (IDCT) to IDCT, and the DCT coefficient data is carried out conversion.
MC (Motion Compensation: motion compensation) be responsible for carrying out the motion compensation prediction according to the result of described idct circuit 108 by circuit 109.The result of described MC circuit 109 is stored in each zone (the place ahead reference area 103a of frame buffer 103 selectively; Rear reference area 103b; B image storage zone 103c) in the middle of.Each zone of described frame buffer 103 (the place ahead reference area 103a; Rear reference area 103b; B image storage zone 103c) view data in any one zone in after the stored decoded processing is used as vision signal and outputs on the playing device (not shown) that links to each other with Video Decoder 101 through described MC circuit 109.
The decoding process of 113 pairs of described variable length decoders 106 of Huffman error detect circuit monitors, and detects to fragment the mistake of bit stream one by one.That is, when the pairing data of fragment do not store in the Huffman encoding table, or the pairing data of fragment when inconsistent, just judge that there is mistake in this fragment with decoded data in the past.
Control centre's circuit 112 is according to the result of above-mentioned judgement, and control variable length decoder 106 stops the decoding processing to the 1st fragment that is determined the existence mistake, and makes the decoding process result of above-mentioned the 1st fragment invalid.And,, the 2nd fragment that the needs that are arranged in the 1st fragment back are decoded is come out from above-mentioned bit buffer unit 102 interpretations, and in above-mentioned variable length decoder 106, carries out the variable-length decoding of the 2nd fragment according to the slice header that detects.
On the other hand, described control centre circuit 112 above-mentioned MC circuit 109 of control and above-mentioned frame buffers 103, the 1st fragment that should be stored in the above-mentioned frame buffer 103 is replaced as previous the 3rd fragment that is comprised in the image of player that is output to that includes above-mentioned the 1st fragment.This 3rd fragment is structurally corresponding with above-mentioned the 1st fragment.Therefore, what be output is not the decoded data that wrong fragment occurs, but previous image is central and the decoded data of the corresponding fragment of false segments.Like this, the mistake of fragment is just hidden.
But, only depend on above-mentioned special syntax and the method for semantic of utilizing compression bit stream, be to be difficult to detect comprised in the above-mentioned bit stream wrong.
Therefore, on the error detector element of existing Video Decoder, because the mistake that does not detect can't suitably be hidden on picture, thus caused very bad influence for decoded video quality, and can cause the operating trouble of signal processing circuit.
Summary of the invention
The present invention proposes for addressing the above problem just, and its purpose is to provide a kind of error detector element and method of Video Decoder.Utilize this apparatus and method, the present invention can rely on sentence structure and method of semantic to carry out the error detection except using on the Video Decoder, can also serve as to carry out the mode that wrong recovery is handled with the kind of existing sign in the sentence structure and the positional information on the bit stream by appending utilization, make to exist the wrong influence that bit stream caused to minimize according to the error message that detects.
To achieve these goals, be the error detector element of the Video Decoder of foundation with the present invention, it is characterized in that comprising following part: the responsible sign that detects video sentence structure sign from the bit stream that is transfused to is swept portion in advance; Be responsible for by above-mentioned the sign kind of the sign that detects of the portion of sweeping and the additional information reservoir that the cached location information on the bit stream is got up in advance; Be responsible for being compared in the position of sign stored in the position of sign on bit stream of video recorder guiding and the said additional information reservoir, and when the position of above-mentioned sign is mutually internally inconsistent with regard to the wrong detection unit of output error detection signal.
To achieve these goals, be the error-detecting method of the Video Decoder of foundation with the present invention, it is characterized in that comprising following step: the responsible step that the bit stream that is input in the Video Decoder is scanned; The responsible step that the additional information that positional information constituted by all effective markers on the above-mentioned bit stream that detects by above-mentioned scanning and above-mentioned effective marker is stored; The step that the position of each stored sign compares in mark position on the bit stream of being responsible for Video Decoder is guided and the said additional information reservoir; The result who is responsible in above-mentioned comparison is mark position when inconsistent, judges wrong step to occur.
According to the compress mode of incoming bit stream, described additional information is characterised in that: it comprises that frame head, GOB head, fragment are first-class, comprises that perhaps VOS head, VOL head, GOV head, vop header and heavy (resync) synchronously are first-class.
The invention is characterized in: also comprise when above-mentioned mistake has taken place in judgement the step that begins to decode again from the correlating markings position.
Effect of the present invention:
By with the present invention being the error detector element and the method for the Video Decoder of foundation, in can utilizing existing Video Decoder, rely on sentence structure and method of semantic to carry out the error detection, can also append error message that utilization detects according to the kind and the positional information on the bit stream of existing sign in the sentence structure and carry out wrong recovery and handle, the influence of the bit stream that makes a mistake is minimized.
For further specifying above-mentioned purpose of the present invention, design feature and effect, the present invention is described in detail below with reference to accompanying drawing.
Description of drawings
Fig. 1 is to be the structural representation of the Video Decoder of foundation with the prior art.
Fig. 2 is to be the video decoder structure schematic diagram that comprises error detector element of foundation with the present invention.
Fig. 3 is with decoder architecture schematic diagram that comprises error detector element that embodiment is a foundation among the present invention.
The symbol description of major part in the accompanying drawing:
210: sign is swept portion 220 in advance: the additional information reservoir
230: wrong detection unit 310: lsb decoder
312: control centre's circuit
Embodiment
Below with reference to accompanying drawings to being elaborated with the error detector element of Video Decoder of the present invention and the execution mode of method.
Fig. 2 is to be the structural representation of the Video Decoder that includes error detector element of foundation with the present invention.
With the present invention is the error detector element of the Video Decoder of foundation, as shown in Figure 2, comprises that sign sweeps portion 210, additional information reservoir 220 and wrong detection unit 230 in advance.
Described sign is swept portion 210 in advance and is responsible for the bit stream of input is scanned, and detects the syntactical sign of video from above-mentioned bit stream.According to the difference of the compress mode of incoming bit stream, it is first-class to include frame head, GOB head, fragment in the syntactical sign of above-mentioned video, and it is first-class perhaps to include VOS head, VOL head, GOV head, vop header and heavy (resync) synchronously.
Described additional information reservoir 220 is responsible for that the kind of the sign that detects of the portion of sweeping and the positional information on the bit stream store in advance to above-mentioned sign.
Described wrong detection unit 230 be responsible for sign to the video recorder guiding on bit stream the position and said additional information reservoir 220 in the position of stored sign compare, and in the position of above-mentioned sign output error detection signal when mutually internally inconsistent.
What have said structure is the error detector element of the Video Decoder of foundation with the present invention, the position of sign on bit stream that can utilize the kind of stored sign in the said additional information reservoir 220 and the positional information on the bit stream at an easy rate and be checked when decoding detects mistake when decoding.
And according to the error message of above-mentioned wrong detection unit 230 outputs, Video Decoder begins to begin to decode again from detecting wrong correlating markings.
Fig. 3 is to be the decoder architecture schematic diagram that includes error detector element of foundation with embodiments of the invention.
As shown in Figure 3, be that the Video Decoder that includes error detector element of foundation generally includes with embodiments of the invention: the lsb decoder 301, the sign that constitute decoder are swept portion 210, additional information reservoir 220 and wrong detection unit 230 in advance.
Comprise in the described lsb decoder 301: bit buffer unit 102, frame buffer 103, image head testing circuit 104, slice header testing circuit 105, variable length decoder 106, Dequantization circuit 107, idct circuit 108, MC circuit 109,1ROM110,2ROM111, control centre's circuit 312, Huffman error detect circuit 113 etc.In the middle of the part that constitutes above-mentioned lsb decoder 301, used identical symbol to represent to the part identical with existing equipment.
Below be that the action of the decoder that includes error detector element of foundation describes with the embodiment of the invention just to what have said structure.
At first, compression bit stream is input to from transfer medium in this decoder that includes error detector element.Described transfer medium not only comprises recording mediums such as CD-Video, CD-ROM, DVD, digital video recording playback machine, also comprises short-range communication net communication mediums such as (LAN), terrestrial television or TV media such as satellite television and optical cable television etc.
If imported compression bit stream, so above-mentioned sign is swept portion 210 in advance just before the bit stream of 301 pairs of inputs of above-mentioned lsb decoder is handled, it is carried out freely scanning and detect the syntactical sign of video that is comprised in the above-mentioned bit stream, generate additional information then.
Vision signal according to the compress mode of above-mentioned vision signal, comprises following several information at the syntactical effective marker of video (valid marker).
Under situation H.263, comprise frame head (Frame Header), GOB head (GOB Header), slice header (Slice Header) etc.
Under the situation of MPEG4 SP, comprise VOS head (VOS Header), VOL head (VOL Header), GOV head (GOV Header), vop header (VOP Header) and synchronous mark (Resync Marker).
Storing in the described additional information reservoir 220 by above-mentioned sign and sweeping the kind of the sign that portion 210 detects and the positional information on the bit stream in advance.That is all effective markers that, find on bit stream and the kind of above-mentioned each sign and the positional information on the bit stream all are stored in the said additional information reservoir 220.
The sign of above-mentioned lsb decoders 301 guiding of 230 pairs of described wrong detection units on bit stream the position and the said additional information reservoir in the position of stored sign compare, then when the position of above-mentioned sign is mutually internally inconsistent with regard to the output error detection signal.
Described wrong detection unit 230 also appends and carries out error detection utilizing additional information to rely on outside sentence structure and the method for semantic, and this error detection procedure of appending is as follows:
At first, position on the bit stream of described lsb decoder 301 current guiding and the position that is arranged in each sign of said additional information reservoir 220 are compared.
If, the position of stored effective marker has surpassed current bit stream pointer (pointer) in the said additional information reservoir 220, if can't carry out suitable decomposition (parsing) to relevant sign, just explanation is because the influence of the mistake that takes place before this, make correlating markings in the process that can not normally decompose bit stream, do not crossed because being taken as sign, and owing to rely on sentence structure and method of semantic to fail to detect mistake, thereby can judge mistake has taken place.
If described wrong detection unit 230 has detected the generation of this class mistake, control centre's circuit 312 of above-mentioned lsb decoder 301 is pointed out with regard to input error generation signal mistake has been taken place.Therefore, above-mentioned control centre circuit 312 does not just decompose the correlating markings position of just being crossed from that and begins to decode again.
Detailed explanation is exactly that described control centre circuit 312 has stopped the current central decoding action of carrying out according to the error detection signal of above-mentioned wrong detection unit 230 outputs.Promptly, described control centre circuit 312 is according to the error detection signal of above-mentioned wrong detection unit 230, stopped 106 pairs of variable length decoders and included the decoding processing that bit stream carried out that is determined the sign that makes a mistake, and made at the decoding process result that bit stream the carried out inefficacy that includes above-mentioned sign.
So described control centre circuit 312 is in order to carry out correct decoding, the position that will restart to decode changes to the position at correlating markings place, decodes again from here on.Therefore, begin again bit stream interpretation from above-mentioned bit buffer unit 102 to be come out, carry out variable-length decoding by above-mentioned variable length decoder 106 from being detected fault sign.
Those of ordinary skill in the art will be appreciated that, above embodiment is used for illustrating the present invention, and be not to be used as limitation of the invention, as long as in connotation scope of the present invention, all will drop in the scope of claims of the present invention variation, the modification of the above embodiment.

Claims (4)

1, a kind of error detector element of Video Decoder is characterized in that comprising following part:
The sign that detects video sentence structure sign from the bit stream of input is swept portion in advance;
Be responsible for above-mentioned the sign kind of the sign that detects of the portion of sweeping and the additional information reservoir that the positional information on the described bit stream stores in advance;
To the sign of video recorder guiding on described bit stream the position and the position of the stored sign of said additional information reservoir compare, and when the position of above-mentioned sign is mutually internally inconsistent the wrong detection unit of output error detection signal.
2, a kind of error-detecting method of Video Decoder is characterized in that comprising following step:
The step that the bit stream of input video decoder is scanned;
The step that the additional information that positional information constituted of whole effective markers on the above-mentioned above-mentioned bit stream that detects according to scanning and above-mentioned effective marker is stored;
The step that the position of each stored in mark position on the bit stream of Video Decoder guiding and said additional information reservoir sign is compared;
When above-mentioned comparative result is mark position when inconsistent, just judge wrong step to occur.
3, the error detector element of Video Decoder as claimed in claim 2 is characterized in that:
According to the compress mode of described incoming bit stream, comprise frame head, GOB head, slice header in the described additional information, perhaps comprise VOS head, VOL head, GOV head, vop header and heavy (resync) head synchronously.
4, the error-detecting method of Video Decoder as claimed in claim 2 is characterized in that:
When described judgement made a mistake, described method also comprised the step that begins to decode again from the correlating markings position.
CN 200510111946 2005-12-23 2005-12-23 Error detecting device and method for video frequency decoder Expired - Fee Related CN100534200C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510111946 CN100534200C (en) 2005-12-23 2005-12-23 Error detecting device and method for video frequency decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510111946 CN100534200C (en) 2005-12-23 2005-12-23 Error detecting device and method for video frequency decoder

Publications (2)

Publication Number Publication Date
CN1988668A true CN1988668A (en) 2007-06-27
CN100534200C CN100534200C (en) 2009-08-26

Family

ID=38185268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510111946 Expired - Fee Related CN100534200C (en) 2005-12-23 2005-12-23 Error detecting device and method for video frequency decoder

Country Status (1)

Country Link
CN (1) CN100534200C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287128B (en) * 2008-05-29 2010-10-06 中兴通讯股份有限公司 Error recovery method for video decoding
CN102857233A (en) * 2011-06-28 2013-01-02 中兴通讯股份有限公司 Method and device for decoding

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287128B (en) * 2008-05-29 2010-10-06 中兴通讯股份有限公司 Error recovery method for video decoding
CN102857233A (en) * 2011-06-28 2013-01-02 中兴通讯股份有限公司 Method and device for decoding
WO2013000333A1 (en) * 2011-06-28 2013-01-03 中兴通讯股份有限公司 Deciphering method and device
CN102857233B (en) * 2011-06-28 2017-03-15 中兴通讯股份有限公司 Interpretation method and device

Also Published As

Publication number Publication date
CN100534200C (en) 2009-08-26

Similar Documents

Publication Publication Date Title
CN1976448B (en) Method and system for audio and video transport
TWI517629B (en) Transport stream packet header compression
CN101427579B (en) Time-shifted presentation of media streams
US7027515B2 (en) Sum-of-absolute-difference checking of macroblock borders for error detection in a corrupted MPEG-4 bitstream
CN101036392B (en) The method of coding, decoded video and encoder, decoder
CN101960853A (en) The Video Decoder mistake is disposed
US6865374B2 (en) Video recovery system and method
CN101796840A (en) Staggercasting with no channel change delay
CN102396221A (en) Support for blocking trick mode operations
CN102264004A (en) Method and device for preventing deficiency of key frame from causing seek incapability
US20070280356A1 (en) Method For Video Coding Conversion And Video Coding Conversion Device
US8458569B2 (en) Apparatus and method for improving error correction capability using stuffing byte
JP2001285897A (en) Device for evaluating reception quality of moving picture
CN102630040A (en) Fast channel change companion stream solution with bandwidth optimization
US7134064B2 (en) Error detecting method and apparatus
CN101194516B (en) Video coding
US8718131B2 (en) Method and apparatus for generating and processing packet in MPEG-2 transport stream
CN1984332B (en) Method and system for encoding data and image
TWI471012B (en) Transmission concept for an access unit stream
CN100534200C (en) Error detecting device and method for video frequency decoder
US20100186464A1 (en) Laundry refresher unit and laundry treating apparatus having the same
CN101098486A (en) Receiver system and related method for processing error packets utilizing packet replacement
KR102350570B1 (en) Set-Top Box for Measuring Frame Loss in a Video Stream and Method for Operating Same
US6879635B2 (en) Method of decoding time information of video image
JP2000341686A (en) Transcoder 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
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090826

Termination date: 20100125