KR19980030711A - Data Deformatting Circuit of Image Decoder - Google Patents

Data Deformatting Circuit of Image Decoder Download PDF

Info

Publication number
KR19980030711A
KR19980030711A KR1019960050179A KR19960050179A KR19980030711A KR 19980030711 A KR19980030711 A KR 19980030711A KR 1019960050179 A KR1019960050179 A KR 1019960050179A KR 19960050179 A KR19960050179 A KR 19960050179A KR 19980030711 A KR19980030711 A KR 19980030711A
Authority
KR
South Korea
Prior art keywords
data
component
deformatting
unit
circuit
Prior art date
Application number
KR1019960050179A
Other languages
Korean (ko)
Other versions
KR100210124B1 (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 KR1019960050179A priority Critical patent/KR100210124B1/en
Publication of KR19980030711A publication Critical patent/KR19980030711A/en
Application granted granted Critical
Publication of KR100210124B1 publication Critical patent/KR100210124B1/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/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/625Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using discrete cosine transform [DCT]
    • 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/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/176Methods 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 block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/423Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation characterised by memory arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Discrete Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

본 발명은 영상 정보를 디지털 부호화·복호화하는 데 있어서, 부호화기의 포맷처리부의 ECC처리부에서 입력되는 코딩된 데이터열이 복호화기의 디포맷 회로에 입력되면 상기 데이터를 각 성분별로 미리 분리하여 상태 데이터인 STA 성분 데이터는 별도의 레지스터로 보내어 역양자화기로 보내는 한편, 디포맷 대상이 아닌 QNO 성분 데이터와 DC 성분 데이터는 디포맷처리부 후단의 버퍼 메모리 F1/F2에서 대기하였다가 AC 성분 데이터를 디포맷처리부 전단의 메모리 S1/S2로 보내어 디포맷처리부에서 디포맷팅한 후 상기 QNO 성분 데이터와 DC 성분 데이터를 결합하여 역양자화기로 보내어 상기 상태 데이터와 함께 역양자화 처리하게 하므로써, 디포맷터에서 디포맷팅하기 전에 각 데이터를 성분별로 구분하여 각각의 메모리에 저장하게 하므로써, 포맷된 영상 정보를 복호화하는 과정에서 디포맷함에 있어서 데이터의 성분을 미리 분리하여 디포맷 처리하게 하므로써, 디포맷시에 발생되는 데이터 액세스 시간이 많이 단축됨과 함께 실제 데이터의 디포맷 시간도 빨라지게 되어 시스템의 성능을 향상시키는 효과가 있다.According to the present invention, in digitally encoding and decoding image information, when a coded data string input from an ECC processing unit of a format processing unit of an encoder is input to a deformatting circuit of a decoder, the data is separated in advance for each component, and the state data is a state data. The STA component data is sent to a separate register and sent to the dequantizer, while the QNO component data and DC component data that are not deformatted are waited in the buffer memory F1 / F2 after the deformatter, and the AC component data is forwarded to the deformatter. Send the data to the memory S1 / S2 and deformat it in the deformatter, and then combine the QNO component data and DC component data and send them to the dequantizer to dequantize the data together with the state data. Formatted images by storing them in their respective memories By de-formatting and deformatting data components in the process of decoding the information, the data access time generated during the reformatting process is shortened, and the actual data format time is also shortened. Has the effect of improving.

Description

영상복호화기의 데이터 디포맷팅 회로Data Deformatting Circuit of Image Decoder

본 발명은 영상 정보를 디지털 부호화·복호화하는 데 있어서, 전단의 부호화기의 포맷처리부에서 포맷된 데이터를 입력받아 디포맷 대상 성분 데이터만을 디포맷할 수 있도록 입력되는 데이터의 각 성분별로 미리 분리하여 디포맷하게 하여 디포맷 시간을 단축하게 한 영상복호화기에 있어서의 데이터 디포맷팅 회로에 관한 것이다.According to the present invention, in digitally encoding / decoding video information, the data is formatted by a format processing unit of a previous encoder and deformatted in advance for each component of the input data so that only the deformatted component data can be deformatted. The present invention relates to a data deformatting circuit in an image decoder which shortens the deformatting time.

현재 디지털브이시알(Digital Video Casstte Recorder ; 이하 DVCR이라 한다)을 포함하여, 고선명티브이(HDTV ; High Definition TV)나 셋탑박스(Set-Top Box) 등과 같은 각종 멀티미디어 기기에서는, 종래와 달리 비디오 영상을 디지털로 압축하여 전송·처리하고 있다.Currently, various multimedia devices, such as a high definition TV (HDTV) or a set-top box, including a digital video cassette recorder (hereinafter, referred to as a DVCR), display video images differently from the prior art. It is digitally compressed for transmission and processing.

이를 위하여, 비디오 카메라로 찍은 동영상이나 혹은 각종 비디오 신호원(video signal source)으로부터 입력되는 아날로그 영상 신호를 디지털 정보로 변환 후 일단 프레임 메모리(1 화면분의 영상 데이터를 저장하는 메모리)에 저장시켜 놓은 후에 화소(pixel) 단위로 분해·처리된다. 예를 들어, 한 화면을 세로 352 x 가로 240 화소 처럼 나타낼 수 있다. 이때, 각각의 화소는 휘도(영상의 밝기 정보)와 색차(영상의 색 정보)를 갖는 데, 휘도(luminance)와 색차(color)는 다음과 같은 세가지 방법에 의하여 정보를 압축시킨다.To this end, after converting a video taken by a video camera or an analog video signal input from various video signal sources into digital information, it is stored in a frame memory (memory that stores one screen of image data). Later, the pixels are decomposed and processed in pixel units. For example, one screen may be represented as 352 x 240 pixels. At this time, each pixel has a luminance (brightness information of the image) and a color difference (color information of the image), and the luminance and the color difference (color) compress the information by the following three methods.

1) 일반적으로 영상은 인접화소간의 값이 거의 비슷하기(상관도가 높기) 때문에 화면내(공간적) 상관관계를 이용하여 정보를 압축한다.(엄밀하게는 화면간의 화소차분치에 대해서도 압축연산을 행한다.)1) In general, images have similar values between adjacent pixels (high correlation), so information is compressed using on-screen (spatial) correlation. (Strictly, compression operation is performed on pixel difference values between screens.) Do it.)

2) 이전 화면의 정보를 기억해 두고 현재 화면을 이전 화면으로부터의 차분치(differential)로 나타냄으로써, 화면간(시간적) 상관관계를 이용하여 정보를 압축한다.2) The information is compressed using the inter-screen (temporal) correlation by storing the information of the previous screen and representing the current screen as a difference from the previous screen.

3) 상기의 1)과 2)의 방법으로 부화화할 때, 부호의 발생확률이 서로 다름을 이용하여 정보를 압축한다.3) When hatching by the method of 1) and 2) above, the information is compressed using the different probability of occurrence of the code.

이러한 영상압축을 위한 여러 가지 방법 중에서 직교변환(영상 정보를 주파수 성분으로 분해하는) 방식이 널리 사용되고 있는 데, 그 중 이산여현코사인변환(DCT ; Descrete Cosine Transform, 이하 DCT라 한다)이 영상부호화의 국제표준방식에서 널리 사용되고 있다. 이 DCT에서는 한 장의 영상을 일정한 크기의 정방형 영역으로 나누어서 각 영역에 대한 변환처리를 행하므로써, 영역 내의 평균값(영역 전체가 같은 값)을 가지는 화면성분(DC)으로부터 매우 정교한 최고주파수의 영상분에 이르기까지의 여러 주파수의 영상성분으로 분해된다. 이 분해과정을 직교변환이라 한다. 이러한 직교변환(특히, DCT)의 장점은 변환 전에는 화면에 불규칙하게 퍼져 있던 화소값(예를 들어, 휘도)이 변환 후에는 저주파항 쪽으로 집중되는 경향이 있다. 따라서, 고주파항들을 버리는 조작을 통하여 정보손실이 거의 없이 양호한 정보압축을 할 수 있다.The orthogonal transform (decomposition of image information into frequency components) is widely used among various methods for image compression, among which a discrete cosine transform (DCT) is used for image encoding. It is widely used in international standards. In this DCT, by dividing a single image into square areas of constant size and performing conversion processing on each area, it is possible to obtain a highly precise image of the highest frequency from a screen component (DC) having an average value in the area (the whole area is the same value). It is decomposed into image components of various frequencies up to. This decomposition process is called orthogonal transformation. The advantage of such orthogonal transformation (particularly, DCT) is that pixel values (e.g., luminance) that are irregularly spread on the screen before conversion tend to concentrate toward the low frequency term after conversion. Therefore, good information compression can be achieved with little information loss through the operation of discarding the high frequency terms.

여기서, 고주파항들을 버리는 과정이 양자화(quantization)인 데, 여기서는 화소값 혹은 직교변환된 각 주파수의 성분값을 양자화 스텝 사이즈라는 어떤 값(분모)으로 나누어 나머지를 반올림 등의 방법으로 없애는 것이다. 그러나 이 없어진 부분은 재생시 양자화 스텝 사이즈를 곱하더라도 워상태로 완전히 복원되지는 않는다. 이때, 분모를 크게 하면 할수록 많은 항들이 거의 0이 되고, 이에 따라 압축률을 높일 수는 있지만 고주파항들이 손실되어 섬세함이 없어지고 저주파항들도 양자화 에러가 커지기 때문에 재생시 흐린 듯한 영상이 될 수 있다. 반대로, 분모가 작으면 작을수록 잘려 나가는 에러가 작아지기 때문에 재생시 섬세함이 손상되지 않아 원화에 가까워지지만, 그 대신에 압축률은 낮아진다.Here, the process of discarding the high frequency terms is quantization. In this case, the pixel value or the component value of each orthogonally transformed frequency is divided by a value (denominator) called a quantization step size, and the rest is rounded off. However, this missing portion is not completely restored to the war state even if it is multiplied by the quantization step size during reproduction. In this case, the larger the denominator, the more many terms become almost zero, and thus the compression ratio can be increased, but the high frequency terms are lost, the fineness is lost, and the low frequency terms become dim due to the quantization error. . On the contrary, the smaller the denominator is, the smaller the cut-off error is. Therefore, the fineness is not impaired at the time of reproduction, so that it is closer to the original picture, but the compression ratio is lowered instead.

MPEG Ⅱ(Motion Picture Experts Group ; 동영상전문가그룹에서 정한 2번째 동영상부호화 표준규격, 이하 MPEG Ⅱ라 한다)에서 이러한 DCT를 사용한 영상정보의 부호화 과정을 나타낸 것이 도 1인 데, 여기에서 보면, 프레임 데이터가 직교변환기(11)로 입력되어 처리가 시작된다. 이때 DCT 블록의 입력은 프레임(frame)이 그대로 들어갈 수도 있고, 움직임이 보상된 프레임과 프레임의 차이가 들어갈 수도 있다. 전자는 화면간 코딩(intra coding)을 위한 것이고, 후자는 화면내 코딩(inter coding)을 위한 것이다. MPEG Ⅱ에서의 움직임 보상은 P 타입과 B 타입이 있으며, 또한 필드별로 움직임을 보상할 수도 있고 프레임별로 움직임을 보상할 수도 있다. 또한, P 타입에서는 듀얼 프라임(dual prime)이라는 독특한 방법을 이용하기도 한다. 이러한 프레임 데이터가 입력되면 직교변환기(11)에서 8 x 8 개의 화소를 1개의 블록으로 하여 블록 단위로 DCT 연산(화면내 공간적 상관관계에 의한 압축)을 하여 그 결과를 양자화기(12)로 보내면, 양자화기(12)에서는 각 DCT 계수의 가중치를 나타내는 가중치 메트릭스 변수(weight_matrix)와 양자화 스텝의 단계를 결정하는 양자화 크기 코드 변수(quantizer_scale_code)를 사용하여 양자화 스텝을 결정한다. 이렇게 양자화된 후의 각 계수는 가변장부호화기(13)에서 가변장부호화(VLC ; Variable Length Coding, 이하 VLC라 한다)되는 데, 화면내 블록(intra block)의 DC 계수들은 DCT 계수의 DC 성분의 크기를 나타내는 변수(dct_dc_size)와 DC 성분의 차분을 나타내는 변수(dct_dc_differential)의 둘로 나뉘어 코딩되고 나머지 계수들은 MPEG Ⅱ에서 정해진 VLC 테이블을 사용하여 코딩된다.In the MPEG II (Motion Picture Experts Group), the second video encoding standard standard, hereinafter referred to as MPEG II, shows the encoding process of the image information using the DCT. Is input to the orthogonal converter 11 and processing starts. In this case, the input of the DCT block may include a frame as it is, or a difference between a frame and a motion compensated frame may be entered. The former is for intra coding and the latter is for inter coding. Motion compensation in MPEG II includes P type and B type, and may also compensate for motion for each field or compensate for motion for each frame. The P type also uses a unique method called dual prime. When such frame data is input, the quadrature converter 11 performs 8 x 8 pixels as one block, performs DCT operation (compression based on intra-screen spatial correlation), and sends the result to the quantizer 12. The quantizer 12 determines the quantization step using a weight matrix variable (weight_matrix) representing the weight of each DCT coefficient and a quantization size code variable (quantizer_scale_code) for determining the step of the quantization step. Each coefficient after quantization is variable length coded (VLC) in the variable length encoder 13, and DC coefficients of an intra block are the magnitudes of DC components of the DCT coefficients. The code is divided into two, a variable (dct_dc_size) indicating a and a variable (dct_dc_differential) indicating a difference between DC components, and the remaining coefficients are coded using a VLC table defined in MPEG II.

이러한 움직임 보상과 DCT 타입 및 양자화 등의 과정은 매크로블록(macro block) 단위로 이루어지며 매크로 타입(macro_type)이라는 변수를 통하여 이러한 코딩 형태를 알려준다. 즉, macro_type 만 보면 그 매크로블록이 어떠한 움직임 보상을 했는지, 또는 DCT 계수가 전송되는지 아닌지, 양자화 크기 코드(quantizer_scale _code)가 전송되는지 아닌지 등을 알 수 있다.Such motion compensation, DCT type, and quantization are performed in units of macro blocks, and the coding type is informed through a variable called macro type. That is, the macro_type alone can determine whether the macroblock has compensated for motion, whether the DCT coefficient is transmitted or not, whether or not the quantization scale code (quantizer_scale _code) is transmitted.

각 매크로블록은 블록별로 부호화되는 데, 매크로 블록에 속해 있는 블록들이 코딩이 되었는지 또는 스킵(skip)되었는지를 나타내는 데 사용되는 변수가 coded_block_pattern() 이다. 이후, 이러한 데이터들은 각종 헤더(header)와 확장자(extention) 및 사용자 데이터(user data) 들과 묶여서 하나의 신택스(syntax)를 이루어 버퍼(14)를 통하여 디코더로 전송된다. 한 개의 픽쳐(picture) 당 발생 비트 수는 가변적으로 버퍼의 충만도에 따라서 제어되는 데, 이 버퍼(14)가 언더플로우(under flow)나 오버플로우(dver flow)가 일어나지 않도록 하기 위해서 인코더에서는 버퍼(14)의 상태를 항상 감시하고 있어야 하며, 따라서 다음 픽쳐의 비트 발생량을 조절해 주어야 한다.Each macroblock is coded block by block, and a variable used to indicate whether blocks belonging to the macroblock are coded or skipped is coded_block_pattern (). Thereafter, such data are bundled with various headers, extensions, and user data to form a syntax and transmitted to the decoder through the buffer 14. The number of bits generated per picture is variably controlled according to the fullness of the buffer, which is used by the encoder to ensure that the buffer 14 does not underflow or overflow. The state of (14) must be monitored at all times, and the bit generation amount of the next picture must be adjusted.

그리고, 상기 양자화기(12)에서 양자화된 결과값은 역양자화기(15)와 역직교변환기(16)로도 보내어져 역양자화와 역직교변환과정을 거쳐 제1가산기(17)에서, 프레임 정보의 비트스트림(bit stream) 데이터를 입력받은 제 2가산기(18)에서 보내오는 데이터와 합산하여 평균치를 내어 제2가산기(18)와 프레임메모리(21)로 보낸다. 그러면, 움직임예측기(19)에서는 프레임메모리(21)에서 보내오는 프레임 정보와 움직임 계산기(20)에서 보내오는 변수값을 토대로 움직임을 예측하여 다시 제2가산기(18)로 보내어 이를 다시 직교변환기(11)로 피드백시켜서 처리하게 하는 과정을 반복하게 한다.In addition, the quantized result of the quantizer 12 is also sent to the inverse quantizer 15 and the inverse orthogonal transformer 16 to undergo the inverse quantization and the inverse orthogonal transformation process, and in the first adder 17, The bit stream data is summed with the data sent from the received second adder 18 and averaged and sent to the second adder 18 and the frame memory 21. Then, the motion predictor 19 predicts the motion based on the frame information sent from the frame memory 21 and the variable value sent from the motion calculator 20, and sends the motion to the second adder 18 again to convert the motion to the second adder 18. Repeat the process by feeding back to).

또한, 상기와 같은 부호화 과정을 거쳐서 상기 버퍼(14)로부터 전송받은 데이터를 복호화하는 과정은 도 2에서와 같이, 부호화 과정에서 코딩된 부호화 데이터를 부호화기의 버퍼(14)를 통하여 비트 스트림 형태로 전송 받은 후, 이를 다시 가변장복호화기(22)에서 가변장부호화된 DCT 계수를 뽑아서 그 역과정을 거쳐 QFS[n]을 얻는 것이다. 여기서, n = 0 이면 DC 계수이고, 아니면 그 뒤의 AC 계수를 나타낸다. 보통, 화면내 코딩(inter coding)에서의 DC 계수는 크기가 보통 계수와는 달리 매우 크기 때문에 VLC 테이블을 이용하는 다른 계수들과는 다른 방법을 사용하여 코딩한다. 또한, 절대 크기를 전송하는 것이 아니고, 이전 블록의 해당되는 값과 비교하여 그 차이값만을 전송하게 된다. 따라서, 예측기(predictor)를 이용하게 되는 데, 이 예측기는 바로 전 블록의 계수값을 갖게 된다. 즉, 색요소(color component)를 cc라 하고 cc = 0 이면 휘도신호(luminance)를, cc = 1 이면 Cb 요소, cc = 2 이면 Cb 요소를 나타낸다. 한편, 화면간 블록(intra block)의 DC 차이값을 그대로 가변장부호화하기에는 너무 많은 값들이 있게 때문에 VLC 테이블을 이용하지 않고 dct_dc_size와 dct_dc_differential의 두 부분으로 나누어 코딩한다. 이때, dct_dc_size는 휘도신호와 색신호에 대하여 각각 2 ∼ 10 비트의 가변장 코드값으로 휘도신호에 대하여는 0 ∼ 63까지, 색신호에 대하여는 -2047 ∼ +2047까지의 값을 갖는다.In the decoding process of the data received from the buffer 14 through the encoding process as described above, as shown in FIG. 2, the encoded data coded in the encoding process is transmitted in the form of a bit stream through the buffer 14 of the encoder. After receiving it, the variable length decoder 22 extracts the variable length coded DCT coefficient to obtain QFS [n] through the reverse process. Here, n = 0 indicates a DC coefficient, or an AC coefficient following it. Normally, DC coefficients in inter coding are coded using a different method than other coefficients using the VLC table because the magnitude is very large, unlike normal coefficients. In addition, the absolute size is not transmitted, and only the difference value is transmitted compared with the corresponding value of the previous block. Therefore, a predictor is used, which has the coefficient value of the previous block. In other words, a color component is referred to as cc, and when cc = 0, a luminance signal is represented. If cc = 1, a Cb element is used, and if cc = 2, a Cb element is represented. On the other hand, since there are too many values for variable length encoding of the DC difference of an intra block as it is, the code is divided into two parts, dct_dc_size and dct_dc_differential, without using the VLC table. At this time, dct_dc_size is a variable length code value of 2 to 10 bits for the luminance signal and the color signal, respectively, and has a value ranging from 0 to 63 for the luminance signal and -2047 to +2047 for the color signal.

상기와 같이, 가변장복호화기(22)에서 가변장부호화된 신호는 역스캐너(23)에서 QFS[n]의 일차원 DCT 계수를 스캐닝 방법에 따라서 2차원으로 바꾸어주는 데, 이는 지그재그스캔(zigzag scan)과 대체스캔(alternate scan)의 두가지 방식중에서 임의로 사용할 수 있는 데, 이는 다음 식 1에서 alternate_scan의 값이 0 이면 지그재그스켄을 나타내고, 1 이면 대체스캔을 나타낸다.As described above, the variable length coded signal in the variable length decoder 22 converts the one-dimensional DCT coefficient of QFS [n] into two dimensions according to the scanning method in the inverse scanner 23, which is a zigzag scan. ) Or alternate scan, which can be used arbitrarily. If the value of alternate_scan in Equation 1 is 0, it represents a zigzag scan, and if 1, it represents an alternative scan.

[수학식 1][Equation 1]

QFS[v][u]=QFS[scan[alternate_scan][v][u]]QFS [v] [u] = QFS [scan [alternate_scan] [v] [u]]

이러한 역스캐너(23)에서 2차원화된 신호는 다시 역양자화기(24)에서 실제 DCT 계수값을 복원한다. 여기서는 화면내 블록의 DC 계수(8 x 8 블록의 좌상귀의 값)는 수신된 양자화치에 8을 곱하여 구하고(즉, [역양자화값 = 8 x [양자화값]), 그밖의 계수의 역양자화는 AC 계수(8 x 8 블록의 좌상귀값을 제외한 나머지 63개의 값)는 먼저 수신된 양자화치를 두배로 한 후(화면간에서는 여기에다 0에서 먼쪽으로 +1 이나 -1을 행한다) 이 결과에 양자화특성치(MQUANT)와 양자화 매트릭스의 대응위치의 값을 곱한 후 16으로 나누어, 이 결과에서 소숫점 이하는 절사하여 그 결과가 우수(even number)이면 0에 가까워지는 방향으로 +1 이나 -1 을 더해서 0에 가까운 쪽의 기수(odd number)로 만든다. 이 결과가 2047 보다 클 경우에는 2047로 하고 결과가 -2048 보다 작을 때에는 -2048로 한다. 이것은 역직교변환에서의 오차누적(IDCT mismatch)를 방지하기 위한 것으로서, 이 연산에서 사용되는 양자화특성치(MQUANT)는 슬라이스(slice)에서 선두에서 초기화가 되고 도중에 한 번 갱신되면 다음 갱신 때까지 그 값이 그대로 사용된다.The two-dimensionalized signal in this inverse scanner 23 restores the actual DCT coefficient value in inverse quantizer 24. In this case, the DC coefficient of the in-block block (the value of the upper left corner of the 8 x 8 block) is obtained by multiplying the received quantization value by 8 (that is, [inverse quantization value = 8 x [quantization value]), and the inverse quantization of other coefficients is The AC coefficients (63 other than the left top edge of an 8 x 8 block) first double the received quantization values (between the screens, plus +1 or -1 away from zero) and then add the quantization MQUANT) multiplies the value of the corresponding position in the quantization matrix by dividing by 16.In this result, the decimal point is truncated, and if the result is an even number, +1 or -1 is added in the direction of approaching zero and close to zero. Make it the odd number of the page. If the result is greater than 2047, it is 2047. If the result is less than -2048, it is -2048. This is to prevent IDCT mismatch in the inverse orthogonal transformation. The quantization characteristic value (MQUANT) used in this operation is initialized at the beginning of the slice and updated once in the middle until the next update. This is used as is.

다음에, 역직교변환기(25)에서는 다음 식 2에 의해서 역직교변환(IDCT)이 행해진다.Next, the inverse orthogonal transformer 25 performs inverse orthogonal transformation (IDCT) by the following equation.

[수학식 2][Equation 2]

f(x, y) = f (x, y) =

여기서, u, v, x, y = 0, 1, 2, 3 ... N-1 이고,Where u, v, x, y = 0, 1, 2, 3 ... N-1,

또한 x, y 는 동일한 영역(same domain)내에서의 공간좌표값(spartial coordina- tes) 이며 u, v 는 변환 영역(transform domain) 내에서의 좌표값이다.In addition, x and y are spatial coordinates in the same domain, and u and v are coordinates in the transform domain.

즉, C(u), C(v)=(u, v = 0 인 경우)That is, C (u), C (v) = (if u, v = 0)

1 (기타의 경우) 로 나타낸다.It is represented by 1 (other cases).

참고적으로 MPEG에서 정하고 있는 M x N 블록의 DCT 는 다음의 수학식 3에서와 같이 나타낸다.For reference, the DCT of the M × N block defined in MPEG is expressed as in Equation 3 below.

[수학식 3][Equation 3]

f(u, v) = f (u, v) =

이러한 IDCT는 부호기 측의 정밀도와 복호기 측의 정밀도가 일치하지 않으면 프레임간 오차(예측 오차에 대한 DCT 연산)이 연속되는 경우 부호기와 복호기와의 사이에 오차가 누적된다. 이것을 IDCT 불일치라 하는 데, MPEG에서는 계수의 역양자화에 의해 재현되는 값은 모두 기수(odd number)로 제한하여 이 오차누적을 피하도록 하고 있다. 이러한 IDCT 불일치(IDCT mismatch)의 근본적 원인은 IDCT가 실수계산인데도 데이터는 정수로 되어야 한다는 점에 있다. 예를 들면, IDCT된 화소의 이론치가 정수 + 0.5 일 때 표준이 규정하는 IDCT의 정밀도를 아무리 높여도 반올림에 의해 결과가 1 만큼 어긋날 확률은 1/2이다. 이것을 반올림 방식의 규정에 의해 피하는 것은 가능하지만, 표준화 이전에 이미 DCT나 IDCT 용의 집적회로칩(IC chip)이 시판되고 있어서 IDCT의 결과치를 모두 기수로 제한하므로써, 이 문제에 대처하기로 하였다. 이로 인하여 대부분의 IDCT 불일치 문제는 해결되었다.In the IDCT, if the precision on the encoder side and the precision on the decoder side do not coincide, the error accumulates between the encoder and the decoder when the interframe error (DCT operation for the prediction error) is continuous. This is called IDCT mismatch. In MPEG, all values reproduced by inverse quantization of coefficients are limited to odd numbers to avoid this error accumulation. The root cause of this IDCT mismatch is that even though IDCT is a real calculation, the data must be an integer. For example, when the theoretical value of the IDCT pixel is an integer + 0.5, the probability that the result is shifted by 1 by rounding is 1/2 even if the precision of IDCT prescribed by the standard is increased. It is possible to avoid this by the rounding rule, but before the standardization, ICTs for DCT and IDCT are already on the market, and this problem is decided by limiting all the results of IDCT to radix. This solved most IDCT mismatches.

이후, 움직임보상기(26)에서는 필드 단위 또는 프레임 단위로 움직임의 보상을 수행한다. 따라서, 필드 픽쳐(field picture)에서는 필드 예측(field prediction)을 하고, 프레임 픽쳐(frame picture)에서는 프레임 예측(frame prediction)이나 필드 예측을 모두 이용할 수 있다. 간단한 프레임 픽쳐에서는 16 x 16 매크로 블록 당 P 타입에서는 1개의 움직임 벡터(MV ; motion vector, 이하 MV라 한다)가, B 타입에서는 포워드(forward), 백워드(backward) 2개의 움직임 벡터 MV가 필요하다. 또한, 단순한 필드 예측인 경우에는 16 x 16 매크로 블록 당 P 타입에서는 톱(top), 버텀(bottom) 두 필드로부터 각각 하나씩 2개, B 타입에서는 톱, 버텀, 백워드, 포워드까지 모두 4개의 움직임 벡터 MV가 필요하다. 또한, MPEG Ⅱ에서는 필드 픽쳐에서 16 x 16 예측 모드(prediction mode)를, P 픽쳐에서 듀얼 프라임 모드(dual_prime mode)를 규정하고 있는 데, 이 dual_prime 모드에서는 송신측에서 하나의 MV와 하나의 차분 움직임 벡터(differential motion vector)를 보내고, 디코더에서 이것을 이용하여 4개의 포워드 움직임 벡터를 계산해 내게 된다. 이 모드는 P 픽쳐에서만 이용한다. 16 x 8 픽쳐 모드는 하나의 필드 픽쳐에서의 16 x 16 매크로 블록을 아래와 위의 16 x 8 블록으로 나누어서 아래위 각각의 블록에 대해서 1개씩의 MV를 전송한다. 이와 같이 하는 이유는 필드 픽쳐에서의 수직 이격거리(vertical distance)는 프레임 픽쳐에서의 두배이므로 16 x 16 매크로 블록을 그냥 움직임 보상하기에는 수직축 길이가 너무 길어서 움직임 보상이 제대로 되지 않는 경우가 생기기 때문이다.Thereafter, the motion compensator 26 compensates for the motion in the unit of a field or a unit of frame. Accordingly, field prediction may be performed in a field picture, and both frame prediction and field prediction may be used in a frame picture. In a simple frame picture, one motion vector (MV) is required for a P type per 16 × 16 macroblock, and two motion vectors MV are required in the B type, which are forward and backward. Do. In the case of simple field prediction, two movements, one from the top and bottom two fields in the P type per 16 x 16 macroblock, and four moves from the top, bottom, backward, and forward in the B type. Vector MV is needed. In MPEG II, a 16 x 16 prediction mode is specified for a field picture, and a dual prime mode is specified for a P picture. In this dual_prime mode, one MV and one differential motion are performed on the transmitting side. You send a differential motion vector and the decoder uses it to calculate four forward motion vectors. This mode is only used for P pictures. The 16x8 picture mode divides a 16x16 macroblock in one field picture into 16x8 blocks below and transmits one MV for each block below and below. The reason for this is that the vertical distance in the field picture is twice the frame picture, so the vertical axis length is too long to compensate for the motion of the 16 × 16 macroblock.

한편, 필드 예측은 필드 픽쳐나 프레임 픽쳐에서 모두 이용될 수 있기 때문에 톱(top)이나 버텀(bottom) 필드는 각 필드라도 되고, 한 프레임 내에서의 톱 필드나 버텀 필드를 가리킬 수도 있다. 이때, 디스플레이(display)되는 순서대로 앞의 것을 퍼스트(first), 뒤의 것을 세컨드(second) 필드라고 하는 데, MPEG Ⅱ에서는 바로 그 필드가 톱인가 버텀인가를 지정하게 되어 있어서, 꼭 퍼스트 필드가 톱 필드로 된다는 보장이 없다. 즉, MPEG Ⅱ에서의 필드 예측은 가장 최근에 복원된 필드들에 의해서 행해진다. 이러한 예측과정에서는 프레임 메모리(27)와의 데이터 주고받기를 통하여 이전 프레임의 정보 데이터를 사용하여 최종적으로 예측된 데이터를 디코딩하여 출력하게 된다.On the other hand, since field prediction can be used in both a field picture and a frame picture, the top and bottom fields may be respective fields or may indicate the top field and bottom field in one frame. In this case, the first and the second are called second fields in the order in which they are displayed. In MPEG II, the first field is designated whether the field is top or bottom. There is no guarantee that it will be in the top field. That is, field prediction in MPEG II is done by the most recently reconstructed fields. In this prediction process, the data predicted by using the information data of the previous frame is decoded and outputted through data exchange with the frame memory 27.

상기와 같은 DCT 방식을 사용한 동영상의 부호화에 있어서는, 가변장 부호화 후에In the encoding of the video using the DCT method as described above, after the variable length encoding

버퍼(14)를 통하여 복호기 측으로 보내기 전에 가변장부호화기(13)에서 부호화한 데이터를 포맷팅(formattng)하는 추가의 과정을 거치게 된다.Before the buffer 14 is sent to the decoder through the buffer 14, an additional process of formatting the data encoded by the variable length encoder 13 is performed.

이 과정을 수행하는 데이터 포맷팅 회로의 구성을 도 3에 나타냈는 데, 여기서는 포맷처리부(28)에서 부호기의 가변장부호화기(13)에서 부호화된 데이터를 임시 저장 메모리인 F1 메모리(30)와 F2 메모리(30')에 저장하였다가 이 데이터를 포맷처리부(28)에서 코드 워드 데이터(code word data)와 코드 길이 데이터(code length data)로 구분하여 비디오 세그먼트 포맷(video segment format)에 맞게 처리하여 오류수정제어기(29)로 전송하여 오류를 수정하여 디코더로 보내는 역할을 한다.A configuration of a data formatting circuit for performing this process is shown in FIG. 3, wherein the data encoded by the variable length encoder 13 of the encoder by the format processor 28 is F1 memory 30 and F2 memory which are temporary storage memories. (30 '), the data is divided into code word data and code length data by the format processor 28, and processed according to the video segment format. It transmits to the correction controller 29 to correct the error to send to the decoder.

이 때 데이터의 처리는 세그먼트 단위로 처리되고, 한 개의 세그먼트는 5개의 매크로 블록으로 구성되며, 이 매크로 블록은 각각 6개의 DCT로 구성된다. 그리고, 1개의 DCT는 8 x 8 = 64 개의 화소(= 픽셀 = 비트)로 이루어지므로, 1 세그먼트는 총 1920 비트의 비트 스트림(bit stream) 형태의 데이터열이 된다.At this time, the data is processed in units of segments, one segment is composed of five macro blocks, and each macro block is composed of six DCTs. Since one DCT is composed of 8 x 8 = 64 pixels (= pixel = bits), one segment becomes a data stream in the form of a bit stream of 1920 bits in total.

포맷처리부(28)에서는 패스1, 패스2, 패스3의 3 단계로 구분하여 데이터의 포맷팅 처리를 한다.The format processing unit 28 divides data into three stages: path 1, path 2, and path 3.

패스1에서는 VLC 데이터의 각 DCT 블록을 읽어서 임시 메모리 F1(30)과 F2(30')에 저장하였다가, 해당 세그먼트 데이터열을 버퍼 메모리 S1(31)과 S2(31')에 배분하고, 이때 남는 데이터를 보조 메모리인 MR(32)에 배분한다.In pass 1, each DCT block of the VLC data is read and stored in the temporary memories F1 (30) and F2 (30 '), and the corresponding segment data sequence is distributed to the buffer memories S1 (31) and S2 (31'). The remaining data is distributed to the MR 32 which is the auxiliary memory.

패스2에서는 남아 있는 상기 MR 메모리(32) 내의 데이터를 매크로 블록 단위로 빈 DCT에 배분하고, 이 매크로 블록을 채우고 남아 있는 데이터를 VR 메모리(33)에 저장한다.In pass 2, the remaining data in the MR memory 32 is distributed to the empty DCT in units of macro blocks, the macro blocks are filled, and the remaining data is stored in the VR memory 33.

패스3에서는 남아 있는 VR 메모리(33) 내의 데이터를 세그먼트 단위로 그 세그먼트에서 빈 DCT에 배분한다.In path 3, the remaining data in the VR memory 33 is distributed to the free DCTs in the segments in units of segments.

위와 같은 패스1, 패스2 및 패스3 과정을 거치고도 남은 데이터는 버린다.The remaining data is discarded after the pass 1, pass 2 and pass 3 processes as described above.

이러한 일련의 패스 과정들은 도 4에서와 같은 세그먼트 신호의 각 사이클 주기에 맞추어 이루어지는 데, 이를 살펴 보면 첫 번째 세그먼트 신호가 포맷터에 제공되면 포맷터는 가변장부호화기(13)에서 코딩된 데이터열을 F1(30) 메모리로 읽어들여서 저장한다. 그 다음에, 두 번째 세그먼트 신호가 포맷터에 제공되면 포맷터가 마찬가지로 코딩된 데이터열을 F2(30') 메모리로 읽어들여 저장한다. 이와 동시에 F1(30) 메모리에 저장되었던 데이터를 포맷처리하여 버퍼 메모리 S1(31)로 옮겨 놓는다. 그리고, 세 번째 세그먼트 신호가 제공되면 다시 코딩된 데이터열을 F1(30) 메모리로 읽어들여 저장한다. 이와 동시에 S1(31) 메모리로 옮겨 놓았던 포맷팅된 데이터를 ECC 처리부(29)로 보내는 한편, F2(30') 메모리에 저장되었던 데이터를 포맷처리하여 버퍼 메모리 S2(31')로 옮겨 놓는다. 그리고, 네 번째 세그먼트 신호가 제공되면 S1(31) 메모리로 옮겨 놓았던 포맷팅된 데이터를 ECC 처리부(29)로 보내는 한편, S2(31') 메모리로 옮겨 놓았던 포맷팅된 데이터를 ECC 처리부(29)로 보내고 다시 F1(30) 메모리에 저장되었던 데이터를 포맷처리하여 버퍼 메모리 S1(31)로 옮겨 놓는다. 이후 상기의 일련의 과정을 반복한다.Such a series of pass processes are performed for each cycle period of the segment signal as shown in FIG. 4. Referring to this, when the first segment signal is provided to the formatter, the formatter converts the data string coded by the variable length encoder 13 into F1 ( 30) Read to memory and save. Then, when the second segment signal is provided to the formatter, the formatter similarly reads and stores the coded data string into the F2 (30 ') memory. At the same time, the data stored in the F1 30 memory is formatted and transferred to the buffer memory S1 31. When the third segment signal is provided, the recoded data string is read and stored in the F1 30 memory. At the same time, the formatted data transferred to the S1 31 memory is sent to the ECC processing unit 29, while the data stored in the F2 30 'memory is formatted and transferred to the buffer memory S2 31'. When the fourth segment signal is provided, the formatted data transferred to the S1 31 memory is sent to the ECC processing unit 29, while the formatted data transferred to the S2 31 'memory is sent to the ECC processing unit 29. The data stored in the F1 30 memory is formatted again and transferred to the buffer memory S1 31. After that, the above series of processes are repeated.

이때, 원래의 압축되지 않은 영상 정보가 포맷팅되어 처리되는 과정에서 포맷팅 처리부(28)에서 데이터를 포맷팅하여 버퍼 메모리(S1, S2)로 옮겨 놓을 때의 데이터 포맷 구성 상태를 도 5에 나타내었다.In this case, the data format configuration state when the data is formatted by the formatting processing unit 28 and transferred to the buffer memories S1 and S2 while the original uncompressed image information is formatted and processed is shown in FIG. 5.

이러한 상기 패스1, 2, 3 과정은 1개의 세그먼트 신호 주기 동안에 처리된다.These passes 1, 2 and 3 are processed during one segment signal period.

한편, 상기와 같은 DCT 방식을 사용한 동영상의 부호화에 있어서 가변장 부호화 후에 버퍼(14)를 통하여 복호기 측으로 보내기 전에 가변장부호화기(13)에서 부호화한 데이터를 포맷팅 처리한 데이터는 다시 복호화기에서 디포맷팅 과정을 거쳐서 최종적으로 재생되게 되는 데, 이는 도 6에서와 같이 데이터 포맷팅 단계에서 포맷 처리된 데이터를 ECC 처리부(29)에서 오류를 수정한 후 보내면, 디포맷처리부(36)에서 이 데이터를 입력받아 이 데이터 성분 중에서AC(교류) 성분만을 디코딩하여 연속되는 0의 갯수(run, 런) 데이터와 연속해서 0이 아닌 갯수(level, 레벨) 데이터를 생성하여 이들 두 가지 데이터를 한 조(pair)로 하여 1 개의 부호를 할당하여 이를 DCT 단위로 저장하며 저장된 이 데이터값과 입력되는 데이터 중에서 양자화 번호(Quantization Number)인 QNO 데이터와 DC 성분값(DC값, 모드, 클래스 번호)을 역양자화기(39)로 전송하여 처리하는 역할을 수행한다.On the other hand, in encoding the video using the DCT method as described above, after the variable length encoding is performed, the data that has been formatted by the variable length encoder 13 before being sent to the decoder through the buffer 14 is deformatted by the decoder. After the process is finally reproduced, which is sent in the data formatting step in the data formatting step as shown in Figure 6 after correcting the error in the ECC processing unit 29, the deformatting unit 36 receives this data Of these data components, only the AC (AC) component is decoded to generate continuous zero run data and non-zero level data to combine these two data into a pair. QNO data which is a quantization number among these stored data values and input data And DC component values (DC value, mode, class number) are transmitted to the inverse quantizer 39 for processing.

이 시스템의 데이터 처리는 포맷팅과 마찬가지로 세그먼트 단위로 처리되고, 1 개의 세그먼트는 5 개의 매크로 블록으로 구성되며, 각 매크로 블록은 6개의 DCT 블록으로 구성되었다.The data processing of this system is processed in units of segments like formatting, one segment is composed of five macro blocks, and each macro block is composed of six DCT blocks.

이 디포맷처리부(36)는 포맷처리부에서 패스1, 패스2, 패스3의 3 단계를 거치면서 비디오 세그먼트 포맷에 맞게 데이터를 처리했으므로, 디포맷팅처리부(36)에서도 마찬가지로 패스1, 패스2, 패스3의 3 단계를 거쳐서 처리한다.Since the deformatting unit 36 processes data in accordance with the video segment format while passing through three stages of the path 1, the path 2, and the path 3, the deformatting unit 36 also passes the path 1, the path 2, the path. Processing in 3 steps.

패스1 단계에서는 DCT 블록 단위로 데이터를 디포맷팅 처리하고, 패스2 단계에서는 매크로 블록 단위로 처리하며, 패스3 단계에서는 세그먼트 단위로 처리한다.In the pass1 step, data is deformatted in units of DCT blocks, in the pass2 step, in macroblock units, and in the pass3 step, in units of segments.

이때, 상기 디포맷처리부(36)에서는 상기 패스3 단계에서 DCT 블록을 읽어서 임시 메모리 S1(35)과 S2(35')에 저장하였다가, 해당 세그먼트 데이터열의 디포맷팅을 수행한 후 버퍼 메모리 F1(37)과 F2(38)에 배분하여 저장하여 넣었다가, 신호에 맞추어서 역양자화기(39)로 보낸다. 이때, 디포맷팅하는 과정은 ECC 처리부(29)에서 보내오는 포맷팅된 DCT 데이터에서 압축코딩된 매크로 블록 단위의 데이터 에러(error)와 에러 은폐(conceal) 여부를 나타내는 4 비트로 구성되는 상태 데이터인 STA 성분과, 양자화 번호(Quantization Number) 데이터인 QNO 성분과, DC값·모드·클래스 번호 데이터인 DC 성분과, AC 성분을 함께 처리하여 메모리에 넣는다.In this case, the deformatting unit 36 reads the DCT block in step 3 and stores the DCT block in the temporary memories S1 35 and S2 35 ', and then deformats the corresponding segment data string and then buffers F1 ( 37) and F2 (38) are distributed, stored, and sent to the dequantizer 39 in accordance with the signal. At this time, the de-formatting process is an STA component which is a state data composed of four bits indicating whether a data error and an error concealment of a macroblock unit are compressed in the formatted DCT data sent from the ECC processing unit 29. And the QNO component, which is the quantization number data, the DC component, which is the DC value, mode class number data, and the AC component, are put together in the memory.

그러나, 상기와 같은 종래의 복호화기에서의 데이터 디포맷팅 처리에서는, 부호화기에서 포맷된 데이터가 ECC처리부(29)에서 오류가 수정되어 오는 코딩된 데이터열을 디포맷함에 있어서 각 세그먼트 부호화 데이터의 각 성분별로 구분하여 디포맷 처리하지 않고 한꺼번에 처리하므로써 디포맷 처리시 프로그램의 부담이 많이 가게 되어 디포맷 처리 과정이 복잡하므로 소프트웨어적인 부담이 증가하여 처리 시간이 많이 걸리게 되므로 동영상 재생시 실시간 처리에 부담을 주게 되는 문제점이 있었다.However, in the data deformatting process in the conventional decoder as described above, each component of each segment coded data in the format of the coded data string in which the data formatted in the encoder is corrected by the ECC processing unit 29 is corrected. By decomposing them separately and processing them all at once without deformatting, the program burden becomes heavy during deformatting process, and the deformatting process is complicated, so the software burden increases and the processing time takes a lot. There was a problem.

본 발명은 상기와 같은 문제점을 해결하기 위하여, 상기 디포맷 처리 회로의 ECC처리부와 디포맷처리부 사이에서 상기 ECC처리부에서 입력되는 코딩된 데이터열을 하드웨어 회로를 통하여 각 성분별로 미리 구분하여 상태 데이터인 STA 성분 데이터는 별도의 레지스터로 보내어 역양자화기로 보내는 한편, 디포맷 대상이 아닌 QNO 성분 데이터와 DC 성분 데이터는 디포맷처리부 후단의 버퍼 메모리 F1/F2에 대기시켰다가 AC 성분 데이터만을 디포맷처리부 전단의 메모리 S1/S2로 보내어 디포맷처리부에서 디포맷팅한 후 상기 QNO 성분 데이터와 DC 성분 데이터를 결합하여 역양자화기로 보내어 상기 상태 데이터와 함께 역양자화 처리하게 하므로써, 디포맷 대상 데이터만 직접 읽어서 처리하게 되어 소프트웨어적인 처리 부담을 최소화시켜서 디포맷시 걸리는 데이터 액세스 시간과 전체 디포맷 시간을 단축하게 한 영상복호화기의 데이터 디포맷팅 회로를 제공함에 그 목적이 있다.In order to solve the above problems, the coded data string inputted by the ECC processing unit between the ECC processing unit and the deformatting unit of the deformatting circuit is pre-divided for each component through a hardware circuit to obtain state data. STA component data is sent to a separate register and sent to the inverse quantizer, while QNO component data and DC component data that are not deformatted are queued in buffer memory F1 / F2 at the rear of the deformatter, and only the AC component data is predecessed. Send the data to the memory S1 / S2 and deformat it in the deformatting unit, and then combine the QNO component data and the DC component data and send them to the dequantizer to dequantize the data together with the state data so that only the deformatted data can be read and processed directly. To minimize the software processing overhead It is an object of the present invention to provide a data deformatting circuit of an image decoder which shortens data access time and overall deformatting time.

도 1은 디시티(DCT) 부호화 방식에서 일반적으로 사용되는 부호화기의 블록 회로도.BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block circuit diagram of an encoder generally used in a decitic (DCT) coding scheme.

도 2는 디시티 복호화 방식에서 일반적으로 사용되는 복호화기의 블록 회로도.2 is a block circuit diagram of a decoder generally used in a decidence decoding scheme.

도 3은 디시티 부화기에서의 데이터 포맷팅 처리 회로의 전체 블록 회로도.3 is an overall block circuit diagram of a data formatting processing circuit in a diversity incubator.

도 4는 도 3의 데이터 포맷팅 처리 회로에서 데이터 포맷시 사용되는 세그먼트 사이클을 나타낸 타이밍 패턴도.4 is a timing pattern diagram illustrating a segment cycle used in data format in the data formatting processing circuit of FIG.

도 5는 도 3의 데이터 포맷팅 처리 회로에서 데이터 포맷시 사용되는 버퍼 메모리에서 실제 데이터 수용상태를 나타낸 버퍼 메모리의 데이터 수용 상태도.FIG. 5 is a data accommodating state diagram of a buffer memory showing an actual data accommodating state in a buffer memory used for data formatting in the data formatting processing circuit of FIG.

도 6은 종래의 영상 복화기의 디포맷팅 처리 회로의 전체 블록도.6 is an overall block diagram of a deformatting processing circuit of a conventional video demodulator.

도 7은 본 발명의 영상 복호화기의 디포맷팅 처리 회로의 전체 블록도.7 is an overall block diagram of a deformatting processing circuit of the video decoder of the present invention.

도 8은 도 7에 의한 본 발명의 영상 복호화기의 디포맷팅 처리 회로에서의 분리부의 상세 블록 회로도.8 is a detailed block circuit diagram of a separation unit in a deformatting processing circuit of the video decoder of the present invention according to FIG. 7;

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

11: 직교변환기12: 양자화기11: Quadrature Converter 12: Quantizer

13: 가변장부호화기14: 버퍼13: variable-length encoder 14: buffer

15, 24, 39: 역양자화기16, 25: 역직교변환기15, 24, 39: inverse quantizer 16, 25: inverse orthogonal converter

17: 제1가산기18: 제2가산기17: first adder 18: second adder

19: 움직임예측기20: 움직임 계산기19: motion predictor 20: motion calculator

21, 27: 프레임 메모리 22: 가변장복호화기21, 27: frame memory 22: variable length decoder

23: 역스캐너26: 움직임보상기23: reverse scanner 26: motion compensator

28: 포맷처리부 29: ECC 처리부28: format processing unit 29: ECC processing unit

30, 30': F1, F2 메모리31, 31': S1, S2 메모리30, 30 ': F1, F2 memory 31, 31': S1, S2 memory

32: MR 메모리 33: VR 메모리32: MR memory 33: VR memory

34: 보조메모리부341: AR 메모리34: auxiliary memory section 341: AR memory

342: R/W 컨트롤러343: 주소 메모리342: R / W controller 343: address memory

35, 35': S1, S2 버퍼 메모리36 : 디포맷처리부35, 35 ': S1, S2 buffer memory 36: Deformatting section

37, 37': F1, F2 버퍼 메모리40: 분리부37, 37 ': F1, F2 buffer memory 40: separation part

401, 402, 403: R3, R2, R1 레지스터404: 카운터401, 402, 403: R3, R2, R1 Register 404: Counter

405, 406, 407:제어기408, 409, 410: r1, r2, r3 버퍼405, 406, 407: Controller 408, 409, 410: r1, r2, r3 buffer

상기 목적을 달성하기 위하여 본 발명은, 부호화기의 포맷팅 회로에서 포맷된 데이터의 오류를 수정하는 ECC처리부와, 상기 ECC처리부에서 보내오는 데이터를 받아 이를 데이터의 성분별로 분리하는 분리부와, 상기 분리부에서 성분이 분리된 각 성분 데이터를 디포맷팅 처리하는 디포맷처리부와, 상기 디포맷처리부에서 디포맷된 데이터의 실제 DCT 계수값을 복원하는 역양자화를 수행하는 역양자화기와, 상기 디포맷처리부가 데이터를 디포맷팅할 때 상기 디포맷처리부의 제어에 의해 분리부에서 분리된 AC 성분 데이터를 버퍼링하는 버퍼 메모리와, 상기 디포맷처리부가 데이터를 디포맷팅할 때 상기 디포맷처리부의 제어에 의해 분리부에서 분리된 DC 성분 데이터를 버퍼링하는 버퍼 메모리를 포함하여 구성되었다.In order to achieve the above object, the present invention provides an ECC processing unit for correcting errors in data formatted by an encoding circuit of an encoder, a separating unit for receiving data from the ECC processing unit and separating the data by components of the data; A deformatting unit for deformatting each component data separated from a component, a dequantizer for performing dequantization for restoring actual DCT coefficient values of the deformatted data in the deformatting unit, and the deformatting unit for data A buffer memory for buffering the AC component data separated in the separating unit by the control of the deformatting unit when deformatting the data, and in the separating unit under the control of the deformatting unit when the deformatting unit deformats the data. It includes a buffer memory for buffering the separated DC component data.

이와 같은 본 발명은, 부호화기의 포맷팅 회로의 ECC처리부에서 포맷된 데이터의 오류를 수정하여 보내면, 상기 분리부에서 포맷팅 단계에서 입력되어 오는 데이터를 각 성분별(STA, QNO, DC, AC)로 분리하여 디포맷 대상 성분 데이터만 디포맷처리부에서 디포맷 처리를 행하여 후단의 역양자화기에서 디포맷된 데이터와 나머지 성분 데이터를 함께 양자화하여 원래의 DCT 계수를 복원하도록 되어 있다.In the present invention as described above, when the error of the formatted data is sent by the ECC processing unit of the formatter of the encoder, the data input in the formatting step in the separation unit is separated into respective components (STA, QNO, DC, AC). Then, only the component data to be deformatted is deformatted by the deformatting unit to quantize the deformatted data and the remaining component data together in a subsequent dequantizer to restore the original DCT coefficients.

이하 첨부된 도면을 참조하여 본 발명의 일 실시예를 상세히 설명한다.Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings.

상기와 같은 목적을 달성하기 위한 본 발명은 도 7에서와 같이, 디포맷팅 회로 전단의 부호화기의 포맷팅 회로에서 포맷된 데이터의 오류를 수정하는 ECC처리부(29)와, 상기 ECC처리부(29)에서 보내오는 데이터를 받아 이를 데이터의 성분별로 분리하는 분리부(40)와, 상기 분리부(40)에서 성분이 분리된 각 성분 데이터를 디포맷팅 처리하는 디포맷처리부(36)와, 상기 디포맷처리부(36)에서 디포맷된 데이터의 실제 DCT 계수값을 복원하는 역양자화를 수행하는 역양자화기(39)와, 상기 디포맷처리부(36)가 데이터를 디포맷팅할 때 상기 디포맷처리부(36)의 제어에 의해 분리부(40)에서 분리된 AC 성분 데이터를 버퍼링하는 버퍼 메모리 S1/S2(35, 35')와, 상기 디포맷처리부(36)가 데이터를 디포맷팅할 때 상기 디포맷처리부(36)의 제어에 의해 분리부(40)에서 분리된 DC 성분과 양자화번호 성분(QNO) 데이터를 버퍼링하는 버퍼 메모리 F1/F2(37, 38)를 포함하여 구성되었다.The present invention for achieving the above object is sent to the ECC processing unit 29 and the ECC processing unit 29 for correcting errors in the data formatted in the formatter circuit of the encoder in front of the deformatting circuit as shown in FIG. A separating unit 40 which receives the incoming data and separates it for each component of the data, a deformatting unit 36 which deformats each component data in which the components are separated in the separating unit 40, and the deformatting unit ( An inverse quantizer 39 for performing inverse quantization for restoring the actual DCT coefficient value of the data deformatted in 36), and the deformatter 36 of the deformatter 36 when the deformatter 36 deformats the data. A buffer memory S1 / S2 (35, 35 ') for buffering the AC component data separated by the separating unit 40 by control, and the deformatting unit 36 when the deformatting unit 36 deformats the data. DC component separated from the separation unit 40 by the control of Quantized code components (QNO) buffer memory F1 / F2 (37, 38) for buffering the data was configured to include a.

상기 분리부(40)는 도 8에서와 같이, 전단의 부호화기 측의 포맷팅 회로의 ECC처리부(29)에서 포맷된 데이터에서 오류가 수정된 데이터를 입력받아 저장하는 레지스터 수단과, 상기 레지스터 수단으로부터 저장된 데이터를 각 성분별로 구분하여 각각 별도의 버퍼 메모리에 일시 저장하는 버퍼링 수단과, 시스템 클럭을 카운트하여 상기 버퍼링 수단에 각각의 성분 데이터를 읽는 인에이블 신호를 제공하는 제어 수단을 포함하여 구성되었다.As shown in FIG. 8, the separating unit 40 includes register means for receiving and storing data corrected by an error from data formatted by the ECC processing unit 29 of the formatting circuit on the encoder side of the front end, and stored from the register means. And buffering means for dividing the data for each component and temporarily storing the data in a separate buffer memory, and controlling means for counting a system clock and providing an enable signal for reading each component data to the buffering means.

또한 상기에서, 상기 레지스터 수단은 부호화기의 포맷팅 회로의 ECC처리부(29)로부터 오류가 수정되어 오는 포맷된 데이터를 순차적으로 입력받는 레지스터 R3, R2, R1(401, 402, 403)을 포함하여 구성되었다.Also, the register means includes registers R3, R2, and R1 (401, 402, 403) which sequentially receive formatted data from which an error is corrected from the ECC processing unit 29 of the formatter of the encoder. .

상기 버퍼링 수단은 상기 레지스터 R1(403)으로부터 상태 데이터(STA)를 읽어와서 저장하는 임시저장하는 버퍼인 r1(408)과, 상기 레지스터 R3∼R1(403∼401)으로부터 DC 성분 데이터와 양자화번호 데이터(QNO)를 읽어와서 저장하는 임시저장하는 버퍼인 r2(409)와, 상기 레지스터 R3∼R1(403∼401)으로부터 AC 성분 데이터(AC)를 읽어와서 저장하는 임시저장하는 버퍼인 r3(410)을 포함하여 구성되었다.The buffering means includes r1 (408) which is a temporary storage buffer for reading and storing state data (STA) from the register R1 (403), and DC component data and quantization number data from the registers R3 to R1 (403 to 401). R2 (409), a temporary storage buffer for reading and storing (QNO), and r3 (410), a temporary storage buffer for reading and storing AC component data (AC) from the registers R3 to R1 (403 to 401). It was configured to include.

그리고, 상기 제어 수단은 시스템이 제공하는 인에이블(enable) 신호를 카운트하여 각 성분별 읽기 인에이블 신호를 제공하는 카운터(404)와, 상기 카운터에서 제공하는 인에이블 신호에 따라 상기 레지스터 R3∼R1(403∼401)으로부터 각각의 성분 데이터를 읽어내도록 상기 버퍼 메모리 r1∼r3에 제어신호를 제공하는 제어기(405, 406, 407)를 포함하여 구성되었다.The control means includes a counter 404 for counting an enable signal provided by the system and providing a read enable signal for each component, and the registers R3 to R1 according to the enable signal provided by the counter. And controllers 405, 406, and 407 which provide control signals to the buffer memories r1 to r3 to read respective component data from (403 to 401).

이와 같이 구성되는 본 발명은, 도 7에서 볼 수 있는 바와 같이, 디포맷팅 회로 전단의 부호화기의 포맷팅 회로의 ECC처리부(29)에서 포맷된 데이터의 오류를 수정하여 보내면, 본 발명에 의한 디포맷팅 회로의 분리부(40)에서 상기 입력되어 오는 데이터의 각 성분별(STA, QNO, DC, AC)로 분리하여 디포맷처리부(36)로 보내어 포맷된 데이터의 디포맷 처리를 행한 후 후단의 역양자화기(39)에서 역양자화시켜서 원래의 DCT 계수를 복원하게 된다.According to the present invention configured as described above, as shown in FIG. 7, when the error of the formatted data is sent by the ECC processing unit 29 of the formatting circuit of the encoder before the deformatting circuit, the deformatting circuit according to the present invention is corrected. In the separating unit 40, the input data is separated into each component (STA, QNO, DC, AC) and sent to the deformatting unit 36 to deformat the formatted data, and then dequantized at a later stage. Inverse quantization at the device 39 restores the original DCT coefficients.

이때, 상기 분리부(40)에서 입력되어 오는 데이터의 각 성분별(STA, QNO, DC, AC)로 분리하는 과정을 자세히 살펴 보면보면, 도 8에서와 같이, 먼저 분리부(40)에 입력되는 데이터는 시스템이 제공하는 클럭에 맞추어 레지스터 수단의 3개의 레지스터 R3(401), R2(402), R1(403)로 입력된다. 이때, 입력되는 데이터는 8 비트 단위로 입력되므로 3개의 레지스터 각각에는 순차적으로 8 비트씩의 데이터를 계속 읽어 들인다.At this time, looking at the process of separating into each component (STA, QNO, DC, AC) of the data input from the separator 40 in detail, as shown in Figure 8, first input to the separator 40 The data to be input is input to three registers R3 (401), R2 (402) and R1 (403) of the register means in accordance with the clock provided by the system. At this time, since the input data is input in units of 8 bits, 8 bits of data are sequentially read in each of the three registers.

한편, 제어수단의 카운터에서(404)는 상기와 같이 3개의 레지스터 각각에 데이터가 입력되면, 시스템으로부터 제공되는 인에이블 신호(enable)를 입력받아 타이밍을 계산하여 상기 레지스터 수단에 일시 저장된 데이터를 디포맷처리부(36)가 각 성분별로 분리하여 읽어서 버퍼링 수단의 각 버퍼에 저장할 수 있도록 각 성분별 데이터 읽기 인에이블 신호를 제공하는 3개의 제어기(405, 406, 407) 각각에 별도의 인에이블 신호를 제공한다. 그러면, 상기 3개의 제어기에서는 각각 STA-EN 신호와 DC/QNO-EN 신호 및 AC-EN 신호를 생성하여 디포맷처리부(36)로 제공하여 상기 3개의 레지스터에 일시 저장하였던 데이터를 각 성분별로 분리하여 읽어서 버퍼링 수단의 버퍼 메모리로 옮겨 놓도록 한다,On the other hand, in the counter of the control means 404 when the data is input to each of the three registers as described above, receives the enable signal (enable) provided from the system to calculate the timing to decode the data temporarily stored in the register means A separate enable signal is provided to each of the three controllers 405, 406, and 407 that provide data read enable signals for each component so that the format processor 36 can read the components separately and store them in each buffer of the buffering means. to provide. Then, the three controllers generate STA-EN signals, DC / QNO-EN signals, and AC-EN signals, and provide them to the deformatter 36 to separate data temporarily stored in the three registers for each component. Read it and transfer it to the buffer memory of the buffering means.

이에 따라 디포맷처리부(36)에서는 STA-EN 신호가 입력되면 데이터의 상태 성분 데이터(STA)가 4 비트이므로, 레지스터 R1(403)의 최상위 4 비트(7:4)를 읽어서 버퍼링 수단의 버퍼 메모리 r1(408)에 옮겨 놓는다. 다음으로 DC/QNO-EN 신호가 입력되면 데이터의 압축된 DC 성분과 양자화 번호(QNO) 성분 데이터는 각각 DC 성분이 12 비트이고 QNO가 4 비트이므로, 레지스터 R1(403)의 하위 4 비트(3:0)와 레지스터R2(402)의 전체 8 4 비트(7:0) 및 R3(401)의 상위 4 비트(7:4)를 읽어서 버퍼링 수단의 버퍼 메모리 r2(409)에 옮겨 놓는다. 그리고, AC-EN 신호가 입력되면 압축된 데이터의 AC 성분 데이터는 16 비트이므로 다음으로 입력되는 레지스터 R1(403)의 하위 4 비트(3:0)와 레지스터 R2(402)의 전체 8 비트(7:0) 및 R3(401)의 상위 4 비트(7:4)를 읽어서 버퍼링 수단의 버퍼 메모리 r3(410)에 옮겨 놓는다.As a result, when the STA-EN signal is input, the deformatting unit 36 reads the most significant four bits (7: 4) of the register R1 (403) and buffers the buffer memory. move to r1 (408). Next, when the DC / QNO-EN signal is input, the compressed DC component and the quantization number (QNO) component data of the data have 12 bits of DC component and 4 bits of QNO, respectively, so that the lower 4 bits (3) of the register R1 (403) are used. Reads: 0) and all 8 4 bits (7: 0) of register R2 (402) and the upper 4 bits (7: 4) of R3 (401) and transfers them to buffer memory r2 (409) of the buffering means. When the AC-EN signal is input, since the AC component data of the compressed data is 16 bits, the lower 4 bits (3: 0) of the next register R1 403 and the entire 8 bits (7) of the register R2 402 are input. The upper 4 bits (7: 4) of: 0) and R3 (401) are read and transferred to the buffer memory r3 (410) of the buffering means.

이렇게 데이터의 각 성분별로 데이터를 분리하여 옮겨진 데이터는 이후 디포맷처리부(36)에서 행하는 디포맷 과정에서 버퍼링 수단의 R1(408) 버퍼에 옮겨진 상태 성분 데이터(STA)는 단순히 데이터의 비트 스트림의 상태를 나타내는 상태 성분 데이터(이 4개의 비트값이 0 이면 올바른 데이터이고, 0 이 아니면 에러가 발생된 데이터로 구분하는 데 사용되는 데이터)이므로 디포맷 과정에서는 사용되지 않는 불필요한 데이터 성분이므로 별도의 레지스터(도면 미표시)로 보내고, 디포맷 대상 데이터인 AC 성분 데이터(8 x 8 DCT 블록의 좌상귀 DC 성분 1 비트를 제외한 나머지 63 비트의 AC 성분을 나타내는 압축된 데이터)는 버퍼 메모리 S1/S2(35, 35')로 보내어 디포맷처리부(36)에서 디포맷처리하게 한다. 한편, DC/QNO 성분 데이터는 디포맷할 필요가 없는 데이터(8 x 8 DCT 블록의 DC 성분을 나타내는 좌상귀 1 비트들만이 압축된 데이터이므로 디포맷할 필요가 없고, QNO 성분 데이터는 양자화단계에서 사용된 양자화특성치(MQUANT) 데이터이므로 또한 디포맷 대상 성분이 아니다)이므로 버퍼 메모리 F1/F2(37, 38)로 보내었다가 이후 디포맷된 AC 성분 데이터와 다시 결합하여 역양자화기(39)에서 전체적으로 역양자화를 거쳐서 완전한 디포맷이 이루어지도록 되어 있다.The data transferred by separating the data for each component of the data is transferred to the R1 408 buffer of the buffering means during the deformatting process performed by the deformatting unit 36. The component data STA is simply the state of the bit stream of the data. It is an unnecessary data element that is not used during the deformatting process because it is the state component data (the data of these 4 bits is 0, which is valid data. AC component data (compressed data representing 63 bits of AC component except the upper left DC component 1 bit of an 8 x 8 DCT block) to be deformatted data is stored in the buffer memory S1 / S2 (35, 35). ') To be deformatted by the deformatting section 36. On the other hand, DC / QNO component data does not need to be decoded (only the upper left 1 bit representing the DC component of an 8 x 8 DCT block is compressed and does not need to be deformatted, and the QNO component data is used in the quantization step). The data is sent to the buffer memory F1 / F2 (37, 38), and then recombined with the deformatted AC component data so as to be used as a whole in the dequantizer 39. Inverse quantization ensures complete deformatting.

상기와 같이, 본 발명에 의한 디포맷 처리 방식은 포맷처리 단계에서 포맷되어 오는 데이터를 디포맷 처리 단계에서 함께 디포맷하지 않고 미리 데이터를 하드웨어 회로를 통하여 각 성분별로 분리하여 디포맷 처리하게 하므로써, 디포맷처리부(36)에서 디포맷할 때에 디포맷 대상 데이터만을 버퍼(35, 35')에서 직접 가져와서 디포맷하게 되므로 디포맷처리부(36)에서 소프트웨어작으로 처리하는 부담이 최소화되어 디포맷시에 발생되는 데이터 액세스 시간이 많이 단축될 뿐만 아니라, 실제 데이터의 디포맷 시간도 빨라지게 된다.As described above, the deformat processing method according to the present invention allows the data to be formatted in the format processing step without being deformatted together in the deformat processing step, so that the data is separated and deformatted by each component through a hardware circuit in advance. When deformatting by the deformatting section 36, only the deformatted data is taken directly from the buffers 35 and 35 'and deformatted, so that the burden of processing by software in the deformatting section 36 is minimized. In addition to shortening the data access time that is generated, the reformat time of the actual data is also shortened.

이와 같이 이루어지는 본 발명은, 포맷된 영상 정보를 복호화하는 과정에서 디포맷함에 있어서 데이터의 성분을 미리 분리하여 디포맷 처리하게 하므로써, 디포맷시에 발생되는 데이터 액세스 시간이 많이 단축됨과 함께 실제 데이터의 디포맷 시간도 빨라지게 되어 시스템의 성능을 향상시키는 효과가 있다.According to the present invention as described above, in the process of decoding the formatted video information, the data components are separated and deformatted in advance, thereby shortening the data access time generated during the reformatting and the actual data. Deformatting time is also faster, which improves the performance of the system.

Claims (5)

DCT 처리된 영상 데이터를 부호화 코딩하여 복호화하는 복호화기에 사용되는 데이터 디포맷팅 처리 회로에 있어서,In a data deformatting processing circuit used for a decoder for encoding and decoding DCT processed image data, 디포맷팅 회로 전단의 부호화기의 포맷팅 회로에서 포맷된 데이터의 오류를 수정하는 ECC처리부(29)와;An ECC processing unit 29 for correcting errors of data formatted in the formatter circuit of the encoder preceding the deformatter circuit; 상기 ECC처리부(29)에서 보내오는 데이터를 받아 이를 데이터의 성분별로 분리하는 분리부(40)와;A separation unit 40 which receives the data sent from the ECC processing unit 29 and separates the data by the components of the data; 상기 분리부(40)에서 성분이 분리된 각 성분 데이터를 디포맷팅 처리하는 디포맷처리부(36)와;A deformatting unit 36 which deformats each component data from which the components are separated in the separating unit 40; 상기 디포맷처리부(36)에서 디포맷된 데이터의 실제 DCT 계수값을 복원하는 역양자화를 수행하는 역양자화기(39)와;An inverse quantizer (39) for performing inverse quantization for restoring the actual DCT coefficient value of the data deformatted by the deformatter (36); 상기 디포맷처리부(36)가 데이터를 디포맷팅할 때 상기 디포맷처리부(36)의 제어에 의해 분리부(40)에서 분리된 AC 성분 데이터를 버퍼링하는 버퍼 메모리 S1/S2(35, 35')와;Buffer memory S1 / S2 (35, 35 ') which buffers AC component data separated in separation section 40 under control of deformatting section 36 when the deformatting section 36 deformats data. Wow; 상기 디포맷처리부(36)가 데이터를 디포맷팅할 때 상기 디포맷처리부(36)의 제어에 의해 분리부(40)에서 분리된 DC 성분과 양자화번호 성분(QNO) 데이터를 버퍼링하는 버퍼 메모리 F1/F2(37, 38)를 포함하여 이루어지는 것을 특징으로 하는 영상부호화기의 데이터 디포맷팅 회로.Buffer memory F1 / which buffers the DC component and the quantization number component (QNO) data separated by the separating unit 40 under the control of the deformatting unit 36 when the deformatting unit 36 deformats the data. A data deformatting circuit of an image encoder comprising: F2 (37, 38). 제 1항에 있어서, 상기 분리부(40)는 전단의 부호화기 측의 포맷팅 회로의 ECC처리부(29)에서 포맷된 데이터에서 오류가 수정된 데이터를 입력받아 저장하는 레지스터 수단과;The data processing apparatus according to claim 1, wherein the separation unit (40) comprises: register means for receiving and storing error-corrected data from the data formatted by the ECC processing unit (29) of the formatting circuit on the encoder side of the front end; 상기 레지스터 수단으로부터 저장된 데이터를 각 성분별로 구분하여 각각 별도의 버퍼 메모리에 일시 저장하는 버퍼링 수단과;Buffering means for dividing the data stored from the register means for each component and temporarily storing the data stored in separate buffer memories; 시스템 클럭을 카운트하여 상기 버퍼링 수단에 각각의 성분 데이터를 읽는 인에이블 신호를 제공하는 제어 수단을 포함하여 이루어지는 것을 특징으로 하는 영상부호화기의 데이터 디포맷팅 회로.And control means for counting a system clock and providing an enable signal for reading the respective component data to the buffering means. 제 2항에 있어서, 상기 레지스터 수단은 부호화기의 포맷팅 회로의 ECC처리부(29)로부터 오류가 수정되어 오는 포맷된 데이터를 순차적으로 입력받는 레지스터 R3, R2, R1(401, 402, 403)을 포함하여 이루어지는 것을 특징으로 하는 영상부호화기의 데이터 디포맷팅 회로.3. The register according to claim 2, wherein the register means includes registers R3, R2, and R1 (401, 402, 403) which sequentially receive formatted data from which an error is corrected from the ECC processing unit 29 of the formatter of the encoder. And a data deformatting circuit of the video encoder. 제 2항에 있어서, 상기 버퍼링 수단은 상기 레지스터 R1(403)으로부터 상태 데이터(STA)를 읽어와서 저장하는 임시저장하는 버퍼인 r1(408)과;3. The apparatus of claim 2, wherein the buffering means comprises: a r1 (408) which is a temporary storage buffer for reading and storing state data (STA) from the register R1 (403); 상기 레지스터 R3∼R1(403∼401)으로부터 DC 성분 데이터와 양자화번호 데이터(DC/QNO)를 읽어와서 저장하는 임시저장하는 버퍼인 r2(409)와;R2 (409) which is a temporary storage buffer which reads and stores DC component data and quantization number data (DC / QNO) from the registers R3 to R1 (403 to 401); 상기 레지스터 R3∼R1(403∼401)으로부터 AC 성분 데이터(AC)를 읽어와서 저장하는 임시저장하는 버퍼인 r3(410)을 포함하여 이루어지는 것을 특징으로 하는 영상부호화기의 데이터 디포맷팅 회로.And r3 (410) which is a temporary storage buffer for reading and storing AC component data (AC) from said registers R3 to R1 (403 to 401). 제 2항에 있어서, 상기 제어 수단은 시스템이 제공하는 인에이블 신호를 카운트하여 각 성분별 읽기 인에이블 신호를 제공하는 카운터(404)와;3. The apparatus of claim 2, wherein the control means comprises: a counter (404) for counting an enable signal provided by the system and providing a read enable signal for each component; 상기 카운터에서 제공하는 인에이블 신호에 따라 상기 레지스터 R3∼R1(403∼401)으로부터 각각의 성분 데이터를 읽어내도록 상기 버퍼 메모리 r1∼r3에 제어신호를 제공하는 제어기(405, 406, 407)를 포함하여 이루어지는 것을 특징으로 하는 영상부호화기의 데이터 디포맷팅 회로 .A controller (405, 406, 407) for providing a control signal to the buffer memories r1 to r3 to read respective component data from the registers R3 to R1 (403 to 401) according to the enable signal provided by the counter. A data deformatting circuit of an image encoder, characterized in that it is made.
KR1019960050179A 1996-10-30 1996-10-30 Data deformatting circuit of picture encoder KR100210124B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960050179A KR100210124B1 (en) 1996-10-30 1996-10-30 Data deformatting circuit of picture encoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960050179A KR100210124B1 (en) 1996-10-30 1996-10-30 Data deformatting circuit of picture encoder

Publications (2)

Publication Number Publication Date
KR19980030711A true KR19980030711A (en) 1998-07-25
KR100210124B1 KR100210124B1 (en) 1999-07-15

Family

ID=19479784

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960050179A KR100210124B1 (en) 1996-10-30 1996-10-30 Data deformatting circuit of picture encoder

Country Status (1)

Country Link
KR (1) KR100210124B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000042558A (en) * 1998-12-26 2000-07-15 전주범 Device for deformatting dvcr

Also Published As

Publication number Publication date
KR100210124B1 (en) 1999-07-15

Similar Documents

Publication Publication Date Title
EP0519962B1 (en) Digital image coding using a random scanning of image frames
EP0730385B1 (en) Video signal decompression apparatus
JP4216341B2 (en) Pixel block compression apparatus in an image processing system
KR100256005B1 (en) Image signal compression device
KR100566826B1 (en) System for processing a data stream of compressed image representative pixel data blocks
US5724446A (en) Video decoder apparatus using non-reference frame as an additional prediction source and method therefor
KR100253931B1 (en) Approximate mpeg decoder with compressed reference frames
JP3338639B2 (en) Digital video decoder and method for decoding digital video signal
EP0585051B1 (en) Image processing method and apparatus
KR19990036188A (en) Method and apparatus for decoding encoded digital video signal
EP0827344A2 (en) Video decoder
US7095448B2 (en) Image processing circuit and method for modifying a pixel value
US5991445A (en) Image processing apparatus
JP2000333163A (en) Decoder, its method, coder, its method, image processing system and image processing method
JP4260894B2 (en) Memory efficient compression device in an image processing system
US6160847A (en) Detection mechanism for video channel underflow in MPEG-2 video decoding
US7436889B2 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
JP4201839B2 (en) Overhead data processor of image processing system that effectively uses memory
US5614953A (en) Image signal decoding apparatus having an encoding error compensation
JP3990011B2 (en) Decoded image conversion circuit and decoded image conversion device
US6205250B1 (en) System and method for minimizing clock cycles lost to overhead data in a video decoder
KR100210124B1 (en) Data deformatting circuit of picture encoder
US7103102B2 (en) Bit stream code lookup table for an MPEG-4 code word
US5774590A (en) Image data reproducing apparatus
JPH07107464A (en) Picture encoding device and decoding device

Legal Events

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

Payment date: 20120413

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20130401

Year of fee payment: 15

LAPS Lapse due to unpaid annual fee