KR100565714B1 - Apparatus for video decoding and method for the same - Google Patents

Apparatus for video decoding and method for the same Download PDF

Info

Publication number
KR100565714B1
KR100565714B1 KR1019980054169A KR19980054169A KR100565714B1 KR 100565714 B1 KR100565714 B1 KR 100565714B1 KR 1019980054169 A KR1019980054169 A KR 1019980054169A KR 19980054169 A KR19980054169 A KR 19980054169A KR 100565714 B1 KR100565714 B1 KR 100565714B1
Authority
KR
South Korea
Prior art keywords
buffer
dct coefficients
coefficients
dct
input format
Prior art date
Application number
KR1019980054169A
Other languages
Korean (ko)
Other versions
KR20000038981A (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 KR1019980054169A priority Critical patent/KR100565714B1/en
Publication of KR20000038981A publication Critical patent/KR20000038981A/en
Application granted granted Critical
Publication of KR100565714B1 publication Critical patent/KR100565714B1/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/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
    • 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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • 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]

Abstract

비디오 디코딩 장치 및 방법에 관한 것으로서, 특히 데이터의 처리 양과 속도가 많이 요구되는 SDTV의 HD급 입력 포맷에 대해서는 수평 로우 패스 필터링에 의해 다운 컨버젼을 함으로써, 비디오 디스플레이 해상도에 독립적인 역 양자화를 수행할 수 있으며, 또한 상기 다운 컨버젼된 HD급 DCT 계수에 대해 탄력적인 더블 버퍼링으로 일정한 데이터 전송 레이트를 유지하도록 함으로써, 비디오 입력 포맷에 관계없이 일정한 속도에서 안정적인 동작이 가능한 ASIC을 구현할 수 있다. 그리고, 역양자화된 DCT 계수를 계수 버퍼에 저장하면서 VLD에서 보내준 계수들의 위치정보를 이용하여 쓸때는 DCT 계수를 하나씩 쓰고, 읽을 때는 복수개의 DCT 계수를 동시에 읽어 시리얼로 입력된 데이터를 패러럴로 출력함으로써, 클럭의 속도를 낮출 수 있어 하드웨어에 부담을 줄인다.The present invention relates to a video decoding apparatus and method. In particular, an HD-level input format of SDTV, which requires a large amount of data processing speed and speed, can be down-converted by horizontal low pass filtering to perform inverse quantization independent of video display resolution. In addition, by maintaining a constant data transmission rate by elastic double buffering for the down-converted HD-class DCT coefficients, it is possible to implement an ASIC capable of stable operation at a constant speed regardless of the video input format. By storing the dequantized DCT coefficients in the coefficient buffer and using the position information of the coefficients sent from the VLD, the DCT coefficients are written one by one, and when reading, a plurality of DCT coefficients are read at the same time to output serial data in parallel. In addition, the clock speed can be lowered, thus reducing the burden on the hardware.

Description

비디오 디코딩 장치 및 방법{Apparatus for video decoding and method for the same}Apparatus for video decoding and method for the same}

본 발명은 디지털 티브이(TV)에 관한 것으로서, 특히 압축 전송된 비디오 신호를 디코딩하는 비디오 디코딩 장치 및 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to digital television (TV), and more particularly, to a video decoding apparatus and method for decoding a compressed transmitted video signal.

일반적으로 디지털 TV 방송은 현재 북미에서 시험 방송 중에 있으며 우리 나라도 조만간 시험 방송을 거쳐 본격적인 디지털 방송의 시대로 접어들게 될 것이다. 따라서, 21세기 초반까지는 현재의 아날로그 방송이 디지털 방송으로 대체될 것이다.In general, digital TV broadcasting is currently being piloted in North America, and our country will soon enter the era of full-scale digital broadcasting through trial broadcasting. Thus, by the early 21st century, current analog broadcasting will be replaced by digital broadcasting.

현재, 디지털 방송의 규격은 북미 규격과 유럽 규격이 있으며, 북미의 규격은 ATSC(Advanced Television Systems Committee)의 규격을 따르고 있다. 상기 ATSC에서 제안하는 디지털 TV에는 HDTV(High definition TV)와 SDTV(Standard definition TV)가 있으며, 이러한 디지털 TV의 비디오 디코더는 MPEG(Moving picture experts group)-2에 기반하고 있다.Currently, digital broadcasting standards include North American and European standards, and North American standards follow the specifications of the Advanced Television Systems Committee (ATSC). The digital TV proposed by ATSC includes HDTV (High definition TV) and SDTV (Standard definition TV), and the video decoder of such digital TV is based on Moving Picture Experts Group (MPEG-2).

여기서, SDTV는 기존의 아날로그 TV에서 HDTV로의 과도기적 TV 수상기의 역할을 하게되며 NTSC 신호의 디코딩은 물론 모든 디지털 TV의 입력 포맷을 디코딩할 수 있는 구조를 가져야 한다.Here, the SDTV plays a role of a transitional TV receiver from the conventional analog TV to the HDTV, and has a structure capable of decoding the input format of all digital TVs as well as the decoding of the NTSC signal.

이때, SDTV의 비디오 입력 포맷은 크게 1920×1080, 1280×720, 704×480, 640×480을 가지는데, 이들 중 1920×1080, 1280×720은 HD급 입력 포맷으로 간주하고, 704×480, 640×480은 SD급 입력 포맷으로 간주한다.At this time, the video input formats of SDTV are largely 1920 × 1080, 1280 × 720, 704 × 480, 640 × 480. Among these, 1920 × 1080, 1280 × 720 are regarded as HD class input formats, and 704 × 480, 640 × 480 is considered as SD input format.

도 1은 일반적인 디지털 TV에서 비디오 디코더의 구성 블록도로서, 엔코더에서 전송되어 입력되는 비디오 비트스트림은 가변 길이 디코더(Variable Length Decoder ; VLD)(101)에서 가변길이 디코딩되어 움직임 벡터, 양자화 값, 양자화된 DCT 계수로 분리된 후 양자화 값과 DCT 계수는 역 양자화(Inverse Quantizer ; IQ)부(102)로 출력되고, 움직임 벡터는 움직임 보상부(104)로 출력된다.FIG. 1 is a block diagram illustrating a video decoder in a general digital TV. The video bitstream transmitted from an encoder is variable-length decoded by a variable length decoder (VLD) 101 so that motion vector, quantization value, and quantization are decoded. The quantization value and the DCT coefficient are output to the inverse quantizer (IQ) unit 102, and the motion vector is output to the motion compensator 104.

이때, 상기 VLD(101)에서는 일 예로서, DCT 계수가 런-레벨로 디코딩된다. 즉, 하나의 DCT 블록은 8×8의 계수들로 이루어져 있는데 이들 중 0이 아닌 계수들만 코드속에 들어있으므로 VLD(101)의 출력은 0이 아닌 계수들의 크기, 즉 레벨과 이 계수들 사이에 0이 얼마나 삽입되어 있는지에 대한 런이 출력된다.At this time, in the VLD 101, as an example, DCT coefficients are decoded at a run-level. That is, one DCT block is composed of 8x8 coefficients, and only non-zero coefficients are included in the code, so the output of the VLD 101 has a magnitude between non-zero coefficients, that is, a level between the coefficients and these coefficients. This prints out how many runs are inserted.

예를 들어, 64개의 계수 중 첫번째 계수가 10이고 4번째 계수가 3이며, 두 번째, 세 번째 계수가 0이면 런과 레벨은 각각 (0,10),(2,3)이 된다. For example, if the first of the 64 coefficients is 10, the fourth coefficient is 3, and the second and third coefficients are 0, the run and level are (0, 10) and (2, 3), respectively.

따라서, 상기 IQ부(102)에서는 런-레벨 쌍을 입력받아 64개의 DCT 계수로 바꾸어주는데, 이때 DCT 계수는 런-레벨 코드의 효율을 높이기 위해 송신측에서 지그-재그 스캔(zig-zag scan) 또는 얼터네이트 스캔(alternate scan)방식으로 양자화되었으므로 동시에 이들을 라스터 스캔 방식으로 바꾸어주는 역스캔(Inverse Scan ; IS)을 수행한다. 그리고나서, 역스캔되어 출력되는 64개의 DCT 계수를 VLD(101)에서 출력되는 양자화 값에 따라 역 양자화하여 역 이산 여현 변환(Inverse Discrete Cosine Transform ; IDCT)부(103)로 출력한다.Accordingly, the IQ unit 102 receives a run-level pair and converts the run-level pairs into 64 DCT coefficients, where the DCT coefficients are zig-zag scan at the transmitting side to increase the efficiency of the run-level code. Alternatively, since it is quantized by an alternate scan method, an inverse scan (IS) that simultaneously converts them into a raster scan method is performed. Then, the 64 DCT coefficients which are inversely scanned and output are inversely quantized according to the quantization value output from the VLD 101 and output to the inverse discrete cosine transform (IDCT) unit 103.

상기 IDCT부(103)는 역 양자화된 DCT 계수에 대해 IDCT를 수행하여 가산기(105)로 출력하고, 상기 가산기(105)는 IDCT된 영상 신호에 움직임 보상된 데이터를 더하여 완전한 영상으로 복원한 후 디스플레이를 위해 출력한다. 동시에 상기 가산기(105)의 출력은 프레임 메모리(106)에 저장되며, 움직임 보상부(104)는 P, B 픽쳐에 대해서는 상기 프레임 메모리(106)에 저장된 데이터를 기준 프레임으로 하고 상기 VLD(101)에서 분리된 움직임 벡터를 이용하여 움직임 예측 및 움직임 보상을 한 후 상기 가산기(105)로 출력한다.The IDCT unit 103 performs IDCT on the inverse quantized DCT coefficients and outputs them to the adder 105, and the adder 105 adds motion compensated data to the IDCT image signal and reconstructs the complete image. Output for At the same time, the output of the adder 105 is stored in the frame memory 106, and the motion compensator 104 uses the data stored in the frame memory 106 for the P and B pictures as a reference frame and the VLD 101 After motion estimation and motion compensation are performed using the motion vector separated from, the output is added to the adder 105.

그러나, 상기된 도 1의 일반적인 비디오 디코더는 SD급 입력 포맷의 데이터를 처리하기에는 적합하나 HD급 입력 포맷의 데이터를 처리하기 위해서는 처리속도가 부족하게 되어 적합하지 않다.However, the above-described general video decoder of FIG. 1 is suitable for processing data of an SD class input format, but is not suitable for processing data of an HD class input format due to insufficient processing speed.

즉, HD급 입력 포맷의 데이터를 SDTV에서 디스플레이하기 위해서는 데이터 양이 SD급보다 증가하므로 사용되는 메모리의 크기와 데이터의 전송 속도도 그만큼 빨라져야 한다. 이로 인해 클럭 주파수가 너무 높아져 디코딩 타임이 부족하므로 HD급 입력 포맷의 디코딩이 거의 불가능하게 된다.In other words, in order to display the data of the HD input format on the SDTV, the amount of data is increased than the SD level, so the size of the memory used and the data transfer speed must be faster. This results in clock frequencies that are so high that lack of decoding time makes it nearly impossible to decode an HD input format.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 입력 포맷이 HD급이면 입력되는 DCT 계수의 역 양자화시 다운 컨버젼을 행함으로써, SDTV의 여러 가지 입력 포맷에 적합한 비디오 디코딩 장치 및 방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a video decoding apparatus suitable for various input formats of SDTV by performing down conversion upon inverse quantization of input DCT coefficients when the input format is HD. In providing a method.

본 발명의 다른 목적은 IDCT로 출력하는 데이터 전송 레이트를 입력 포맷에 관계없이 일정하게 유지하는 비디오 디코딩 장치 및 방법을 제공함에 있다.Another object of the present invention is to provide a video decoding apparatus and method for maintaining a constant data transmission rate output through IDCT regardless of an input format.

상기와 같은 목적을 달성하기 위한 본 발명에 따른 비디오 디코딩 장치는, 입력되는 비디오 비트스트림 중 DCT 계수에 해당하는 코드들을 디코딩하여 출력하는 VLD와, 상기 VLD에서 디코딩된 DCT 계수의 역양자화시 입력 포맷에 따라 다운 컨버젼을 수행하는 역양자화부와, 다수개의 메모리로 구성되어 입력 포맷에 따라 더블 버퍼링을 수행하면서 상기 역 양자화부에서 역 양자화되어 시리얼로 입력되는 DCT 계수를 패러럴로 출력하는 버퍼부와, 상기 버퍼부에서 패러럴로 출력되는 DCT 계수를 IDCT하는 IDCT부를 포함하여 구성되는 것을 특징으로 한다.In accordance with an aspect of the present invention, a video decoding apparatus includes a VLD for decoding and output codes corresponding to DCT coefficients of an input video bitstream, and an input format for inverse quantization of DCT coefficients decoded in the VLD. A dequantizer for down-conversion according to the first and second buffers, and a buffer unit configured to parallelly output DCT coefficients which are dequantized by the dequantizer and input serially while performing double buffering according to an input format; And an IDCT unit configured to IDCT the DCT coefficients output in parallel from the buffer unit.

상기 VLD는 입력되는 비디오 비트스트림 중 DCT 계수에 해당하는 코드마다 런-레벨 쌍으로 디코딩한 후 런-레벨 쌍의 레벨 값이 64개의 DCT 계수중 몇번째 계수인가를 나타내는 위치 정보를 레벨 값과 함께 출력하는 것을 특징으로 한다.The VLD decodes a run-level pair for each code corresponding to a DCT coefficient among the input video bitstreams, and then, together with the level information, position information indicating how many levels of the run-level pair are 64 DCT coefficients. It is characterized by outputting.

상기 역양자화부는 입력되는 DCT 계수의 포맷이 HD급이면 역양자화된 DCT 계수를 수평 로우 패스 필터링에 의해 다운 컨버젼하는 것을 특징으로 한다.When the format of the input DCT coefficient is HD, the inverse quantization unit down converts the dequantized DCT coefficient by horizontal low pass filtering.

상기 버퍼부는 상기 역 양자화된 DCT 계수를 저장하며 입력 포맷에 따라 싱글 버퍼 또는 더블 버퍼로 이용되는 제 1, 제 2 버퍼와, 상기 가변 길이 디코더에서 출력되는 위치 정보를 이용하여 제 1, 제 2 버퍼에 쓰기/읽기 어드레스 및 쓰기/읽기 인에이블 신호를 발생시켜주는 버퍼 제어부와, 상기 제 1, 제 2 버퍼의 출력 데이타를 선택하여 IDCT로 출력하는 멀티플렉서로 구성되는 것을 특징으로 한다.The buffer unit stores the inverse quantized DCT coefficients and uses first and second buffers, which are used as a single buffer or a double buffer according to an input format, and first and second buffers using position information output from the variable length decoder. And a buffer controller for generating a write / read address and a write / read enable signal, and a multiplexer which selects output data of the first and second buffers and outputs them to IDCT.

상기 제 1, 제 2 버퍼는 입력 포맷이 SD급이면 상기 버퍼 제어부의 제어에 의해 싱글 버퍼로 이용되어 하나의 디코딩 블록의 DCT 계수를 나누어 쓰는 것을 특징으로 한다.The first and second buffers may be used as a single buffer under the control of the buffer controller when the input format is SD class, and the DCT coefficients of one decoding block may be divided.

상기 제 1, 제 2 버퍼는 입력 포맷이 HD급이면 상기 버퍼 제어부의 제어에 의해 더블 버퍼로 이용되어 하나의 버퍼에 한 블록의 DCT 계수를 쓸때 다른 버퍼는 이전 블록의 DCT 계수의 읽기를 하고, 다음 블록을 쓸때는 서로 쓰고 읽는 위치를 바꾸어 수행하는 것을 특징으로 한다.The first and second buffers are used as double buffers under the control of the buffer controller when the input format is HD, and when one DCT coefficient is written to one buffer, the other buffer reads the DCT coefficients of the previous block. When writing the next block, it is characterized by changing the writing and reading positions.

상기 제 1, 제 2 버퍼에 시리얼로 쓰여진 DCT 계수를 읽을때는 상기 버퍼 제어부의 제어에 의해 복수개의 DCT 계수를 동시에 읽는 것을 특징으로 한다.When reading the DCT coefficients written serially in the first and second buffers, a plurality of DCT coefficients are simultaneously read under the control of the buffer controller.

본 발명에 따른 비디오 디코딩 방법은, 입력되는 비디오 비트스트림 중 DCT 계수에 해당하는 코드들을 디코딩하여 출력하는 단계와, 상기 디코딩된 DCT 계수의 역양자화시 입력 포맷이 HD급 이면 다운 컨버젼을 수행하는 단계와, 입력 포맷이 HD급이면 더블 버퍼링을 수행하면서 상기 역 양자화되어 시리얼로 입력되는 DCT 계수를 패러럴로 출력하는 단계를 포함하여 이루어지는 것을 특징으로 한다.According to an aspect of the present invention, there is provided a video decoding method comprising: decoding and outputting codes corresponding to DCT coefficients of an input video bitstream, and performing down conversion when the input format is HD when dequantizing the decoded DCT coefficients. And outputting the DCT coefficients in parallel when the inverse quantization is serially performed while performing double buffering when the input format is HD.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

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

도 2는 본 발명에 따른 비디오 디코더 중 역양자화기의 상세 블록도로서, VLD로부터 출력되는 인덱스와 레벨 값을 라스터 스캔의 순서로 변환해주는 역스캔(IS)부(201), 상기 IS된 인덱스에 해당하는 양자화 매트릭스를 레벨 값과 곱하여 역양자화를 수행하는 IQ부(202), 상기 IQ에 필요한 양자화 매트릭스(quantization matrix ; QM)를 저장하며 IQ에 필요한 양자화 매트릭스 값을 상기 IQ부(202)로 출력하는 QM 메모리(203), 상기 IQ된 데이터가 HD급이면 다운 컨버젼을 통해 32개의 DCT 계수를 패러럴로, SD급이면 64개의 DCT 계수를 패러럴로 출력하는 계수 버퍼(204), 및 상기 계수 버퍼(204)의 출력의 미스매치(mismatch)를 제어하는 미스매치 제어부(205)로 구성된다.FIG. 2 is a detailed block diagram of an inverse quantizer of a video decoder according to the present invention. An inverse scan (IS) unit 201 converts an index and a level value output from a VLD in the order of a raster scan, and the IS index. An IQ unit 202 for performing inverse quantization by multiplying a quantization matrix corresponding to a level value, a quantization matrix (QM) necessary for the IQ, and storing the quantization matrix value required for IQ to the IQ unit 202. A QM memory 203 for outputting, a coefficient buffer 204 for outputting 32 DCT coefficients in parallel through a down conversion if the IQ data is HD, and 64 DCT coefficients in parallel for an SD class, and the coefficient buffer And a mismatch control unit 205 for controlling mismatch of the output of 204.

이와 같이 구성된 본 발명에서 VLD는 비디오 비트스트림중 DCT 계수에 해당하는 코드들을 디코딩하여 각 코드마다 런과 레벨로 출력한다. 이때, 상기 VLD는 런-레벨 쌍중 런 값을 누적시켜 런-레벨 쌍의 레벨 값이 64개의 계수중 몇번째 계수인가를 나타내는 인덱스로 변환한 후 런-레벨 쌍대신 도 2와 같이 인덱스와 레벨을 역 양자화기의 역스캔부(201)로 출력할 수도 있다. 여기서, 인덱스는 0에서 63중의 하나의 값을 가지게 된다.In the present invention configured as described above, the VLD decodes codes corresponding to DCT coefficients of a video bitstream and outputs them as run and level for each code. At this time, the VLD accumulates the run values of the run-level pairs, converts the run-level pairs into an index indicating how many of the 64 coefficients are, and then replaces the index and level as shown in FIG. The inverse scan unit 201 of the inverse quantizer may be output. Here, the index has one of 0 to 63 values.

즉, 도 2는 (런, 레벨)의 계수들이 송신측에서 지그-재그 또는 얼터네이트 스캔(alternate scan)에 의해 가변 길이 코딩된 것을 수신측의 VLD에서 디코딩하여 그 계수의 인덱스와 레벨을 출력한다. That is, FIG. 2 decodes variable length coded coefficients (run, level) by a zig-zag or alternate scan at the transmitting side in the VLD of the receiving side, and outputs the index and level of the coefficients. .

상기 역스캔부(201)는 지그-재그 또는 얼터네이트 스캔 방식으로 입력되는 인덱스와 레벨을 라스터(raster) 스캔 순서로 변환하여 IQ부(202)로 출력한다. 상기 IQ부(202)는 인덱스에 해당하는 양자화 매트릭스를 레벨값에 곱하여 실제의 DCT 계수를 복원해낸다. 여기서, 양자화 매트릭스는 DCT 계수의 8×8 블록상의 위치에 따라 곱해주는 값이 다르므로 곱해주고자 하는 계수가 어느 위치의 계수인가를 알아야 한다. 그러므로, 상기 IQ부(202)에서는 입력되는 인덱스를 보고 QM 메모리(203)에서 인덱스에 해당하는 위치의 양자화 매트릭스를 읽어내어 레벨 값과 곱해준다. 여기서, 상기 IQ부(202)는 디코딩된 계수의 런 레벨에 대해 0을 발생시키지 않고 주어진 런으로부터 디코딩된 계수의 8×8 블록상의 위치 정보를 찾아 IQ를 수행함으로써, 0에 대한 IQ를 하지 않아도 되므로 처리시간을 줄일 수 있다. The inverse scan unit 201 converts an index and a level input by a zigzag or alternate scan method into a raster scan order and outputs the raster scan order to the IQ unit 202. The IQ unit 202 restores the actual DCT coefficient by multiplying the quantization matrix corresponding to the index by the level value. Here, since the value of the quantization matrix is multiplied according to the position on the 8x8 block of the DCT coefficient, it is necessary to know which position the coefficient to be multiplied. Therefore, the IQ unit 202 reads the input index and reads the quantization matrix of the position corresponding to the index from the QM memory 203 and multiplies the level value. In this case, the IQ unit 202 does not generate 0 for the run level of the decoded coefficients, and performs IQ by searching for the position information on the 8x8 block of the decoded coefficients from the given run, thereby eliminating the need for IQ for 0. Therefore, processing time can be reduced.

이때, SDTV의 비디오 출력 포맷은 704×480, 640×480 정도의 해상도(resolution)를 목표로 하기 때문에 HD급 입력 포맷은 다운 컨버젼에 의해서도 충분한 해상도를 확보할 수가 있다. 즉, HD급 데이터를 다운 컨버젼하면 화질이 떨어지나 그래도 SD급의 해상도는 얻을 수 있다.At this time, since the video output format of the SDTV aims at a resolution of about 704 × 480 and 640 × 480, the HD input format can secure sufficient resolution even by down conversion. In other words, down-converting HD data results in poor image quality, but still achieves SD resolution.

따라서, 상기 IQ부(202)는 입력 포맷이 HD급인 경우에는 역양자화된 DCT 계수들을 다운 컨버젼시켜 계수 버퍼(204)로 출력한다.Therefore, when the input format is HD, the IQ unit 202 down-converts the dequantized DCT coefficients and outputs them to the coefficient buffer 204.

도 3의 (a) 내지 (c)는 HD급 입력 포맷에 대한 IQ부(202)에서의 다운 컨버젼 과정을 보여주고 있다. 이는 주파수 영역(frequency domain)에서 수평 로우 패스 필터의 효과를 보인다. 3 (a) to (c) show a down conversion process in the IQ unit 202 for the HD class input format. This shows the effect of a horizontal low pass filter in the frequency domain.

그리고, 상기 IQ부(202)에서 역양자화된 DCT 계수들은 계수 버퍼(204)에 임시 저장되었다가 IDCT의 요구가 있으면 미스매치 제어부(205)를 통해 IDCT부(103)로 출력된다.The DCT coefficients dequantized by the IQ unit 202 are temporarily stored in the coefficient buffer 204 and then output to the IDCT unit 103 through the mismatch control unit 205 when the IDCT requests.

상기 미스매치 제어부(205)는 MPEG이 디코딩만 규정하기 때문에 엔코더의 DCT와 디코더의 IDCT가 맞지 않는 경우에 에러가 계속 누적되는 것을 막기 위한 것으로서, 이를 위해 한 블록내의 역양자화된 모든 계수를 더한다. 그리고 그 합이 홀수냐 짝수냐에 따라서 조정을 하는데 홀수인 경우는 그냥 두고, 짝수인 경우만 마지막 계수를 변환해준다.The mismatch control unit 205 prevents errors from accumulating when the DCT of the encoder and the IDCT of the decoder do not match because MPEG specifies only decoding, and for this purpose, all dequantized coefficients in one block are added. The sum is adjusted according to odd or even numbers. If it is odd, leave it as it is, and convert the last coefficient only if it is even.

한편, 상기 계수 버퍼(204)는 비디오 입력 포맷에 따라 다르게 제어되어 작은 사이즈로 효율적인 버퍼링을 수행할 수가 있으며, HD급 입력 포맷일 경우나 SD급 입력 포맷일 경우에 비슷한 데이터 전송 레이트를 가능하게 함으로써, IQ의 동작을 입력에 관계없이 일정하게 유지하여 주는 역할을 한다.On the other hand, the coefficient buffer 204 is controlled differently according to the video input format to perform efficient buffering with a small size, by enabling a similar data transfer rate in the case of HD input format or SD input format Therefore, it keeps the operation of IQ constant regardless of input.

이때, HD급 입력 포맷은 IQ부(202)에서의 다운 컨버젼에 의해 한 블록이 32개의 계수로 구성되게 되며, 4×8 IDCT를 수행하게 된다. 여기서, 블록당 32개의 계수는 SD급 입력 포맷의 절반이며 계수 버퍼의 사이즈도 절반이면 충분하게 된다.At this time, in the HD input format, one block is composed of 32 coefficients by down-conversion in the IQ unit 202, and performs 4x8 IDCT. Here, 32 coefficients per block are half the SD class input format, and half the size of the coefficient buffer is sufficient.

또한, 수평 방향으로 Residual에 의해 다운 컨버젼을 수행하므로, 움직임 보상은 계산되어진 움직임 벡터의 수평 방향에 대해 다운 스케일링하여 사용합니다. 예컨대, (MVX, MVY)의 움직임 벡터를 (MVX/2, MVY)로 스케일링하여 움직임 보상을 수행합니다.In addition, since down conversion is performed by residual in the horizontal direction, motion compensation is used by downscaling the horizontal direction of the calculated motion vector. For example, motion compensation is performed by scaling the motion vector of (MVX, MVY) to (MVX / 2, MVY).

도 4는 이러한 계수 버퍼(204)의 구성 블록도로서, 계수를 저장하기 위한 제 1 버퍼(401), 제 2 버퍼(402), 인덱스와 유효 신호(valid_in)를 입력받아 상기 제 1, 제 2 버퍼(401,402)에 읽기/쓰기 어드레스 및 읽기/쓰기 인에이블 신호를 발생시켜주는 버퍼 제어부(403), 및 제 1 버퍼(401) 또는 제 2 버퍼(402)의 출력 데이터를 선택해서 출력시켜주는 멀티플렉서(404)로 구성된다. FIG. 4 is a block diagram illustrating the coefficient buffer 204. The first buffer 401, the second buffer 402, the index and the valid signal valid_in are received to store coefficients. A buffer controller 403 for generating a read / write address and a read / write enable signal to the buffers 401 and 402, and a multiplexer for selecting and outputting output data of the first buffer 401 or the second buffer 402. 404.

이때, 상기 제 1 버퍼(401)에의 계수 쓰기는 하나씩 즉, 시리얼로 이루어지지만 읽을때는 제 1 버퍼(401)에서 쓰여진 두 개의 계수를 동시에 읽음으로써 시리얼로 입력된 데이터를 패러럴로 출력할 수 있다.At this time, the writing of the coefficients into the first buffer 401 is performed one by one, that is, the serial data may be output in parallel by reading two coefficients written in the first buffer 401 at the same time.

즉, 상기 IQ부(202)에서는 0이 아닌 DCT 계수들만 출력되므로 데이터의 양이 많지 않으나 IDCT부로 출력하기 위하여 여기에 0을 채우게 되면 데이터의 양이 매우 많아지게 된다. 따라서, 매우 빠른 처리 속도를 위해 높은 클럭을 사용하여야 하므로 하드웨어의 부담이 커진다. 이때, 0을 채운 64개의 계수들을 패러럴로 만들어줌으로써 클럭의 속도를 낮출 수 있으며, 이를 위해 제 1 버퍼(401)는 시리얼로 입력된 데이터를 패러럴로 바꾸어 출력한다.That is, since only the non-zero DCT coefficients are output from the IQ unit 202, the amount of data is not large. However, when 0 is filled in to output to the IDCT unit, the amount of data becomes very large. Therefore, a high clock speed must be used for a very fast processing speed, which increases the burden on the hardware. At this time, the clock speed can be lowered by making the 64 coefficients filled with 0 parallel, and for this purpose, the first buffer 401 converts the serially input data into parallel and outputs the parallel.

마찬가지로, 상기 제 2 버퍼(402)도 상기 제 1 버퍼(401)와 동일한 구성을 갖는다.Similarly, the second buffer 402 has the same configuration as the first buffer 401.

이와 같이 구성된 도 4에서, 상기 IQ부(202)의 DCT 계수들은 처리 속도를 높이기 위해 패러럴로 변환됨과 동시에 64개 또는 32개의 DCT 계수를 만들어주기 위해 계수 버퍼(204)로 입력되는데, 상기 계수 버퍼(204)는 SD급 입력 포맷과 HD급 입력 포맷에 대해서 다르게 동작한다. In FIG. 4 configured as described above, the DCT coefficients of the IQ unit 202 are converted into parallel to increase the processing speed and input to the coefficient buffer 204 to generate 64 or 32 DCT coefficients. 204 operates differently for the SD input format and the HD input format.

즉, SD급 입력 포맷일 때의 제 1, 제 2 버퍼(401,402)는 싱글 버퍼로 이용되어 하나의 디코딩 블록에 해당하는 64개의 DCT 계수들을 나누어 저장하였다가 IDCT부(103)로 출력한다. 그러나, 다운 컨버젼되어 입력되는 HD급 입력 포맷일 때의 제 1, 제 2 버퍼(401,402)는 더블 버퍼로 이용된다.That is, the first and second buffers 401 and 402 in the SD class input format are used as a single buffer to divide and store 64 DCT coefficients corresponding to one decoding block, and output them to the IDCT unit 103. However, the first and second buffers 401 and 402 in the HD input format which are down converted and input are used as double buffers.

먼저, SD급 입력 포맷일 때를 설명하면, 상기 버퍼 제어부(403)는 유효한 밸리드 신호가 오는 동안에 계수의 인덱스에 의해 어드레스와 쓰기 인에이블 신호를 발생한다. 리셋 상태에서 모든 버퍼는 '0'으로 초기화되며 유효한 DCT 계수만이 인에이블되는 제 1 또는 제 2 버퍼(401 또는 402)의 해당 어드레스에 쓰이게 된다. 즉, 한 블록에 해당하는 DCT 계수를 제 1, 제 2 버퍼(401,402)에 나누어서 쓴다. 그리고나서, 제 1, 제 2 버퍼(401,402)에 쓰여진 데이터가 멀티플렉서(404)를 통해 IDCT부(103)로 전송되면 제 1, 제 2 버퍼(401,402)는 다시 '0'으로 채워지고 다음 디코딩 블록의 쓰기 신호를 기다리게 된다. 즉, 실제로 하나의 디코딩 블록에서 0이 아닌 계수의 수는 10여개 미만이기 때문에 충분한 IQ 처리 속도와 데이터 전송 레이트를 유지할 수가 있다.First, in the case of the SD class input format, the buffer controller 403 generates an address and a write enable signal by an index of coefficients while a valid valid signal is coming. In the reset state all buffers are initialized to '0' and only valid DCT coefficients are written to the corresponding addresses of the first or second buffers 401 or 402 that are enabled. In other words, DCT coefficients corresponding to one block are divided into first and second buffers 401 and 402. Then, when the data written to the first and second buffers 401 and 402 are transmitted to the IDCT unit 103 through the multiplexer 404, the first and second buffers 401 and 402 are filled with '0' again and the next decoding block Waiting for the write signal. In other words, since the number of nonzero coefficients in one decoding block is less than 10, sufficient IQ processing speed and data transmission rate can be maintained.

도 5의 (a) 내지 (h)는 SD급 입력 포맷일때의 버퍼 읽기 타이밍도로서, 계수(Coeff_0, Coeff_1)에서 숫자는 인덱스를 나타내며 전송되는 순서는 도 3의 (a)와 같은 블록에서 열(row) 방향으로 두 개의 계수 단위로 이루어진다.(A) to (h) of FIG. 5 are buffer read timing diagrams in the SD class input format. In the coefficients Coeff_0 and Coeff_1, numbers represent indices and the order in which the data is transmitted is arranged in a block as shown in FIG. It consists of two coefficient units in the (row) direction.

예컨대, 제 1 버퍼(401)의 리드 인에이블 신호(re_a)가 도 5의 (a)와 같이 온되면 제 1 버퍼(401)에 쓰여진 두 개의 계수(Coeff_0, Coeff_1)가 (c),(d)처럼 동시에 출력되고, 제 2 버퍼(402)의 리드 인에이블 신호(re_b)가 (b)와 같이 온되면 제 2 버퍼(402)에 쓰여진 두개의 계수(Coeff_0, Coeff_1)가 (e),(f)처럼 동시에 출력된다. 따라서, 멀티플렉서(404)에서는 제 1, 제 2 버퍼(401,402)의 출력을 교대로 선택하여 (g),(h)와 같이 라스터 스캔 방식으로 두 개의 계수(Coeff_0, Coeff_1)를 동시에 출력한다.For example, when the read enable signal re_a of the first buffer 401 is turned on as shown in FIG. 5A, two coefficients Coeff_0 and Coeff_1 written in the first buffer 401 are (c) and (d Are simultaneously output, and when the read enable signal re_b of the second buffer 402 is turned on as shown in (b), two coefficients Coeff_0 and Coeff_1 written in the second buffer 402 are (e), ( f) is printed at the same time. Accordingly, the multiplexer 404 alternately selects outputs of the first and second buffers 401 and 402 and simultaneously outputs two coefficients Coeff_0 and Coeff_1 in a raster scan manner as shown in (g) and (h).

또한, 버퍼에 입력되는 계수(cofficient)는 하나씩 시리얼(serial)로 디코딩되어 입력되고, 실시간 디코딩 성능을 확보하기 위해 IDCT로 출력할 데이터는 parallel로 출력합니다.In addition, coefficients input to the buffer are decoded into serial one by one, and data to be output by IDCT is output in parallel to ensure real-time decoding performance.

한편, IQ부(202)에서 출력되는 DCT 계수가 HD급 입력 포맷일 때는 다운 컨버젼에 의해 한 블록이 32개의 계수로 이루어지므로, 상기 제 1, 제 2 버퍼(401,402)는 개별적으로 디코딩 블록의 32개 계수들을 저장할 수 있으며 하나의 버퍼에 쓰기 억세스를 할 동안에도 다른 버퍼는 읽기 억세스를 할 수 있다. 즉, 하나의 버퍼에 한 블록의 계수를 쓸때 다른 버퍼는 이전 블록의 읽기를 하고, 다음 블록을 쓸때는 서로 쓰고 읽는 위치를 바꾼다. On the other hand, when the DCT coefficients output from the IQ unit 202 are HD class input formats, one block is composed of 32 coefficients by down-conversion, so that the first and second buffers 401 and 402 are individually 32 It is possible to store two coefficients, while other buffers have read access while writing to one buffer. In other words, when one block coefficient is written to one buffer, the other buffer reads the previous block.

따라서, HD급 입력 포맷은 SD급 입력 포맷에 비해 약 두배의 디코딩 블록을 가지고 있으므로 이러한 더블 버퍼링에 의해 원하는 만큼의 충분한 데이터 전송 레이트 즉, 디코딩 타임을 확보할 수가 있다. 즉, HD급 입력 포맷일 경우 다운 컨버젼에 의해서도 디코딩 타임이 조금 부족한 데 더블 버퍼링에 의해 그 부족분을 해소할 수 있다.Therefore, since the HD class input format has about twice as many decoding blocks as the SD class input format, the double buffering ensures a sufficient data transfer rate, that is, the decoding time, as desired. That is, in case of HD input format, the decoding time is a little short even by down conversion, but the shortage can be eliminated by double buffering.

그리고, SD급 입력 포맷일 때와 마찬가지로, 쓰기 어드레스 및 읽기 어드레스는 버퍼 제어부(403)가 발생시켜주는데 쓸때는 각 버퍼에 계수를 하나씩 쓰지만 읽을때는 각 버퍼에 쓰여진 두 개의 계수를 동시에 읽도록 하므로써 시리얼로 입력된 데이터를 패러럴로 출력할 수 있다. 또한, 데이터가 읽어진 버퍼에는 다시 '0'으로 채워지고 다음 디코딩 블록의 쓰기 신호를 기다린다.As in the SD class input format, the write address and the read address are generated by the buffer control unit 403. When writing, one coefficient is written to each buffer. However, the read address reads two coefficients written to each buffer at the same time. The data entered can be output in parallel. In addition, the buffer into which the data is read is filled with '0' again and waits for the write signal of the next decoding block.

도 6의 (a) 내지 (h)는 HD급 입력 포맷에 대한 계수 버퍼의 읽기 타이밍도로서, 계수(Coeff_0, Coeff_1)에서 숫자는 인덱스를 나타내며 전송되는 순서는 도 3의 (c)와 같이 다운 컨버젼된 블록에서 열(row) 방향으로 두 개의 계수 단위로 이루어진다. 이때, 도 6의 (a),(b)와 같이 하나의 버퍼에서 한 블록의 DCT 계수를 모두 읽는 동안에 다른 버퍼는 읽기 인에이블이 되지 않으며, 하나의 버퍼에서 한 블록의 DCT 계수를 모두 읽은 후에야 다른 버퍼가 읽기 인에이블된다.6A to 6H are read timing diagrams of the coefficient buffers for the HD-level input format. In the coefficients Coeff_0 and Coeff_1, numbers represent indices and the order of transmission is down as shown in FIG. It consists of two coefficient units in the row direction in the converted block. At this time, while all the DCT coefficients of one block are read from one buffer as shown in (a) and (b) of FIG. 6, the other buffer is not read enabled, and only after reading all of the DCT coefficients of one block from one buffer. Another buffer is read enabled.

그리고, 제 1 버퍼(401)의 리드 인에이블 신호(re_a)가 도 6의 (a)와 같이 온되면 제 1 버퍼(401)에 쓰여진 두 개의 계수(Coeff_0, Coeff_1)가 (c),(d)처럼 동시에 출력되고, 제 2 버퍼(402)의 리드 인에이블 신호(re_b)가 (b)와 같이 온되면 제 2 버퍼(402)에 쓰여진 두개의 계수(Coeff_0, Coeff_1)가 (e),(f)처럼 동시에 출력된다. 따라서, 멀티플렉서(404)에서는 제 1 버퍼(401)의 리드 인에이블 신호(re_a)가 온되는 동안에는 제 1 버퍼(401)에 쓰여진 두 개의 계수(Coeff_0, Coeff_1)를 선택하여 (g),(h)처럼 동시에 출력하고, 제 2 버퍼(402)의 리드 인에이블 신호(re_b)가 온되는 동안에는 제 2 버퍼(402)에 쓰여진 두 개의 계수(Coeff_0, Coeff_1)를 선택하여 동시에 출력한다.When the read enable signal re_a of the first buffer 401 is turned on as shown in FIG. 6A, two coefficients Coeff_0 and Coeff_1 written in the first buffer 401 are (c) and (d Are simultaneously output, and when the read enable signal re_b of the second buffer 402 is turned on as shown in (b), two coefficients Coeff_0 and Coeff_1 written in the second buffer 402 are (e), ( f) is printed at the same time. Therefore, in the multiplexer 404, while the read enable signal re_a of the first buffer 401 is turned on, two coefficients Coeff_0 and Coeff_1 written in the first buffer 401 are selected (g) and (h). ) And simultaneously output two coefficients Coeff_0 and Coeff_1 written to the second buffer 402 while the read enable signal re_b of the second buffer 402 is turned on.

이와 같이, HD급 입력 포맷의 DCT 계수는 다운 컨버젼과 더블 버퍼링에 의해 충분한 디코딩 타임을 확보하므로, SDTV에서 HD급의 입력 영상을 SD급의 해상도로 디스플레이할 수 있다.As described above, since the DCT coefficient of the HD class input format secures sufficient decoding time by down-conversion and double buffering, the HD class input image can be displayed in the SD class in the SDTV.

이상에서와 같이 본 발명에 따른 비디오 디코딩 장치 및 방법에 의하면, 데이터의 처리 양과 속도가 많이 요구되는 SDTV의 HD급 입력 포맷에 대해서는 다운 컨버젼을 함으로써, 비디오 디스플레이 해상도에 독립적인 역 양자화를 수행할 수 있으며, 또한 상기 다운 컨버젼된 HD급 DCT 계수에 대해 탄력적인(flexible) 더블 버퍼링으로 일정한 데이터 전송 레이트를 유지하도록 함으로써, 비디오 입력 포맷에 관계없이 일정한 속도에서 안정적인 동작이 가능한 ASIC(Application Specific Integrated Circuit, 응용 주문형 집적회로)을 구현할 수 있다.As described above, according to the video decoding apparatus and method according to the present invention, by performing down-conversion on the HD-class input format of SDTV, which requires a large amount of data processing speed and speed, inverse quantization independent of video display resolution can be performed. In addition, by maintaining a constant data transfer rate with flexible double buffering for the down-converted HD-class DCT coefficient, ASIC (Application Specific Integrated Circuit), which enables stable operation at a constant speed regardless of the video input format Application specific integrated circuits).

그리고, IQ된 DCT 계수를 계수 버퍼에 저장하면서 VLD에서 보내준 계수들의 위치정보를 이용하여 쓸때는 DCT 계수를 하나씩 쓰고, 읽을 때는 복수개의 DCT 계수를 동시에 읽어 시리얼로 입력된 데이터를 패러럴로 출력함으로써, 클럭의 속도를 낮출 수 있어 하드웨어에 부담을 주지 않게 된다.By storing the IQ DCT coefficients in the coefficient buffer and writing the DCT coefficients one by one using the position information of the coefficients sent from the VLD, by reading a plurality of DCT coefficients simultaneously and outputting data serially in parallel, The speed of the clock can be lowered, which does not burden the hardware.

도 1은 일반적인 비디오 디코더의 구성 블록도1 is a block diagram of a general video decoder

도 2는 본 발명에 따른 비디오 디코더 중 역양자화기의 상세 블록도2 is a detailed block diagram of an inverse quantizer of a video decoder according to the present invention.

도 3은 본 발명에 따른 역양자화시 HD급 입력 포맷의 DCT 계수에 대한 다운 컨버젼 예를 보인 도면3 is a diagram showing an example of down-conversion of the DCT coefficients of the HD input format during inverse quantization according to the present invention.

도 4는 도 2의 계수 버퍼의 상세 블록도4 is a detailed block diagram of the coefficient buffer of FIG.

도 5의 (a) 내지 (h)는 SD급 입력 포맷일때의 도 4의 계수 버퍼의 읽기 타이밍도5A to 5H are read timing diagrams of the coefficient buffer of FIG. 4 in the SD class input format.

도 6의 (a) 내지 (h)는 HD급 입력 포맷일때의 도 4의 계수 버퍼의 읽기 타이밍도6A to 6H are read timing diagrams of the coefficient buffer of FIG. 4 in the HD input format.

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

201 : 역스캔부 202 : 역양자화부201: reverse scanning unit 202: inverse quantization unit

203 : 양자화 매트릭스 메모리 204 : 계수 버퍼203: Quantization Matrix Memory 204: Coefficient Buffer

205 : 미스매치 제어부 401, 402 : 제 1, 제 2 버퍼205: mismatch control unit 401, 402: first and second buffers

403 : 버퍼 제어부 404 : 멀티플렉서403: buffer control unit 404: multiplexer

Claims (8)

입력되는 비디오 비트스트림 중 이산 코사인 변환(DCT) 계수에 해당하는 코드들을 디코딩하여 출력하는 가변 길이 디코더와,A variable length decoder for decoding and output codes corresponding to discrete cosine transform (DCT) coefficients of an input video bitstream; 상기 가변 길이 디코더에서 디코딩된 DCT 계수의 역양자화시 입력 포맷에 따라 다운 컨버젼을 수행하는 역양자화부와,An inverse quantizer for performing down conversion according to an input format during inverse quantization of the DCT coefficients decoded by the variable length decoder; 입력 포맷에 따라 더블 버퍼링을 수행하면서 상기 역 양자화부에서 역 양자화되어 입력되는 DCT 계수를 출력하는 버퍼부와, A buffer unit for outputting DCT coefficients which are inversely quantized by the inverse quantizer while performing double buffering according to an input format; 상기 버퍼부에서 출력되는 DCT 계수를 역이산 코사인 변환하는 역이산 코사인 변환부를 포함하여 구성되는 것을 특징으로 하는 비디오 디코딩 장치.And an inverse discrete cosine transform unit for inverse discrete cosine transforming the DCT coefficients output from the buffer unit. 제 1 항에 있어서, 상기 가변 길이 디코더는 The variable length decoder of claim 1, wherein 입력되는 비디오 비트스트림 중 DCT 계수에 해당하는 코드마다 런-레벨 쌍으로 디코딩한 후 런-레벨 쌍의 레벨 값이 64개의 DCT 계수중 몇번째 계수인가를 나타내는 위치 정보를 레벨 값과 함께 출력하는 것을 특징으로 하는 비디오 디코딩 장치.Decoded into a run-level pair for each code corresponding to the DCT coefficients of the input video bitstream, and outputting position information indicating the level coefficient of the run-level pair together with the level value indicating the 64th DCT coefficient. Video decoding apparatus. 제 1 항에 있어서, 상기 역양자화부는 The method of claim 1, wherein the dequantization unit 입력되는 DCT 계수의 포맷이 HD급이면 역양자화된 DCT 계수를 수평 로우 패스 필터링에 의해 다운 컨버젼하는 것을 특징으로 하는 비디오 디코딩 장치.And if the format of the input DCT coefficient is HD, down-converting the dequantized DCT coefficient by horizontal low pass filtering. 제 1 항에 있어서, 상기 버퍼부는The method of claim 1, wherein the buffer unit 상기 역 양자화된 DCT 계수를 저장하며 입력 포맷에 따라 싱글 버퍼 또는 더블 버퍼로 이용되는 제 1, 제 2 버퍼와,First and second buffers for storing the dequantized DCT coefficients and used as a single buffer or a double buffer according to an input format; 상기 가변 길이 디코더에서 출력되는 위치 정보를 이용하여 제 1, 제 2 버퍼에 쓰기/읽기 어드레스 및 쓰기/읽기 인에이블 신호를 발생시켜주는 버퍼 제어부와, A buffer controller configured to generate write / read addresses and write / read enable signals to first and second buffers using position information output from the variable length decoder; 상기 제 1, 제 2 버퍼의 출력 데이타를 선택하여 IDCT로 출력하는 멀티플렉서로 구성되는 것을 특징으로 하는 비디오 디코딩 장치.And a multiplexer which selects output data of the first and second buffers and outputs the output data to the IDCT. 제 4 항에 있어서, 상기 제 1, 제 2 버퍼는The method of claim 4, wherein the first and second buffers 입력 포맷이 표준(SD)급이면 상기 버퍼 제어부의 제어에 의해 싱글 버퍼로 이용되어 하나의 디코딩 블록의 DCT 계수를 나누어 쓰는 것을 특징으로 하는 비디오 디코딩 장치.If the input format is a standard (SD) class, the video decoding apparatus, which is used as a single buffer under the control of the buffer control unit for dividing the DCT coefficients of one decoding block. 제 4 항에 있어서, 상기 제 1, 제 2 버퍼는The method of claim 4, wherein the first and second buffers 입력 포맷이 HD급이면 상기 버퍼 제어부의 제어에 의해 더블 버퍼로 이용되어 하나의 버퍼에 한 블록의 DCT 계수를 쓸때 다른 버퍼는 이전 블록의 DCT 계수의 읽기를 하고, 다음 블록을 쓸때는 서로 쓰고 읽는 위치를 바꾸어 수행하는 것을 특징으로 하는 비디오 디코딩 장치.If the input format is HD, it is used as a double buffer under the control of the buffer control unit. When writing one block of DCT coefficients in one buffer, the other buffer reads the DCT coefficients of the previous block, and writes and reads each other when writing the next block. A video decoding apparatus, characterized in that for changing the position. 제 4 항에 있어서, 상기 제 1, 제 2 버퍼에 시리얼로 쓰여진 DCT 계수를 읽을때는 상기 버퍼 제어부의 제어에 의해 복수개의 DCT 계수를 동시에 읽는 것을 특징으로 하는 비디오 디코딩 장치.5. The video decoding apparatus according to claim 4, wherein a plurality of DCT coefficients are read simultaneously under the control of the buffer controller when reading DCT coefficients written serially into the first and second buffers. 입력되는 비디오 비트스트림 중 이산 코사인 변환(DCT) 계수에 해당하는 코드들을 디코딩하여 출력하는 단계와,Decoding and outputting codes corresponding to discrete cosine transform (DCT) coefficients of an input video bitstream; 상기 디코딩된 DCT 계수의 역양자화시 입력 포맷이 고화질(HD)급이면 다운 컨버젼을 수행하는 단계와,Performing downconversion if the input format is high definition (HD) in dequantization of the decoded DCT coefficients; 입력 포맷이 HD급이면 블록 단위로 더블 버퍼링을 수행하면서 상기 역 양자화되어 입력되는 DCT 계수를 출력하는 단계와,Outputting the inversely quantized DCT coefficients while performing double buffering on a block basis if the input format is HD; 상기 출력되는 DCT 계수를 역이산 코사인 변환하는 단계를 포함하여 이루어지는 것을 특징으로 하는 비디오 디코딩 방법.Inverse discrete cosine transforming the output DCT coefficients.
KR1019980054169A 1998-12-10 1998-12-10 Apparatus for video decoding and method for the same KR100565714B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980054169A KR100565714B1 (en) 1998-12-10 1998-12-10 Apparatus for video decoding and method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980054169A KR100565714B1 (en) 1998-12-10 1998-12-10 Apparatus for video decoding and method for the same

Publications (2)

Publication Number Publication Date
KR20000038981A KR20000038981A (en) 2000-07-05
KR100565714B1 true KR100565714B1 (en) 2006-05-25

Family

ID=19562197

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980054169A KR100565714B1 (en) 1998-12-10 1998-12-10 Apparatus for video decoding and method for the same

Country Status (1)

Country Link
KR (1) KR100565714B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06189293A (en) * 1992-12-15 1994-07-08 Sony Corp Method and device for encoding and decoding picture and recording medium
KR970064212A (en) * 1996-02-03 1997-09-12 구자홍 HDTV video decoder circuit
JPH09247673A (en) * 1996-03-04 1997-09-19 Kokusai Denshin Denwa Co Ltd <Kdd> Coded dynamic image reproducing device
KR19990016125A (en) * 1997-08-13 1999-03-05 구자홍 HDIVE's down-conversion decoding device
KR19990058626A (en) * 1997-12-30 1999-07-15 구본준 MPEG decoder

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06189293A (en) * 1992-12-15 1994-07-08 Sony Corp Method and device for encoding and decoding picture and recording medium
KR970064212A (en) * 1996-02-03 1997-09-12 구자홍 HDTV video decoder circuit
JPH09247673A (en) * 1996-03-04 1997-09-19 Kokusai Denshin Denwa Co Ltd <Kdd> Coded dynamic image reproducing device
KR19990016125A (en) * 1997-08-13 1999-03-05 구자홍 HDIVE's down-conversion decoding device
KR19990058626A (en) * 1997-12-30 1999-07-15 구본준 MPEG decoder

Also Published As

Publication number Publication date
KR20000038981A (en) 2000-07-05

Similar Documents

Publication Publication Date Title
US6917652B2 (en) Device and method for decoding video signal
US5262854A (en) Lower resolution HDTV receivers
US5912676A (en) MPEG decoder frame memory interface which is reconfigurable for different frame store architectures
US6151075A (en) Device and method for converting frame rate
KR100376607B1 (en) Mpeg video decoder with integrated scaling and display functions
US5838597A (en) MPEG-2 decoding with a reduced RAM requisite by ADPCM recompression before storing MPEG-2 decompressed data
KR960006762B1 (en) 2-dimensional data scanning selecting circuit for image coding
KR950009680B1 (en) Image decoder of image compression and decompression system
US20070098069A1 (en) Inverse scan, coefficient, inverse quantization and inverse transform system and method
US8073269B2 (en) Image decoding apparatus and image decoding method
US5721822A (en) Run-length encoding/decoding video signals using scan patterns explicitly encoded into bitstreams
US5729691A (en) Two-stage transform for video signals
US6229852B1 (en) Reduced-memory video decoder for compressed high-definition video data
JPH11313332A (en) Video signal compression/release device for even number and odd number field data compressed independently
KR0157570B1 (en) Decoder for mpeg 2 bit
US6148032A (en) Methods and apparatus for reducing the cost of video decoders
KR100298397B1 (en) Video decoding system
US5867219A (en) Image processing device using high frequency component suppression
KR100192696B1 (en) Method and apparatus for reproducing picture data
JPH07222164A (en) Digital video bit stream coder
KR100282389B1 (en) How H.Dive controls memory of video decoder
JP2002524007A (en) Image compression method and apparatus
US8311123B2 (en) TV signal processing circuit
KR100249235B1 (en) Hdtv video decoder
US5528315A (en) Image processing memory integrated circuit

Legal Events

Date Code Title Description
N231 Notification of change of applicant
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: 20090105

Year of fee payment: 4

LAPS Lapse due to unpaid annual fee