KR0152030B1 - Decode error exposure preventing apparatus - Google Patents

Decode error exposure preventing apparatus

Info

Publication number
KR0152030B1
KR0152030B1 KR1019940000261A KR19940000261A KR0152030B1 KR 0152030 B1 KR0152030 B1 KR 0152030B1 KR 1019940000261 A KR1019940000261 A KR 1019940000261A KR 19940000261 A KR19940000261 A KR 19940000261A KR 0152030 B1 KR0152030 B1 KR 0152030B1
Authority
KR
South Korea
Prior art keywords
data
error
unit
image data
decoding
Prior art date
Application number
KR1019940000261A
Other languages
Korean (ko)
Other versions
KR950024580A (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 KR1019940000261A priority Critical patent/KR0152030B1/en
Publication of KR950024580A publication Critical patent/KR950024580A/en
Application granted granted Critical
Publication of KR0152030B1 publication Critical patent/KR0152030B1/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/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/76Arrangements for rearranging, permuting or selecting data according to predetermined rules, independently of the content of the data
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • 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/17Methods 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 an image region, e.g. an object
    • H04N19/172Methods 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 an image region, e.g. an object the region being a picture, frame or field

Abstract

본 발명은 부호화된 영상데이타를 다시 복호화할 때 에러가 발생되면 에러가 발생된 부분의 데이타를 그전 프레임의 데이타로 대체시켜 재상 또는 수신측에서 사용자가 에러가 발생했음을 못 느끼도록 한 복호화 에러노출 방지 장치에 관한 것이다. 이러한 본 발명은 가변장 복호와부에서 EOB의 갯수를 카운팅하여 에러 발생 여부를 체크하고, 에러노출 방지부는 가변장 복호화부의 에러신호에 따라 영상데이타의 전송을 제어하여 에러가 발생된 부분의 영상데이타를 모두 제로 데이타로 만들어 출력함으로써 강제 인터모드로 전환시킨다. 복호화-역변환부는 재구성할 때 에러 발생부분의 데이타를 그전 프레임의 영상데이타로 대체하여 출력한다. 따라서, 사용자가 수신 측에서 에러가 발생했음을 못 느끼도록 하는 효과가 있다.In the present invention, when an error occurs when the encoded image data is decoded again, the decoding error exposure prevention prevents the user from feeling that an error has occurred at the reconstruction or receiving side by replacing the data of the error part with the data of the previous frame. Relates to a device. The present invention checks whether an error occurs by counting the number of EOBs in the variable length decoding unit, and the error exposure prevention unit controls the transmission of the image data according to the error signal of the variable length decoding unit so that the image data of the portion where the error occurs All are converted to forced inter mode by outputting all data as zero data. The decoding-inverse transform unit replaces the data of the error occurrence part with the image data of the previous frame and outputs the data. Therefore, there is an effect of preventing the user from feeling that an error has occurred on the receiving side.

Description

복호와 에러노출 방지 장치Decoding and Error Exposure Prevention Device

제1도는 종래의 디지탈 수신장치의 일예를 나타낸 블럭 구성도.1 is a block diagram showing an example of a conventional digital receiving apparatus.

제2도는 본 발명의 디지탈 수신장치의 블럭 구성도.2 is a block diagram of a digital receiver of the present invention.

제3도는 본 발명에서 정의한 영상데이타의 처리 단위 예를 나타낸 화면 상태도.3 is a screen state diagram showing an example of a processing unit of image data defined in the present invention.

제4도는 에러노출 방지부의 상세 구성을 보인 블럭도.4 is a block diagram showing the detailed configuration of the error exposure prevention unit.

제5도는 메모리부의 제1실시예를 나타낸 구성도.5 is a configuration diagram showing a first embodiment of the memory unit.

제6도는 메모리부의 제2실시예를 나타낸 구성도.6 is a configuration diagram showing a second embodiment of the memory unit.

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

10 : 가변장 복호화부 20 : 복호화-역변환부10: variable length decoding unit 20: decoding-inverse transform unit

30 : 에러노출 방지부 31 : 메모리부30: error exposure prevention unit 31: memory unit

31A,31B : 램 31C,31D : 스위칭부31A, 31B: RAM 31C, 31D: Switching unit

31E,31F : FIFO 32 : 타이밍 제어부31E, 31F: FIFO 32: Timing Control

33 : 데이타 제어부33: data control unit

본 발명은 복호화 에러 발생시 영상데이타의 처리에 관한 것으로, 특히 부호화된 영상데이타를 다시 복호화할 때 에러가 발생되면 에러가 발생된 부분의 데이타를 그전 프레임의 데이타로 대체시켜 재생 또는 수신측에서 사용자가 에러가 발생했음을 못 느끼도록 한 복호화 에러노출 방지 장치에 관한 것이다.The present invention relates to the processing of video data when a decoding error occurs. In particular, when an error occurs when the encoded video data is decoded again, the data on the portion where the error occurred is replaced with the data of the previous frame. The present invention relates to a decoding error exposure prevention apparatus that prevents an error from occurring.

최근 HD-TV, HD-VTR, 디지탈 VTR, 디지탈 캠코더, 멀티미디어(multimedia), 비디오 폰, 비디오 컨퍼런스(conference) 등과 같은 시스템에서는 영상 신호와 음성 신호를 디지탈 신호로 부호화하여 전송하거나 기록 매체에 저장하고, 이를 다시 복호화하여 재생하는 방식이 주로 사용되고 있다. 이러한 디지탈 신호 처리 및 전송 방식은 아날로그 방식에 비하여 전송 전력이 적게 소요되는 장점이 있는 반면, 채널 상에서 부과되는 잡음의 영향으로 데이타에 에러가 발생하는 경우 시스템에 치명적인 영향을 미칠 수 있는 단점이 있다. 이와 같은 단점을 해결하기 위하여 종래에는 기록 또는 송신장치 측에서 데이타에 에러 정정 부호(Error Correcting Code)를 부가하기도 하고, 길쌈 부호 변조(Trellis Coded Modulation) 기법을 도입하기도 한다.Recently, in systems such as HD-TV, HD-VTR, digital VTR, digital camcorder, multimedia, video phone, video conference, etc., video signals and audio signals are encoded and transmitted as digital signals or stored in recording media. In this case, a method of decoding and playing back the data is mainly used. While the digital signal processing and transmission method has a merit that the transmission power is less than that of the analog method, the digital signal processing and transmission method may have a fatal effect on the system when an error occurs in the data due to the noise imposed on the channel. In order to solve such a disadvantage, conventionally, an error correcting code is added to data at a recording or transmitting apparatus, and a trellis coded modulation technique is introduced.

제1도는 이와 같이 부호화된 영상데이타를 복호화하여 다시 원래의 데이타로 복원하기 위한 종래의 디지탈 수신장치의 일 예를 나타낸 블럭 구성도이다. 도시된 바와 같이, 부호화된 영상데이타를 가변장 복호화하여 영상데이타를 신장시키는 가변장 복호화부(1)의 출련단에는 복호화-역변환부(20)가 연결되고, 이 복호화-역변환부(20)는 입력된 영상데이타에 대해 송신장치의 부호화에 대응하는 복호화를 실행하고 복호화된 데이타를 역DCT 변환하게 된다.FIG. 1 is a block diagram showing an example of a conventional digital receiving apparatus for decoding the encoded image data and restoring the original data. As shown in the figure, a decoding-inverse transform unit 20 is connected to a training stage of the variable length decoder 1 for variable length decoding the encoded image data to expand the image data. Decoding corresponding to the encoding of the transmitting apparatus is performed on the input image data, and inverse DCT conversion of the decoded data is performed.

이와 같이 구성된 수신장치에 송신장치로부터 전송된 부호화된 영상데이타가 입력되면, 이 데이타는 가변장 복호화부(10)에서 송신장치장치의 가변장 부호화의 역과정을 통해 가변장 목호화되고, 가변장 복호화부(10)에서 출력된 영상데이타는 복호화-역변환부(20)로 인가된다. 이때 복호화-역변환부(20)에는 헤드(HEAD) 데이타가 포함된 영상데이타(DATA)가 비트스트림(Bit stream) 형태로 입력되고, 또한 상기 영상데이타에 대한 각종 정보가 포함된 상태 신호(STATE)와, 몇 번째 프레임의 데이타인가를 알려주는 프레임 번호 신호(Frame-number)와, 동기신호(Vsync) 등이 입력된다. 복호화-역변환부(20)는 상기 입력 신호들을 이용하여 송신장치에서 에러 정정 기능을 강화시키기 위해 부호화한 영상데이타를 보호화의 역과정을 통해 복호화하고, 복호화된 데이타를 역DCT 변환하여 부호화되기 이전의 영상데이타로 복원하게 된다.When the encoded image data transmitted from the transmitting apparatus is input to the receiving apparatus configured as described above, the variable length decoding unit 10 performs variable length encoding on the variable length through the reverse process of variable length encoding of the transmitting apparatus, The image data output from the decoder 10 is applied to the decoder-inverse transform unit 20. At this time, the image data DATA including the head data is input to the decoding-inverse transform unit 20 in the form of a bit stream, and a status signal including various information about the image data is included. And a frame number signal indicating the number of frames of data, a synchronization signal Vsync, and the like are input. The decoding-inverse transform unit 20 decodes the encoded image data through the inverse process of protection to enhance the error correction function in the transmitter using the input signals, and inversely decodes the decoded data by inverse DCT conversion. It will be restored to video data of.

그러나 이러한 종래의 방식에 의하면 가변장 복호화부(10)에서 복호화하는 도중에 에러가 발생하더라도 에러 복구가 되지 않는다. 그러므로 에러가 발생된 부분의 정보가 그대로 복호화-역변환부(20)로 전송되어 재구성(reconstruction)되고, 에러 부분이 그대로 노출되므로 재생 또는 수신 측의 사용자가 에러가 발생했음을 느끼게 되는 문제점이 있었다.However, according to this conventional method, even if an error occurs during decoding by the variable length decoding unit 10, error recovery is not performed. Therefore, since the information of the portion where the error is generated is transmitted to the decoding-inverse transform unit 20 as it is, and reconstructed, and the error portion is exposed as it is, there is a problem that the user of the reproduction or receiving side feels that an error has occurred.

본 발명은 상기와 같은 종래의 문제점을 해결하기 위한 것으로, 본 발명의 목적은 영상데이타를 복호화하는 과정에서 에러 발생을 체크하여 에러가 발생될 경우에는 강제 인터모드로 전환하고 에러가 발생된 부분의 데이타를 그전 프레임의 데이타로 대체시켜 수신 측에서 사용자가 에러가 발생했음을 못 느끼도록 한 복호화 에러노출 방지 장치를 제공하는데 있다.The present invention is to solve the above-mentioned conventional problems, an object of the present invention is to check the error occurrence in the process of decoding the image data, if an error occurs in the forced inter mode and the error occurs The present invention provides a decoding error exposure prevention apparatus in which data is replaced with data of a previous frame so that a user cannot feel that an error has occurred.

이와 같은 목적을 달성하기 위한 본 발명의 복호화 에러노출 방지 장치는 수신된 영상데이타를 가변장 목호화하여 출력하고 복호화 에러 발생 여부를 체크하여 에러신호를 출력하는 가변장 복호화부의 출력단에 복호화-역변환부가 연결된다. 상기 가변장 목호화부와 복호화-역변환부 사이에 연결된 에러노출 방지부는 가변장 복호화부의 에러신호에 따라 영상데이타의 전송을 제어하여 에러가 발생된 부분의 영상데이타를 모두 제로 데이타로 만들어 출력함으로써 강제 인터 모드로 전화시키게 된다. 상기 가변장 복호화부와 에러노출 방지부의 출력단에 연결된 복호화-역변환부는 에러노출 방지부로부터 인가된 영상데이타에 대해 송신장치의 부호화에 대응하는 복호화 및 역DCT를 실행하고 에러 발생 데이타는 그전 프레임의 영상데이타로 대체하여 재구성한다.Decoding error exposure prevention apparatus of the present invention for achieving the above object is variable-decoding the received image data and outputs the variable length code, and the decoding-inverse conversion unit at the output terminal of the variable-length decoding section for outputting an error signal by checking whether or not a decoding error occurs Connected. The error exposure prevention unit connected between the variable length coder and the decoding-inverse converter controls the transmission of the image data according to the error signal of the variable length decoder, thereby forcing all of the image data of the portion where the error occurs to be outputted as zero data. You are called in inter mode. The decoding-inverse transform unit connected to the output of the variable length decoding unit and the error exposure prevention unit performs decoding and inverse DCT corresponding to the encoding of the transmitting apparatus on the image data applied from the error exposure prevention unit, and the error occurrence data is the image of the previous frame. Reconstruct by replacing with data.

이하, 첨부된 제2도 내지 제6도를 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to FIGS. 2 to 6 as follows.

제2도는 영상데이타를 복호화하여 원래의 데이타로 복원하는 본 발명의 디지탈 수신장치의 블럭 구성도이다. 도시된 바와 같이, 부호화된 영상데이타를 가변장 복호화하여 출력하고 아울러 복호화 에러 발생 여부를 체크하여 에러신호르 출력하는 가변장 복호화부(10)의 출력단에는 복호화-역변환부(20)가 연결되고, 이복호화-역변환부(20)는 입력된 영상데이타에 대해 송신장치의 부호화에 대응하는 복호화를 실행하고 복호화된 데이타를 역DCT 변화하게 된다. 여기서, 전술된 것과 같은 구성은 제1도에 도시된 종래의 수신장치에서 동일 부호 블럭들의 구성과 동일하다.2 is a block diagram of the digital receiving apparatus of the present invention for decoding video data and restoring the original data. As shown, a decoded-inverse transform unit 20 is connected to an output terminal of the variable length decoder 10 for variable length decoding and outputting encoded image data and checking whether a decoding error occurs and outputting an error signal. The decoding and inverse transform unit 20 performs decoding corresponding to the encoding of the transmitting apparatus on the input image data, and inversely transforms the decoded data. Here, the configuration as described above is the same as the configuration of the same code blocks in the conventional receiver shown in FIG.

본 발명의 특징부는 상기 가변장 복호화부(10)의 출력단과 복호화-역변환부(20)의 입력단 사이에 연결된 에러노출 방지부(30)로서, 이 에러노출 방지부(30)는 가변장 복호화부(10)로부터 인가된 에러신호(ERROR)에 따라 영상데이타의 전송을 제어하여 에러가 발생된 부분의 에이타를 모두 제로 데이타로 만들어 출력함으로써 강제인터모드로 전환시키게 된다.A feature of the present invention is an error exposure prevention unit 30 connected between an output terminal of the variable length decoding unit 10 and an input terminal of the decoding-inverse transform unit 20. The error exposure prevention unit 30 is a variable length decoding unit. According to the error signal (ERROR) applied from (10), the transmission of the image data is controlled to switch to forced inter mode by outputting all the data of the occurrence of the error as zero data.

상기와 같이 구성된 본 발명의 수신장치의 동작을 제3도 내지 제6도를 참조하며 설명하면 다음과 같다.The operation of the receiving device of the present invention configured as described above will be described with reference to FIGS. 3 to 6 as follows.

미도시한 송신장치장치의 부호화부에서 지그재그 스캔(ZigZag-scan)된 영상데이타는 런(Run)과 진폭(Amplitude)으로 분류되어 가변장 부호화부로 인가된 후 가변장부호화되어 채널을 통해 수신장치로 전송된다. 이때 소정 크기의 블럭 단위의 영상데이타는 지그재그 스캔해 나가는 과정에서 진폭이 없고 런만 계속되다가 블럭의 끝에 이르게 되면 EOB(End Of Block)에 해당하는 부호로 부호화 되어진다. 즉, 모든 블럭 단위로 부호화된 영상데이타는 EOB로 끝나도록 되어 있으므로 EOB로 끝나지 않으면 그 데이타의 부호화는 잘못된 것으로 보아야 할 것이다. 송신장치로부터 전송된 영상데이타는 가변장 복호화부(10)로 입력되어 송신장치의 가변장 부호화의 역과정을 통해 가변장 복호화된다.ZigZag-scanned image data in the encoder of the transmission device is not shown and classified into Run and Amplitude, applied to the variable length encoder, and then variable length coded to the receiver through the channel. Is sent. At this time, the image data of a predetermined size block unit is encoded with a code corresponding to an end of block (EOB) when there is no amplitude in the process of zigzag scanning and only the run continues and reaches the end of the block. That is, the image data encoded in every block unit is supposed to end with EOB. Therefore, if the data data does not end with EOB, the encoding of the data should be regarded as wrong. The image data transmitted from the transmitting apparatus is input to the variable length decoding unit 10 and is subjected to variable length decoding through a reverse process of variable length encoding of the transmitting apparatus.

영상데이타의 부호화 및 복호화를 수해하기 위해서는 화면을 소정 크기의 블럭들로 구분하는데, 본 발명에서 정의한 영상데이타의 처리단위예를 제3도에 나타내었다. 제3도는 1프레임의 영상데이타를 블럭화한 것으로, 빗금으로 표시된 블럭은 1매크로 블럭(MB)으로 m×n 블럭으로 이루어 진다. 만약, 가로 줄 모양의 1슬라이스(Slice)가 11MB라고 가정하면, 본 발명의 영상데이타 처리단위인 1MMB(Mass of Macro Block)는 4슬라이스로서 4×11×(m×n) 블럭으로 구성되어 진다.In order to perform encoding and decoding of the image data, the screen is divided into blocks having a predetermined size. An example of the processing unit of the image data defined in the present invention is shown in FIG. 3 shows a block of image data of one frame, and a block indicated by hatching is composed of one macro block (MB) and m × n blocks. If one slice in a horizontal line is 11MB, 1MMB (Mass of Macro Block), which is an image data processing unit of the present invention, is 4 slices and is composed of 4 × 11 × (m × n) blocks. .

상기 가변장 복호화부(10)에서는 동기신호(Vsync)에 동기한 클럭 신호를 이용하여 MMB 단위의 영상데이타에서 스타트 코드를 검출하고, MMB 단위 내의 가변장 부호화된 영상데이타의 비트 수를 복호화하며, 내장된 미도시한 카운터를 이용하여 EOB의 갯수를 카운팅한다. 전술된 바와 같이 1블럭 데이타의 부호화를 완료한 후에는 반드시 1개의 EOB를 포함하므로 11개의 매크로블럭을 포함하는 1슬라이스의 경우(m×n)×11개의 EOB를 포함하여야 한다. 그러므로 가변장 복호화부(10)는 1MMB 단위 내의 EOB 개수를 카운팅하여 만일, EOB의 갯수가 4×11×(m×n)개가 아니면 1MMB 단위에 에러가 발생하였다고 판단하고, 에러신호(ERROR)를 발생하여 에러노출 방지부(30)로 출력한다. 물론, EOB 갯수를 카운팅하였을 때 4×11×(m×n)개이면 에러신호는 발생되지 않는다. 아울러 가변장 복호화부(10)는 가변장 복호화된 비트스트림 형태의 영상데이타(DATA)와, 상기 영상데이타에 대한 각종 정보가 포함된 상태 신호(STATE)를 에러노출 방지부(30)로 출력한다.The variable length decoder 10 detects a start code from image data in MMB units by using a clock signal synchronized with a synchronization signal Vsync, decodes the number of bits of variable length coded image data in MMB units, The number of EOBs is counted using a built-in counter not shown. As described above, since the encoding of one block data is completed, one EOB must be included. Therefore, one slice containing 11 macroblocks (m × n) × 11 EOBs must be included. Therefore, the variable length decoding unit 10 counts the number of EOBs in 1 MMB units, and if the number of EOBs is not 4 × 11 × (m × n), determines that an error has occurred in 1MMB units, and generates an error signal (ERROR). Is generated and output to the error exposure prevention unit 30. Of course, if the number of EOB count is 4x11x (mxn), no error signal is generated. In addition, the variable length decoding unit 10 outputs the image data DATA in the form of a variable length decoded bit and a status signal STATE including various information about the image data to the error exposure prevention unit 30. .

또한, 상기 가변장 복호화부(10)는 몇 번째 프레임의 데이타인가를 알려주는 프레임 번호 신호(Frame-number)와, 동기신호(Vsync)를 복호화-역변환부(20)로 출력한다. 복호화할 때 영상데이타는 1MMB 단위로 처리되므로 복호화 도중에 EOB의 갯수를 체크했을 경우 에러가 발생되었으면 지금 처리 중인 MMB 데이타는 잘못 복호화된 것으로 복호화-역변환부(20)에서 재구성할 때 1MMB 단위로 데이타가 깨어지게 된다. 본 발명에서는 이미 발생된 에러에 대한 데이타를 복구할 수는 없지만, 에러노출 방지부(30)를 추가하여 수신시에 에러가 발생된 것을 못 느끼도록 하였다.In addition, the variable length decoder 10 outputs a frame number signal (Frame-number) indicating the number of frames of data and a synchronization signal (Vsync) to the decoding-inverse transformer (20). When decoding, video data is processed in units of 1 MMB, so if an error occurs when the number of EOBs is checked during decoding, the MMB data being processed is incorrectly decoded. It is broken. In the present invention, it is not possible to recover data on an error that has already occurred, but the error exposure prevention unit 30 has been added so that an error does not occur when received.

제4도는 제2도에서 에러노출 방지부(30)의 상세구성을 보인 블럭도이다. 도시된 바와 같이, 본 발명의 에러노출 방지부는 데이타 제어부(33)를 통해 입력되는 가변장 복호화부(10)로부터의 1MMB 만큼의 데이타를 저장하고 저장된 데이타를 데이타 제어부(33)로 출력하는 메모리부(31)를 구비하고 있다. 상기 메모리부(31)에는 타이밍 제어부(32)가 연결되어, 가변장 복호화부(10)로부터 인가된 에러신호(ERROR)에 따라 메모리부(31)의 기록/판독 동작을 제어하는데 필요한 각종 신호를 만들어 메모리부(31)와 데이타 제어부(33)로 출력하게 된다. 상기 메모리부(31)에 입/출력 버스(I/O)를 통해 연결된 데이타 제어부(33)는 타이밍 제어부(32)에서 출력된 에러 제어 신호(ERROR)에 따라 가변장 복호화부(10)로부터 입력된 데이타와 복호화-역변환부(20)로 출력되는 데이타를 제어하게 된다.4 is a block diagram showing the detailed configuration of the error exposure prevention unit 30 in FIG. As shown, the error exposure prevention unit of the present invention stores a data amount of 1MMB from the variable length decoding unit 10 input through the data control unit 33 and outputs the stored data to the data control unit 33 (31) is provided. A timing controller 32 is connected to the memory unit 31 to supply various signals necessary for controlling a write / read operation of the memory unit 31 according to an error signal ERROR applied from the variable length decoder 10. And output to the memory unit 31 and the data control unit 33. The data controller 33 connected to the memory unit 31 via an input / output bus I / O is input from the variable length decoder 10 according to an error control signal ERROR output from the timing controller 32. The data and the data output to the decoding-inverse transform unit 20 are controlled.

이와 같이 구성된 에러노출 방지부(30)는 가변장 복호화부(10)로부터 MMB 단위로 영상 데이타가 입력되면, 데이타제어부(33)에서 1MMB 만큼의 데이타를 입력받아 입/출력버스를 통해 메모리부(31)에 저장했다가 다시 판독하여 뒷단의 복호화-역변환부(20)로 내보내게 된다. 이때 타이밍 제어부(32)는 메모리부(31)의 기록/판독 동작을 제어하는데 필요한 각종 신호, 예를 들어 어드레스 신호(ADDR), 판독/기록 제어 신호(R/W) 등을 만들어 메모리부(31)로 출력한다. 아울러 가변장 복호화부(10)에서 에러신호(ERROR)가 발생하면, 이 에러신호는 타이밍 제어부(32)로 전달되고 타이밍 제어부(32)는 상기 에러신호 (ERROR)의 상태로 에러 발생 시점을 체크하여 데이타 제어부(33)로 에러제어신호(ERR-CON)를 출력한다.When the image data is input in the MMB unit from the variable length decoding unit 10, the error exposure prevention unit 30 configured as described above receives 1 MMB of data from the data control unit 33 through the input / output bus. 31) and read it out again, and send it out to the decoding-inverse transform unit 20 at the rear stage. At this time, the timing controller 32 generates various signals necessary for controlling the write / read operation of the memory 31, for example, an address signal ADDR, a read / write control signal R / W, and the like. ) In addition, when an error signal ERROR occurs in the variable length decoding unit 10, the error signal is transmitted to the timing controller 32, and the timing controller 32 checks an error occurrence time in the state of the error signal ERROR. The error control signal ERR-CON is output to the data control unit 33.

데이타 제어부(33)는 상기 에러제어신호(ERR-CON)를 받으면 현재 처리 중인 1MMB 데이타 전체를 모두 제로데이타로 처리하여 복호화-역변환부(20)로 출력한다. 이를 좀더 상세히 설명하면, 1MMB 데이타에는 영상데이타와 헤드데이타가 포함되는데, 상기 헤드데이타는 인터 모드(Inter-mode)일 경우에는 0상태로, 인트라모드(Intra-mode)일 경우에는 1상태로 전송된다. 그러므로 1MMB 데이타를 모두 제로 데이타로 만들면 전송 모드가 움직임이 거의 없는 부분임을 나타내는 인터 모드로 강제로 전환된다.When the data control unit 33 receives the error control signal ERR-CON, the data control unit 33 processes all of the 1MMB data currently being processed as zero data and outputs them to the decoding-inverse transform unit 20. In more detail, 1MMB data includes image data and head data. The head data is transmitted in the 0 state in the inter-mode and in the 1 state in the intra-mode. do. Therefore, if all 1MMB data is made into zero data, the transmission mode is forcibly switched to the inter mode indicating that there is almost no movement.

복호화-역변환부(20)는 상기 데이타 제어부(33)로부터 인가된 상태 신호(STATE)와 가변장 복호화부(10)로부터 인가된 프레임 번호 신호(Frame-number) 및 동기 신호(Vsync)등을 이용하여 송신장치에서 부호화한 영상데이타를 부호화의 역과정을 통해 복호화하고, 복호화된 데이타를 역DCT 변화하여 부호화되기 이전의 영상데이타로 복원하게 된다. 이때 데이타 제어부(33)로부터 1MMB의 영상데이타가 제로 데이타로 처리되어 입력되면, 복호화-역변환부(20)는 영상 데이터를 재구성할 때 현재의 에러가 발생된 데이타를 사용하지 않고 프레임 메모리로부터 그전 프레임의 영상데이타를 다시 한번 독출하여 에러가 발생된 부분을 대신하게 한다.The decoding-inverse transform unit 20 uses a status signal STATE applied from the data controller 33, a frame number signal, a sync signal Vsync, etc. applied from the variable length decoder 10. The video data encoded by the transmitting apparatus is decoded through an inverse process of encoding, and the decoded data is changed by inverse DCT to restore the image data before encoding. At this time, if the 1MMB image data is input as the zero data from the data control unit 33, the decoding-inverse transform unit 20 does not use the data in which the current error occurs when reconstructing the image data. Read the video data once again to replace the part where the error occurred.

제4도에서 메모리부(31)는 제5도에서와 같이 램(RAM)을 사용하여 구성하든지, 제6도에서와 같이 FIFO(First In First Out)를 사용하여 구성할 수 있다.In FIG. 4, the memory unit 31 may be configured using RAM as shown in FIG. 5, or may be configured using FIFO (First In First Out) as shown in FIG. 6.

제5도는 메모리부(31)의 제1실시예를 나타낸 구성도로서, 타이밍 제어부(32)로부터 인가된 어드레스 신호(ADDR)에 따라 최소한 1MMB의 영상데이타를 교대로 기록/판독할 수 있는 2개의 램(31A)(31B)을 구비하고 있다. 상기 램(31A)(31B)의 입력단에는 제1스위칭부(31C)가 연결되고, 이 제1스위칭부(31C)는 타이밍 제어부(32)로부터 인가된 기록인 에이블 신호(W-EN)에 따라 연결단자 a,b를 교대로 스위칭하여 데이타 제어부(33)로부터 전송되는 영상데이타를 램(31A)(31B)에 교대로 전달한다. 상기 램(31A)(31B)의 축력단에는 제2스위칭부(31D)가 연결된다. 제2스위칭부(31D)는 타이밍 제어부(32)로부터 인가된 판독인 에이블 신호 (R-EN)에 따라 상기 제 1스위칭부(31C)가 연결단자 a를 스위칭하고 있을 때는 연결단자 b를 스위칭하고, 상기 제1스위칭부(31C)가 연결단자 b를 스위칭하고 있을 때는 연결단자 a를스위칭하여 램(31A)(31B)에서 독출된 영상데이타가 교대로 데이타 제어부(33)로 출력되도록 한다.FIG. 5 is a configuration diagram showing the first embodiment of the memory unit 31, in which two image data of at least 1 MMB can be alternately recorded / read in accordance with the address signal ADDR applied from the timing controller 32. As shown in FIG. RAM 31A and 31B are provided. A first switching unit 31C is connected to an input terminal of the RAM 31A and 31B, and the first switching unit 31C is in accordance with the enable signal W-EN, which is a write applied from the timing controller 32. The connection terminals a and b are alternately switched to transfer image data transmitted from the data control unit 33 to the RAM 31A and 31B. The second switching portion 31D is connected to the axial end of the rams 31A and 31B. The second switching unit 31D switches the connection terminal b when the first switching unit 31C is switching the connection terminal a according to the enable signal R-EN applied from the timing controller 32. When the first switching unit 31C is switching the connection terminal b, the connection terminal a is switched so that the image data read out from the RAMs 31A and 31B are alternately output to the data controller 33.

이와 같이 구성된 메모리부(31)는, 타이밍 제어부(32)로부터의 기로인 에이블 신호(W-EN)에 의해 제1스위칭부(31C)가 먼저 a다자를 스위칭하면 데이타 제어부(33)로부터 전송된 영상데이타는 타이밍 제어부(32)로부터 공급된 어드레스 신호(ADDR)에 의해 제1스위칭부(31C)의 a 단자를 통하여 제1램(31A)의 소정 위치에 기록된다. 이와 동시에 제2스위칭부(31D)는 타이밍 제어부(32)로부터의 판독인 에이블 신호(R-EN)에 의해 b단자를 스위칭하고, 제2램(31B)에 저장된 영상데이타는 타이밍 제어부(32)로부터의 어드레스 신호(ADDR)에 의해 독출되어 제2스위칭부(31D)의 b단자를 통하여 데이타 제어부(33)로 출력된다.The memory unit 31 configured as described above is transferred from the data control unit 33 when the first switching unit 31C first switches a by the enable signal W-EN, which is a crossover from the timing control unit 32. The image data is recorded at a predetermined position of the first RAM 31A through the a terminal of the first switching unit 31C by the address signal ADDR supplied from the timing controller 32. At the same time, the second switching unit 31D switches the b terminal by the enable signal R-EN which is a read from the timing controller 32, and the image data stored in the second RAM 31B is controlled by the timing controller 32. It is read out by the address signal ADDR from and output to the data control unit 33 via the b terminal of the second switching unit 31D.

다음으로 제1스위칭부(31C)는 타이밍 제어부(32)로부터의 기록인 에이블 신호(W-EN)에 의해 b단자를 스위칭하고, 데이타 제어부(33)로부터 전송된 영상데이타는 타이밍 제어부(32)의 어드레스 신호(ADDR)에 의해 제1스위칭부(31C)의 b단자를 통하여 제램(31B)에 기록된다. 이와 동시에 제2스위칭부(31D)는 타이밍 제어부(32)로부터의 판독인 에이블 신호(R-EN)에 의해 a단자를 스위칭하고, 타이밍 제어부(32)의 어드레스 신호(ADDR)에 의해 제1램(31A)에서 독출된 영상데이타는 제2스위칭부(31D)의 a단자를 통하여 데이타 제어부(33)로 출력된다. 여기서, 실제로 입출력되는 데이타의 비스 수를 감안할 때 상기 램(31A)(31B)은 각각 2개 씩의 램을 사용하여 구성하여야 하므로 실제로는 8비트 데이타 버스를 갖는 4개의 램이 소요된다.Next, the first switching unit 31C switches the b terminal by the enable signal W-EN, which is a recording from the timing controller 32, and the image data transmitted from the data controller 33 is the timing controller 32. The address signal ADDR is written to the RAM 31B via the b terminal of the first switching unit 31C. At the same time, the second switching unit 31D switches terminal a by the enable signal R-EN which is a read from the timing controller 32, and the first RAM by the address signal ADDR of the timing controller 32. The video data read out at 31A is outputted to the data control unit 33 via the a terminal of the second switching unit 31D. Here, in consideration of the number of services actually input and output, the RAMs 31A and 31B must be configured using two RAMs, respectively, and thus four RAMs having an 8-bit data bus are actually required.

제6도는 메모리부(31)의 제2실시예를 나타낸 구성도로서, 타이밍 제어부(32)로부터 인가된 기록인 에이블 신호(W-EN)와 판독인 에이블 신호(R-EN)에 따라 동작하여 데이타 제어부(33)로부터 전송된 1MMB이상의 영상데이타를 교대로 저장했다가 데이타 제어부(33)로 출력하는 2개의 FIFO(31E)(31F)로 구성되어 있다.FIG. 6 is a block diagram showing the second embodiment of the memory unit 31, and operates in accordance with the enable signal W-EN and the read enable signal R-EN applied from the timing controller 32. As shown in FIG. It consists of two FIFOs 31E and 31F which alternately store video data of 1 MMB or more transmitted from the data control unit 33 and output the data data to the data control unit 33.

이와 같이 구성된 메모리부(310는 제1실시예에서와 마찬가지로 타이밍 제어부(32)로부터 인가된 기록인 에이블 신호((W-EN)와 판독인 에이블 신호(R-EN)에 따라 2개의 FIFO(31E)(31F)가 교대로 기록/판독 동작을 하게 된다. 즉, 데이타 제어부(33)로부터 전송된 영상데이타가 FIFO(31E)에 기록되는 동안, 또다른 FIFO(31F)에서 독출된 영상 데이타는 데이타제어부(33)로 출력되고, FIFO(31E)에서 독출된 영상데이타가 데이타제어부(33)로 출력되는 동안, 데이타제어부(33)로부터 전송된 영상데이타는 또다른 FIFO(31F)에 기록되는 것이다.The memory unit 310 configured as described above has two FIFOs 31E in accordance with the enable signal (W-EN) and the read enable signal (R-EN), which are applied from the timing controller 32, as in the first embodiment. ) 31F alternately performs recording / reading operation, i.e., while image data transmitted from the data control unit 33 is recorded in the FIFO 31E, image data read out from another FIFO 31F is stored in the data. The video data transmitted from the data controller 33 is recorded in another FIFO 31F while the video data output to the control unit 33 and the video data read out from the FIFO 31E are output to the data control unit 33.

이상에서와 같이 본 발명은 영상데이타를 복호화하는 과정에서 에러 발생을 체크하여 에러가 발생될 경우에는 강제 인터 모드로 전환하고 에러가 발생된 부분의 데이타를 그전 프레임의 데이타로 대체시켜 출력하므로 수신 측에서 사용자가 에러가 발생했음을 못 느끼도록 하는 효과가 있다.As described above, the present invention checks the occurrence of an error in the process of decoding the image data, and when an error occurs, switches to the forced inter mode and replaces the data of the portion where the error has occurred with the data of the previous frame and outputs the received side. Has the effect of preventing the user from feeling that an error has occurred.

Claims (6)

송신장치에서 소정 크기의 블럭 단위로 부호화된 영상데이타를 복호호하는 디지탈 수신장치에 있어서, 수신된 영상데이타를 가변장 복호화하여 출력하고 복호화 에러 발생 여부를 체크하여 에러신호를 출력하는 가변장 복호화부와; 가변장 복호화부의 에러신호에 따라 영상데이타의 전송을 제어하여 에러가 발생된 부분의 영상데이타를 모두 제로 데이타로 만들어 출력함으로써 강제 인터 모드로 전환시키는 에러노출 방지부와; 에러노출 방지부로부터 인가된 영상데이타에 대해 송신장치의 부호화에 대응하는 복호와 및 역DCT를 실행하고 에러 발생 데이타는 그전 프레임의 영상데이타로 대체하여 재구성하는 복호화-역변환부를 포함하는 것을 특징으로 하는 복호화 에러노출 방지 장치.A digital receiving apparatus for decoding image data encoded in units of blocks of a predetermined size by a transmitting apparatus, wherein the variable length decoding unit outputs an error signal by variable length decoding the received image data and checks whether a decoding error occurs. Wow; An error exposure prevention unit for controlling the transmission of the image data according to the error signal of the variable length decoding unit and converting the image data of the portion where the error occurs to zero data into a forced inter mode; And a decoding-inverse transform unit which performs decoding corresponding to the encoding of the transmitting apparatus and inverse DCT on the image data applied from the error exposure prevention unit, and replaces the error occurrence data with the image data of the previous frame. Decryption error exposure prevention device. 제1항에 있어서, 상기 가변장 복호화부가 에러 발생 여부를 체크하여 에러신호를 출력함에 있어서, 상기 가변장 복호화부는 내장하고 있는 카운터를 이용하여 상기 소정 크기의 블럭단위로 부호화된 영상데이타에 서 각 블럭의 끝부분에 포함된 EOB의 갯수를 카운트한 후, 카운트 값이 상기 소정 크기의 블록 단위 내 블록 갯수와 동일하면 에러가 발행하지 않았다고 판단하여 에러신호를 발생하지 않고, 상기 카운트 값이 상기 소정 크기의 블록 단위 내 블록 갯수와 동일하지 않으면 에러가 발생되었다고 판단하여 상기 에러신호를 발생하는 것을 특징으로 하는 복호화 에러노출 방지 장치.The variable length decoder of claim 1, wherein the variable length decoder checks whether an error has occurred and outputs an error signal. After counting the number of EOBs included in the end of the block, if the count value is the same as the number of blocks in the block unit of the predetermined size, it is determined that no error is issued and no error signal is generated, and the count value is the predetermined value. And determining that an error has occurred if it is not the same as the number of blocks in a block unit of size, and generating the error signal. 제1항에 있어서, 상기 에러노출 방지부는 데이타 제어부를 통해 입력되는 가변장 복호화부로부터의 1MMB만큼의 데이타를 저장하고 저장된 데이타를 데이타 제어부로 출력하는 메모리부와; 상기 가변장 복호화부로부터 인가된 에러신호에 따라 메모리부의 기록/판독 동작을 제어하는데 필요한 각종 신호를 만들어 메모리부와 데이타 제어부로 출력하는 타이밍 제어부와; 타이밍 제어부에서 출력된 에러 제어 신호에 따라 메모리부와 데이타를 인터페이스하여 가변장 복호화부로부터 입력된 데이타와 복호화-역변환부로 출력되는 데이타를 제어하는 데이타 제어부로 구성하는 것을 특징으로 하는 복호화 에러노출 방지 장치.2. The apparatus of claim 1, wherein the error exposure prevention unit comprises: a memory unit for storing 1 MMB of data from the variable length decoding unit input through the data control unit and outputting the stored data to the data control unit; A timing controller which generates various signals necessary for controlling the write / read operation of the memory unit according to the error signal applied from the variable length decoder, and outputs them to the memory unit and the data controller; Decoding error exposure prevention device characterized in that it comprises a data control unit for interfacing the data with the memory unit in accordance with the error control signal output from the timing control unit to control the data input from the variable-length decoding unit and the data output to the decoding-inverse transform unit . 제3항에 있어서, 상기 메모리부는 타이밍 제어부로부터 인가된 어드레스 신호에 따라 최소한 1MMB의 영상데이타를 교대로 기록/판독할 수 있는2개의 램과; 상기 램들의 입력단에서 타이밍 제어부로부터 인가된 기록인 에이블 신호에 따라 데이타 제어부로부터 전송되는 영상데이타를 상기 램에 교대로 전달하는 제1스위칭 수단과; 타이밍 제어부로부터 인가된 판독인 에이블 신호에 따라 상기 제1램에 영상데이타가 기록되고 있는 동안에는 상기 제2램에 출력단을 선택하여 제2램에 기록된 영상데이타가 데이터 제어부로 출력되도록 하고, 상기 제2램에 영상데이타가 기록되고 있는 동안에는 상기 제1램의 출력단을 선택하여 제1램에 기록된 영상데이타가 데이터 제어부로 출력되도록 하는 제2스위칭 수단으로 구성하는 것을 특징으로 하는 복호화 에러노출 방지 장치.The memory device of claim 3, wherein the memory unit comprises: two RAMs configured to alternately write / read image data of at least 1 MMB according to an address signal applied from a timing controller; First switching means for alternately transferring image data transmitted from the data controller to the RAM in accordance with an enable signal applied from a timing controller at an input of the RAMs; While the image data is being recorded in the first RAM according to the read enable signal applied from the timing controller, an output terminal is selected in the second RAM to output the image data recorded in the second RAM to the data controller. Decoding error exposure prevention device characterized in that it comprises a second switching means for selecting the output terminal of the first RAM while the image data is recorded in the second RAM to output the image data recorded in the first RAM to the data control unit. . 제3항에 있어서, 상기 메모리부는 타이밍 제어부로부터 인가된 기록인 에이블 신호와 판독인 에이블 신호에 따라 동작하여 데이타 제어부로부터 전송된 1MMB이상의 영상데이타를 고대로 저장했다가 데이타 제어부로 출력하는 2개의 FIFO로 구성하는 것을 특징으로 하는 복호화 에러노출 방지 장치.4. The memory unit of claim 3, wherein the memory unit operates in accordance with a write enable signal and a read enable signal applied from a timing controller, and stores two or more image data transmitted from the data controller in ancient times and outputs the data to the data controller. Decryption error exposure prevention device characterized in that the configuration. 제3항에 있어서, 상기 데이타 제어부는 타이밍 제어부로부터 에러 제어 신호가 입력될 경우 현재 처리 중인 1MMB 데이타에 포함된 영상데이타와 헤드 데이타를 모두 제로 데이타로 처리하여 움직임이 거의 없는 호상임을 나타내는 인터 모드로 강제 전환시키도록 한 것을 특징으로 하는 복호화 에러노출 방지 장치.The inter mode of claim 3, wherein the data controller processes image data and head data included in 1MMB data currently being processed as zero data when an error control signal is input from a timing controller to indicate that the image is an arcless image with almost no movement. Decryption error exposure prevention device, characterized in that forcibly switched to.
KR1019940000261A 1994-01-08 1994-01-08 Decode error exposure preventing apparatus KR0152030B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940000261A KR0152030B1 (en) 1994-01-08 1994-01-08 Decode error exposure preventing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940000261A KR0152030B1 (en) 1994-01-08 1994-01-08 Decode error exposure preventing apparatus

Publications (2)

Publication Number Publication Date
KR950024580A KR950024580A (en) 1995-08-21
KR0152030B1 true KR0152030B1 (en) 1998-10-15

Family

ID=19375415

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940000261A KR0152030B1 (en) 1994-01-08 1994-01-08 Decode error exposure preventing apparatus

Country Status (1)

Country Link
KR (1) KR0152030B1 (en)

Also Published As

Publication number Publication date
KR950024580A (en) 1995-08-21

Similar Documents

Publication Publication Date Title
KR0151234B1 (en) Picture reproduction apparatus and picture decoding apparatus
JP3762392B2 (en) Video coding method and apparatus
JPH04318791A (en) Signal processing method and recording and reproducing device
EP0633699A2 (en) Forced intra-frame coding method
KR0137736B1 (en) Digital video signal processing apparatus
KR0157665B1 (en) Compressed television signal recording and reproducing apparatus
JPH06326985A (en) Encoding device of frame sequence of picture and corresponding decoding device
JP3285220B2 (en) Television system for transmitting image signals in digital form
KR0152030B1 (en) Decode error exposure preventing apparatus
KR0145160B1 (en) Video signal recording apparatus and reproducing apparatus
KR100252145B1 (en) Apparatus for decoding digital video data with small memory requirement
JP3852114B2 (en) Compressed image data transmission method and apparatus
JP3104776B2 (en) Image reproducing device and image decoding device
KR980013424A (en) Image encoding decoding method and apparatus
JP3320125B2 (en) Image decoding device
JP3775525B2 (en) Decoding device and decoding method
JP3045696B2 (en) Decoding method and apparatus
KR0139163B1 (en) Sync adapting apparatus applicating in a vlc process
JPH06350964A (en) Picture reproducing device and picture decoder
JP3063675B2 (en) Video signal playback device
KR0144836B1 (en) Decoding method and apparatus
JP2697290B2 (en) Video signal recording device and playback device, recording method and processing device
JPH0798944A (en) Video signal reproducing device
JPH05328331A (en) Coding system and decoding device for video signal
JPH06292171A (en) Image reproducing device

Legal Events

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

Payment date: 20080529

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee