KR100601609B1 - Apparatus for decoding motion picture and method thereof - Google Patents

Apparatus for decoding motion picture and method thereof Download PDF

Info

Publication number
KR100601609B1
KR100601609B1 KR1019990020684A KR19990020684A KR100601609B1 KR 100601609 B1 KR100601609 B1 KR 100601609B1 KR 1019990020684 A KR1019990020684 A KR 1019990020684A KR 19990020684 A KR19990020684 A KR 19990020684A KR 100601609 B1 KR100601609 B1 KR 100601609B1
Authority
KR
South Korea
Prior art keywords
data
block
inverse
quantization
transform
Prior art date
Application number
KR1019990020684A
Other languages
Korean (ko)
Other versions
KR20010001458A (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 KR1019990020684A priority Critical patent/KR100601609B1/en
Publication of KR20010001458A publication Critical patent/KR20010001458A/en
Application granted granted Critical
Publication of KR100601609B1 publication Critical patent/KR100601609B1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D85/00Containers, packaging elements or packages, specially adapted for particular articles or materials
    • B65D85/02Containers, packaging elements or packages, specially adapted for particular articles or materials for annular articles
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65DCONTAINERS FOR STORAGE OR TRANSPORT OF ARTICLES OR MATERIALS, e.g. BAGS, BARRELS, BOTTLES, BOXES, CANS, CARTONS, CRATES, DRUMS, JARS, TANKS, HOPPERS, FORWARDING CONTAINERS; ACCESSORIES, CLOSURES, OR FITTINGS THEREFOR; PACKAGING ELEMENTS; PACKAGES
    • B65D81/00Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents
    • B65D81/02Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents specially adapted to protect contents from mechanical damage
    • B65D81/05Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents specially adapted to protect contents from mechanical damage maintaining contents at spaced relation from package walls, or from other contents
    • B65D81/107Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents specially adapted to protect contents from mechanical damage maintaining contents at spaced relation from package walls, or from other contents using blocks of shock-absorbing material
    • B65D81/113Containers, packaging elements, or packages, for contents presenting particular transport or storage problems, or adapted to be used for non-packaging purposes after removal of contents specially adapted to protect contents from mechanical damage maintaining contents at spaced relation from package walls, or from other contents using blocks of shock-absorbing material of a shape specially adapted to accommodate contents

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

화상 압축을 이용하여 메모리용량을 절감하는 동화상 복호화 장치 및 그 방법이 개시되어 있다. 본 발명은 입력 비트스트림으로부터 움직임 벡터와 가변장 부호를 구분적으로 분리하는 역다중화과정, 상기 가변장 부호를 소정의 복호알고리듬에 의해 매크로 블록 단위로 복원하는 복호화과정, 상기 복호화과정에서 복원된 매크로 블록 단위의 데이터를 복수개의 블록으로 분할하여 직교변환하고 양자화한 후 양자화 레벨 정보와 함께 메모리에 저장하는 변환부호화과정, 상기 메모리에 저장된 데이터를 역양자화하고 역직교변환하여 출력영상을 생성하는 변환복호화과정을 포함한다.Disclosed are a video decoding apparatus and a method for reducing memory capacity by using image compression. The present invention provides a demultiplexing process for separately separating a motion vector and a variable length code from an input bitstream, a decoding process for restoring the variable length code in macroblock units by a predetermined decoding algorithm, and a macro restored in the decoding process. Orthogonal transformation by dividing the data in block units into a plurality of blocks, and quantizing them, and then storing and storing them in a memory together with quantization level information. Process.

Description

동화상 복호화 장치 및 그 방법{Apparatus for decoding motion picture and method thereof}Apparatus for decoding motion picture and method

도 1은 종래의 동화상 복호화장치를 보이는 블록도이다.1 is a block diagram showing a conventional moving picture decoding apparatus.

도 2는 본 발명에 따른 동화상 복호화 장치를 보이는 블록도이다.2 is a block diagram showing a moving picture decoding apparatus according to the present invention.

도 3은 도 2에 도시된 변환부호기의 상세도이다.3 is a detailed diagram of the conversion encoder illustrated in FIG. 2.

도 4는 도 2에 도시된 변환복호기의 상세도이다.4 is a detailed view of the transform decoder shown in FIG. 2.

도 5a 내지 도 5c는 변환부호기의 블록 분할 방법에 대한 실시예이다.5A to 5C illustrate an embodiment of a block partitioning method of a transform encoder.

도 6은 변환부호기에서 다중화된 데이터 구성을 도시한 것이다. 6 shows a data structure multiplexed in the transform encoder.

본 발명은 동화상 복호화 장치 및 그 방법에관한 것으로서, 특히 화상 압축을 이용하여 동화상을 복호화함으로써 메모리용량을 절감하는 동화상 복호화 장치 및 그 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture decoding apparatus and a method thereof, and more particularly, to a moving picture decoding apparatus and method for reducing memory capacity by decoding a moving picture using image compression.

기존의 아날로그 신호 기술을 근간으로 하는 방송환경이 디지털 미디어의 확산, 디지털 신호처리 기술 및 디지털 통신 기술로 비약적으로 발전하고 있다. 특히 고화질 TV(이하 HDTV라 칭함) 방송과 같은 디지털 방송이 급속하게 확산되고 있다. 그러나 HDTV를 수신하기 위해서는 전용 디지털 TV 수신기를 필요로한다. 이러한 HDTV 수신기의 가격을 결정하는 중요한 요인중의 하나는 HDTV급 동화상을 수신하는 데 필요한 메모리이다. 즉, HDTV 동화상을 복호화하기 위해서는 12-16M바이트이상의 메모리가 소요된다. 이러한 고용량의 메모리를 줄이기 위해 화상 압축 방식을 이용한 동화상 복호화 방법들이 개발되고 있다. Broadcasting environment based on the existing analog signal technology is rapidly developing into the proliferation of digital media, digital signal processing technology and digital communication technology. In particular, digital broadcasting such as high-definition television (hereinafter referred to as HDTV) broadcasting is rapidly spreading. But in order to receive HDTV, you need a dedicated digital TV receiver. One of the important factors that determine the price of such HDTV receivers is the memory required to receive HDTV-quality video. That is, 12-16 Mbytes or more of memory are required to decode the HDTV moving picture. In order to reduce such a large memory, moving picture decoding methods using an image compression method have been developed.

도 1은 종래의 동화상 복호화장치를 보이는 블록도이다. 1 is a block diagram showing a conventional moving picture decoding apparatus.

먼저, 역다중화기(110)는 입력되는 비트스트림으로부터 DCT(Discrete Cosine Transform)계수에 대한 가변장 부호와 움직임 보상을 위한 움직임 벡터(MV)를 구분하여 출력한다. VLD(Variable Length Decoder:120)는 DCT 계수들에 대한 가변장 부호를 미도시된 가변장 복호 테이블을 이용하여 양자화 계수로 복원한다. 역양자화기(130)는 양자화 테이블을 이용하여 양자화계수들을 DCT계수로 복원한다. IDCT(Inverse Discrete Cosine Transform:140)은 DCT 계수들에 대해서 역변환 과정을 통해 에측 오차에 대한 데이터를 생성시킨다. 움직임보상기(150)는 역다중화기(110)로부터 움직임 벡터(MV)를 입력받아 메모리(190)에 저장되어 있는 기준 화면으로부터 예측된 데이터 블록을 리드한다. 이때 메모리(190)에 저장되어 있는 기준 화면은 원 영상에 비해 미리 설정된 비율에 맞게 축소된 영상이다. 엎-샘플러(160)는 움직임 보상기(150)에서 입력된 예측블럭 데이터를 원영상에서의 블록 크기에 맞도록 보간 과정을 통해 블록 크기를 확대한다. 뎃셈기(170)에서는 IDCT(140)에서 출력되는 매크로블럭계수와 엎-샘플러(160)의 출력을 더한다. 다운샘플러(180)는 입력된 매크로 블록을 미리 정해진 블록 크기로 축소하기 위해 입력 데이터 블록을 필터링한 후 데시메이션(Decimation)한다. 다운샘플러(180)에서 출력되는 데이터 블록은 입력 블록에 대해 미리 설정된 비율에 따라서 축소된 블록 데이터이며, 이들 블록 데이터는 메모리(190)에 라이트되어 다음 프레임의 예측 또는 화상 디스플레이를 위해 사용된다. First, the demultiplexer 110 distinguishes and outputs a variable length code for a discrete cosine transform (DCT) coefficient and a motion vector (MV) for motion compensation from an input bitstream. Variable Length Decoder (VLD) 120 restores the variable length code for the DCT coefficients to a quantization coefficient using a variable length decoding table (not shown). The inverse quantizer 130 restores the quantization coefficients to the DCT coefficients using the quantization table. Inverse Discrete Cosine Transform (IDCT) 140 generates data on prediction error through an inverse transform process on DCT coefficients. The motion compensator 150 receives the motion vector MV from the demultiplexer 110 and reads the predicted data block from the reference screen stored in the memory 190. In this case, the reference screen stored in the memory 190 is an image reduced according to a preset ratio compared to the original image. The shut-sampler 160 enlarges the block size by interpolating the prediction block data input from the motion compensator 150 to fit the block size in the original image. The multiplier 170 adds the macroblock coefficient output from the IDCT 140 and the output of the run-sampler 160. The downsampler 180 filters and then decimates the input data block to reduce the input macro block to a predetermined block size. The data blocks output from the downsampler 180 are block data reduced according to a preset ratio with respect to the input block, and these block data are written to the memory 190 and used for prediction or image display of the next frame.

이와 같이 종래 기술은 메모리용량을 줄이기 위해 복원된 블록을 데시메이션하여 미리 설정된 크기의 블록으로 줄여서 메모리(190)에 저장하고, 움직임 보상을 위해서 축소된 형태로 메모리(190)에 저장되어 있는 기준 화면의 데이터를 보간하여 원래의 블록 크기로 복원하고 있다. 이러한 방식은 복원된 화상을 미리 설정된 크기로 줄여서 저장하므로 메모리(190)에 저장되어 있는 화상내의 각 화소 위치는 고정되어 있으며, 움직임 보상을 위해 움직임 벡터를 이용하여 특정 위치에 저장되어 있는 블록데이터를 쉽게 서치할 수있다. 그러나 메모리용량을 줄이기 위한 화상 압축을 매우 단순한 형태의 데시메이션방식을 이용하므로 복원된 동화상의 화질이 매우 열화되며, 특히 이러한 화질 열화는 에측 방식에 따른 동화상의 복원이 계속 진행되는 동안 누적되는 문제점이 있다. As described above, the conventional technology decimates a restored block to reduce the memory capacity, reduces the block into a block having a predetermined size, and stores the same in a memory 190 and a reference screen stored in the memory 190 in a reduced form for motion compensation. Data is interpolated and restored to the original block size. This method reduces and stores the reconstructed image to a preset size, so that each pixel position in the image stored in the memory 190 is fixed, and block data stored at a specific position using a motion vector for motion compensation. Easy to search However, the image compression to reduce the memory capacity uses a very simple decimation method, so that the image quality of the restored video is very degraded. In particular, such image quality degradation is cumulative while the restoration of the moving image by the prediction method continues. have.

본 발명이 이루고자하는 기술적과제는 일반적인 동화상 복원기를 이용해 동화상을 복원한 후 변환부호화하여 압축된 화상을 메모리에 저장하고, 움직임 보상을 위해 메모리에 압축된 형태로 존재하는 데이터를 변환 복호화하여 출력영상을 생성하는 동화상 복원 장치 및 그 방법을 제공하는 데있다. The technical problem to be achieved by the present invention is to restore a moving picture using a general moving picture reconstructor, and then to convert and store the compressed picture in a memory, and to convert and decode the data existing in the compressed form to compensate for motion. It is to provide a moving picture restoration apparatus to generate and its method.

상기의 기술적 과제를 해결하기 위하여, 본 발명은 입력 비트스트림으로부터 움직임 벡터와 가변장 부호를 구분적으로 분리하는 역다중화과정;In order to solve the above technical problem, the present invention provides a demultiplexing process for separating a motion vector and a variable length code from an input bitstream;

상기 가변장 부호를 소정의 복호알고리듬에 의해 매크로 블록 단위로 복원하는 복호화과정;A decoding process of restoring the variable length code in macroblock units by a predetermined decoding algorithm;

상기 복호화과정에서 복원된 매크로 블록 단위의 데이터를 복수개의 블록으로 분할하여 직교변환하고 양자화한 후 양자화 레벨 정보와 함께 메모리에 저장하는 변환부호화과정;A conversion encoding process of dividing the data of the macroblock unit reconstructed in the decoding process into a plurality of blocks, performing orthogonal transformation and quantization, and storing the data in a memory together with quantization level information;

상기 메모리에 저장된 데이터를 역양자화하고 역직교변환하여 출력영상을 생성하는 변환복호화과정을 포함하는 것을 특징으로 하는 동화상 복호화 방법이다.And a transform decoding process of inversely quantizing and inversely orthogonally converting data stored in the memory to generate an output image.

상기의 다른 기술적 과제를 해결하기 위하여, 본 발명은 동화상 복호화 장치에 있어서,In order to solve the above other technical problem, the present invention provides a video decoding apparatus,

입력되는 비트스트림으로부터 움직임 벡터와 가변장 부호를 분리하는 역다중화수단;Demultiplexing means for separating a motion vector and a variable length code from an input bitstream;

압축 데이터를 저장하는 메모리;A memory for storing compressed data;

상기 가변장 부호를 소정의 복호화 체계에 의해 복호하여 매크로 블록단위의 데이터를 복원하는 복호수단;Decoding means for decoding the variable length code by a predetermined decoding scheme to restore data in macroblock units;

상기 복호수단에서 복원된 매크로 블록 데이터를 소정의 블록 단위로 압축 부호화하여 상기 메모리에 저장되는 변환부호화수단;Conversion encoding means for compressing and encoding the macroblock data reconstructed by the decoding means in predetermined block units and stored in the memory;

상기 변환부호화수단에서 상기 메모리에 저장된 데이터를 복호하여 예측블럭을 생성하는 변환복호화수단;Transform decoding means for decoding data stored in the memory by the transform encoding means to generate a prediction block;

상기 변환복호화수단에서 생성된 예측블럭과 상기 움직임 벡터 정보로 움직임을 보상하는 움직임 보상 수단을 포함하는 것을 특징으로 하는 동화상 복호화 장치이다.And motion compensation means for compensating motion with the prediction block generated by the transform decoding means and the motion vector information.

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

도 2는 본 발명에 따른 동화상 복호화 장치를 보이는 블록도이며, 기존과 동일하게 동작하는 역다중화기(210), VLD(220), 역양자화기(230), IDCT(240), 움직임 보상기(250)에 변환부호기(280) 및 변환복호기(270)가 추가된다. 2 is a block diagram showing a moving picture decoding apparatus according to the present invention, the demultiplexer 210, the VLD 220, the dequantizer 230, the IDCT 240, the motion compensator 250 operating in the same manner as the conventional one. In addition, a transform encoder 280 and a transform decoder 270 are added.

우선, 역다중화기(210)는 입력되는 비트스트림으로부터 움직임 벡터와 가변장 부호를 분리한다. 복호수단인 VLD(220), 역양자화기(230), IDCT(240)은 각각 가변장 복호, 역양자화, 역직교변환을 수행하여 매크로 블록단위의 데이터를 복원한다. 변환부호기(280)는 덧셈기(260)에서 움직임 보상된 예측블럭이 가산된 매크로 블록 데이터를 소정의 블록 단위로 압축 부호화하여 메모리(290)에 저장한다. 변환복호기(270)는 메모리(290)에 저장된 매크로 블록 데이터를 움직임 벡터 정보에 따른 예측블럭을 발생시켜 출력영상을 생성하도록한다. 움직임보상기(250)는 입력되는 움직임 벡터 정보로 변환복호기(270)에서 생성된 예측블럭에서 움직임을 보상한다. First, the demultiplexer 210 separates a motion vector and a variable length code from an input bitstream. The VLD 220, the inverse quantizer 230, and the IDCT 240, which are decoding means, perform variable length decoding, inverse quantization, and inverse orthogonal transformation, respectively, to restore data in macroblock units. The transform encoder 280 compresses and encodes the macroblock data to which the motion-compensated prediction block is added by the adder 260 in a predetermined block unit and stores them in the memory 290. The transform decoder 270 generates a prediction block according to the motion vector information from the macro block data stored in the memory 290 to generate an output image. The motion compensator 250 compensates for the motion in the prediction block generated by the transform decoder 270 with the input motion vector information.

도 3은 도 2에 도시된 변환부호기(280)의 상세도이다. 3 is a detailed view of the conversion encoder 280 shown in FIG. 2.

먼저, 블록 생성부(310)는 뎃셈기(260)로부터 매크로블럭 데이터를 입력하여 복수개의 작은 블록으로 분할한다. 도 5a 내지 도 5c에 블록 분할에 대한 몇가지 실시예를 도시하였으며, 그외의 다양한 형태로 변형가능하다. 블록 생성부(310)에서 매크로 블록마다 적응적으로 분할되는 블록의 형태를 변화시킬 때는 그 블록 분할에 사용한 패턴 정보를 발생한다. 반면에 고정된 형태로 블록 분할할 경우 그 패턴 정보를 발생시키지 않는다. First, the block generator 310 inputs macroblock data from the multiplier 260 and divides the block into a plurality of small blocks. Some embodiments of block division are illustrated in FIGS. 5A-5C, and can be modified in various other forms. When the block generation unit 310 changes the shape of a block that is adaptively divided for each macro block, pattern information used for the block division is generated. On the other hand, when the block is divided into fixed forms, the pattern information is not generated.

변환기(320)는 블록생성부(310)에서 생성한 블록에 대해서 직교변환을 수행한다. 이때 직교변환의 예로서는 영상 압축에 대표적으로 이용되는 DCT를 이용할 수있다. The transformer 320 performs orthogonal transformation on the block generated by the block generator 310. In this case, as an example of the orthogonal transformation, DCT which is typically used for image compression may be used.

제1제어기(340)는 덧셈기(260)로부터 입력되는 매크로 블록 데이터를 이용하여 블록생성부(310)에서 생성된 각 블록에 대해 비트할당을 위한 제어 신호를 발생시켜 양자화기(330)에 전달한다. 즉, 제1제어기(340)는 각 블록의 특성을 이용하여 변환부(320)에서 생성한 각 블록의 변환계수들에대한 양자화 레벨을 결정한다. 양자화기(330)에서는 제1제어기(340)에서 입력된 양자화 레벨을 이용하여 각 변환계수들에 대한 양자화를 수행한다. 다중화기(350)는 양자화기(330)에서 생성된 양자화 계수들과 제1제어기(340)에서 생성된 각 블록들에 대한 양자화레벨 데이터 또는 블록생성부(310)에서 발생된 블록 패턴에 대한 데이터를 도 6과 같이 다중화하여 메모리(290)에 라이트한다. 도 6에 도시된 바와 같이 데이터는 헤더(header)영역과 데이터 영역(제1블럭데이터...제N블럭 데이터)으로 구분되며, 헤더(header)영역에는 각 블록의 비트할당량을 나타내는 양자화 레벨에 대한 정보 또는 블록 패턴에 대한 정보가 기록되며, 데이터영역(제1블럭데이터...제N블럭 데이터)에는 각 블록의 양자화 계수가 기록된다. The first controller 340 generates a control signal for bit allocation for each block generated by the block generator 310 using the macro block data input from the adder 260 and transmits the generated control signal to the quantizer 330. . That is, the first controller 340 determines the quantization level of the transform coefficients of each block generated by the transform unit 320 using the characteristics of each block. The quantizer 330 performs quantization on each of the transform coefficients using the quantization level input from the first controller 340. The multiplexer 350 includes quantization coefficients generated by the quantizer 330 and quantization level data for each block generated by the first controller 340 or data about a block pattern generated by the block generator 310. 6 is multiplexed as shown in FIG. 6 to be written to the memory 290. As shown in FIG. 6, data is divided into a header area and a data area (first block data ... Nth block data), and the header area includes a quantization level indicating bit allocation of each block. Information about the block pattern or information about the block pattern is recorded, and the quantization coefficient of each block is recorded in the data area (first block data ... N-th block data).

도 4는 도 2에 도시된 변환복호기(270)의 상세도이다.4 is a detailed view of the transform decoder 270 shown in FIG.

역다중화기(450)는 입력되는 움직임 벡터를 이용하여 움직임 보상을 위해 선택되는 데이터 영역을 계산하고, 선택된 영역이 속하는 압축된 매크로 블록 데이터를 메모리(290)로부터 읽어들인다. 메모리(290)에 저장된 압축형태의 매크로 블록 데이터는 양자화 레벨 또는 블록 분할 패턴이 포함되어 있는 헤더영역과 변환계수가 기록된 데이터영역으로 구분되어 있다. 역다중화기(450)는 양자화 레벨을 제2제어기(440)에 인가하고, 블록 정보를 예측블럭생성부(410)에 인가하며, 블록에 대한 변환계수들을 역양자화기(430)에 인가한다. 제2제어기(440)는 역다중화기(450)로부터 입력된 헤더 정보를 분석하여 각 블록의 역양자화에 필요한 레벨 신호를 생성하여 역양자화기(430)에 인가한다. 역양자화기(430)는 역다중화기(450)로부터 입력된 각 블록에 대한 양자화 계수들을 양자화 레벨을 이용하여 역양자화한 후 각 블록에 대한 변환계수를 생성한다. 역변환기(420)는 직교변환에 대응한 역직교변환 과정을 수행여 블록 데이터를 생성한다. 에측블럭 생성부(410)는 움직임 벡터, 블록 정보 및 블록 데이터들을 입력받아 움직임 보상에 필요한 데이터를 선택한다. The demultiplexer 450 calculates a data area selected for motion compensation using the input motion vector, and reads compressed macro block data belonging to the selected area from the memory 290. The compressed macro block data stored in the memory 290 is divided into a header area including a quantization level or a block division pattern and a data area in which a transform coefficient is recorded. The demultiplexer 450 applies a quantization level to the second controller 440, applies block information to the prediction block generator 410, and applies transform coefficients for the block to the dequantizer 430. The second controller 440 analyzes the header information input from the demultiplexer 450, generates a level signal necessary for dequantization of each block, and applies it to the dequantizer 430. The inverse quantizer 430 dequantizes the quantization coefficients for each block input from the demultiplexer 450 using the quantization level and then generates transform coefficients for each block. The inverse transformer 420 generates block data by performing an inverse orthogonal transformation process corresponding to the orthogonal transformation. The side block generator 410 receives the motion vector, the block information, and the block data, and selects data necessary for motion compensation.

또한 본 발명에서 최적의 압축/복원 효과를 위하여 다음과 같은 제약요건을 고려할 수있다. 즉, 메모리의 입출력은 워드(word)단위로 이루어지며, 1워드는 통상적으로 1-8바이트로 구성된다. 이와 같은 입출력 단위를 이용하여 도 3의 변환부호기에서 매크로 블록에 대한 전체 비트 발생량을 워드 단위로 조정하고, 또한 각 블록에 대한 비트 발생량을 워드 단위로 변하도록 각 블록의 양자화 레벨을 조정한다. 따라서 도 4의 변환 복호기에서 압축된 매크로 블록 데이터를 리드할 때, 워드 경계의 불일치로 인한 중복 데이터를 크게 감소시킨다. In addition, in the present invention, the following constraints may be considered for the optimal compression / restore effect. That is, the input and output of the memory is made in units of words, and one word is usually composed of 1-8 bytes. Using such an input / output unit, the conversion encoder of FIG. 3 adjusts the total bit generation amount for a macro block in word units, and adjusts the quantization level of each block to change the bit generation amount for each block in word units. Therefore, when reading the compressed macro block data in the transform decoder of FIG. 4, redundant data due to mismatch of word boundaries is greatly reduced.

상술한 바와 같이 본 발명에 의하면, 데시메이션 및 보간을 기본으로 하는 종래기술에 비해 영상 부호화에 효과적인 변환 부호화 및 각 변환 블록에 대한 적응적인 비트 할당을 통해 복원된 화상을 메모리에 저장할 때 매우 높은 압축률을 달성할 수있으며, 또한 종래에 비해 복원되는 동화상의 화질을 개선시킬 수있다. As described above, according to the present invention, a very high compression ratio is obtained when storing a reconstructed image in a memory through transform coding that is effective for image encoding and adaptive bit allocation for each transform block, compared to the prior art based on decimation and interpolation. It can achieve and also can improve the picture quality of the moving picture which is restored compared with the conventional.

Claims (7)

입력 비트스트림으로부터 움직임 벡터와 가변장 부호로 분리하고, 그 가변장 부호를 가변장 복호, 역양자화, 역직교변환에 의해 매크로 블록 단위로 복원하여 움직임 보상을 수행하는 복호화기에서 그 복원된 매크로 블록 단위의 데이터를 효율적으로 저장하고 움직임 보상을 위한 예측블록을 생성하기 위한 동화상 복호화 방법에 있어서, The reconstructed macroblock in the decoder which separates the motion vector and the variable length code from the input bitstream into macroblock units by variable length decoding, inverse quantization, and inverse orthogonal transformation to perform motion compensation. A moving picture decoding method for efficiently storing unit data and generating a prediction block for motion compensation, 상기 복원된 매크로 블록 단위의 데이터를 복수개의 블록으로 분할하여 직교변환하고, 그 직교 변환된 데이터를 소정의 양자화 레벨로 양자화하고, 그 양자화 데이터와 양자화 레벨 정보를 다중화하여 소정의 메모리 영역에 저장하는 변환부호화과정;Orthogonal transformation by dividing the restored macroblock unit data into a plurality of blocks, quantizing the orthogonal transformed data to a predetermined quantization level, multiplexing the quantized data and the quantization level information, and storing the data in a predetermined memory region. Transcoding process; 상기 소정의 메모리 영역에 저장된 데이터를 소정의 양자화 레벨을 참조하여 역양자화하고, 그 역 양자화된 데이터를 역직교변환하여 블록 데이터를 생성하고, 상기 생성된 블록 데이터에 상기 움직임 벡터를 적용하여 상기 움직임 보상용 예측 블록 데이터를 생성하는 변환복호화과정을 포함하는 것을 특징으로 하는 동화상 복호화 방법.Inverse quantization of data stored in the predetermined memory region with reference to a predetermined quantization level, inverse orthogonal transformation of the inverse quantized data to generate block data, and applying the motion vector to the generated block data to perform the motion. A video decoding method comprising a transform decoding process for generating compensation block data for compensation. 제1항에 있어서, 상기 변환 부호화과정은 상기 매크로 블록 데이터를 복수개의 블록으로 분할하는 과정;The method of claim 1, wherein the transform encoding process comprises: dividing the macro block data into a plurality of blocks; 상기 분할된 블럭마다 직교변환하여 변환 계수를 생성하는 과정;Generating transform coefficients by orthogonally transforming the divided blocks; 상기 매크로 블록 데이터를 참조하여 양자화 레벨을 결정하는 과정;Determining a quantization level with reference to the macro block data; 상기 과정에서 결정된 양자화 레벨로 상기 과정에서 생성된 변환 계수를 양자화하는 과정;Quantizing the transform coefficients generated in the process at the quantization level determined in the process; 상기 과정에서 양자화된 변환계수와 양자화 레벨 및 블록 분할 정보를 다중화하여 메모리에 블록 단위로 저장하는 과정을 포함하는 것을 특징으로 하는 동화상 복호화 방법.And multiplexing the quantized transform coefficients, the quantization level, and the block partitioning information into blocks in a unit of memory in the memory. 제2항에 있어서, 상기 양자화 레벨은 그 정보량이 미리 설정된 개수의 바이트 단위로 발생되도록 결정되는 것임을 특징으로 하는 동화상 복호화 방법.3. The moving picture decoding method according to claim 2, wherein the quantization level is determined such that the information amount is generated in a predetermined number of bytes. 제1항에 있어서, 상기 변환 복호화과정은 상기 움직임 벡터로 상기 과정에서 저장된 특정 영역의 블록 데이터를 역다중화하여 양자화계수, 양자화 레벨 및 블록 정보를 제공하는 과정;The method of claim 1, wherein the transform decoding process comprises: demultiplexing block data of a specific region stored in the process using the motion vector to provide a quantization coefficient, a quantization level, and block information; 상기 과정에서 역다중화된 역양자화 레벨을 참조하여 상기 양자화 계수를 역양자화한 후 그 계수를 역 직교 변환하는 과정;;Inversely quantizing the quantization coefficients with reference to the demultiplexed dequantization level in the process and then performing inverse orthogonal transformation on the coefficients; 상기 과정에서 역변환된 계수와 블록 정보 및 움직임 벡터로 예측 블록을 생성하는 과정을 포함하는 것을 특징으로 하는 동화상 복호화 방법. And generating a prediction block using the inverse transformed coefficient, the block information, and the motion vector in the above process. 입력 비트스트림으로부터 움직임 벡터와 가변장 부호로 분리하고, 그 가변장 부호를 가변장 복호, 역양자화, 역직교변환에 의해 매크로 블록 단위로 복원하여 움직임 보상을 수행하는 복호화기에서 그 복원된 매크로 블록 단위의 데이터를 효율적으로 저장하고 움직임 보상을 위한 예측블록을 생성하기 위한 동화상 복호화 장치에 있어서, The reconstructed macroblock in the decoder which separates the motion vector and the variable length code from the input bitstream into macroblock units by variable length decoding, inverse quantization, and inverse orthogonal transformation to perform motion compensation. A moving picture decoding apparatus for efficiently storing unit data and generating a prediction block for motion compensation, 압축 데이터를 저장하는 메모리 수단;Memory means for storing compressed data; 상기 복원된 매크로 블록 단위의 데이터를 복수개의 블록으로 분할하여 직교변환하고, 그 직교 변환된 데이터를 소정의 양자화 레벨로 양자화하고, 그 양자화 데이터와 양자화 레벨 정보를 다중화하여 상기 메모리 수단의 소정 영역에 저장하는 변환부호화수단;The restored macroblock unit data is divided into orthogonal transforms into a plurality of blocks, the orthogonal transformed data is quantized to a predetermined quantization level, and the quantized data and the quantization level information are multiplexed to a predetermined region of the memory means. Conversion encoding means for storing; 상기 메모리 수단의 소정 영역에 저장된 데이터를 상기 양자화 레벨을 참조하여 역양자화하고, 그 역 양자화된 데이터를 역 직교변환하여 블록 데이터로 생성하고, 상기 생성된 블록 데이터에 상기 움직임 벡터를 적용하여 상기 움직임 보상용 예측 블록 데이터를 생성하는 변환복호화수단을 포함하는 것을 특징으로 하는 동화상 복호화 장치.Inverse quantization of data stored in a predetermined area of the memory means with reference to the quantization level, inverse orthogonal transformation of the inverse quantized data to generate block data, and the motion by applying the motion vector to the generated block data And a video decoding means for generating the compensation predictive block data. 제5항에 있어서, 상기 변환부호화수단은 The conversion encoding means according to claim 5, 상기 복원된 매크로블럭을 복수개의 블록으로 나누어 직교변환하는 변환부;A transformer for orthogonally converting the restored macroblock into a plurality of blocks; 상기 복원된 매크로블럭의 특성에 따라 각 변환 블록에 대해 비트할당을 결정하는 제1제어부;A first controller configured to determine bit allocation for each transform block according to characteristics of the restored macroblock; 상기 제1제어부에서 결정된 비트할당에 따라 상기 변환블럭의 각 계수들을 양자화하는 양자화부;A quantizer for quantizing the coefficients of the transform block according to the bit allocation determined by the first controller; 상기 양자화부에서 양자화된 계수와 비트할당 정보를 다중화하는 다중화부를 포함하는 것을 특징으로 하는 동화상 복호화 장치.And a multiplexer which multiplexes the quantized coefficients and the bit allocation information by the quantization unit. 제5항에 있어서, 상기 변환복호화수단은 6. The conversion decoding unit according to claim 5, wherein 상기 움직임 벡터로 상기 메모리에 저장된 특정 위치의 데이터를 읽어 양자화계수, 비트할당 정보, 블록 정보를 역 다중화하는 역다중화부;A demultiplexer which demultiplexes a quantization coefficient, bit allocation information, and block information by reading data of a specific position stored in the memory using the motion vector; 상기 역다중화부에서 역 다중화된 비트할당 정보를 참조하여 역양자화 레벨을 결정하는 제2제어부;A second controller configured to determine a dequantization level by referring to bit allocation information demultiplexed by the demultiplexer; 상기 제2제어부에서 결정된 역양자화 레벨에 따라 양자화계수를 역양자화하는 역양자화부;An inverse quantizer for inversely quantizing a quantization coefficient according to the inverse quantization level determined by the second controller; 상기 역양자화부에서 역양자화된 계수를 역직교변환하는 역변환부;An inverse transformer for inverse orthogonal transforming the inverse quantized coefficients in the inverse quantization unit; 상기 역변환부에서 역변환된 계수와 블록 정보 및 움직임 벡터로 예측 블록을 생성하는 에측블럭생성부를 포함하는 것을 특징으로 하는 동화상 복호화장치.And an edge block generator for generating a prediction block based on the inverse transform coefficient, the block information, and the motion vector.
KR1019990020684A 1999-06-04 1999-06-04 Apparatus for decoding motion picture and method thereof KR100601609B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990020684A KR100601609B1 (en) 1999-06-04 1999-06-04 Apparatus for decoding motion picture and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990020684A KR100601609B1 (en) 1999-06-04 1999-06-04 Apparatus for decoding motion picture and method thereof

Publications (2)

Publication Number Publication Date
KR20010001458A KR20010001458A (en) 2001-01-05
KR100601609B1 true KR100601609B1 (en) 2006-07-14

Family

ID=19590110

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990020684A KR100601609B1 (en) 1999-06-04 1999-06-04 Apparatus for decoding motion picture and method thereof

Country Status (1)

Country Link
KR (1) KR100601609B1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100773501B1 (en) * 2001-04-17 2007-11-06 엘지전자 주식회사 Video storage device for digital camera and method thereof
KR100864491B1 (en) 2002-05-16 2008-10-20 삼성전자주식회사 An apparatus driving a liquid crystal display
US20040179610A1 (en) * 2003-02-21 2004-09-16 Jiuhuai Lu Apparatus and method employing a configurable reference and loop filter for efficient video coding
JP2006030741A (en) * 2004-07-20 2006-02-02 Toshiba Matsushita Display Technology Co Ltd Driving apparatus of liquid crystal display panel
KR100739757B1 (en) * 2005-11-18 2007-07-13 삼성전자주식회사 Image coding/decoding method and apparatus thereof
KR101383515B1 (en) * 2013-02-15 2014-04-08 숭실대학교산학협력단 Apparatus for inverse-transforming image
KR102615070B1 (en) 2016-10-12 2023-12-19 삼성전자주식회사 Display apparatus and method of controlling thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0860999A1 (en) * 1996-09-02 1998-08-26 Kabushiki Kaisha Toshiba Information transmitting method, encoder/decoder of information transmitting system using the method, and encoding multiplexer/decoding inverse multiplexer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0860999A1 (en) * 1996-09-02 1998-08-26 Kabushiki Kaisha Toshiba Information transmitting method, encoder/decoder of information transmitting system using the method, and encoding multiplexer/decoding inverse multiplexer

Also Published As

Publication number Publication date
KR20010001458A (en) 2001-01-05

Similar Documents

Publication Publication Date Title
US7925107B2 (en) Adaptive variable block transform system, medium, and method
KR100253931B1 (en) Approximate mpeg decoder with compressed reference frames
US6993078B2 (en) Macroblock coding technique with biasing towards skip macroblock coding
KR100257614B1 (en) Image signal padding method, image signal coding apparatus, image signal decoding apparatus
JP2005507589A (en) Spatial expandable compression
JPH09247673A (en) Coded dynamic image reproducing device
JP2005507589A5 (en)
KR0166717B1 (en) Encoding and decoding method and apparatus for variable dividing screen
KR101147744B1 (en) Method and Apparatus of video transcoding and PVR of using the same
EP0827344A2 (en) Video decoder
KR100651316B1 (en) Method and apparatus for increasing memory resource utilization in an information stream decoder
KR0128881B1 (en) Digital image decoder
KR100359821B1 (en) Method, Apparatus And Decoder For Motion Compensation Adaptive Image Re-compression
KR101375667B1 (en) Method and apparatus for Video encoding and decoding
KR100968371B1 (en) Method and Apparatus of Decoding Image
KR100267125B1 (en) Decoding and displaying method of compressing digital video sequence and decoding device of compressing digital video information
WO2012005106A1 (en) Video decoding device, video coding device, video decoding method, video coding method and program
KR100601609B1 (en) Apparatus for decoding motion picture and method thereof
US7436889B2 (en) Methods and systems for reducing requantization-originated generational error in predictive video streams using motion compensation
US20080170628A1 (en) Video decoding method and apparatus having image scale-down function
US20060159168A1 (en) Method and apparatus for encoding pictures without loss of DC components
KR20010018656A (en) Apparatus for receiving moving picture
JP3576660B2 (en) Image encoding device and image decoding device
JP2009528751A (en) Differential encoding
KR100670495B1 (en) Video coding apparatus and method

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee