KR100752846B1 - Apparatus and Method for detecting error of video stream in video decoder - Google Patents

Apparatus and Method for detecting error of video stream in video decoder Download PDF

Info

Publication number
KR100752846B1
KR100752846B1 KR1020040105726A KR20040105726A KR100752846B1 KR 100752846 B1 KR100752846 B1 KR 100752846B1 KR 1020040105726 A KR1020040105726 A KR 1020040105726A KR 20040105726 A KR20040105726 A KR 20040105726A KR 100752846 B1 KR100752846 B1 KR 100752846B1
Authority
KR
South Korea
Prior art keywords
marker
bit stream
error
error detection
header
Prior art date
Application number
KR1020040105726A
Other languages
Korean (ko)
Other versions
KR20060067208A (en
Inventor
김성진
윤도현
Original Assignee
엘지전자 주식회사
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 엘지전자 주식회사 filed Critical 엘지전자 주식회사
Priority to KR1020040105726A priority Critical patent/KR100752846B1/en
Publication of KR20060067208A publication Critical patent/KR20060067208A/en
Application granted granted Critical
Publication of KR100752846B1 publication Critical patent/KR100752846B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • H04N19/89Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/124Quantisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/177Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards

Abstract

본 발명은 압축된 비트스트림상의 특성상 신택스 및 시멘틱에 의한 방법으로 정확하게 에러를 검출하기 어려운 점을 해결하여 에러 검출의 신뢰성을 보다 향상시킬 수 있는 비디오 디코더의 에러 검출 장치 및 방법에 관한 것이다.The present invention relates to an error detection apparatus and method for a video decoder capable of further improving the reliability of error detection by solving a problem that it is difficult to accurately detect an error by a syntax and semantic method on the characteristics of a compressed bitstream.

본 발명에 따른 비디오 디코더의 에러 검출 장치는, 입력되는 비트 스트림으로부터 비디오 신택스상의 마커를 검출하기 위한 마커 프리스캔부와, 상기 마커 프리스캔부에 의해 검출된 마커의 종류 및 비트 스트림상의 위치 정보를 저장하는 부가 정보 저장부와, 비디오 리코더가 리드하는 비트 스트림상의 위치와 상기 부가 정보 저장부에 저장된 마커의 위치를 비교하는 비교부와, 상기 비교부의 에러 검출 신호에 따라 디코딩 위치를 변경하여 해당 마커 위치로부터 디코딩을 수행토록 하는 제어부를 포함하여 구성된다.An error detection apparatus of a video decoder according to the present invention includes a marker prescan unit for detecting a marker on a video syntax from an input bit stream, a type of marker detected by the marker prescan unit, and position information on a bit stream. An additional information storage to store, a comparator for comparing a position on the bit stream led by the video recorder with a position of the marker stored in the additional information storage, and a decoding position according to an error detection signal of the comparator And a control unit to perform decoding from the position.

상기와 같은 본 발명의 구성에 의하면 신택스에 존재하는 마커의 종류 및 비트 스트림상의 위치 정보를 이용하여 검출된 에러 정보를 추가로 이용하여 에러 복구 처리를 하도록 함으로써 에러가 포함된 비트스트림의 에러에 의한 영향을 최소화시킬 수 있는 효과가 있다.According to the configuration of the present invention as described above, the error recovery process is further performed by using error information detected using the type of the marker present in the syntax and the position information on the bit stream. This has the effect of minimizing the impact.

비디오 디코더, 에러 검출, 마커 정보Video Decoder, Error Detection, Marker Information

Description

비디오 디코더의 에러 검출 장치 및 방법{Apparatus and Method for detecting error of video stream in video decoder} Apparatus and Method for detecting error of video stream in video decoder             

도 1은 종래의 비디오 디코더의 구성을 나타낸 도면1 is a view showing the configuration of a conventional video decoder

도 2는 본 발명에 따른 에러 검출 장치를 포함한 비디오 디코더의 구성을 나타낸 도면 2 is a diagram illustrating a configuration of a video decoder including an error detection apparatus according to the present invention.

도 3는 본 발명의 일실시예에 따른 에러 검출 장치를 포함한 디코더의 구성을 나타낸 도면3 is a block diagram of a decoder including an error detection apparatus according to an embodiment of the present invention.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for main parts of the drawings>

210: 마커 프리스캔부 220: 부가 정보 저장부210: marker prescan unit 220: additional information storage unit

230: 에러 검출부 310: 디코딩부230: error detection unit 310: decoding unit

312: 제어 코어 회로312: control core circuit

본 발명은 비디오 디코더의 에러 검출 장치 및 방법에 관한 것이다.The present invention relates to an error detection apparatus and method of a video decoder.

비디오 코덱(codec)은 ITU 의 H.261 / 263 / 264 등과 ISO 의 MPEG-1/2/4 등의 표준화 작업이 진행 됨에 따라서 널리 사용되게 되었고, 특히 인터넷, 3세대 무선 통신 등의 발달과 더불어 네트웍 환경에서의 주요 애플리케이션(application)으로 자리잡게 되었다.Video codec has been widely used as standardization work such as H.261 / 263/264 of ITU and MPEG-1 / 2/4 of ISO, especially with the development of internet, 3rd generation wireless communication, etc. It has become a major application in network environments.

네트웍을 이용한 비디오 신호의 전송 시에, 특히 무선 환경 인 경우에, 전송 채널 상에서 데이터의 손실(loss) 및 오류(corruption)가 발생하게 된다. 따라서 비디오 디코더는 이러한 오류가 발생된 데이터를 디코딩하는 경우에 에러를 적절히 검출해서 검출된 에러를 은폐시키는 기능이 필수적이다.In the transmission of video signals using a network, especially in a wireless environment, data loss and corruption occur on the transmission channel. Therefore, when the video decoder decodes the data in which such an error has occurred, a function of properly detecting the error and concealing the detected error is essential.

전달하고자 하는 정보를 에러없이 신속하게 전송하여 상대방으로 올바른 정보를 활용할 수 있게 하는 것은 모든 전송시스템의 목표라고 할 수 있다. 이를 위해 대부분의 디지털 전송 시스템에서는 송신측에서 일정한 인코딩 룰에 의거해 전송할 디지털 데이터를 인코딩하여 전송하고, 수신측에서 인코딩된 전송데이터를 다시 디코딩하여 원하는 데이터만을 추출해 내고 있다. 데이터를 인코딩하여 전송하는 경우 전송로에서의 에러 발생이 줄어 들고 혹시 에러가 발생하더라도 수신측에서 그 에러를 정정할 수 있게 된다It is the goal of all transmission systems to transmit information to be delivered quickly and without error so that the correct information can be utilized by the other party. To this end, most digital transmission systems encode and transmit digital data to be transmitted based on a predetermined encoding rule at the transmitter, and decode the encoded data at the receiver to extract only desired data. When data is encoded and transmitted, error occurrence in the transmission path is reduced, and even if an error occurs, the receiving side can correct the error.

일반적으로 에러의 검출 방법은 비디오 표준 상의 신택스(syntax) 및 시멘틱(semantic)을 체크하는 방법으로 이루어진다.In general, the error detection method consists of checking syntax and semantics on a video standard.

에러의 검출 및 검출된 에러의 복구 및 은폐 수단을 포함하여 비디오 스크림을 재생시키기 위한 종래의 비디오 디코더의 구성 및 동작을 첨부된 도면을 참조하 여 간략하게 설명한다.The configuration and operation of a conventional video decoder for reproducing a video scrim including detection of errors and recovery and concealment means of detected errors will be briefly described with reference to the accompanying drawings.

도 1은 종래의 비디오 디코더의 구성을 나타낸 도면이다.1 is a view showing the configuration of a conventional video decoder.

도 1을 참조하면, 비트 버퍼(102)는 전송되어 온 비트 스트림을 수신하고, 그 비트 스트림을 저장한다.Referring to FIG. 1, the bit buffer 102 receives a transmitted bit stream and stores the bit stream.

픽쳐 헤더 검출회로(104)는 상기 비트 버퍼(102)에 저장된 비트 스트림에 포함되어 있는 각 픽쳐의 선두에 붙여진 픽쳐 헤더를 검출하여 각 픽쳐의 타입(I, P, B)를 판정한다.The picture header detection circuit 104 detects the picture header attached to the head of each picture included in the bit stream stored in the bit buffer 102 to determine the type (I, P, B) of each picture.

제어 코어 회로(112)는 상기 판단를 근거로 하여 상기 비트 버퍼(102)로부터 1장의 픽쳐의 비디오 스트림을 I 프레임 기간마다 판독해 낸다.The control core circuit 112 reads out one picture video stream every I frame period from the bit buffer 102 based on the determination.

슬라이스 헤더 검출 회로(105)는 비트 스트림에 포함되어 있는 각 슬라이스의 선두에 붙여진 슬라이스 헤더를 검출해 낸다.The slice header detection circuit 105 detects a slice header attached to the head of each slice included in the bit stream.

가변 길이 디코더(106)는 제1 ROM(110)에 기억된 허프만 테이블이 가지고 있는 허프만 코드에 근거하여 픽쳐마다 비트 스트림의 가변 길이 디코드를 행한다.The variable length decoder 106 performs variable length decoding of the bit stream for each picture based on the Huffman code of the Huffman table stored in the first ROM 110.

역양자화 회로(107)는 제2 ROM(111)에 기억된 양자화 테이블이 가지고 있는 양자화 임계값에 근거하여 가변 길이 디코드된 데이터의 역양자화를 행하고, DCT(이산 여현 변환) 계수 데이터를 산출 한다.The inverse quantization circuit 107 performs inverse quantization of the variable length decoded data based on the quantization threshold value of the quantization table stored in the second ROM 111, and calculates DCT (discrete cosine transform) coefficient data.

IDCT(Inverse DCT) 회로(108)는 역 이산 여현 변환(IDCT)을 행하여 DCT 계수 데이터를 변환시킨다.An IDCT (Inverse DCT) circuit 108 performs inverse discrete cosine transform (IDCT) to convert DCT coefficient data.

MC(Motion Compensation: 움직임 보상) 회로(109)는 상기 IDCT 회로(108)의 처리 결과에 근거하여 움직임 보상 예측을 행한다. 상기 MC 회로(109)의 처리 결과 는 프레임 버퍼(103)의 각 영역(103a ~103c)에 선택적으로 저장된다. 상기 프레임 버퍼(103)의 각 영역(103a ~103c) 중 어느 한 영역에 저장된 픽쳐의 디코드된 데이터가 상기 MC 회로(109)를 거쳐 비디오 신호로써 비디오 디코더(101)에 접속된 디스플레이 장치(도시되지 않음)로 출력된다.The motion compensation (MC) circuit 109 performs motion compensation prediction based on the processing result of the IDCT circuit 108. The processing result of the MC circuit 109 is selectively stored in each area 103a to 103c of the frame buffer 103. Display device (not shown) in which decoded data of a picture stored in one of the regions 103a to 103c of the frame buffer 103 is connected to the video decoder 101 as a video signal via the MC circuit 109. Output).

허프만 에러 검출 회로(113)는 상기 가변 길이 디코더(106)의 디코드 처리를 감시하여 슬라이스 마다 비트 스트림의 에러를 검출한다. 즉, 슬라이스에 대응하는 데이터가 허프만 테이블에 저장되어 있지 않은 경우나 슬라이스에 대응되는 데이터와 과거의 디코드 데이터가 일치하지 않는 경우, 그 슬라이스에 에러가 있다고 판정된다.The Huffman error detection circuit 113 monitors the decoding process of the variable length decoder 106 to detect an error in the bit stream per slice. In other words, when the data corresponding to the slice is not stored in the Huffman table or when the data corresponding to the slice and the past decoded data do not match, it is determined that there is an error in the slice.

제어 코어 회로(112)는 상기 판정에 근거하여, 에러가 포함되어 있다고 판정된 제 1의 슬라이스에 대한 가변 길이 디코더(106)의 디코드 처리를 정지시키고, 상기 제 1의 슬라이스의 디코드 처리 결과를 무효로 되게 한다. 또한 검출된 슬라이스 헤더에 근거하여 제 1의 슬라이스의 다음에 디코딩 되어야 할 제 2의 슬라이스를 상기 비트 버퍼(102)로부터 판독해 내어 상기 가변 길이 디코더(106)에 제 2의 슬라이스의 가변 길이 디코더를 행하도록 한다.The control core circuit 112 stops the decoding process of the variable length decoder 106 for the first slice that is determined to contain an error based on the determination, and invalidates the decoding processing result of the first slice. To be. The variable length decoder 106 reads the second slice to be decoded next to the first slice from the bit buffer 102 based on the detected slice header. Do it.

한편, 상기 제어 코어 회로(112)는 상기 MC 회로(109) 및 상기 프레임 버퍼(103)를 제어하여 상기 프레임 버퍼(103)에 저장되어야 할 제 1의 슬라이스를 상기 제 1의 슬라이스를 포함하는 픽쳐의 1개 전에 디스플레이로 츨력되는 픽쳐에 포함되어 있는 제 3의 슬라이스로 치환한다. 이러한 제 3의 슬라이스는 상기 제 1의 슬라이스와 구조적으로 대응되고 있다. 이에 따라, 에러를 포함하는 슬라이스의 디코 드 데이터 뿐만 아니라 1개 전의 픽쳐 중의 에러 슬라이스와 대응하는 슬라이스의 디코드 데이터가 출력된다. 이에 의해, 슬라이스의 에러가 은폐된다.Meanwhile, the control core circuit 112 controls the MC circuit 109 and the frame buffer 103 to include a picture including the first slice as a first slice to be stored in the frame buffer 103. Replace with a third slice contained in a picture that is output to the display one before. This third slice is structurally corresponding to the first slice. As a result, not only the decode data of the slice containing the error but also the decode data of the slice corresponding to the error slice in the previous picture is output. This conceals errors in the slices.

하지만, 압축된 비트 스트림의 특성상 상기와 같이 신택스 와 시멘틱에 의한 방법만으로는 상기 비트 스트림에 포함된 모든 에러를 검출 하기가 어렵다.However, due to the characteristics of the compressed bit stream, it is difficult to detect all errors included in the bit stream only by the syntax and semantic methods as described above.

따라서, 종래의 비디오 디코더의 에러 검출 장치에서 검출되지 못한 에러는 화면 상에서 적절히 은폐되지 못하므로 디코딩된 비디오의 품질에 아주 좋지 않은 영향을 끼치고, 때로는 신호처리회로의 동작에 장애를 일으키게 되는 문제를 유발시킬 수가 있다. Therefore, an error which is not detected by the error detection apparatus of the conventional video decoder is not properly concealed on the screen and thus has a very bad effect on the quality of the decoded video, and sometimes causes a problem that causes the operation of the signal processing circuit. I can do it.

본 발명은 비디오 디코더에서 신택스와 시멘틱에 의한 방법을 이용한 에러 검출 이외에도 신택스에 존재하는 마커의 종류 및 비트 스트림상의 위치 정보를 이용하여 검출된 에러 정보를 추가로 이용하여 에러 복구 처리를 추가함으로써 에러가 포함된 비트스트림의 에러에 의한 영향을 최소화시킬 수 있는 비디오 디코더의 에러 검출 장치 및 방법을 제공하는 것에 그 목적이 있다.
According to the present invention, in addition to error detection using a syntax and semantic method in a video decoder, an error recovery process may be performed by additionally using error information detected by using a type of a marker present in syntax and position information on a bit stream. It is an object of the present invention to provide an apparatus and method for error detection of a video decoder that can minimize the effects of errors in an included bitstream.

이와 같은 목적을 달성하기 위한 본 발명에 따른 비디오 디코더의 에러 검출 장치는, 입력되는 비트 스트림으로부터 비디오 신택스상의 마커를 검출하기 위한 마커 프리스캔부와, 상기 마커 프리스캔부에 의해 검출된 마커의 종류 및 비트 스 트림상의 위치 정보를 저장하는 부가 정보 저장부와, 비디오 리코더가 리드하는 마커의 비트 스트림상의 위치와 상기 부가 정보 저장부에 저장된 마커의 위치를 비교하여 상기 마커의 위치가 상호 일치하지 않는 경우 에러 검출 신호를 출력시키는 에러 검출부를 포함하여 구성되는 것을 특징으로 한다.In order to achieve the above object, an error detection apparatus of a video decoder according to the present invention includes a marker prescan unit for detecting a marker on a video syntax from an input bit stream, and a type of marker detected by the marker prescan unit. And comparing the position of the marker with the additional information storage unit for storing the position information on the bit stream, and the position of the marker stored in the additional information storage unit with the position on the bit stream of the marker read by the video recorder. And an error detection unit for outputting an error detection signal.

상기 목적을 달성하기 위한 본 발명에 따른 비디오 디코더의 에러 검출 방법은, 비디오 디코더로 입력될 비트 스트림을 스캐닝하는 단계와, 상기 스캐닝에 따라 검출된 상기 비트 스트림 상의 모든 유효 마커와 상기 유효 마커의 위치 정보로 구성되는 부가정보를 저장시키는 단계와, 비디오 디코더가 리드 하는 비트 스트림 상의 마커 위치와 상기 부가 정보 저장부에 저장된 각 마커들의 위치를 비교하는 단계와, 상기 비교 결과 상기 마커 위치가 일치하지 않는 경우 에러가 포함되었다고 판단하는 단계를 포함하여 구성됨을 특징으로 한다.An error detection method of a video decoder according to the present invention for achieving the above object comprises the steps of scanning a bit stream to be input to the video decoder, the location of all valid markers and the valid markers on the bit stream detected in accordance with the scanning; Storing additional information consisting of information, comparing a marker position on a bit stream read by a video decoder with positions of respective markers stored in the additional information storage unit, and the marker positions do not match as a result of the comparison. And determining that an error is included.

상기 부가 정보에는, 입력 비트 스트림의 압축 방식에 따라서, 프레임 헤더, GOB 헤더, 슬라이스 헤더 등을 포함되거나 VOS 헤더, VOL 헤더, GOV 헤더, VOP 헤더 및 리싱크(resync) 헤더 등을 포함되는 것을 특징으로 한다.The additional information may include a frame header, a GOB header, a slice header, and the like, or include a VOS header, a VOL header, a GOV header, a VOP header, a resync header, and the like according to a compression scheme of an input bit stream. It is done.

상기 에러가 포함되었다고 판단된 경우, 해당 마커 위치로부터 다시 디코딩을 수행시키는 단계가 수행되는 것을 특징으로 한다.When it is determined that the error is included, the step of performing decoding from the corresponding marker position is performed again.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 따른 비디오 디코더의 에러 검출 장치 및 방법에 대하여 상세히 설명한다.Hereinafter, an error detection apparatus and method of a video decoder according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 2는 본 발명에 따른 에러 검출 장치를 포함한 비디오 디코더의 구성을 나타낸 도면이다.2 is a diagram illustrating a configuration of a video decoder including an error detection apparatus according to the present invention.

본 발명에 따른 비디오 디코더의 에러 검출 장치는, 도 2에 도시된 바와 같이, 마커 프리스캔부(210)와, 부가 정보 저장부(220) 및 에러 검출부(230)를 포함하여 구성된다.The error detection apparatus of the video decoder according to the present invention includes a marker prescan unit 210, an additional information storage unit 220, and an error detection unit 230 as illustrated in FIG. 2.

상기 마커 프리스캔부(210)는 입력되는 비트 스트림을 스캐닝하여 상기 비트 스트림으로부터 비디오 신택스상의 마커를 검출한다. 상기 비디오 신택스상의 마커에는, 입력 비트 스트림의 압축 방식에 따라서, 프레임 헤더, GOB 헤더, 슬라이스 헤더 등이 포함되거나 VOS 헤더, VOL 헤더, GOV 헤더, VOP 헤더 및 리싱크(resync) 헤더 등을 포함된다.The marker prescan unit 210 scans an input bit stream and detects a marker on a video syntax from the bit stream. The marker on the video syntax includes a frame header, a GOB header, a slice header, and the like, or a VOS header, a VOL header, a GOV header, a VOP header, a resync header, and the like according to a compression scheme of an input bit stream. .

상기 부가 정보 저장부(220)는 상기 마커 프리스캔부에 의해 검출된 마커의 종류 및 비트 스트림상의 위치 정보를 저장한다.The additional information storage unit 220 stores the type of the marker detected by the marker prescan unit and the position information on the bit stream.

상기 에러 검출부(230)는 비디오 리코더가 리드하는 마커의 비트 스트림상의 위치와 상기 부가 정보 저장부(220)에 저장된 마커의 위치를 비교하여 상기 마커의 위치가 상호 일치하지 않는 경우 에러 검출 신호를 출력시킨다.The error detector 230 compares the position on the bit stream of the marker read by the video recorder with the position of the marker stored in the additional information storage 220 and outputs an error detection signal when the positions of the markers do not coincide with each other. Let's do it.

상기와 같이 구성되는 본 발명에 따른 비디오 디코더의 에러 검출 장치는, 상기 부가 정보 저장부(220)에 저장시킨 마커의 종류 및 비트 스트림상의 위치 정보와 디코딩시에 체크되는 마커의 비트 스트림상의 위치를 이용하여 디코딩시에 에러를 쉽게 검출할 수 있도록 한다. The error detection apparatus of the video decoder according to the present invention configured as described above includes the type of the marker stored in the additional information storage unit 220, the position information on the bit stream, and the position on the bit stream of the marker checked at the time of decoding. This makes it easy to detect errors in decoding.

또한, 상기 에러 검출부(230)에서 출력되는 에러 정보에 따라서 비디오 디코더는 에러가 검출된 해당 마커로부터 다시 디코딩을 시작하게 된다.In addition, according to the error information output from the error detector 230, the video decoder starts decoding from the corresponding marker where the error is detected.

도 3는 본 발명의 일실시예에 따른 에러 검출 장치를 포함한 디코더의 구성 을 나타낸 도면이다.3 is a block diagram of a decoder including an error detection apparatus according to an exemplary embodiment of the present invention.

도 3에 도시된 바와 같이, 본 발명의 일실시예에 따른 에러 검출 장치를 포함한 비디오 디코더는, 일반적인 디코더를 구성하는 디코딩부(301)와, 마커 프리스캔부(210)와, 부가 정보 저장부(220) 및 에러 검출부(230)가 구비된 본 발명에 따른 비디오 디코더 에러 검출 장치를 포함하여 구성된다.As shown in FIG. 3, a video decoder including an error detection apparatus according to an embodiment of the present invention includes a decoding unit 301, a marker prescan unit 210, and an additional information storage unit constituting a general decoder. And a video decoder error detection apparatus according to the present invention, which includes an 220 and an error detector 230.

상기 디코딩부(301)는, 비트 버퍼(102), 프레임 버퍼(103), 픽쳐 헤더 검출회로(104), 슬라이스 헤더 검출 회로(105), 가변 길이 디코더(106), 역양자화 회로(107), IDCT 회로(108), MC 회로(109), 제1 ROM(110), 제2 ROM(111), 제어 코어 회로(312), 허프만 에러 검출 회로(113) 등을 포함하여 구성된다. 상기 디코딩부(301)를 구성하는 부분 중, 종래와 동일한 부분에 대해서는 동일 부호를 사용하여 표시하였다. The decoding unit 301 includes a bit buffer 102, a frame buffer 103, a picture header detection circuit 104, a slice header detection circuit 105, a variable length decoder 106, an inverse quantization circuit 107, IDCT circuit 108, MC circuit 109, first ROM 110, second ROM 111, control core circuit 312, Huffman error detection circuit 113, and the like. Among the parts constituting the decoding unit 301, the same parts as in the prior art are denoted by the same reference numerals.

상기와 같이 구성되는 본 발명의 일실시예에 따른 에러 검출 장치를 포함한 디코더의 동작에 대하여 설명한다.The operation of the decoder including the error detection apparatus according to the embodiment of the present invention configured as described above will be described.

먼저, 에러 검출 장치를 포함한 디코더로 전달 매체로부터 압축된 비트 스트림이 입력된다. 상기 전달 매체는 비디오 CD, CD-ROM, DVD, 디지털 비디오 리코더 등의 기록 매체 뿐만 아니라 근거리 통신망(LAN) 등의 통신 매체, 지상파 방송이나 위성 방송 및 케이블 티브이 등의 방송 매체 등을 모두 포함한다.First, a compressed bit stream is input from a transmission medium to a decoder including an error detection device. The transmission medium includes not only recording media such as a video CD, CD-ROM, DVD, digital video recorder, but also a communication medium such as a local area network (LAN), a broadcast medium such as terrestrial broadcast or satellite broadcast and cable TV.

압축된 비트 스트림이 입력되면, 상기 마커 프리스캔부(210)는 입력되는 비트 스트림을 상기 디코딩부(301)에서 처리하기 이전에, 프리 스캐닝을 수행하여 상기 비트 스트림에 포함된 비디오 신택스상의 마커를 검출하여 부가정보를 생성한 다.When the compressed bit stream is input, the marker prescan unit 210 performs pre-scanning to process the marker on the video syntax included in the bit stream before processing the input bit stream in the decoding unit 301. Detect and generate additional information.

비디오 신호의 비디오 신택스상의 유효 마커(valid marker)는 상기 비디오 신호가 압축된 방식에 따라서 다음과 같은 종류의 정보를 갖는다.A valid marker on the video syntax of the video signal has the following kinds of information depending on the manner in which the video signal is compressed.

H.263 의 경우에는 프레임 헤더(Frame Header), GOB 헤더(GOB Header), 슬라이스 헤더(Slice Header) 등이 포함된다.In the case of H.263, a frame header, a GOB header, a slice header, and the like are included.

MPEG4 SP의 경우에는 VOS 헤더(VOS Header), VOL 헤더(VOL Header), GOV 헤더(GOV Header), VOP 헤더(VOP Header) 및 리싱크 마커(Resync Marker) 등이 포함된다.The MPEG4 SP includes a VOS header, a VOL header, a GOV header, a VOP header, a resync marker, and the like.

상기 부가 정보 저장부(220)에는 상기 마커 프리스캔부(210)에 의해 검출된 마커의 종류 및 비트 스트림상의 위치 정보를 저장한다. 즉, 비트 스트림상에서 찾아진 모든 유효 마커와 상기 각 마커의 종류 및 비트 스트림 상의 위치 정보가 상기 부가 정보 저장부(220)에 저장된다.The additional information storage unit 220 stores the type of the marker detected by the marker prescan unit 210 and the position information on the bit stream. That is, all the valid markers found on the bit stream, the type of each marker and the position information on the bit stream are stored in the additional information storage unit 220.

상기 에러 검출부(230)는 상기 디코딩부(301)가 리드하는 마커의 비트 스트림상의 위치와 상기 부가 정보 저장부에 저장된 마커의 위치를 비교하여 상기 마커의 위치가 상호 일치하지 않는 경우 에러 검출 신호를 출력시킨다.The error detector 230 compares the position on the bit stream of the marker read by the decoding unit 301 with the position of the marker stored in the additional information storage unit, and when the positions of the markers do not coincide with each other, an error detection signal is output. Output it.

상기 에러 검출부(230)가 부가 정보를 이용하여 신택스 및 시멘택에 의한 방법 이외에 추가적으로 에러 검출을 수행하게 되는데, 이러한 추가적인 에러 검출 과정은 다음과 같다.The error detection unit 230 performs additional error detection in addition to the syntax and semantic method by using the additional information. The additional error detection process is as follows.

먼저, 상기 디코딩부(301)가 현재 리드 하는 비트 스트림상의 위치와 상기 부가 정보 저장부(220)에 있는 각 마커 들의 위치를 비교한다.First, the position on the bit stream currently read by the decoding unit 301 is compared with the position of each marker in the additional information storage unit 220.

만약, 상기 부가 정보 저장부(220)에 저장된 유효 마커의 위치를 현재의 비트 스트림 포인터(pointer)가 지나갔는데, 해당하는 마커를 적절하게 파싱(parsing) 하지 못했다면, 그 보다 앞서 발생한 에러의 영향으로 비트 스트림을 잘못 파싱하는 과정에서 해당 마커를 마커로 인식하지 못한 상태로 지나간 것이고, 에러가 검출되지 않은 것이다.If the current bit stream pointer has passed the position of the valid marker stored in the additional information storage unit 220, and the corresponding marker is not properly parsed, the effect of the error that occurred earlier In the process of incorrectly parsing the bit stream, the marker was not recognized as a marker and an error was not detected.

상기 에러 검출부(230)가 이러한 종류의 에러의 발생을 검출하면, 에러가 발생했음을 알리기 위해 상기 디코딩부(301)의 제어 코어 회로(312)에 에러 발생 신호를 출력시킨다. 이에 따라 상기 제어 코어 회로(312)는 파싱 하지 못하고 건너 뛴 해당 마커 위치로부터 디코딩을 다시 시작하도록 한다.When the error detection unit 230 detects the occurrence of this kind of error, an error generation signal is output to the control core circuit 312 of the decoding unit 301 to indicate that an error has occurred. Accordingly, the control core circuit 312 restarts decoding from the corresponding marker position skipped without parsing.

이를 상술하면, 상기 제어 코어 회로(312)는 상기 에러 검출부(230)에서 출력되는 에러 검출 신호에 따라 현재 실행중인 디코딩 동작을 멈추게 한다.In detail, the control core circuit 312 stops the decoding operation currently being executed according to the error detection signal output from the error detection unit 230.

즉, 상기 제어 코어 회로(312)는 상기 에러 검출부(230)의 에러 검출 신호에 근거하여, 에러가 포함되어 있다고 판정된 마커가 포함된 비트 스트림에 대한 가변 길이 디코더(106)의 디코드 처리를 정지시키고, 상기 마커가 포함된 비트 스트림에 대한 디코드 처리 결과를 무효로 되게 한다.That is, the control core circuit 312 stops the decoding process of the variable length decoder 106 with respect to the bit stream including the marker determined to include an error, based on the error detection signal of the error detection unit 230. The decode processing result for the bit stream containing the marker is invalidated.

이어서 상기 제어 코어 회로(312)는 올바른 디코딩을 위하여 다시 시작하는 디코딩 위치를 해당 마커 위치로 변경하여 이로부터 디코딩을 다시 수행하도록 제어 한다. 이에 따라서, 에러가 검출된 상기 마커로부터 시작되는 비트 스트림을 상기 비트 버퍼(102)로부터 판독해 내어 상기 가변 길이 디코더(106)를 통하여 가변 길이 디코딩이 수행되게 된다.The control core circuit 312 then changes the starting decoding position back to the corresponding marker position for correct decoding and controls to perform decoding again therefrom. Accordingly, the bit stream starting from the marker in which the error is detected is read out from the bit buffer 102 and variable length decoding is performed through the variable length decoder 106.

이상에서 본 발명의 따른 비디오 디코더의 에러 검출 장치 및 방법을 상세히 설명하였다. 그러나, 본 발명은 이에 한정되는 것이 아니라 본 발명의 기술적 사상의 기초를 벗어나지 않고 변경 및 수정을 하더라도 본 발명에 포함되는 것이며, 그러한 사실은 당업자에게 자명할 것이다.The error detection apparatus and method of the video decoder according to the present invention have been described in detail above. However, the present invention is not limited thereto, but changes and modifications are included in the present invention without departing from the spirit of the present invention, and the facts will be apparent to those skilled in the art.

본 발명에 따른 비디오 디코더의 에러 검출 장치 및 방법에 따르면, 종래의 비디오 디코더에서 신택스 및 시멘틱에 의한 방법을 이용한 에러 검출 이외에도 신택스에 존재하는 마커의 종류 및 비트 스트림상의 위치 정보를 이용하여 검출된 에러 정보를 추가로 이용하여 에러 복구 처리를 추가함으로써 에러가 포함된 비트스트림의 에러에 의한 영향을 최소화시킬 수 있는 효과가 있다.According to an error detection apparatus and method of a video decoder according to the present invention, in addition to error detection using a syntax and semantic method in a conventional video decoder, an error detected using a type of a marker present in syntax and position information on a bit stream By additionally using the information to add error recovery processing, there is an effect of minimizing the effects of errors in the bitstream containing the error.

Claims (5)

입력되는 비디오 스트림의 마커를 검출하기 위한 마커 프리스캔부;A marker prescan unit for detecting a marker of an input video stream; 상기 마커 프리스캔부에 의해 검출된 마커의 종류 및 비트 스트림상의 위치 정보를 저장하는 부가 정보 저장부; 및An additional information storage unit for storing the type of the marker detected by the marker prescan unit and the position information on the bit stream; And 디코더에 의해 디코딩되는 비트 스트림의 마커의 비트 스트림상의 위치와 상기 부가 정보 저장부에 저장된 마커의 위치를 비교하여 상기 마커의 위치가 상호 일치하지 않는 경우 에러 검출 신호를 출력시키는 에러 검출부;An error detector which compares a position on the bit stream of the marker of the bit stream decoded by the decoder with the position of the marker stored in the additional information storage unit and outputs an error detection signal when the positions of the markers do not coincide with each other; 를 포함하는 것을 특징으로 하는 에러 검출 장치.Error detection apparatus comprising a. 입력되는 비디오 데이터의 마커의 종류 및 위치를 저장하는 부가 정보 저장부; 및An additional information storage unit for storing the type and position of the marker of the input video data; And 상기 부가 정보 저장부에 저장된 상기 마커의 위치와 디코더에 의해 디코딩되는 비트 스트림의 마커의 비트 스트림상의 위치를 이용하여 상기 에러를 검출하는 에러 검출부;An error detection unit for detecting the error by using the position of the marker stored in the additional information storage unit and the position on the bit stream of the marker of the bit stream decoded by the decoder; 를 포함하는 것을 특징으로 하는 비디오 디코더.Video decoder comprising a. 입력되는 비트 스트림을 스캐닝하는 단계;Scanning the input bit stream; 상기 스캐닝에 따라 검출된 상기 비트 스트림 상의 유효 마커와 상기 유효 마커의 위치 정보로 구성되는 부가정보를 저장시키는 단계;Storing side information including a valid marker on the bit stream detected by the scanning and position information of the valid marker; 비디오 디코더에 의해 디코딩되는 비트 스트림 상의 마커 위치와 상기 부가 정보 저장부에 저장된 각 마커들의 위치를 비교하는 단계; 및Comparing marker positions on the bit stream decoded by the video decoder with positions of respective markers stored in the side information storage; And 상기 비교 결과 상기 마커 위치가 일치하지 않는 경우 에러 신호를 출력하는 단계;Outputting an error signal when the marker position does not match as a result of the comparison; 를 포함하여 구성됨을 특징으로 하는 비디오 디코더의 에러 검출 방법.Error detection method of a video decoder, characterized in that comprises a. 제 3항에 있어서, 상기 부가 정보는,The method of claim 3, wherein the additional information, 프레임 헤더, GOB 헤더 및 슬라이스 헤더를 포함하는 것을 특징으로 하는 비디오 디코더의 에러 검출 방법.And a frame header, a GOB header, and a slice header. 제 3항에 있어서, 상기 부가 정보는,The method of claim 3, wherein the additional information, VOS 헤더, VOL 헤더, GOV 헤더, VOP 헤더 및 리싱크(resync) 헤더를 포함하는 것을 특징으로 하는 비디오 디코더의 에러 검출 방법.And a VOS header, a VOL header, a GOV header, a VOP header, and a resync header.
KR1020040105726A 2004-12-14 2004-12-14 Apparatus and Method for detecting error of video stream in video decoder KR100752846B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040105726A KR100752846B1 (en) 2004-12-14 2004-12-14 Apparatus and Method for detecting error of video stream in video decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040105726A KR100752846B1 (en) 2004-12-14 2004-12-14 Apparatus and Method for detecting error of video stream in video decoder

