KR950014020B1 - Error compensation method of macro block appress in decoder - Google Patents

Error compensation method of macro block appress in decoder Download PDF

Info

Publication number
KR950014020B1
KR950014020B1 KR1019930027998A KR930027998A KR950014020B1 KR 950014020 B1 KR950014020 B1 KR 950014020B1 KR 1019930027998 A KR1019930027998 A KR 1019930027998A KR 930027998 A KR930027998 A KR 930027998A KR 950014020 B1 KR950014020 B1 KR 950014020B1
Authority
KR
South Korea
Prior art keywords
vld
error
code
mba
variable length
Prior art date
Application number
KR1019930027998A
Other languages
Korean (ko)
Other versions
KR950022173A (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 KR1019930027998A priority Critical patent/KR950014020B1/en
Publication of KR950022173A publication Critical patent/KR950022173A/en
Application granted granted Critical
Publication of KR950014020B1 publication Critical patent/KR950014020B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M7/00Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
    • H03M7/30Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
    • H03M7/40Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The method for compensating macro block address error comprises the steps of: if the result obtained by adding all MBA code values is greater than 44, determining that there occurs an error at the MBA code, transmitting "error = 1" to a variable length decoding device and zero padding the macro block of the point when there occurs an error at the MBA and all pixel values of the following MBA; supplying a hold signal to the variable length decoding device until a "slice start code-detected" signal is input; and if the length of decoded code word within the variable length decoding device reaches a predetermined value, transferring a control signal to a buffer to output a predetermined data and removing a bit stream from an error generating point to the next slice start code.

Description

복호화 시스템에서 매트로 블럭 어드레스의 오류 발생에 대한 보상방법Compensation Method for Error of Macro Block Address in Decoding System

제 1 도는 본 발명에 적용되는 영상 복호화 시스템을 도시한 개략적인 블럭도,1 is a schematic block diagram showing an image decoding system applied to the present invention;

제 2 도는 a 및 b는 본 발명에 따른 매트로 블럭 어드레스 코드오류 발생에 대한 영상 복호화 시스템의 오류 보상방법을 예시하는 도면,2 is a and b are diagrams illustrating an error compensation method of an image decoding system for generating a macro block address code error according to the present invention;

제 3 도는 제 1 도에 도시된 VLD의 상세 블럭도,3 is a detailed block diagram of the VLD shown in FIG.

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

110 : VLD 111, 112 : 레지스터110: VLD 111, 112: register

114 : 누산기 115 : LUT114: accumulator 115: LUT

120 : RLD120: RLD

본 발명은 영상 복호화 시스템의 신호 처리 기술에 관한 것으로, 특히 가변 길이 복호화된 데이타중에서, 매트로 블럭 어드레스(Macro Block Address ; MBA)에 오류가 발생한 경우, 가변 길이 복호화 장치를 제어하여 복호화시스템의 동작 멈춤없이 계속 동작할 수 있도록 하는 복호화 시스템에서 매크로 블럭 어드레스의 오류 발생에 대한 보상 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a signal processing technique of an image decoding system. In particular, when an error occurs in a macro block address (MBA) among variable length decoded data, an operation of a decoding system is performed by controlling a variable length decoding apparatus. The present invention relates to a method of compensating for an error of a macro block address in a decoding system that can continuously operate without stopping.

일반적으로 디지탈, 방식의 고화질 텔레비젼(HDTV)의 영상 복호화 시스템은 가변길이 복호화하는 가변 길이 복호화(Variable Length Decoding ; VLD) 장치, VLD 장치의 가변 길이 복호화를 제어하는 VLD콘트롤러, 양자화(quantization)하기 이전의 변환 계수로 복원하는 역양자화(Inverse Quantization : IQ) 장치 및 주파수 영역에서의 변환 계수를 공간 영역상의 소정 블럭의 화소 데이타로 변환하는 역이산 코사인변환(Inverse Discrete Cosine Transform : IDCT) 장치 등을 포함한다.In general, a digital high-definition television (HDTV) video decoding system includes a variable length decoding (VLD) device for variable length decoding, a VLD controller for controlling a variable length decoding of a VLD device, and before quantization. An Inverse Quantization (IQ) device for reconstructing the transform coefficients of the signal and an Inverse Discrete Cosine Transform (IDCT) device for converting the transform coefficients in the frequency domain into pixel data of a predetermined block in the spatial domain. do.

상술한 영상 복호화 시스템의 각 구성 부재중 특히 VLD는 부호화 시스템에서의 가변길이 부호화(Variable Length Coding : VLC) 장치에 대해 역순으로 동작하는 것으로서, 부호화시스템에서의 줄 길이 부호화(RLC) 수행후 가변길이 부호화한 데이타를 복호화 시스템에서 가변길이 부호화를 수행하기 이전의 데이타로 복원하는 것이며((Bell Core, U.S.A. Patent no. 5173695, 5245338), VLD 콘트롤러는 VLD가 정상 동작할 수 있도록 제어하는 장치이다.Among the components of the above-described video decoding system, in particular, the VLD operates in a reverse order with respect to a variable length coding (VLC) device in the coding system. The variable length coding is performed after the row length coding (RLC) in the coding system. One data is restored to data before performing variable length coding in the decoding system (Bell Core, USA Patent no. 5173695, 5245338), and the VLD controller is a device for controlling the VLD to operate normally.

이러한 영상 복호화 시스템의 VLD에 대한 동작 설명을 개략적으로 설명하면 다음과 같다.A description of the operation of the VLD of such a video decoding system is as follows.

먼저, 영상 부호화 시스템으로 부터 가변 길이 부호화된 데이타가 전송되어오면 가변 길이 부호화 데이타는 VLD로 바로 제공되는 것이 아니라, VLD 전단에 구성된 버퍼(도면에 도시되지 않았음)에 일시 저장된 후 VLD로 부터 버퍼에 데이타 요구 신호가 제공되면 버퍼에 저장된 가변 길이 부호화 데이타가 VLD에 제공된다.First, when variable length coded data is transmitted from an image coding system, the variable length coded data is not directly provided to the VLD, but temporarily stored in a buffer configured at the front end of the VLD (not shown), and then buffered from the VLD. When the data request signal is supplied to the VLD, the variable length coded data stored in the buffer is provided.

VLD는 가변 길이 부호화 데이타를 수신한후 테이블 룩업(table look up) 방식에 의해 내부의 참조 테이블에서 역변환된 코드를 찾아 복호화한후 VLD 콘트롤러에 제공하되, 버퍼로 부터 제공된 데이타의 가변길이 복호화가 완료되면 버퍼에 데이타 요구 신호를 제공한다.After receiving the variable length coded data, the VLD finds and decodes the inverse transform code in the internal reference table by a table look up method and provides the VLD controller to the VLD controller, but the variable length decoding of the data provided from the buffer is completed. If so, it provides a data request signal to the buffer.

이때, VLD 내부의 참조 테이블은 매트로 블럭 어드레스 테이블, 매크로 블럭 타입 테이블, 움직임 벡터 테이블, DCT 계수 테이블로 구성되며, VLD가 가변 길이 복호화를 수행하기 위한 기준 클럭, 즉 유지(HOLD)신호는 VLD 콘트롤러가 제공한다.At this time, the reference table inside the VLD is composed of a macro block address table, a macro block type table, a motion vector table, and a DCT coefficient table, and a reference clock for performing variable length decoding on the VLD, that is, a hold signal is a VLD. Provided by the controller.

그러나 압축 부호화시스템에서의 가변길이 부호화하는 고정길이 부호화(fixed length coded)와는 달리 한개의 부호어라도 잘못 판독하면 그 이후에 입력되는 비트 스트림에서 참조 테이블(look up table ; LUT)에 존재하는 부호어를 정확하게 구분하여 검출할 수가 없다. 또한, 전술한 VLD에서 출력하는 부가정보중에서 특히, 매크로 블럭 어드레스 코드에 오류가 발생되는 경우 복호화 시스템은 더 이상 복호화 동작을 수행하지 못하여 시스템이 완전히 정지하는 결과를 초래하게 된다.However, unlike fixed length coded, which is variable length coding in a compression coding system, a codeword that exists in a lookup table (LUT) in a bit stream input afterwards if a single codeword is erroneously read. Cannot be accurately detected and detected. In addition, among the additional information output from the above-described VLD, in particular, if an error occurs in the macro block address code, the decoding system may not perform the decoding operation any more, resulting in a complete stop of the system.

따라서, 본 발명은 복호화된 데이타중에서 부가정보인 매크로 블럭 어드레스 코드에 오류가 발생된 경우 영상 복호화 시스템이 동작 멈춤없이 계속 정상 동작할 수 있도록 영상 복호화 시스템내의 가변길이 복호화장치를 제어하는 복호화 시스템에서 매크로 블럭 어드레스의 오류 발생에 대한 보상방법을 제공하는데 그 목적이 있다.Accordingly, the present invention provides a macro in a decoding system controlling a variable length decoding apparatus in a video decoding system so that the video decoding system can continue to operate normally without an error when an error occurs in the macroblock address code as additional information in the decoded data. An object of the present invention is to provide a method of compensating for an error of a block address.

전술한 본 발명의 목적을 달성하기 위한 본 발명에 따른 매크로 블럭 어드레스 오류 발생에 대한 보상방법은, 영상 복호화 시스템에서 데이타를 일시저장하는 버퍼를 통해 입력되는 MBA 코드에 오류가 발생된 경우, 시스템이 동작 중단되지 않고 정상 동작할 수 있도록 가변 길이 복호화 콘트롤러가 가변길이 복호화하는 VLD 장치를 제어하는 방법으로, 상기 VLD 장치로 부터 입력되는 MBA 코드에 오류가 발생되면, '오류=1'을 상기 LCD로 전달하고, MBA에 오류가 발생한 시점의 매크로 블럭(bacro blcok ; MB)과 그 이후의 MB가 갖는 모든 화소 값을 제로 패딩(zero padding)하는 단계와 ; 상기 제로 패딩단계 수행중, 상기 VLD로부터 슬라이스 개시 코드(slice start cod ; SSC)를 검출하였음을 알리는 신호인 SSC-detected가 입력될때 까지 '오류=1'인 상태를 유지하면서 계속 상기 VLD로 제공하는 단계와 ; 상기 단계후 상기 VLD 내의 복호화된 부호어의 길이가 기설정된 값이 되면 상기 LVD내의 복호화된 부호어의 길이가 기설정된 값이 되면 상기 LVD가 상기 버퍼에 제어신호를 전달하여 기설정된 데이타를 출력토록하고 이를 버퍼내에 들어 있는 비스 스트림중에서 오류가 발생한 시점부터 다음 SSC 코드 이전까지 비트 스트림을 제거하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above-described object of the present invention, a method for compensating for a macroblock address error occurrence according to the present invention is provided in the case where an error occurs in an MBA code input through a buffer for temporarily storing data in an image decoding system. A variable length decoding controller controls a variable length decoding VLD device so that it can operate normally without interruption. When an error occurs in an MBA code input from the VLD device, 'Error = 1' is returned to the LCD. Transmitting and zero-padding all pixel values of the macroblock (MB) at the time when an error occurs in the MBA and the MB thereafter; During the zero padding step, the VLD continues to provide an 'Error = 1' state until SSC-detected, which is a signal indicating that a slice start code (SSC) has been detected, is provided to the VLD. Step; After the step, when the length of the decoded codeword in the VLD becomes a predetermined value, when the length of the decoded codeword in the LVD becomes a predetermined value, the LVD transfers a control signal to the buffer to output predetermined data. And removing the bit stream from the time point at which an error occurs in the bis stream contained in the buffer to before the next SSC code.

이하, 본 발명을 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.Hereinafter, described in detail with reference to the accompanying drawings of the present invention.

제 1 도는 본 발명에 따른 복호화 시스템에서 매크로 블럭 어드레스 코드 오류발생에 대한 보상 방법을 실현하기 위해 적용되는 일반적인 영상 복호화 시스템을 도시한 개략적인 블럭도로써, 부호화 시스템(도시되지 않음)의 가변길이 부호기에서 부호의 발생빈도에 따라 부호길이를 설정하여 부호화하여 데이타를 압축하는 영상 신호 중에서, 기설정된 비트 스트림을 입력하여 부호화시스템에서 가변길이 부호화하기 이전의 데이타로 복원하는 VLD(110)와, 상기 VLD(110) 및 복호화시스템이 정상 동작을 위해 제어하는 VLD 콘트롤러(120)를 포함한다. 또한, 본 발명의 시스템 오류 보상방법에 적용되는 영상 복호화 시스템에서 도시된 바와 같이, VLD 콘트롤러(120)는 VLD(110)로 부터 데이타 및 슬라이스 개시 코드(slice start code ; SSC)를 입력받으며, 클럭, 스라이스 종료, 테이블 선택 및 오류 신호를 VLD(110)로 전송하는 식으로 이루어진다.1 is a schematic block diagram showing a general video decoding system applied to realize a method for compensating for macroblock address code error occurrence in a decoding system according to the present invention, and is a variable length encoder of an encoding system (not shown). A VLD (110) for inputting a predetermined bit stream and restoring the data before variable-length encoding in the encoding system by inputting a predetermined bit stream among video signals in which the code length is set according to the frequency of occurrence of the code and the data is encoded. 110 and a VLD controller 120 that the decoding system controls for normal operation. In addition, as shown in the image decoding system applied to the system error compensation method of the present invention, the VLD controller 120 receives the data and the slice start code (SSC) from the VLD 110, the clock , End of slice, table selection, and an error signal are transmitted to the VLD 110.

제 2 도를 참조하면, 제 2 도는 전술한 VLD(110)에서 VLD 콘트롤러(120)로 제공하는 데이타중에서 매크로 블럭 어드레스 코드에 오류가 발생될 경우에도 영상 복호화 시스템에 동작 멈춤없이, 계속적으로 정상 동작하기 위한 시스템의 조건을 예시화는 도면이다. 먼저 채널을 통해 VLD(110)로 입력되기 이전의 데이타를 일시저장하는 전술한 버퍼에 데이타가 저장될때, 고정길이(fixed length)의 SSC 데이타를 검출하여, 만약, 검출된 코드의 길이가 제 2도a에 도시된 바와 같이 고정 길이 24비트라고 가정하면, 비트열의 데이타를 24비트씩 버퍼에 저장하고, SSC 데이타는 항상 24비트의 저장 단위만을 사용한다. 반면에, 제 3 도b에 도시된 바와 같이 두 SSC데이타 간격이 24비트의 정수배가 아닌 경우에는, 전술한 버퍼에서 SSC데이타 앞의 임의의 비트열을 삽입하여, VLD(110)로 전송한다.Referring to FIG. 2, FIG. 2 continuously operates without interruption to the image decoding system even when an error occurs in a macro block address code among data provided from the above-described VLD 110 to the VLD controller 120. It is a figure which exemplifies the conditions of the system for doing so. First, when data is stored in the above-described buffer which temporarily stores data before being input to the VLD 110 through the channel, the fixed length SSC data is detected so that the detected code length is equal to the second. Assuming that the fixed length is 24 bits as shown in FIG. A, the bit string data is stored in the buffer by 24 bits, and the SSC data always uses only a 24-bit storage unit. On the other hand, as shown in FIG. 3B, when the two SSC data intervals are not integer multiples of 24 bits, an arbitrary bit string preceding the SSC data is inserted into the above-described buffer and transmitted to the VLD 110. FIG.

그 다음에 VLD 콘트롤러(120)는 VLD(110)로 부터 입력되는 데이타 중에서 MBA를 입력받은 후에 오류 여부를 결정하여 VLD(110)로 제어 신호(오류신호)를 전송한다. VLD 콘트롤러(120)에서 MBA의 오류 판정은, 한개의 슬라이스에 존재하는 매크로 블럭(macro block ; MB)의 수가 44개라는 개념에 근거하여 VLD(110)에서 VLD 콘트롤러(120)로 전송되는 데이타중에서 모든 MBA의 값을 가산한 결과가 44보다 크면 MBA에 오류가 발생하였다고 판단한다. 여기서, 비트 스트림상에서 MBA 코드는 현재 복호화할 매크로 블럭의 데이타가 전송되면 1로 표시하고, 전송되지 않을 때는 연속하여 전송되지 않은 매크로 블럭의 갯수에 1을 더한 값(즉, MBA 코드는 전송하는 매크로 블럭들의 차이 값으로 설정함)으로 나타낸다. 최종적으로, 정상적인 복호화 동작에서 전술한 바와 같이 임의로 삽입한 비트열을 무시하도록 한 슬라이스의 처리가 종료하였음을 나타내는 슬라이스 종료(end of slic ; EOSL) 신호를 도시된 바와 같이 VLD 콘트롤러(120)에서 VLD(110)로 전송한다.The VLD controller 120 then determines whether there is an error after receiving the MBA from the data input from the VLD 110 and transmits a control signal (error signal) to the VLD 110. The error determination of the MBA in the VLD controller 120 is based on the concept that the number of macro blocks (MBs) present in one slice is 44 out of the data transmitted from the VLD 110 to the VLD controller 120. If the sum of all MBA values is greater than 44, it is determined that an error has occurred in the MBA. Here, the MBA code on the bit stream is indicated by 1 when the data of the macroblock to be decoded is transmitted, and when it is not transmitted, the number of macroblocks that have not been transmitted is added to 1 (that is, the macro that transmits the MBA code). Set to the difference value of the blocks). Finally, in the normal decoding operation, the VLD controller 120 outputs a slice end of slic (EOSL) signal indicating that the processing of one slice is ended to ignore the randomly inserted bit string as described above. Transmit to 110.

제 3 도는 제 1 도에 도시된 VLD(110)의 내부 동작 관계를 예시하는 상세 블럭도로써, 도시된 바와 같이 VLD(110)는 레지스터(111,112), 바렐 쉬프트(Barrel shifter ; BS)(113), 누산기(accumulator : ACC)(114) 및 록 업 테이블(look up table ; LUT) (115)을 포함한다. 먼저, 영상 복호화 시스템이 정상적으로 동작하고 있는 정상 상태에서의 데이타 전송의 경우를 설명하면 후술하는 바와 같다. 예컨데, 정상 동작 상태에서는 선행기술에서의 VLD의 동작과 동일하다. 즉, 이때에는 "오류(ERROR) 신호=0"인 상태를 유지한다. 그리고, 버퍼(도시되지 않음)로 부터 입력되는 비트 열이 VLD(110)의 래치(latch)용 레지스터(111)에 입력되고 레지스터(112)를 통해 소정 시간후 BS(113)에 입력된다. BS(113)에 입력된 데이타는 누산기(114)에서 제공되는 부호화된 부호길이 값, 즉, 제어신호에 의해서 자리이동(shift)하여 LUT(115)로 제공된다. LUT(115)은 부호어로 입력되는 비트열(0~23)에 대응하여 참조 테이블에 있는 데이타를 검출하여 출력하며, 또한 복호화된 부호의 길이도 검출하여 다음 코드의 복호화를 위해 누산기(114)로 제공한다.FIG. 3 is a detailed block diagram illustrating an internal operation relationship of the VLD 110 shown in FIG. 1, and as shown, the VLD 110 includes registers 111 and 112 and a barrel shifter (BS) 113. , An accumulator (ACC) 114, and a look up table (LUT) 115. First, the case of data transmission in the normal state in which the video decoding system operates normally will be described later. For example, in the normal operating state, it is the same as the operation of the VLD in the prior art. That is, at this time, the state "ERROR signal = 0" is maintained. The bit string input from the buffer (not shown) is input to the latch register 111 of the VLD 110 and is input to the BS 113 through the register 112 after a predetermined time. Data input to the BS 113 is shifted by the coded code length value provided by the accumulator 114, that is, the control signal, and provided to the LUT 115. The LUT 115 detects and outputs the data in the reference table corresponding to the bit strings 0 to 23 inputted as the codeword, and also detects the length of the decoded code to the accumulator 114 for decoding the next code. to provide.

다음으로, 복호화된 MBA 코드에 오류가 발생된 경우를 이하에 설명한다. 복호화된 MBA 코드에 오류가 발생하면, VLD 콘트롤러(120)는 "오류신호=1"을 VLD(110)로 제공한다. 그리고 VLD 콘트롤러(120)는 매크로 블럭의 유형(macro block typ : MBT)을 "움직임 벡터가0(Mo-Mc)" 및 "매크로 블럭이 부호화되지 않았음(Not Coded)(정상상태에서의 건너뜀 MB과 동일함)"으로 간주하고, 45에서 현재의 매크로 블럭 이전에 복화된 매크로 블럭의 갯수를 뺀 값을 MBA 값으로 설정한다. 이는 MBA에 오류가 발생한 시점의 MB와 그 이후의 MB가 갖는 모든 화소 값을 0으로 만드는 것(제로 패딩)을 의미한다.Next, a case where an error occurs in the decoded MBA code will be described below. If an error occurs in the decoded MBA code, the VLD controller 120 provides "error signal = 1" to the VLD (110). The VLD controller 120 then sets the type of the macro block (macro block typ: MBT) to " Mo-Mc " and " Not Coded " (skip in normal state). Equal to MB), and sets the MBA value to 45 minus the number of macroblocks copied before the current macroblock. This means zeroing (zero padding) all pixel values of the MB at the time of an error in the MBA and subsequent MBs.

전술한 바와 같이 새로 패딩을 수행하는 동안, VLD 콘트롤러(120)는 SSC 데이타를 검출했다는 신호를 나타내는 SSC 검출 신호(SSC-DETECTED)가 VLD(110)로 부터 입력될때까지 "오류 신호가 1"인 상태를 계속 유지하면서 VLD(110)의 클럭 신호로 이용되는 유지 신호를 VLD(110)로 계속 제공한다. 그리고, VLD(110)는 VLD 콘트롤러(120)로 부터 "오류 신호=1"이 입력되면, VLD(110)내의 ACC(114)에서 BS(113)로 출력되는 값(즉, 복호화된 부호어의 길이를 나타냄)을 24로 만든다. 이 값이 24가 되면, VLD(110)는 버퍼(도시않됨)로 판독신호를 전송하여 24비트 데이타를 출력하도록 하고, 이를 통하여 버퍼에 들어 있는 비트 스트림중에서 출력하도록 하고, 이를 통하여 버퍼에 들어 있는 비트 스트림중에서 오류가 발생한 시점으로부터 다음 SSC 코드 이전까지의 비트 스트림을 제거하게 된다.While performing the new padding as described above, the VLD controller 120 has " error signal 1 " until the SSC detection signal SSC-DETECTED indicating the signal that SSC data has been detected is input from the VLD 110. While maintaining the state, a sustain signal used as a clock signal of the VLD 110 is continuously provided to the VLD 110. When the VLD 110 receives an "error signal = 1" from the VLD controller 120, the VLD 110 outputs a value output from the ACC 114 in the VLD 110 to the BS 113 (that is, the decoded codeword). Length) to 24. When this value reaches 24, the VLD 110 transmits a read signal to a buffer (not shown) to output 24-bit data, thereby outputting from the bit stream contained in the buffer, thereby allowing the VLD 110 to output the 24-bit data. In the bit stream, the bit stream from the time when an error occurs to the next SSC code is removed.

이상에서 설명한 바와 같이 본 발명에 따른 복호화 시스템에서 매크로 블럭 어드레스 코드 오류 발생에 대한 보상방법에 의하면, 매크로 블럭 어드레스 데이타에 오류가 발생했을 경우, 다음 슬라이스의 개시 코드 데이타를 검출하여 가변길이 복호화 장치를 제어하므로써, 영상 복호화 시스템이 동작 단절함이 없이 계속적으로 정상 동작할 수 있도록 한 이점이 있다.As described above, according to the method for compensating for the macroblock address code error in the decoding system according to the present invention, when an error occurs in the macroblock address data, the variable length decoding apparatus is detected by detecting the start code data of the next slice. By controlling, there is an advantage that the video decoding system can continue to operate normally without interruption of operation.

Claims (2)

영상복호화 시스템에서 데이타를 일시 저장하는 버퍼를 통해 입력되는 매크로 블럭 어드레스(macro block address ; MBA) 코드에 오류가 발생된 경우, 시스템이 동작 중단되지 않고 정상 동작할 수 있도록 가변 길이 복호화 콘트롤러가 가변길이 복호화하는 가변길이 복호화(variable length decoding ; VLD) 장치를 제어하는 방법으로, 상기 VLD 콘트롤러로 전송하는 모든 MBA 코드값을 가산한 결과가 44 보다 크면 상기 VLD 장치로 부터 입력되는 데이타중에 MBA 코드에 오류가 발생되었다고 판단하여 '오류=1'을 상기 VLD로 전달하고, MBA에 오류가 발생한 시점의 매크로 블럭(macro block ; MB)과 그 이후의 MB가 갖는 모든 화소값을 제로 패딩(zero padding)하는 단계와 ; 상기 제로 패딩단계 수행중, 상기 VLD로부터 슬라이스 개시 코드(slice start code ; SSC)를 찾았음을 알리는 신호인 'SSC-detected'가 입력될때까지 '오류=1'인 상태를 유지하면서 유지 신호를 계속 상기 VLD로 제공하는 단계와 ; 상기 단계후 상기 VLD 내의 복화된 부호어의 길이가 기설정된 값이 되면 상기 VLD가 상기 버퍼에 제어신호를 전달하여 기설정된 데이타를 출력토록 하고 이를 버퍼내에 들어 있는 비트 스트림중에서 오류가 발생한 시점부터 다음 SSC 코드 이점까지 비트 스트림을 제거하는 단계를 포함하는 매크로 블럭 어드레스 오류 보상방법.If an error occurs in the macro block address (MBA) code input through a buffer that temporarily stores data in a video decoding system, the variable length decoding controller has a variable length so that the system can operate normally without stopping. A method of controlling a variable length decoding (VLD) device to decode. If a result of adding all MBA code values transmitted to the VLD controller is greater than 44, an error occurs in the MBA code among data input from the VLD device. Determines that an error has occurred and transmits 'error = 1' to the VLD, and zero-pads all pixel values of the macro block (MB) at the time when the error occurs in the MBA and the MB after that. Step; During the zero padding step, the sustain signal is maintained while maintaining the state of 'Error = 1' until a signal 'SSC-detected' is input, indicating that a slice start code (SSC) has been found from the VLD. Providing to the VLD; After the step, if the length of the complex coded code in the VLD becomes a predetermined value, the VLD transmits a control signal to the buffer to output predetermined data, and then, from the time when an error occurs in the bit stream contained in the buffer, A method for compensating for a macro block address error comprising removing a bit stream up to an SSC code advantage. 제 1 항에 있어서, 상기 제로 패딩단계에서, 상기 MBA 코드 값 설정은, 현재 복호화할 MB와 그 이후의 모든 MB의 타입을 "움직임 벡터(motion vector : MC)가0(No-Mc)" 및 "매크로 블럭이 부호화되지 않았음(Not Coded)"으로 간주하고, 45에서 현재의 MB 이전에 복호화된 MB의 갯수를 감산한 값으로 결정함을 특징으로 하는 매크로 블럭 어드레스 오류 보상방법.2. The method of claim 1, wherein in the zero padding step, the MBA code value setting comprises: a motion vector (MC) equals 0 (No-Mc) and a type of MB to be decoded and all subsequent MBs. A macroblock address error compensation method, characterized in that it is regarded as "Not Coded", and is determined by subtracting the number of decoded MBs before the current MB at 45.
KR1019930027998A 1993-12-16 1993-12-16 Error compensation method of macro block appress in decoder KR950014020B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019930027998A KR950014020B1 (en) 1993-12-16 1993-12-16 Error compensation method of macro block appress in decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019930027998A KR950014020B1 (en) 1993-12-16 1993-12-16 Error compensation method of macro block appress in decoder

Publications (2)

Publication Number Publication Date
KR950022173A KR950022173A (en) 1995-07-28
KR950014020B1 true KR950014020B1 (en) 1995-11-20

Family

ID=19371227

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019930027998A KR950014020B1 (en) 1993-12-16 1993-12-16 Error compensation method of macro block appress in decoder

Country Status (1)

Country Link
KR (1) KR950014020B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100734372B1 (en) * 2005-09-29 2007-07-03 엘지전자 주식회사 apparatus for decording video data

Also Published As

Publication number Publication date
KR950022173A (en) 1995-07-28

Similar Documents

Publication Publication Date Title
EP0582122B1 (en) Scramble apparatus and descramble apparatus
US6259736B1 (en) Video encoder and video encoding method
US5781561A (en) Encoding apparatus for hierarchically encoding image signal and decoding apparatus for decoding the image signal hierarchically encoded by the encoding apparatus
US6859498B1 (en) Transmitting/received data processing method for inhibiting error propagation in digital image data communications system and recording medium therefor
US5739862A (en) Reverse playback of MPEG video
US7487423B2 (en) Decoding method, medium, and apparatus
EP0665653B1 (en) Apparatus and method for decoding variable-length code
KR100203246B1 (en) The high speed variable length decoding apparatus
US20060192698A1 (en) Encoding dynamic graphic content views
US6285789B1 (en) Variable length code decoder for MPEG
KR19980033398A (en) Decryption method and apparatus
US6697425B1 (en) Dynamic image encoding apparatus and method for encoding a dynamic image
KR950014020B1 (en) Error compensation method of macro block appress in decoder
JP3619612B2 (en) Method and apparatus for encoding and decoding a video data stream for all pixels of the video data stream
JPH11243548A (en) Method and device for encoding and decoding image sequence
US6885704B1 (en) Coding apparatus and coding method of time-varying image signal
KR950010765B1 (en) Image decoding system error compensated method of slice code error
KR0123089B1 (en) Method for compensating macro block type error in a video decoding apparatus
JPH10145789A (en) Animation encoding and decoding method
US6459736B1 (en) Moving picture decoding apparatus and method
JP2824024B2 (en) Image decoding method and apparatus
KR20040054749A (en) Compression
KR100396173B1 (en) Variable length decoder
KR0139163B1 (en) Sync adapting apparatus applicating in a vlc process
KR980013424A (en) Image encoding decoding method and apparatus

Legal Events

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

Payment date: 19991030

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee