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

Apparatus for decoding video and method for the same Download PDF

Info

Publication number
KR100359824B1
KR100359824B1 KR1020000004016A KR20000004016A KR100359824B1 KR 100359824 B1 KR100359824 B1 KR 100359824B1 KR 1020000004016 A KR1020000004016 A KR 1020000004016A KR 20000004016 A KR20000004016 A KR 20000004016A KR 100359824 B1 KR100359824 B1 KR 100359824B1
Authority
KR
South Korea
Prior art keywords
memory
data
block
idct
horizontal
Prior art date
Application number
KR1020000004016A
Other languages
Korean (ko)
Other versions
KR20010076688A (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 KR1020000004016A priority Critical patent/KR100359824B1/en
Publication of KR20010076688A publication Critical patent/KR20010076688A/en
Application granted granted Critical
Publication of KR100359824B1 publication Critical patent/KR100359824B1/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
    • 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
    • H04N19/426Methods 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 using memory downsizing methods
    • 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/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
    • H04N19/513Processing of motion vectors
    • 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/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Abstract

디지털 비디오 전송 분야의 표준안인 엠펙-2(MPEG-2) 디코딩 칩의 외부 메모리 감축을 위한 비디오 디코딩 장치 및 방법에 관한 것으로서, 특히 50% 이상의 메모리 감축율을 얻으며, 한 개의 HD급 영상을 처리할 수 있는 메모리만 가지고도 두 개 이상의 HD급 영상 및 여러 종류의 다양한 SD급 영상을 동시에 한 화면에 디스플레이 할 수 있게 된다. 또한, 추가적인 하드웨어의 부담없이 두 개의 HD급 비디오 신호들은 한 화면에 수평방향으로 1/2 해상도로 디스플레이 가능하게 된다. 특히, 업 샘플링과 다운 샘플링 매트릭스를 통한 풀 해상도 움직임 보상을 통해서 저 해상도의 화질을 매우 좋게 유지할 수 있게 된다.The present invention relates to a video decoding apparatus and method for reducing external memory of an MPEG-2 decoding chip, which is a standard for digital video transmission. With just enough memory, it is possible to display two or more HD-quality images and various kinds of various SD-quality images simultaneously on one screen. In addition, two HD video signals can be displayed at 1/2 resolution horizontally on one screen without any additional hardware burden. In particular, full resolution motion compensation through up-sampling and down-sampling matrices ensures a very low picture quality.

Description

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

본 발명은 디지털 텔레비전(DTV) 또는 디지털 화상회의 시스템 응용 분야에 관한 것으로서, 특히 디지털 비디오 전송 분야의 표준안인 엠펙-2(MPEG-2) 디코딩 칩의 외부 메모리 감축을 위한 비디오 디코딩 장치 및 방법에 관한 것이다.The present invention relates to the field of application of digital television (DTV) or digital video conferencing system, and more particularly, to a video decoding apparatus and method for reducing external memory of an MPEG-2 decoding chip which is a standard in the field of digital video transmission. will be.

최근 DTV 방송에 대한 관심이 높아지고 있으며, 고화질의 선명한 화면을 가정에서 TV 수신기로 볼 수 있도록 비디오 데이터를 압축하여 송신하고자 하는 노력이 기울여지고 있다. 비디오 신호를 압축하기 위하여 사용되는 알고리즘으로는 MPEG-2가 주로 사용된다.Recently, interest in DTV broadcasting is increasing, and efforts are being made to compress and transmit video data so that a high definition clear screen can be viewed by a TV receiver at home. MPEG-2 is mainly used as an algorithm used to compress a video signal.

이러한 알고리즘 덕분에 기존에 다루기조차 힘들었던 고화질의 디지털 데이터를 일반 방송 채널로 전송하여 가정에서 즐길 수 있도록 하려는 연구가 계속되고 있다. 따라서, 디지털 TV 수신기는 이렇게 압축되어 수신된 데이터를 원래의 고화질의 비디오 데이터로 복원하여야 하는 MPEG-2 비디오 디코더가 필요하다.Thanks to these algorithms, research is being carried out to transmit high-quality digital data, which was previously difficult to handle, to the general broadcasting channel and enjoy it at home. Accordingly, a digital TV receiver needs an MPEG-2 video decoder that must restore the compressed and received data to original high definition video data.

도 1은 종래의 MPEG 디코딩 시스템의 구성 블록도로서, 트랜스포트 디코더(100)는 한 채널에 포함된 다수의 프로그램들 중 원하는 한 프로그램을 선택하여 패킷화되어 있는 오디오와 비디오 비트스트림을 분리한 후 분리된 비디오 비트 스트림은 버퍼(101)를 통해 가변 길이 디코더(Variable Length Decoder ; VLD)(102)로 출력한다. 상기 VLD(102)는 비디오 비트스트림을 가변길이 디코딩하여움직임 벡터, 양자화 값, DCT(Discrete Cosine Transform) 계수로 분리한 후 움직임 벡터(MV)는 움직임 보상부(106)로 출력하고, 양자화 값 및 DCT 계수는 역양자화(Inverse Quantizer ; IQ)부(103)로 출력한다. 이때, 상기 DCT 계수는 지그-재그 스캔 방식 또는 택일 스캔(Alternate scan) 방식으로 코딩되어 있으므로 IQ부(103)는 이를 라스터 스캔(Raster Scan) 방식으로 역스캔한 후 역스캔된 DCT 계수를 양자화 값에 따라 역 양자화하여 역 이산 여현 변환(Inverse Discrete Cosine Transform ; IDCT)부(104)로 출력한다. 상기 IDCT부(104)는 MPEG-2 비디오 신택스에 맞게 8x8 블록 단위로 역 양자화된 DCT 계수를 IDCT하여 가산기(105)로 출력한다.FIG. 1 is a block diagram illustrating a conventional MPEG decoding system. The transport decoder 100 selects a desired program from a plurality of programs included in one channel and separates the packetized audio and video bitstreams. The separated video bit stream is output to the variable length decoder (VLD) 102 through the buffer 101. The VLD 102 decodes the video bitstream by variable length to separate the motion vector, the quantization value, and the discrete cosine transform (DCT) coefficients, and then outputs the motion vector (MV) to the motion compensation unit 106. The DCT coefficients are output to the inverse quantizer (IQ) unit 103. At this time, since the DCT coefficients are coded by a zigzag scan method or an alternate scan method, the IQ unit 103 reverse-scans them by a raster scan method and then quantizes the descanned DCT coefficients. Inverse quantization according to the value is output to the Inverse Discrete Cosine Transform (IDCT) unit 104. The IDCT unit 104 IDCTs the dequantized DCT coefficients in 8x8 block units according to MPEG-2 video syntax and outputs them to the adder 105.

한편, 상기 VLD(102)에서 출력되는 움직임 벡터는 움직임 보상부(106)로 출력되고, 상기 움직임 보상부(106)는 상기 움직임 벡터와 메모리(108)에 저장된 이전 프레임을 이용하여 현재의 픽셀값에 대한 움직임 보상을 수행한 후 가산기(105)로 출력한다.Meanwhile, the motion vector output from the VLD 102 is output to the motion compensator 106, and the motion compensator 106 uses a current pixel value by using the motion vector and the previous frame stored in the memory 108. After performing the motion compensation for the output to the adder 105.

상기 가산기(105)는 IDCT된 값과 움직임 보상된 값을 더하여 최종 픽셀값인 완전한 영상으로 복원한 후 비디오 디스플레이 처리부(Video display processor ; VDP)(109)로 출력한다. 상기 VDP(109)는 픽쳐 타입에 따라 데이터를 재배열하여 출력하기도 하고 그대로 출력하기도 한다.The adder 105 adds the IDCT value and the motion compensated value to reconstruct a complete image which is the final pixel value and outputs the result to a video display processor (VDP) 109. The VDP 109 rearranges and outputs the data according to the picture type or outputs it as it is.

여기서, Intra-picture(I-픽쳐)의 경우는 IQ/IDCT한 결과가 바로 메모리(108)에 저장되고, predictive picture(P-픽쳐)나 bidirectional picture(B-픽쳐)의 경우는 움직임 보상된 데이터와 IDCT된 결과가 가산기(105)에서 더해진 후메모리(108)에 저장된다.In the case of intra-picture (I-picture), the result of IQ / IDCT is immediately stored in the memory 108, and in the case of predictive picture (P-picture) or bidirectional picture (B-picture), motion compensated data And the IDCT result are added to the adder 105 and then stored in the memory 108.

즉, MPEG-2를 기본으로 하고 있는 비디오 디코더 시스템은 외부 메모리(108)를 사용하는데, 상기 외부 메모리(108)는 비트 스트림을 일시 저장하기 위한 버퍼와 2개 이상의 프레임 메모리로 구성된다. 그리고, 상기 프레임 메모리는 통상 다이나믹 램(DRAM)을 사용한다. 특히, 비디오 디코더의 경우 상기 외부 메모리(108)의 역할은 비디오 디코딩을 위한 비트 스트림의 쓰기와 읽기, 움직임 보상을 위하여 필요한 데이터의 읽기, 디코딩된 데이터의 쓰기 및 디스플레이될 데이터의 읽기로 크게 나누어질 수 있으며, 메모리 인터페이스(107)를 통해 데이터를 주고받는다.That is, a video decoder system based on MPEG-2 uses an external memory 108, which consists of a buffer for temporarily storing a bit stream and two or more frame memories. In addition, the frame memory typically uses dynamic RAM (DRAM). In particular, in the case of a video decoder, the role of the external memory 108 may be divided into write and read bit streams for video decoding, read data necessary for motion compensation, write decoded data, and read data to be displayed. And exchange data through the memory interface 107.

그러나, MPEG-2 MP@HL의 비디오 데이터를 디코딩하기 위해서는 사용되는 메모리의 크기와 데이터의 전송 속도도 그만큼 빨라져야 하기 때문이다. 또한, MPEG-2 표준 규격안에서 MP@HL 모드를 지원하기 위해서는 약 10Mbits의 비트-버퍼 사이즈가 요구되고, 최대 허용 비트 레이트(bit rate)가 약 80Mbit/s에 이른다. 이로 인해, 기존의 16Mbits DRAM을 기반으로 하는 MPEG-2 비디오 디코더의 경우 약 96∼128Mbits의 외부 메모리를 필요로 한다. 이는 메모리의 가격 상승을 의미한다.However, in order to decode the video data of MPEG-2 MP @ HL, the size of the memory used and the data transfer speed must be increased accordingly. In addition, in the MPEG-2 standard, in order to support the MP @ HL mode, a bit-buffer size of about 10 Mbits is required, and the maximum allowable bit rate reaches about 80 Mbit / s. As a result, the MPEG-2 video decoder based on the existing 16Mbits DRAM requires about 96-128Mbits of external memory. This means higher prices for memory.

그러므로, 제품 및 소비자 응용에 있어서 가격 경쟁력을 갖기 위해서는 고 가격의 메모리를 줄이면서 좋은 화질을 유지할 수 있는 필요성이 대두된다. 또한, 각종 OSD(On Screen Display) 및 다양한 서비스를 제공하고 있는 추세에 비추어 앞으로는 추가적인 메모리의 증가가 필연적이다.Therefore, in order to be competitive in products and consumer applications, there is a need to maintain high image quality while reducing high price memory. In addition, in view of the trend of providing various On Screen Display (OSD) and various services, an additional memory increase is inevitable in the future.

예를 들면, 최근에 MPEG-2와 같은 비디오 압축 복원 시스템의 경우 여러 종류의 비디오 신호를 멀티 디코딩하여 동시에 디스플레이함으로써, 다양한 서비스를 제공하고 있다. 이런 경우 한정된 메모리에 여러 개의 비디오 신호를 디코딩할 수 있어야 한다.For example, recently, in a video decompression system such as MPEG-2, various types of video signals are decoded and displayed simultaneously, thereby providing various services. In this case, it is necessary to be able to decode several video signals in a limited memory.

결국 메모리의 한계성, 가격, 및 데이터 버스의 밴드폭(bandwidth)을 고려해볼 때 비디오 디코딩 칩에 고화질 화상 신호의 손실을 최소로 하는 효과적인 메모리 감축 장치가 필요하며, 이를 위해 여러 가지 방법이 제안되어 있다.After all, considering the limitations of memory, price, and bandwidth of data bus, there is a need for an effective memory reduction device that minimizes the loss of high-definition video signals in video decoding chips. .

즉, 기존의 비디오 디코딩 칩에 내재하여 있는 메모리 감축 알고리즘들을 살펴보면 50% 감축율을 갖는 ADPCM(Adaptive Differential Pulse Coded Modulation) 방식을 제안하거나, 75% 감축율을 갖는 VQ(Vector Quantization) 등을 이용하여 공간적인 중복성을 없애는 방식들을 제안하고 있다. 또한, DCT 주파수 영역에서 필터링/다운-샘플링(filtering/down-sampling) 방식들을 통한 압축 방식도 제안하고 있다.In other words, the memory reduction algorithms inherent in the existing video decoding chip suggest an ADPCM (Adaptive Differential Pulse Coded Modulation) method with 50% reduction rate, or VQ (Vector Quantization) with 75% reduction rate. We propose ways to eliminate spatial redundancy. In addition, a compression scheme using filtering / down-sampling schemes in the DCT frequency domain is also proposed.

그러나, 상기된 ADPCM 방식의 경우는 메모리 내에 압축된 코드가 저장되므로 바로 비디오 디스플레이 장치를 이용해서 디스플레이가 힘들다. 즉, 압축된 코드를 다시 복원하기 위한 장치가 추가되어야 한다.However, in the case of the ADPCM method described above, since the compressed code is stored in the memory, display using the video display device is difficult. In other words, an apparatus for restoring the compressed code again must be added.

이와 달리, 원 칩의 디코더로 들어온 HD급 신호들을 동시에 디스플레이하기 위한 방법으로 다운 컨버젼 알고리즘을 이용하여 한 화면에 두 개의 HD급 영상을 디스플레이하거나 하나의 HD급 영상에 여러 개의 SD급 영상을 디스플레이하기 위한 방식이 필요하다. 이를 위해 좋은 화질과 빠른 처리속도를 갖는 알고리즘 및 하드웨어(H/W) 설계가 필요하다.On the other hand, as a method for simultaneously displaying HD signals inputted to a decoder of one chip, using a down conversion algorithm, displaying two HD images on one screen or displaying several SD images on one HD image. I need a way. This requires algorithms and hardware (H / W) design with good image quality and fast throughput.

본 발명의 목적은 메모리 감축 및 좋은 화질을 유지하면서 여러 개의 HD급 및 SD급을 한 화면에 디스플레이하기 위한 비디오 디코딩 장치 및 방법을 제공함에 있다.SUMMARY OF THE INVENTION An object of the present invention is to provide a video decoding apparatus and method for displaying a plurality of HD and SD classes on one screen while reducing memory and maintaining good image quality.

도 1은 일반적인 비디오 디코딩 장치의 구성 블록도1 is a block diagram of a general video decoding apparatus

도 2는 본 발명에 따른 비디오 디코딩 장치의 구성 블록도2 is a block diagram illustrating a video decoding apparatus according to the present invention.

도 3은 도 2의 상세 블록도3 is a detailed block diagram of FIG.

도 4는 도 3의 8x4 IDCT부의 처리 과정을 보인 도면4 is a diagram illustrating a processing process of an 8x4 IDCT unit of FIG. 3;

도 5는 도 2의 업/다운 샘플링을 통한 움직임 보상 과정을 보인 블록도FIG. 5 is a block diagram illustrating a motion compensation process through up / down sampling of FIG. 2.

도 6은 본 발명의 다운 샘플링 및 IDCT 과정을 보인 도면6 illustrates a downsampling and IDCT process of the present invention.

도 7은 본 발명의 업 샘플링 및 IDCT 과정을 보인 도면7 illustrates an upsampling and IDCT process of the present invention.

도 8은 본 발명의 업 샘플링을 통한 움직임 보상시 픽셀 구조를 보인 도면8 is a diagram illustrating a pixel structure in motion compensation through upsampling according to the present invention.

도 9a, 도 9b는 다양한 디스플레이 모드의 예를 보인 도면9A and 9B show examples of various display modes.

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

201 : 버퍼 202 : VLD201: Buffer 202: VLD

203 : IQ부 204 : IDCT부203: IQ part 204: IDCT part

205 : 가산기 206 : 업 샘플링부205: Adder 206: Upsampling unit

207 : 움직임 보상부 208 : 다운 샘플링부207: motion compensation unit 208: down sampling unit

209 : 메모리 인터페이스 210 : 메모리209: memory interface 210: memory

211 : 수평 업 샘플 필터 212 : 비디오 디스플레이 프로세서211: horizontal up sample filter 212: video display processor

상기와 같은 목적을 달성하기 위한 본 발명에 따른 비디오 디코딩 장치는, 입력되는 비트스트림을 다시 감축하는 압축 모드이면 역양자화된 데이터에 대해 수평 방향으로 고주파수 성분을 1/L만큼 제거한 후 8xM(M=8/L) IDCT를 수행하는 IDCT부와, 상기 IDCT된 데이터 또는 상기 IDCT된 데이터와 움직임 보상된 데이터의 가산 결과를 저장하는 메모리와, 상기 메모리로부터 리드된 기준 픽쳐를 수평 방향으로 업 샘플링하는 수평 업 샘플링부와, 상기 수평 업 샘플링부에서 수평 방향으로 업 샘플링된 픽쳐에 대해 VLD로부터 출력되는 풀 해상도의 움직임 벡터를 사용하여 움직임 보상을 수행하는 움직임 보상부와, 상기 움직임 보상부에서 움직임 보상된 데이터를 수평 방향으로 다운 샘플링한 후 상기 IDCT된 데이터와 더하여 메모리에 다시 저장하는 수평 다운 샘플링부와, 디스플레이 모드에 따라 상기 메모리에 저장된 데이터를 리드하여 디스플레이 장치로 출력하는 비디오 디스플레이 처리부를 포함하여 구성되는 것을 특징으로 한다.In the video decoding apparatus according to the present invention for achieving the above object, in the compression mode to reduce the input bitstream again, 8xM (M = M) after removing high frequency components by 1 / L in the horizontal direction with respect to dequantized data. 8 / L) an IDCT unit for performing IDCT, a memory for storing the addition result of the IDCT data or the IDCT data and the motion compensated data, and a horizontal upsampling of the reference picture read from the memory in a horizontal direction. A motion compensator for performing motion compensation using an up-sampling unit, a full resolution motion vector output from the VLD for a picture up-sampled in the horizontal direction from the horizontal up-sampling unit, and a motion compensation unit in the motion compensating unit. Horizontal down sampling down-sampling data in the horizontal direction and then storing it back in memory in addition to the IDCT data It characterized in that the lead to the data stored in the memory in accordance with a ring portion and a display mode comprises a video display processing section to output to the display device.

상기 수평 다운 샘플링부는 DCT 기저들로 이루어진 매트릭스를 이용하여 8x8블록을 8x4 블록으로 변환하는 것을 특징으로 한다.The horizontal down sampling unit converts an 8x8 block into an 8x4 block using a matrix of DCT bases.

상기 수평 업 샘플링부는 DCT 기저들로 이루어진 매트릭스를 이용하여 8x4블록을 8x8 블록으로 변환하는 것을 특징으로 한다.The horizontal up sampling unit converts an 8x4 block into an 8x8 block by using a matrix of DCT bases.

상기 비디오 디스플레이 처리부는 감축된 영상을 다시 원하는 해상도로 높이길 원할 경우 메모리로부터 읽은 데이터에 대해 수평방향으로 업 샘플링 필터링하는 업 샘플링 필터가 더 구비되는 것을 특징으로 한다.The video display processing unit may further include an upsampling filter for performing upsampling filtering in a horizontal direction with respect to data read from the memory when the video display processor wants to increase the reduced image back to a desired resolution.

본 발명에 따른 비디오 디코딩 방법은, 입력되는 비트스트림을 다시 감축하는 압축 모드이면 역양자화된 8x8 DCT 계수에 대해 수평 방향으로 고주파수 성분을 제거한 후 8x4 IDCT를 수행하고, 상기 압축 모드에서 움직임 보상시 풀 해상도 움직임 벡터를 사용하는 경우 움직임 보상전에 수평 업 샘플링 과정이 수행되고, 움직임 보상 후에 수평 다운 샘플링 과정이 수행되는 것을 특징으로 한다.In the video decoding method according to the present invention, in the compression mode for reducing the input bitstream again, the high frequency component is removed in the horizontal direction with respect to the inversely quantized 8x8 DCT coefficient and 8x4 IDCT is performed. When using a resolution motion vector, horizontal upsampling is performed before motion compensation and horizontal downsampling is performed after motion compensation.

본 발명은 고화질로 부호화된 두 개 이상의 HD급 비디오 신호나 HD급 및 여러 개 SD급의 비디오 신호를 한정된 메모리와 하나의 비디오 디코딩 칩만 사용하여 한 화면에 디스플레이하는데 있다.The present invention displays two or more HD video signals encoded in high definition or HD and several SD video signals on a screen using only a limited memory and one video decoding chip.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.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는 본 발명에 따른 50% 메모리 감축용 다운 컨버젼을 갖는 MPEG-2 비디오 디코더에 대한 구성 블록도로서, 압축 모드인 경우 8x4 IDCT를 수행하는 IDCT부(204), 움직임 보상부(207) 전단에 구비되어 메모리(210)로부터 읽어 온 데이터를수평 방향으로 업 샘플링하는 수평 업 샘플링부(206), 움직임 보상된 데이터를 다시 수평 방향으로 다운 샘플링하여 가산기(205)로 출력하는 수평 다운 샘플링부(208)가 상기된 도 1에 더 포함되어 구성된다.FIG. 2 is a block diagram illustrating an MPEG-2 video decoder having a 50% memory reduction down conversion according to the present invention, wherein an IDCT unit 204 and a motion compensator 207 that perform 8x4 IDCT in the compression mode. A horizontal up sampling unit 206 configured to upsample the data read from the memory 210 in the horizontal direction, and a horizontal down sampling unit which down-samples the motion-compensated data in the horizontal direction and outputs it to the adder 205 ( 208 is further included in FIG. 1 described above.

도 3은 도 2의 다운 컨버젼 부분을 좀더 상세하게 도시한 구성 블록도로서, 압축 모드일 때와 정상 모드일 때가 구분되어 동작한다. 이러한 동작은 제어 신호(COMP)가 각 스위칭부(204-1,206-2,208-1)의 스위칭을 절환시킴에 의해 이루어진다.FIG. 3 is a block diagram illustrating the down-conversion part of FIG. 2 in more detail, and operates in a compression mode and a normal mode. This operation is performed by the control signal COMP switching the switching of each switching unit 204-1, 206-2, 208-1.

즉, 정상 모드(COMP=0)일 때는 8x8 IDCT부(204-2)가 스위칭부(204-1)를 통해 선택되고, 메모리(210)에 저장된 데이터는 스위칭부(206-2)를 통해 움직임 보상부(207)로 바로 출력되며, 움직임 보상된 데이터는 스위칭부(208-1)를 통해 바로 가산기(205)로 출력된다.That is, in the normal mode (COMP = 0), the 8x8 IDCT unit 204-2 is selected through the switching unit 204-1, and the data stored in the memory 210 moves through the switching unit 206-2. The motion compensation data is directly output to the compensator 207, and the motion compensated data is directly output to the adder 205 through the switching unit 208-1.

한편, 압축 모드(COMP=1)일 때는 8x4 IDCT부(204-3)가 스위칭부(204-1)를 통해 선택되고, 메모리(210)에 저장된 데이터는 업 샘플링부(206-1)에서 업 샘플링된 후 스위칭부(206-2)를 통해 움직임 보상부(207)로 출력되며, 움직임 보상된 데이터는 스위칭부(208-1)를 통해 다운 샘플링부(208-2)로 입력되어 다운 샘플링된 후 가산기(205)로 출력된다.On the other hand, in the compression mode (COMP = 1), the 8x4 IDCT unit 204-3 is selected through the switching unit 204-1, and the data stored in the memory 210 is uploaded by the up sampling unit 206-1. After sampling, the output is output to the motion compensator 207 through the switching unit 206-2, and the motion compensated data is input to the down sampling unit 208-2 through the switching unit 208-1 and down sampled. It is then output to the adder 205.

여기서, 설명의 편의상 한 화면에 HD급 영상을 두 개 이상 또는, HD급 및 SD급 영상을 다수개 동시에 디스플레이하기 위하여 입력되는 비트스트림을 다시 감축하는 경우를 압축 모드라 하고, HD급 영상 하나만을 정상적으로 디스플레이하기 위하여 입력되는 비트스트림을 디코딩만 하는 경우를 정상 모드라 칭한다.Here, for convenience of description, a case in which the inputted bitstream is reduced again to display two or more HD-quality images or multiple HD- and SD-level images simultaneously on one screen is referred to as a compression mode. The case where only the inputted bitstream is decoded for normal display is called normal mode.

이때, 8x4 IDCT부(204-3)의 동작을 살펴보면, 압축모드(COMP=1) 인 경우 도 4와 같이 8x8 IDCT 계수들 중 수평 방향으로 고주파수 성분에 해당하는 DCT계수들(X(IJ), I=1,...,8, J=5,...,8)를 제거한 나머지 8x4 DCT 계수들에 대해서만 IDCT한다. 결국, 저주파수 성분들만을 복원하게 되는데 이는 영상내 선명도, 즉 영상의 상세(detail)한 에지나 텍스트등에 대한 정보를 잃게 된다. 그러나, 일반적으로 자연계 영상들은 대부분 저주파수 영역에 대한 신호들로 응집되어 있으므로 영상 화질을 크게 해치지는 않게 된다. 그러므로, 8x4 IDCT한 결과는 영상에 대해 저주파수 대역 필터를 쓴 효과를 나타내며, 최종적으로 외부 메모리(210)에 저장되는 영상의 크기는 반으로 줄어든다. 결국 이를 통해 50%의 메모리 감축율을 얻을 수 있다.In this case, referring to the operation of the 8x4 IDCT unit 204-3, in the compression mode (COMP = 1), DCT coefficients X (IJ) corresponding to high frequency components in the horizontal direction among the 8x8 IDCT coefficients as shown in FIG. IDCT only for the remaining 8x4 DCT coefficients with I = 1, ..., 8, J = 5, ..., 8) removed. As a result, only the low frequency components are restored, which loses the information about the sharpness in the image, that is, the detail edge or the text of the image. In general, however, natural images are mostly aggregated with signals for a low frequency region, so that the image quality is not significantly impaired. Therefore, the result of 8x4 IDCT shows the effect of using a low frequency band filter on the image, and the size of the image stored in the external memory 210 is reduced in half. In the end, you get a 50% reduction in memory.

또한, 정상 모드(COMP=0)인 경우는 도 1의 기존 MPEG-2 비디오 디코더와 같이 풀 해상도 영상을 디코딩하게 된다. 즉, 8x8 IDCT(204-2)에서 8x8 IDCT 계수들에 대해 8x8 IDCT를 수행한다.In the normal mode (COMP = 0), the full resolution video is decoded like the conventional MPEG-2 video decoder of FIG. 1. That is, the 8x8 IDCT 204-2 performs 8x8 IDCT on the 8x8 IDCT coefficients.

한편, MPEG-2 비디오 디코더의 경우 비디오 인코더에서 움직임 보상된 프레임을 얻기 위해서 풀 해상도(full resolution)의 움직임 벡터(MV)를 사용하여 이전 프레임으로부터 현재 프레임의 블록을 재생한다.Meanwhile, in the case of the MPEG-2 video decoder, the video encoder reproduces a block of the current frame from the previous frame using a full resolution motion vector (MV) to obtain a motion compensated frame.

그러므로, 본 발명에서는 움직임 보상시에 화질을 높이기 위해 수평방향의 움직임 벡터를 스케일링 다운(scaling down) 하기보다는 풀 해상도의 움직임 벡터를 사용한다.Therefore, the present invention uses a full resolution motion vector rather than scaling down the horizontal motion vector in order to improve image quality at the time of motion compensation.

그리고, 압축 모드시 메모리(210)에는 수평방향으로 1/2 해상도를 갖는 픽처가 저장되므로 이를 원래의 해상도로 높이기 위해서는 업 샘플링 과정이 필요하다. 또한, 움직임 보상 후에 얻어진 원래 해상도를 다시 1/2 해상도로 줄이기 위해서다운 샘플링 과정이 요구된다. 즉, 압축 모드시 메모리(210)에 저장된 데이터는 업 샘플링부(206-1)에서 수평 방향으로 업 샘플링된 후 스위칭부(206-2)를 통해 움직임 보상부(207)로 출력되고, 움직임 보상된 데이터는 다시 스위칭부(208-1)를 통해 다운 샘플링부(208-2)로 입력되어 수평 방향으로 다운 샘플링된 후 가산기(205)로 출력된다.In the compression mode, since the picture having the 1/2 resolution in the horizontal direction is stored in the memory 210, an upsampling process is required to increase the picture to the original resolution. In addition, a down sampling process is required to reduce the original resolution obtained after motion compensation back to half resolution. That is, in the compression mode, the data stored in the memory 210 is upsampled in the horizontal direction by the upsampling unit 206-1 and then output to the motion compensation unit 207 through the switching unit 206-2, and the motion compensation is performed. The data is again input to the down sampling unit 208-2 through the switching unit 208-1, downsampled in the horizontal direction, and then output to the adder 205.

도 5는 압축 모드시 동작하는 움직임 보상 방식을 나타낸다. 즉, 어드레스 발생부(500)는 움직임 보상에 필요한 기준 프레임을 메모리(307)로부터 읽어오기 위해 움직임 벡터와 필드 선택 신호에 따라 기준 메모리(210)의 리드 어드레스를 발생한다. 그리고, 수평 업 샘플링부(206)의 수평 업 샘플링 필터는 상기 리드 어드레스의 기준 픽셀들을 메모리(210)로부터 읽어 와 수평 방향으로 업 샘플링한 후 움직임 보상부(207)로 출력하여 하프 펠 보간(half-pel interpolation)을 한다. 상기 하프 펠 보간된 데이터는 다시 수평 다운 샘플링부(208)의 다운 샘플링 필터로 입력되어 수평 방향으로 다운 샘플링된다.5 shows a motion compensation scheme operating in the compression mode. That is, the address generator 500 generates a read address of the reference memory 210 according to the motion vector and the field selection signal to read the reference frame necessary for motion compensation from the memory 307. The horizontal upsampling filter of the horizontal upsampling unit 206 reads the reference pixels of the read address from the memory 210, upsamples them in the horizontal direction, and outputs them to the motion compensator 207 for half pel interpolation. -pel interpolation). The half pel interpolated data is input to the down sampling filter of the horizontal down sampling unit 208 and down sampled in the horizontal direction.

이때, 수평 업 샘플링부(206)의 업 샘플링 필터와 수평 다운 샘플링부(208)의 다운 샘플링 필터의 성질에 따라 화질이 크게 좌우된다.At this time, the image quality greatly depends on the properties of the up sampling filter of the horizontal up sampling unit 206 and the down sampling filter of the horizontal down sampling unit 208.

본 발명에서 사용된 업 샘플링/다운 샘플링 필터 방식은 DCT 기저들로 구성되어진 매트릭스들을 사용한다.The up sampling / down sampling filter scheme used in the present invention uses matrices composed of DCT basis.

상기 매트릭스들을 설명하기 전에 먼저, DCT의 성질을 기술한다.Before describing the matrices, the nature of the DCT is described first.

즉, 8x8 2-D(Dimension) DCT 경우는 하기의 수학식 1과 같이 표현된다.That is, an 8x8 2-D (Dimension) DCT case is represented by Equation 1 below.

여기서, f는 8x8 영상 블록을 나타내고, F는 f에 대해 DCT한 계수 블록을 나타내며, C8은 8x8 DCT 기저 매트릭스(matrix)를 나타낸다.Here, f denotes an 8x8 image block, F denotes a coefficient block DCTed to f, and C 8 denotes an 8x8 DCT base matrix.

8x8 2-D IDCT 경우는 하기의 수학식 2와 같이 표현된다.The 8x8 2-D IDCT case is represented by Equation 2 below.

8x4 2-D IDCT 경우는 하기의 수학식 3과 같이 표현된다.The 8x4 2-D IDCT case is represented by Equation 3 below.

여기서,이고, C4는 4x4 DCT 기저 매트릭스를 나타낸다.here, And C 4 represents a 4 × 4 DCT base matrix.

이때, 상기 수학식 3에 수학식 1을 첨가하여 풀면 다음의 수학식 4와 같다.In this case, when Equation 1 is added to Equation 3 and solved, Equation 4 is as follows.

여기서 P4=는 8x4 차원(dimension)을 다운 샘플링 매트릭스로 정의하고, 8x8 블록을 8x4 블록으로 변환시켜준다. 도 6은 DCT 영역에서의 다운 샘플링과정을 도시하고 있다.Where P 4 = Defines an 8x4 dimension as a downsampling matrix and converts an 8x8 block into an 8x4 block. 6 shows a down sampling process in the DCT region.

한편, 업 샘플링 방식은 상기의 역변환으로 8x4 블록을 8x8 블록으로 다음의 식을 이용하여 변환한다. 이에 대한 DCT 영역에서의 과정을 도 7에 도시하였다.On the other hand, the up-sampling method converts an 8x4 block into an 8x8 block by the inverse transform using the following equation. The process in the DCT region is shown in FIG. 7.

즉, 상기 수학식 3으로부터 8x4 2-D DCT는 다음의 수학식 5와 같이 얻을 수 있다.That is, 8x4 2-D DCT can be obtained from Equation 3 as shown in Equation 5 below.

그리고, 상기 수학식 2을 이용해서 8x8 2-D IDCT한 결과는 다음의 수학식 6과 같이 얻을 수 있다.The result of 8x8 2-D IDCT using Equation 2 can be obtained as shown in Equation 6 below.

결국 상기 수학식 6은 다음의 수학식 7과 같은 관계식으로 표현된다.As a result, Equation 6 is expressed by the following equation.

또한, 상기 수학식 7은 상기 수학식 4의 역변환으로부터 다음의 수학식 8과 같이 얻을 수 있다.In addition, Equation 7 may be obtained as in Equation 8 below from the inverse transform of Equation 4.

여기서, Q4는 P4의 의사-인버스(pseudo-inverse) 변환으로,이다.Where Q 4 is a pseudo-inverse transformation of P 4 , to be.

이때,At this time,

인 관계를 이용하면 상기 수학식 8은 다음의 수학식 9를 만족한다. Using the relation, the equation (8) satisfies the following equation (9).

상기 수학식 7은 수평 업 샘플링부(206)에서 메모리(210)에 저장되어 있는 1/2 해상도 영상을 블록 단위로 업 샘플링하는 과정을 나타낸다.Equation 7 shows a process of up-sampling a 1/2 resolution image stored in the memory 210 in units of blocks in the horizontal up sampling unit 206.

즉, 상기 수평 업 샘플링부(206)는 상기의 업 샘플링 매트릭스를 이용하여 원래 해상도에 맞는 매크로 블록을 재생한 후 움직임 보상 블록을 얻는다. 이때, 수평방향으로 하프 펠 보간(half-pel interpolation)이 존재하거나 풀 해상도(full-resolution) 움직임 벡터(MV)가 8의 배수로 떨어지지 않을 경우, 도 8에서 보는 바와 같이 수평방향으로 Nx4 단위의 3개 블록을 가져온다. N은 움직임 보상되는 블록의 수직 방향의 길이를 나타낸다. 만약, 수직 방향으로 하프 펠 정밀도(half-pel precision)가 사용시 (N+1)x4 단위의 블록을 메모리(210)에서 가져온다. 그 후 3개의 블록들에 대해서 상기 수학식 7에 유도된 바와 같이 업 샘플링 매트릭스를 이용하여 풀 해상도 블록을 복원한다. 그 후에 움직임 보상부(207)에서풀 해상도 움직임 벡터에 해당하는 영역에 대해서 하프 펠 보간하여 우리가 원하는 움직임 보상된 블록을 구한다.That is, the horizontal up sampling unit 206 obtains a motion compensation block after reproducing the macro block corresponding to the original resolution by using the up sampling matrix. At this time, if there is half-pel interpolation in the horizontal direction or the full-resolution motion vector (MV) does not fall by a multiple of 8, as shown in FIG. Get blocks. N represents the length of the vertical direction of the block to be motion compensated. If half-pel precision is used in the vertical direction, a block of (N + 1) × 4 units is taken from the memory 210. Then, for the three blocks, the full resolution block is reconstructed using the up-sampling matrix as derived from Equation 7 above. After that, the motion compensation unit 207 performs half pel interpolation on the region corresponding to the full resolution motion vector to obtain a motion compensated block that we want.

이렇게 움직임 보상된 Nx16 크기의 블록을 도 3에서 보는 바와 같이 8x4 IDCT한 결과와 더하기 위해 수평 다운 샘플링부(208)에서 다시 다운 샘플링 과정을 거친다. 즉, 상기 수학식 4의 다운 샘플링 매트릭스를 이용하여 Nx16 크기의 블록을 Nx8 크기의 블록으로 변환한다. 이렇게 얻어진 블록은 도 3의 MB 가산기(205)를 통해서 다시 메모리(210)에 저장된다.The motion-compensated Nx16 block is down-sampled again by the horizontal down sampling unit 208 to add to the result of 8x4 IDCT as shown in FIG. 3. That is, Nx16 blocks are converted into Nx8 blocks using the down sampling matrix of Equation 4. The block thus obtained is stored in the memory 210 again through the MB adder 205 of FIG.

그리고, 메모리(210)의 축소된 해상도 픽쳐(reduced-resolution picture)들은 다양한 디스플레이 모드에 따라 VDP(212)를 거쳐서 화면에 나타난다. 특히 여러 가지 비디오 소스에 대한 멀티 디코딩시 한정된 메모리로도 두 개이상의 HD급 신호를 얻을 수 있다. 또한, 외부 입력(external input)을 통해서 들어오는 HD/SD급 신호들과 결합하여 다양한 형태의 화면을 도 9에서 보는 바와 같이 구성할 수 있게 된다. 이때, 감축된 영상을 다시 풀 해상도로 복원하기 원하면 수평 업 샘플 필터(211)에서 수평방향으로 업 샘플링 필터링을 한 후 VDP(212)로 출력한다. 여기서, 업 샘플링 필터링의 정도에 따라 복원되는 화면의 크기가 달라질 수 있다.Reduced-resolution pictures of the memory 210 are displayed on the screen via the VDP 212 according to various display modes. In particular, two or more HD signals can be obtained even with limited memory when multi-decoding multiple video sources. In addition, various types of screens may be configured as shown in FIG. 9 by combining with HD / SD level signals input through an external input. In this case, if the reduced image is to be restored to full resolution again, the horizontal upsample filter 211 performs upsampling filtering in the horizontal direction and then outputs it to the VDP 212. Here, the size of the restored screen may vary depending on the degree of upsampling filtering.

그리고, 메모리(210)의 용량에 따라 한 화면에 디스플레이될 수 있는 HD급 및 SD급의 화면 수가 달라질 수 있다.In addition, the number of HD and SD screens that may be displayed on one screen may vary depending on the capacity of the memory 210.

또한, 상기된 다운 샘플링 및 업 샘플링 과정을 수직 방향에 대해서도 적용하면 75% 메모리 감축율의 효과를 얻을 수 있으며, 이때는 한 화면에 디스플레이할 수 있는 HD급 및 SD급의 화면 수가 더욱 늘어난다.In addition, when the above-described down sampling and up sampling processes are applied to the vertical direction, the effect of the 75% memory reduction rate can be obtained. In this case, the number of HD and SD screens that can be displayed on one screen is further increased.

한편, 축소된 해상도 픽쳐로부터 풀 해상도 픽쳐를 얻기 위한 업 샘플링 필터(211)의 경우는 움직임 보상 방식에서 사용된 수평 업 샘플링부(206)와 달리 n-탭 FIR 필터나 IIR 필터등의 여러 형태로 구현 가능하다. 이때, 성능이 좋은 필터를 사용함으로써 화질의 선명도를 높일 수 있다.On the other hand, the upsampling filter 211 for obtaining a full resolution picture from the reduced resolution picture is different from the horizontal upsampling unit 206 used in the motion compensation scheme in various forms such as an n-tap FIR filter or an IIR filter. It can be implemented. At this time, the use of a high-performance filter can increase the sharpness of the image quality.

이와 같이 본 발명은 디지털 TV나 비디오 화상 회의 등의 응용 분야에 필수적인 기술로서 디지털 비디오 전송분야의 표준안인 MPEG-2 HDTV MP@HL 디코더 칩에 적용할 수 있으며, 또한 멀티 디코딩이나 한 화면에 여러 개의 비디오를 수신 및 화면 처리할 수 있는 고 성능 비디오 디코더 및 타 회사의 디지털 TV와의 기술 경쟁력 강화 등의 큰 효과를 얻을 수 있다.As described above, the present invention can be applied to MPEG-2 HDTV MP @ HL decoder chip, which is an essential technology for application fields such as digital TV or video video conferencing, and can be applied to multiple decoding or multiple screens. The high-performance video decoder that can receive and screen video, and strengthen the technological competitiveness of other companies' digital TV.

이상에서와 같이 본 발명에 따른 비디오 디코딩 장치 및 방법에 의하면, 다운 컨버젼 알고리즘을 이용해서 50% 메모리 감축율을 얻으며, 한 개의 HD급 영상을 처리하기 위한 메모리만 가지고도 두 개 이상의 HD급 영상 및 여러 종류의 다양한 SD급 영상을 동시에 한 화면에 디스플레이 할 수 있게 된다. 또한, 추가적인 하드웨어의 부담없이 두 개의 HD급 비디오 신호들은 한 화면에 수평방향으로 1/2 해상도로 디스플레이 가능하게 된다. 특히, 업 샘플링과 다운 샘플링 매트릭스를 통한 풀 해상도 움직임 보상을 통해서 저 해상도의 화질을 매우 좋게 유지할 수 있게 된다.As described above, according to the video decoding apparatus and method according to the present invention, a 50% memory reduction rate is obtained by using a down conversion algorithm, and two or more HD video and It is possible to display various kinds of SD-quality images on one screen at the same time. In addition, two HD video signals can be displayed at 1/2 resolution horizontally on one screen without any additional hardware burden. In particular, full resolution motion compensation through up-sampling and down-sampling matrices ensures a very low picture quality.

이상 설명한 내용을 통해 당업자라면 본 발명의 기술 사상을 일탈하지 아니하는 범위에서 다양한 변경 및 수정이 가능함을 알 수 있을 것이다.Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the present invention.

따라서, 본 발명의 기술적 범위는 실시예에 기재된 내용으로 한정되는 것이 아니라 특허 청구의 범위에 의하여 정해져야 한다.Therefore, the technical scope of the present invention should not be limited to the contents described in the embodiments, but should be defined by the claims.

Claims (10)

입력되는 비디오 비트스트림을 가변 길이 디코딩(VLD)한 후 역양자화(IQ) 과정, 역 이산 코사인 변환(IDCT) 과정, 및 움직임 보상(MC) 과정을 거쳐 원래 화면의 픽셀 값으로 복원하는 비디오 디코딩 장치에 있어서,A video decoding apparatus which reconstructs an input video bitstream to a pixel value of an original screen through variable length decoding (VLD) and then through inverse quantization (IQ), inverse discrete cosine transform (IDCT), and motion compensation (MC). To 입력되는 비트스트림을 다시 감축하는 압축 모드이면 역양자화된 데이터에 대해 수평 방향으로 고주파수 성분을 1/2만큼 제거한 후 8x4 IDCT를 수행하는 IDCT부;An IDCT unit for performing 8x4 IDCT after removing 1/2 of the high frequency component in the horizontal direction with respect to the dequantized data in the compression mode for reducing the input bitstream again; 상기 IDCT된 데이터 또는 상기 IDCT된 데이터와 움직임 보상된 데이터의 가산 결과를 저장하는 메모리;A memory for storing an addition result of the IDCT data or the IDCT data and motion compensated data; 상기 메모리로부터 리드된 기준 픽쳐를 수평 방향으로 업 샘플링하는 수평 업 샘플링부;A horizontal upsampling unit configured to upsample a reference picture read from the memory in a horizontal direction; 상기 수평 업 샘플링부에서 수평 방향으로 업 샘플링된 픽쳐에 대해 VLD로부터 출력되는 풀 해상도의 움직임 벡터를 사용하여 움직임 보상을 수행하는 움직임 보상부;A motion compensation unit for performing motion compensation on the picture up-sampled in the horizontal direction by the horizontal up sampling unit by using a motion vector having a full resolution output from the VLD; 상기 움직임 보상부에서 움직임 보상된 데이터를 수평 방향으로 다운 샘플링한 후 상기 IDCT된 데이터와 더하여 메모리에 다시 저장하는 수평 다운 샘플링부; 그리고A horizontal down sampling unit which down-samples the motion compensated data by the motion compensation unit in a horizontal direction and stores the motion compensated data in the memory in addition to the IDCT data; And 디스플레이 모드에 따라 상기 메모리에 저장된 데이터를 리드하여 디스플레이 장치로 출력하는 비디오 디스플레이 처리부를 포함하여 구성되는 것을 특징으로 하는 비디오 디코딩 장치.And a video display processor for reading data stored in the memory and outputting the data stored in the memory to a display device according to a display mode. 제 1 항에 있어서, 상기 수평 다운 샘플링부는The method of claim 1, wherein the horizontal down sampling unit DCT 기저들로 이루어진 매트릭스를 이용하여 8x8블록을 8x4 블록으로 변환하는 것을 특징으로 하는 비디오 디코딩 장치.And a 8x8 block is converted into an 8x4 block using a matrix of DCT basis. 제 1 항에 있어서, 상기 수평 업 샘플링부는The method of claim 1, wherein the horizontal up sampling unit DCT 기저들로 이루어진 매트릭스를 이용하여 8x4 블록을 8x8 블록으로 변환하는 것을 특징으로 하는 비디오 디코딩 장치.And a 8x4 block is converted into an 8x8 block using a matrix of DCT basis. 제 1 항에 있어서, 상기 수평 업 샘플링부는The method of claim 1, wherein the horizontal up sampling unit 수평방향으로 하프 펠 보간이 존재하거나 풀 해상도 움직임 벡터가 8의 배수로 떨어지지 않을 경우, 수평방향으로 Nx4 단위의 3개 블록(여기서, N은 움직임 보상되는 블록의 수직 방향의 길이)을 메모리로부터 읽어 와 수평 방향으로 업 샘플링한 후 움직임 보상에 이용하는 것을 특징으로 하는 비디오 디코딩 장치.If there is half pel interpolation in the horizontal direction or the full resolution motion vector does not fall by multiples of eight, then three blocks of Nx4 units in the horizontal direction (where N is the vertical length of the motion compensated block) are read from the memory. A video decoding apparatus characterized by using for motion compensation after upsampling in a horizontal direction. 제 1 항에 있어서, 상기 수평 업 샘플링부는The method of claim 1, wherein the horizontal up sampling unit 수직 방향으로 하프 펠 정밀도가 사용시 (N+1)x4 단위의 블록(여기서, N은 움직임 보상되는 블록의 수직 방향의 길이)을 메모리로부터 읽어 와 수평 방향으로 업 샘플링한 후 움직임 보상에 이용하는 것을 특징으로 하는 비디오 디코딩 장치.When half pel precision is used in the vertical direction, a block of (N + 1) × 4 units (where N is the length of the vertical direction of the block to be compensated for) is read from the memory, upsampled in the horizontal direction, and used for motion compensation. A video decoding device. 제 1 항에 있어서, 상기 비디오 디스플레이 처리부는The display apparatus of claim 1, wherein the video display processor is used. 감축된 영상을 다시 원하는 해상도로 높이길 원할 경우 메모리로부터 읽은 데이터에 대해 수평방향으로 업 샘플링 필터링하는 업 샘플링 필터가 더 구비되는 것을 특징으로 하는 비디오 디코딩 장치.And an upsampling filter for horizontally upsampling and filtering the data read from the memory when the reduced image is again increased to a desired resolution. 입력되는 비디오 비트스트림을 가변 길이 디코딩(VLD)한 후 역양자화(IQ) 과정, 역 이산 코사인 DCT) 과정, 및 움직임 보상(MC) 과정을 거쳐 원래 화면의 픽셀 값으로 복원하는 비디오 디코딩 방법에 있어서,In the video decoding method of reconstructing the input video bitstream to the pixel value of the original screen through a variable length decoding (VLD) and then through an inverse quantization (IQ) process, an inverse discrete cosine DCT process, and a motion compensation (MC) process , 입력되는 비트스트림을 다시 감축하는 압축 모드이면 역양자화된 데이터에 대해 수평 방향으로 고주파수 성분을 제거한 후 8x4 IDCT를 수행하는 단계;Performing 8x4 IDCT after removing the high frequency component in the horizontal direction with respect to the dequantized data in the compression mode of reducing the input bitstream again; 상기 IDCT된 데이터 또는 상기 IDCT된 데이터와 움직임 보상된 데이터의 가산 결과를 메모리에 저장하는 단계;Storing an addition result of the IDCT data or the IDCT data and motion compensated data in a memory; 상기 메모리로부터 리드된 기준 픽쳐를 수평 방향으로 업 샘플링하는 단계;Upsampling a reference picture read from the memory in a horizontal direction; 상기 단계에서 수평 방향으로 업 샘플링된 픽쳐에 대해 가변 길이 디코딩되어 출력되는 풀 해상도의 움직임 벡터를 사용하여 움직임 보상을 수행하는 단계;Performing motion compensation on the upsampled picture in the horizontal direction using a full-resolution motion vector that is variable-length decoded and output; 상기 단계에서 움직임 보상된 데이터를 수평 방향으로 다운 샘플링한 후 상기 IDCT된 데이터와 더하여 메모리에 다시 저장하는 단계; 그리고Down-sampling the motion-compensated data in the horizontal direction and storing the motion-compensated data in the memory in addition to the IDCT data; And 디스플레이 모드에 따라 상기 메모리에 저장된 데이터를 리드하여 디스플레이 장치로 출력하는 단계를 포함하여 이루어지는 것을 특징으로 하는 비디오 디코딩 방법.And reading the data stored in the memory according to a display mode and outputting the data to a display device. 삭제delete 제 7 항에 있어서, 상기 수평 다운 샘플링 과정은The method of claim 7, wherein the horizontal down sampling process 다음의 매트릭스를 적용하여 8x8블록을 8x4 블록으로 변환하는 것을 특징으로 하는 비디오 디코딩 방법.A video decoding method characterized by converting an 8x8 block into an 8x4 block by applying the following matrix. 여기서, P4=는 8x4 차원을 다운 샘플링 매트릭스로 정의하고, f는 8x8 영상 블록을, C8은 8x8 DCT 기저 매트릭스를 나타내며,이고, C4는 4x4 DCT 기저 매트릭스를 나타냄.Where P 4 = Defines an 8x4 dimension as the downsampling matrix, f denotes an 8x8 image block, C 8 denotes an 8x8 DCT basis matrix, And C 4 represents a 4x4 DCT base matrix. 제 7 항에 있어서, 상기 수평 업 샘플링 과정은The method of claim 7, wherein the horizontal upsampling process 다음의 매트릭스를 적용하여 8x4 블록을 8x8 블록으로 변환하는 것을 특징으로 하는 비디오 디코딩 방법.A video decoding method characterized by converting an 8x4 block into an 8x8 block by applying the following matrix. 여기서, Q4는 P4의 의사-인버스 변환임.Where Q 4 is the pseudo-inverse transformation of P 4 .
KR1020000004016A 2000-01-27 2000-01-27 Apparatus for decoding video and method for the same KR100359824B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000004016A KR100359824B1 (en) 2000-01-27 2000-01-27 Apparatus for decoding video and method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000004016A KR100359824B1 (en) 2000-01-27 2000-01-27 Apparatus for decoding video and method for the same

Publications (2)

Publication Number Publication Date
KR20010076688A KR20010076688A (en) 2001-08-16
KR100359824B1 true KR100359824B1 (en) 2002-11-07

Family

ID=19642082

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000004016A KR100359824B1 (en) 2000-01-27 2000-01-27 Apparatus for decoding video and method for the same

Country Status (1)

Country Link
KR (1) KR100359824B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100734549B1 (en) * 2005-06-28 2007-07-02 세종대학교산학협력단 Apparatus and method for fast decoding for multi-channel digital video recorder

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970064212A (en) * 1996-02-03 1997-09-12 구자홍 HDTV video decoder circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970064212A (en) * 1996-02-03 1997-09-12 구자홍 HDTV video decoder circuit

Also Published As

Publication number Publication date
KR20010076688A (en) 2001-08-16

Similar Documents

Publication Publication Date Title
KR100370076B1 (en) video decoder with down conversion function and method of decoding a video signal
US5818530A (en) MPEG compatible decoder including a dual stage data reduction network
JP3591083B2 (en) Digital video decoder for decoding digital high definition and / or digital standard definition television signals
US6104753A (en) Device and method for decoding HDTV video
US5825424A (en) MPEG system which decompresses and recompresses image data before storing image data in a memory and in accordance with a resolution of a display device
US6704358B1 (en) Method and apparatus for resizing image information
US6885707B2 (en) Systems for MPEG subsample decoding
KR100504471B1 (en) Video decoding system
US6665343B1 (en) Methods and arrangements for a converting a high definition image to a lower definition image using wavelet transforms
JPH09214972A (en) Decoder circuit, mpeg video stream decoding method and computer
US20010016010A1 (en) Apparatus for receiving digital moving picture
US6529244B1 (en) Digital video decode system with OSD processor for converting graphics data in 4:4:4 format to 4:2:2 format by mathematically combining chrominance values
KR100323676B1 (en) Apparatus for receiving digital moving picture
KR100282307B1 (en) Digital TV Receive Decoder Device
US20080170628A1 (en) Video decoding method and apparatus having image scale-down function
KR100463515B1 (en) Video decoding system
EP0955609B1 (en) Decoding compressed image information
KR100359824B1 (en) Apparatus for decoding video and method for the same
KR100323688B1 (en) Apparatus for receiving digital moving picture
KR100277953B1 (en) Digital tv receiver
KR100255777B1 (en) Digital tv receiver decoder device
KR100296817B1 (en) Decoder of digital tv receiver
KR100232182B1 (en) Apparatus and method for image compression of digital tv
KR100308007B1 (en) Digital tv decoder
KR20020034709A (en) apparatus for down conversion processing in DTV

Legal Events

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

Payment date: 20060911

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee