[go: up one dir, main page]

CN100534200C - Error detection device and method for video decoder - Google Patents

Error detection device and method for video decoder Download PDF

Info

Publication number
CN100534200C
CN100534200C CN 200510111946 CN200510111946A CN100534200C CN 100534200 C CN100534200 C CN 100534200C CN 200510111946 CN200510111946 CN 200510111946 CN 200510111946 A CN200510111946 A CN 200510111946A CN 100534200 C CN100534200 C CN 100534200C
Authority
CN
China
Prior art keywords
bit stream
video decoder
sign
additional information
error
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.)
Expired - Fee Related
Application number
CN 200510111946
Other languages
Chinese (zh)
Other versions
CN1988668A (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
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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

视频解码器的错误检测装置及方法 Error detection device and method for video decoder

技术领域 technical field

本发明涉及视频解码器的错误检测装置及方法。The invention relates to an error detection device and method of a video decoder.

背景技术 Background technique

视频编解码器(codec)随着ITU的H.261/263/264等和IS0的MPEG-1/2/4等的标准化操作而被广泛地使用,尤其是随着互联网、第三代无线通信等的日益发达,已经成为网络环境中的主要应用程序(application)。Video codecs (codec) are widely used with the standardized operation of ITU's H.261/263/264 and ISO's MPEG-1/2/4, etc., especially with the Internet, the third generation of wireless communication With the development of the Internet, etc., it has become the main application program (application) in the network environment.

在利用网络传送视频信号时,尤其是在无线的环境下,在传送频道上会发生数据丢失(loss)和损坏(corruption)的现象。因此,视频解码器必须具备在对这些发生错误的数据进行解码的同时,对错误进行及时检测并将检测出来的错误掩藏起来的功能。When using a network to transmit video signals, especially in a wireless environment, data loss (loss) and corruption (corruption) will occur on the transmission channel. Therefore, the video decoder must have the function of detecting errors in time and hiding the detected errors while decoding the erroneous data.

迅速无误地把想要传送的信息传送出去,并使对方能够灵活运用正确的信息,这是所有传送系统的目标。为此,在大部分数字传送系统当中,发信方都根据一定的编码规则对将要传送的数字数据进行编码然后进行传送,而收信方对这些编码后的传送数据进行解码,并从中抽出所需要的数据。当对数据进行编码然后进行传送时,在传送过程中很少会发生错误,而且即使发生了错误,收信方也能够把错误更正过来。It is the goal of all transmission systems to quickly and accurately transmit the information you want to transmit, and enable the other party to flexibly use the correct information. For this reason, in most digital transmission systems, the sender encodes the digital data to be transmitted according to certain coding rules and then transmits it, and the receiver decodes the encoded transmission data and extracts all the data from it. data needed. When data is encoded and then transmitted, errors rarely occur during transmission, and if errors do occur, the receiver can correct them.

一般来讲,对错误的检测方法是由对视频标准句法(syntax)和语义(semantic)进行核对的方法组成的。Generally speaking, the error detection method is composed of a method for checking the video standard syntax and semantics.

现在就参照附图对现有的用来播放视频码流的视频解码器的结构和动作进行简略的说明,该视频解码器中包括错误检测设备和对被检测出来的错误进行恢复及掩藏的设备。Now, with reference to the accompanying drawings, the structure and actions of the existing video decoder used to play the video code stream will be briefly described. The video decoder includes error detection equipment and equipment for recovering and concealing the detected errors. .

图1是以现有技术为依据的视频解码器的结构示意图。FIG. 1 is a schematic structural diagram of a video decoder based on the prior art.

参照图1,比特缓冲器102负责接收被传送过来的比特流并将其储存起来。Referring to FIG. 1, the bit buffer 102 is responsible for receiving the transmitted bit stream and storing it.

图像头检测电路104负责对所述比特缓冲器102中储存的比特流中的各个图像前头所粘贴着的图像头进行检测,并判定各个图像的类型(I、P、B)。The picture header detection circuit 104 is responsible for detecting the picture header pasted to the head of each picture in the bit stream stored in the bit buffer 102, and determining the type (I, P, B) of each picture.

控制中心电路112负责以上述判断为依据,从所述比特缓冲器102中将1张图像的视频码流判读到每个I帧期间。The control center circuit 112 is responsible for judging the video code stream of one image from the bit buffer 102 into each I frame period based on the above judgment.

片段头检测电路105负责对比特流中各个片段的前头所粘贴着的片段头进行检测。The segment header detection circuit 105 is responsible for detecting the segment header pasted to the head of each segment in the bit stream.

可变长解码器106负责根据第1ROM(存储器)110中记忆的赫夫曼编码表中的赫夫曼代码对每个图像进行比特流的可变长解码。The variable length decoder 106 is in charge of variable length decoding of the bit stream for each image based on the Huffman codes in the Huffman code table stored in the first ROM (memory) 110 .

逆量子化电路107负责根据第2ROM(存储器)111中记忆的量子化编码表中的量子化临界值对经过可变长解码处理后的数据进行逆量子化,并算出DCT(离散余弦变换)的系数数据。The inverse quantization circuit 107 is responsible for dequantizing the data after the variable-length decoding process according to the quantization critical value in the quantization code table memorized in the second ROM (memory) 111, and calculates the DCT (discrete cosine transform) coefficient data.

IDCT(Inverse DCT:逆离散余弦变换)电路108负责进行逆离散余弦变换(IDCT),并对DCT系数数据进行变换。IDCT (Inverse DCT: inverse discrete cosine transform) circuit 108 is responsible for performing inverse discrete cosine transform (IDCT) and transforming DCT coefficient data.

MC(Motion Compensation:移动补偿)电路109负责根据所述IDCT电路108的处理结果进行移动补偿预测。所述MC电路109的处理结果被有选择性地储存在帧缓冲器103的各个区域(前方参照区域103a;后方参照区域103b;B图像储存区域103c)当中。所述帧缓冲器103的各个区域(前方参照区域103a;后方参照区域103b;B图像储存区域103c)中的任意一个区域中所储存的被解码处理后的图像数据经过所述MC电路109,被作为视频信号输出到与视频解码器101相连的播放装置(未图示)上。The MC (Motion Compensation: motion compensation) circuit 109 is responsible for performing motion compensation prediction according to the processing result of the IDCT circuit 108. The processing results of the MC circuit 109 are selectively stored in various regions of the frame buffer 103 (forward reference region 103a; backward reference region 103b; B-picture storage region 103c). The decoded image data stored in any one of the regions of the frame buffer 103 (the front reference region 103a; the rear reference region 103b; the B image storage region 103c) passes through the MC circuit 109 and is processed by the MC circuit 109. It is output as a video signal to a playback device (not shown) connected to the video decoder 101 .

赫夫曼错误检测电路113对所述可变长解码器106的解码处理过程进行监视,并逐个片段地检测比特流的错误。即,当片段所对应的数据在赫夫曼编码表中没有储存时,或片段所对应的数据与过去的解码数据不一致时,就判定该片段存在错误。The Huffman error detection circuit 113 monitors the decoding process of the variable length decoder 106 and detects errors in the bit stream segment by segment. That is, when the data corresponding to the segment is not stored in the Huffman coding table, or the data corresponding to the segment is inconsistent with the past decoded data, it is determined that the segment has an error.

控制中心电路112根据上述判定的结果,控制可变长解码器106停止对被判定存在错误的第1片段的解码处理,并使上述第1片段的解码处理结果无效。并且,根据检测出来的片段头,把位于第1片段后面的需要进行解码的第2片段从上述比特缓冲器102中判读出来,并在上述可变长解码器106中进行第2片段的可变长解码。The control center circuit 112 controls the variable-length decoder 106 to stop the decoding process of the first segment judged to have an error according to the result of the determination, and invalidates the decoding process result of the first segment. And, according to the detected segment header, the second segment that needs to be decoded after the first segment is judged from the above-mentioned bit buffer 102, and the variable length of the second segment is performed in the above-mentioned variable length decoder 106. long decoding.

另一方面,所述控制中心电路112控制上述MC电路109和上述帧缓冲器103,将应该被储存在上述帧缓冲器103中的第1片段置换成包含有上述第1片段的前一个被输出到播放器的图像中所包含的第3片段。这种第3片段在结构上与上述第1片段相对应。因此,被输出的不是出现错误的片段的解码数据,而是前一个图像当中与错误片段相对应的片段的解码数据。这样,片段的错误就被掩藏起来的。On the other hand, the control center circuit 112 controls the MC circuit 109 and the frame buffer 103 to replace the first fragment to be stored in the frame buffer 103 with the previous one including the first fragment and output it. 3rd fragment contained in the image to the player. This third fragment corresponds structurally to the above-mentioned first fragment. Therefore, what is output is not the decoded data of the segment where the error occurred, but the decoded data of the segment corresponding to the erroneous segment in the previous picture. In this way, fragment errors are hidden.

但是,仅靠利用压缩比特流的上述特殊句法和语义的方法,是很难检测出上述比特流中所包含的所有错误的。However, it is difficult to detect all the errors contained in the above-mentioned bit-stream only by utilizing the above-mentioned special syntax and semantics of the compressed bit-stream.

因此,在现有的视频解码器的错误检测装置上,由于没有检测出来的错误无法在画面上被适当地掩藏起来,所以给解码后的视频品质造成了很不好的影响,并且还会引起信号处理电路的操作故障。Therefore, on the error detection device of the existing video decoder, the errors that are not detected cannot be properly concealed on the screen, so it has a very bad influence on the video quality after decoding, and it will also cause Operational failure of the signal processing circuit.

发明内容 Contents of the invention

本发明正是为解决上述问题而提出的,其目的在于提供一种视频解码器的错误检测装置及方法。利用该装置和方法,本发明能够在视频解码器上除了使用依靠句法和语义的方法进行错误检测之外,还可以通过追加利用以句法中所存在标志的种类及比特流上的位置信息为依据检测出来的错误信息进行错误的恢复处理的方式,使存在错误的比特流所造成的影响最小化。The present invention is proposed to solve the above problems, and its purpose is to provide an error detection device and method for a video decoder. Utilizing the device and method, the present invention can perform error detection on the video decoder in addition to using methods relying on syntax and semantics, and additionally utilize the types of flags existing in the syntax and the location information on the bit stream as the basis for error detection. The way of recovering the detected error information minimizes the influence caused by the bit stream with errors.

为了实现上述目的,以本发明为依据的视频解码器的错误检测装置,其特征在于包括以下几个组成部分:负责从被输入的比特流中检测出视频句法标志的标志预扫部;负责把由上述标志预扫部检测出来的标志的种类和比特流上的位置信息储存起来的附加信息储存部;负责将视频解码器引导的标志在比特流上的位置与上述附加信息储存部中所储存的标志的位置相比较,并且当上述标志的位置相互不一致时就输出错误检测信号的错误检测部。In order to achieve the above object, the error detection device of the video decoder based on the present invention is characterized in that it includes the following components: a sign pre-scan section that is responsible for detecting the video syntax sign from the input bit stream; An additional information storage unit that stores the type of the logo detected by the logo preview unit and the position information on the bit stream; it is responsible for comparing the position of the logo guided by the video decoder on the bit stream with the position information stored in the above additional information storage unit An error detection unit that compares the positions of the flags and outputs an error detection signal when the positions of the marks do not coincide with each other.

为了实现上述目的,以本发明为依据的视频解码器的错误检测方法,其特征在于包括以下几个步骤:负责对输入到视频解码器中的比特流进行扫描的步骤;负责把由通过上述扫描检测出来的上述比特流上的所有有效标志和上述有效标志的位置信息所构成的附加信息储存起来的步骤;负责把视频解码器引导的比特流上的标志位置与上述附加信息储存部中所储存的各个标志的位置进行比较的步骤;负责在上述比较的结果为标志位置不一致时,判断出现错误的步骤。In order to achieve the above object, the error detection method of a video decoder based on the present invention is characterized in that it includes the following steps: responsible for scanning the bit stream input into the video decoder; The step of storing all the detected valid flags on the above-mentioned bit stream and the additional information formed by the position information of the above-mentioned valid flags; responsible for combining the flag positions on the bit stream guided by the video decoder with the above-mentioned additional information stored in the additional information storage unit The step of comparing the positions of each mark; the step responsible for judging an error when the result of the above comparison is that the positions of the marks are inconsistent.

根据输入比特流的压缩方式,所述附加信息的特征在于:它包括帧头、GOB头、片段头等,或者包括VOS头、VOL头、GOV头、VOP头及重同步(resync)头等。According to the compression method of the input bit stream, the additional information is characterized in that it includes a frame header, a GOB header, a segment header, etc., or includes a VOS header, a VOL header, a GOV header, a VOP header, and a resync header, etc.

本发明的特征在于:还包括当判断已经发生上述错误时,从相关标志位置开始重新进行解码的步骤。The present invention is characterized in that it further includes the step of re-decoding from the position of the relevant flag when it is judged that the above-mentioned error has occurred.

本发明的效果:Effect of the present invention:

通过以本发明为依据的视频解码器的错误检测装置和方法,除了可以利用现有视频解码器中依靠句法和语义的方法进行错误检测之外,还可以追加利用根据句法中所存在标志的种类和比特流上的位置信息检测出来的错误信息进行错误的恢复处理,通过这种方式来使发生错误的比特流的影响最小化。With the video decoder error detection device and method based on the present invention, in addition to using the method of syntax and semantics in the existing video decoder for error detection, it is also possible to additionally use the type of flags that exist in the syntax Error recovery processing is performed on the error information detected with the position information on the bit stream, and in this way, the impact of the erroneous bit stream is minimized.

为进一步说明本发明的上述目的、结构特点和效果,以下将结合附图对本发明进行详细的描述。In order to further illustrate the above-mentioned purpose, structural features and effects of the present invention, the present invention will be described in detail below in conjunction with the accompanying drawings.

附图说明 Description of drawings

图1是以现有技术为依据的视频解码器的结构示意图。FIG. 1 is a schematic structural diagram of a video decoder based on the prior art.

图2是以本发明为依据的包括错误检测装置在内的视频解码器结构示意图。Fig. 2 is a schematic structural diagram of a video decoder including an error detection device according to the present invention.

图3是以本发明中一个实施例为依据的包含错误检测装置的解码器结构示意图。Fig. 3 is a schematic structural diagram of a decoder including an error detection device according to an embodiment of the present invention.

附图中主要部分的符号说明:Explanation of the symbols of the main parts in the accompanying drawings:

210:标志预扫部            220:附加信息储存部210: Logo pre-scanning department 220: Additional information storage department

230:错误检测部            310:解码部230: Error detection unit 310: Decoding unit

312:控制中心电路312: control center circuit

具体实施方式 Detailed ways

下面将参照附图对以本发明的视频解码器的错误检测装置及方法的实施方式进行详细说明。The implementation of the error detection device and method for a video decoder of the present invention will be described in detail below with reference to the accompanying drawings.

图2是以本发明为依据的包含有错误检测装置的视频解码器的结构示意图。FIG. 2 is a schematic structural diagram of a video decoder including an error detection device according to the present invention.

以本发明为依据的视频解码器的错误检测装置,如图2所示,包括标志预扫部210、附加信息储存部220和错误检测部230。The error detection device of the video decoder based on the present invention, as shown in FIG.

所述标志预扫部210负责对输入的比特流进行扫描,并从上述比特流中检测出视频句法上的标志。根据输入比特流的压缩方式的不同,上述视频句法上的标志中包含有帧头、GOB头、片段头等,或者包含有VOS头、VOL头、GOV头、VOP头和重同步(resync)头等。The marker pre-scanning unit 210 is responsible for scanning the input bit stream and detecting the markers on the video syntax from the bit stream. According to the different compression methods of the input bit stream, the above-mentioned signs on the video syntax include frame header, GOB header, segment header, etc., or include VOS header, VOL header, GOV header, VOP header, and resync (resync) header, etc.

所述附加信息储存部220负责对上述标志预扫部检测出来的标志的种类和比特流上的位置信息进行储存。The additional information storage unit 220 is responsible for storing the type of the marker detected by the marker pre-scan unit and the position information on the bit stream.

所述错误检测部230负责对视频解码器引导的标志在比特流上的位置与上述附加信息储存部220中所储存的标志的位置进行比较,并且在上述标志的位置相互不一致时输出错误检测信号。The error detection unit 230 is responsible for comparing the position of the flag guided by the video decoder on the bit stream with the position of the flag stored in the additional information storage unit 220, and outputs an error detection signal when the positions of the flags are inconsistent with each other. .

具有上述结构的以本发明为依据的视频解码器的错误检测装置,能够很容易地利用上述附加信息储存部220中所储存标志的种类和比特流上的位置信息以及在解码时被核对的标志在比特流上的位置,在解码时检测出错误。The error detection device of the video decoder based on the present invention having the above structure can easily use the type of the flag stored in the above-mentioned additional information storage unit 220, the position information on the bit stream, and the flag checked at the time of decoding. The position on the bitstream at which an error was detected while decoding.

并且,根据上述错误检测部230输出的错误信息,视频解码器开始从检测出错误的相关标志开始重新进行解码。Then, based on the error information output by the error detection unit 230, the video decoder starts decoding again from the detected error-related flag.

图3是以本发明的实施例为依据的包含有错误检测装置的解码器结构示意图。Fig. 3 is a schematic structural diagram of a decoder including an error detection device according to an embodiment of the present invention.

如图3所示,以本发明的实施例为依据的包含有错误检测装置的视频解码器通常包括:构成解码器的解码部301、标志预扫部210、附加信息储存部220和错误检测部230。As shown in FIG. 3 , a video decoder that includes an error detection device based on an embodiment of the present invention generally includes: a decoding unit 301 constituting the decoder, a sign preview unit 210, an additional information storage unit 220 and an error detection unit 230.

所述解码部301中包括:比特缓冲器102、帧缓冲器103、图像头检测电路104、片段头检测电路105、可变长解码器106、逆量子化电路107、IDCT电路108、MC电路109、第1ROM110、第2ROM111、控制中心电路312、赫夫曼错误检测电路113等。在构成上述解码部301的部分当中,对与现有设备相同的部分使用了相同的符号进行表示。The decoding unit 301 includes: a bit buffer 102, a frame buffer 103, an image header detection circuit 104, a segment header detection circuit 105, a variable length decoder 106, an inverse quantization circuit 107, an IDCT circuit 108, and an MC circuit 109 , the first ROM110, the second ROM111, the control center circuit 312, the Huffman error detection circuit 113, and the like. Among the parts constituting the above-mentioned decoding unit 301 , the same parts as those of the conventional equipment are denoted by the same symbols.

下面就对具有上述结构的以本发明实施例为依据的包含有错误检测装置的解码器的动作进行说明。Next, the operation of the decoder including the error detection device according to the embodiment of the present invention having the above-mentioned structure will be described.

首先,压缩比特流被从传送媒体中输入到该包含有错误检测装置的解码器中。所述传送媒体不仅包括视频CD、CD-ROM、DVD、数字视频录放机等记录媒体,还包括近距离通信网(LAN)等通信媒体、地面波电视或卫星电视以及光缆电视等电视媒体等。First, a compressed bit stream is input from a transmission medium to the decoder including error detection means. The transmission media includes not only recording media such as video CD, CD-ROM, DVD, and digital video recorder, but also communication media such as short-distance communication network (LAN), television media such as terrestrial TV or satellite TV, and optical cable TV.

如果输入了压缩比特流,那么上述标志预扫部210就在上述解码部301对输入的比特流进行处理之前,对其进行自由扫描并检测出上述比特流中所包含的视频句法上的标志,然后生成附加信息。If the compressed bit stream is input, then the flag pre-scan unit 210 performs free scanning to detect the video syntax flag contained in the bit stream before the decoding unit 301 processes the input bit stream, Then generate additional information.

视频信号在视频句法上的有效标志(valid marker),根据上述视频信号的压缩方式,包括以下几种信息。The valid marker of the video signal on the video syntax, according to the compression method of the above video signal, includes the following information.

在H.263的情况下,包括帧头(Frame Header)、GOB头(GOB Header)、片段头(Slice Header)等。In the case of H.263, including Frame Header (Frame Header), GOB Header (GOB Header), Slice Header (Slice Header), etc.

在MPEG4SP的情况下,包括VOS头(VOS Header)、VOL头(VOL Header)、GOV头(GOV Header)、VOP头(VOP Header)和同步标志(Resync Marker)。In the case of MPEG4SP, it includes VOS Header (VOS Header), VOL Header (VOL Header), GOV Header (GOV Header), VOP Header (VOP Header) and synchronization mark (Resync Marker).

所述附加信息储存部220中储存着由上述标志预扫部210检测出来的标志的种类和比特流上的位置信息。即,在比特流上找到的所有有效标志和上述各个标志的种类及比特流上的位置信息都被储存在上述附加信息储存部220中。The additional information storage unit 220 stores the type of the marker detected by the marker pre-scan unit 210 and position information on the bit stream. That is, all valid flags found in the bit stream, the types of the respective flags, and position information on the bit stream are all stored in the above-mentioned additional information storage unit 220 .

所述错误检测部230对上述解码部301引导的标志在比特流上的位置与上述附加信息储存部中所储存的标志的位置进行比较,然后当上述标志的位置相互不一致时就输出错误检测信号。The error detection unit 230 compares the position of the flag on the bit stream guided by the decoding unit 301 with the position of the flag stored in the additional information storage unit, and outputs an error detection signal when the positions of the flags do not coincide with each other. .

所述错误检测部230在利用附加信息依靠句法和语义的方法之外,还追加进行错误检测,这种追加的错误检测过程如下:In addition to the method of using additional information and relying on syntax and semantics, the error detection unit 230 also additionally performs error detection. This additional error detection process is as follows:

首先,对所述解码部301当前引导的比特流上的位置和位于上述附加信息储存部220中的各个标志的位置进行比较。First, the position on the bit stream currently guided by the decoding unit 301 is compared with the position of each flag in the above-mentioned additional information storage unit 220 .

如果,上述附加信息储存部220中所储存的有效标志的位置超过了当前的比特流指针(pointer),如果无法对相关的标志进行适当的分解(parsing),就说明由于此前发生的错误的影响,使得相关标志在不能对比特流进行正常分解的过程中,因为没有被当作标志而越过去了,并且由于依靠句法和语义的方法没能检测出错误,因而可以判断发生了错误。If the position of the effective flag stored in the above-mentioned additional information storage unit 220 exceeds the current bit stream pointer (pointer), if the relevant flag cannot be properly resolved (parsed), it is due to the influence of an error that occurred before , so that in the process of not normally decomposing the bit stream, the relevant flags are passed because they are not regarded as flags, and because the errors cannot be detected by relying on the method of syntax and semantics, it can be judged that an error has occurred.

如果所述错误检测部230检测到了这类错误的发生,上述解码部301的控制中心电路312就输入错误发生信号来提示发生了错误。因此,上述控制中心电路312就从那个没有进行分解就被越过去的相关标志位置开始重新进行解码。If the error detection unit 230 detects the occurrence of such errors, the control center circuit 312 of the decoding unit 301 inputs an error occurrence signal to indicate that an error has occurred. Therefore, the above-mentioned control center circuit 312 starts to decode again from the position of the relevant flag that was passed over without decomposing.

详细的说明就是,所述控制中心电路312根据上述错误检测部230输出的错误检测信号,停止了当前正在进行当中的解码动作。即,所述控制中心电路312根据上述错误检测部230的错误检测信号,停止了可变长解码器106对包含有被判定发生错误的标志的比特流所进行的解码处理,并且使针对包含有上述标志的比特流所进行的解码处理结果失效。In detail, the control center circuit 312 stops the currently ongoing decoding operation according to the error detection signal output by the error detection unit 230 . That is, the control center circuit 312 stops the decoding process of the bit stream including the flag that is determined to have an error by the variable length decoder 106 based on the error detection signal of the error detection unit 230, and makes the The result of the decoding process performed on the bitstream marked above is invalid.

所以,所述控制中心电路312为了进行正确的解码,将重新开始解码的位置变更为相关标志所在的位置,从这里开始重新进行解码。因此,从被检测出错误的标志处开始重新将比特流从上述比特缓冲器102中判读出来,通过上述可变长解码器106来进行可变长解码。Therefore, in order to perform correct decoding, the control center circuit 312 changes the position where decoding is restarted to the position where the relevant flag is located, and starts decoding again from here. Therefore, the bit stream is re-interpreted from the above-mentioned bit buffer 102 starting from the flag where an error is detected, and the variable-length decoding is performed by the above-mentioned variable-length decoder 106 .

本技术领域中的普通技术人员应当认识到,以上的实施例仅是用来说明本发明,而并非用作为对本发明的限定,只要在本发明的实质精神范围内,对以上所述实施例的变化、变型都将落在本发明权利要求书的范围内。Those of ordinary skill in the art should recognize that the above embodiments are only used to illustrate the present invention, rather than as a limitation to the present invention, as long as within the scope of the spirit of the present invention, the above-described embodiments Changes and modifications will fall within the scope of the claims of the present invention.

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 Decoder 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 mark position on the bit stream of Video Decoder guiding and position as each stored sign of additional information are compared;
When above-mentioned comparative result is mark position when inconsistent, just judge wrong step to occur.
3, the error-detecting method 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 synchronous head.
4, the error-detecting method of Video Decoder as claimed in claim 2 is characterized in that:
When judging when making a mistake, described method also comprises the step that begins to decode again from the correlating markings position.
CN 200510111946 2005-12-23 2005-12-23 Error detection device and method for video 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 detection device and method for video decoder

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN1988668A CN1988668A (en) 2007-06-27
CN100534200C true 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 detection device and method for video decoder

Country Status (1)

Country Link
CN (1) CN100534200C (en)

Families Citing this family (2)

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

Also Published As

Publication number Publication date
CN1988668A (en) 2007-06-27

Similar Documents

Publication Publication Date Title
CN1848956B (en) Error concealing method for improving error concealing of video encoding and encoder
RU2419245C2 (en) Systems and methods for channels switching
KR100608113B1 (en) Digital Audio Decoder and Digital Audio Player with Error Handler
TW453118B (en) Graphic decoding device and a graphic encoding device
JP2001025010A (en) Multimedia information communication apparatus and method
US20160127740A1 (en) Video Decoding Method/Device of Detecting a Missing Video Frame
US20100195742A1 (en) Error concealment method and apparatus
US8332736B2 (en) Decoder with resiliency to handle errors in a received data stream
JP2001285897A (en) Device for evaluating reception quality of moving picture
US8767840B2 (en) Method for detecting errors and recovering video data
US6498809B1 (en) Video bitstream error resilient transcoder, method, video-phone, video-communicator and device
US8478056B2 (en) Method of and apparatus for detecting error in image data stream
US20100241920A1 (en) Image decoding apparatus, image decoding method, and computer-readable recording medium
US20070022461A1 (en) Auxiliary information processing system
CN100534200C (en) Error detection device and method for video decoder
JP2005518164A (en) Coding data streams using unequal error protection.
CN101194516B (en) Video coding
CN110036646A (en) Decoder, encoder, computer program and method
KR100752846B1 (en) Apparatus and method for error detection of video decoder
WO2015032928A1 (en) Method for determining a time stamp relating to synchronization and associated device
KR20170083844A (en) Set-Top Box for Measuring Frame Loss in a Video Stream and Method for Operating Same
KR100531854B1 (en) Method for preventing frame type of video codec
JP4736918B2 (en) Digital playback device or playback program
JP2006262406A (en) Encoded data generator
KR100710262B1 (en) Audio error detection device and method

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