Publications (2)

Publication Number Publication Date
KR20060067208A KR20060067208A (en) 2006-06-19
KR100752846B1 true KR100752846B1 (en) 2007-08-29

Family

ID=37161800

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040105726A KR100752846B1 (en) 2004-12-14 2004-12-14 Apparatus and Method for detecting error of video stream in video decoder

Country Status (1)

Country Link
KR (1) KR100752846B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015122549A1 (en) * 2014-02-12 2015-08-20 주식회사 칩스앤미디어 Method and apparatus for processing video

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0179127B1 (en) * 1994-06-10 1999-05-01 구자홍 Serial transmission system
KR100331332B1 (en) * 1998-11-02 2002-06-20 윤종용 Video data transmitter and receiver and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR0179127B1 (en) * 1994-06-10 1999-05-01 구자홍 Serial transmission system
KR100331332B1 (en) * 1998-11-02 2002-06-20 윤종용 Video data transmitter and receiver and method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
1001791270000
1003313320000

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015122549A1 (en) * 2014-02-12 2015-08-20 주식회사 칩스앤미디어 Method and apparatus for processing video
US10212441B2 (en) 2014-02-12 2019-02-19 Chips & Media, Inc. Method and apparatus for processing video

Also Published As

Publication number Publication date
KR20060067208A (en) 2006-06-19

Similar Documents

Publication Publication Date Title
CN1848956B (en) Error concealing method for improving error concealing of video encoding and encoder
USRE42519E1 (en) Moving-picture signal coding and/or decoding system resistant to transmission error
JP2009537081A (en) Frame-level multimedia decoding using frame information table
KR20110033240A (en) Methods for error concealment due to enhancement layer packet loss in scalable video coding (svc) decoding
JP2001285897A (en) Device for evaluating reception quality of moving picture
US8199817B2 (en) Method for error concealment in decoding of moving picture and decoding apparatus using the same
US6498809B1 (en) Video bitstream error resilient transcoder, method, video-phone, video-communicator and device
KR101086435B1 (en) Method for detecting errors from image data stream and apparatus thereof
KR20080016666A (en) Video coding
US7627042B2 (en) System, method, and apparatus for error recovery in coded video signals
US20100241920A1 (en) Image decoding apparatus, image decoding method, and computer-readable recording medium
JP2005518164A (en) Coding data streams using unequal error protection.
KR100752846B1 (en) Apparatus and Method for detecting error of video stream in video decoder
US20140119445A1 (en) Method of concealing picture header errors in digital video decoding
US6356661B1 (en) Method and device for robust decoding of header information in macroblock-based compressed video data
KR20020071754A (en) Method of coding digital images based on error concealment
KR101073813B1 (en) Method of complementing bitstream errors, preprocessor for complementing bitstream errors, and decoding device comprising the same preprocessor
JP2006262406A (en) Encoded data generator
CN1988668A (en) Error detecting device and method for video frequency decoder
KR100531854B1 (en) Method for preventing frame type of video codec
Khan et al. Error Detection and Correction in H. 263 coded video over wireless network
KR101161604B1 (en) Method for controlling lip synchronization of video streams and apparatus therefor
KR20120077119A (en) Digital broadcasting transmission apparatus and method, digital broadcasting receiving apparatus and method, for error concealment
KR0134356B1 (en) Buffer control system of decoder
KR20050089457A (en) Error concealment method in decoding motion picture

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20100630

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee