KR0124167B1 - Half pixel motion compensation circuit in image decoder - Google Patents

Half pixel motion compensation circuit in image decoder

Info

Publication number
KR0124167B1
KR0124167B1 KR1019940012057A KR19940012057A KR0124167B1 KR 0124167 B1 KR0124167 B1 KR 0124167B1 KR 1019940012057 A KR1019940012057 A KR 1019940012057A KR 19940012057 A KR19940012057 A KR 19940012057A KR 0124167 B1 KR0124167 B1 KR 0124167B1
Authority
KR
South Korea
Prior art keywords
data
pixel motion
motion compensation
unit
frame data
Prior art date
Application number
KR1019940012057A
Other languages
Korean (ko)
Other versions
KR950035265A (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 KR1019940012057A priority Critical patent/KR0124167B1/en
Publication of KR950035265A publication Critical patent/KR950035265A/en
Application granted granted Critical
Publication of KR0124167B1 publication Critical patent/KR0124167B1/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/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/523Motion estimation or motion compensation with sub-pixel accuracy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/43Hardware specially adapted for motion estimation or compensation
    • H04N19/433Hardware specially adapted for motion estimation or compensation characterised by techniques for memory access
    • 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

Abstract

The present invention relates to a half-pixel motion compensating circuit for a video decoder which can perform efficiently half-pixel motion compensation by using a buffer of small capacity. This circuit includes an inverse differential pulse code modulating part (400) producing a restored frame data; an address generating part (420) producing an address signal for positioning a macro block to be currently processed; a memory (44) storing the frame data from the part (400) and producing the held data as a previous frame data in response to the address signal; and a half-pixel motion compensating part (460) receiving the previous frame data from the memory (400) and producing a predicted frame data half-pixel motion compensated.

Description

영상 복호기에 있어서의 반픽셀 움직임 보상회로Half-Pixel Motion Compensation Circuit in Video Decoder

제1도는 종래의 영상 복호기에 있어서의 반픽셀 움직임 보상회로를 도시한 블럭도.1 is a block diagram showing a half-pixel motion compensation circuit in a conventional video decoder.

제2도는 프레임 구성을 도시한 일예도.2 is an example diagram illustrating a frame configuration.

제3도는 종래의 반픽셀 움직임 보상회로를 구성하는 메모리부내에 저장된 매크로 블럭의 데이타 처리순서를 도시한 도면.3 is a diagram showing a data processing procedure of a macroblock stored in a memory section constituting a conventional half-pixel motion compensation circuit.

제4도는 본 발명에 따른 영상복호기에 있어서의 반픽셀 움직임 보상 회로를 도시한 블럭도.4 is a block diagram showing a half-pixel motion compensation circuit in an image decoder according to the present invention.

제5도는 본 발명에 따른 반픽셀 움직임 보상회로를 구성하는 메모리부내에 저장된 매크로 블럭의 데이타 처리순서를 도시한 도면.5 is a diagram showing a data processing procedure of macroblocks stored in a memory section constituting a half-pixel motion compensation circuit according to the present invention.

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

100, 400 : 역자분 펄스 부호 변조부 120, 420 : 어드레스 발생부100, 400: inverse pulse code modulator 120, 420: address generator

140, 440 : 메모리부 160, 460 : 반픽셀 움직임 보상부140 and 440: Memory unit 160 and 460: Half pixel motion compensation unit

480 : 버퍼부480: buffer section

본 발명은 영상 복호기에 있어서의 반픽셀(Half Pixel) 움직임 보상회로에 관한 것으로, 특히 보다 작은 용량의 버퍼를 사용하여 반픽셀 움직임 보상을 보다 저렴하고도 간단하게 수행할 수 있는 반픽셀 움직임 보상회로에 관한 것이다.The present invention relates to a half pixel motion compensation circuit in an image decoder. In particular, the present invention relates to a half pixel motion compensation circuit that can perform half pixel motion compensation cheaper and simpler using a smaller buffer. It is about.

고화질 티브이(HD TV:High Definition Television), 영상 전화기 등과 같은 영상을 디지틀로 처리하는 장치에서 영상신호는 음성신호에 비해 대역폭이 넓기 때문에 디지틀 방식으로 이를 처리하려고 할 때 상당히 많은 데이타가 발생하게 된다. 그러나, 이를 전송하는데 사용가능한 대역폭은 한정되어 있으므로 이를 전송하기 위해서는 데이타를 압축시켜야 한다.In devices that process images such as high definition television (HD TV), video telephones, and the like, since video signals have a wider bandwidth than audio signals, a large amount of data is generated when trying to process them digitally. However, the bandwidth available to transmit it is limited, so data must be compressed to transmit it.

디지틀 영상신호를 효과적으로 전송하기 위해서 데이타를 효과적으로 압축하는 다양한 기법이 제시되어 있다. 통상적으로 사용되고 있는 압축기법으로서 이산 코사인 변환과 같은 프레임내 상관성을 줄이는 변환 부호화 방식, 움직임 보상을 이용하여 프레임간의 시간적 상관성을 줄이는 프레임간 움직임 보상 예측부호화 방식이 있다.Various techniques for effectively compressing data for transmitting digital image signals have been proposed. Commonly used compressor methods include a transform coding method for reducing intra-frame correlation such as discrete cosine transform, and an inter-frame motion compensation predictive encoding method for reducing temporal correlation between frames by using motion compensation.

여기에서 움직임 보상(motion compensation)이란 영상 신호 처리에서 물체의 움직임 정도를 소정의 알고리즘으로 추정하여 이전 프레임(또는 필드)의 신호를 움직임 벡터(motion vectior) 즉, 움직임 영상신호에서 현재 프레임의 픽셀(또는 픽셀들의 블럭)들이 이전 프레임에 비해 어느 방향으로 얼마나 움직였는지를 나타내는 벡터량 만큼 이동시켜 주는 것이다.In this case, motion compensation refers to a motion vector of a previous frame (or field) by estimating the degree of motion of an object in a video signal processing using a predetermined algorithm, that is, a pixel of the current frame in a motion video signal ( Or a block of pixels) by a vector amount indicating in which direction and how far the previous frame moved.

프레임간 움직임 보상 예측 부호화 방식은 전술한 움직임 보상을 이용하여 부호화하는 영상압축 방법으로서, 이전 프레임과 현재 프레임을 비교하여 현재 프레임의 영상이 이전 프레임의 영상에 비해 어느 방향으로 얼마나 움직였는지를 추정한 움직임 벡터와 이전 프레임으로 움직임 보상을 실시하고, 현재 프레임의 신호에서 움직임 보상된 신호를 감산한 차분신호를 이산 코사인 변환(DCT : Discrete Cosine Transform), 양자화(Quantization), 가변 길이 부호화(VLC:Variable Lenght Coding)등에 의해 압축부호화하는 것이다. 이때, 현재 프레임의 신호에서 움직임 보상된 신호를 감산하는 것을 차분 펄스 부호 변조(DPCM:Differential Pulse Code Modulation)라 한다. 따라서, 수신기에서는 역(Inverse) 차분 펄스 부호 변조에 의해 이전 프레임 신호와 움직임 백터로 움직임 보상을하고 이것을 차분신호에 더하여 현재 프레임 신호를 복호화하게 된다.The inter-frame motion compensation predictive encoding method is an image compression method that encodes using the above-described motion compensation, and compares a previous frame and a current frame to estimate how much the image of the current frame is moved in which direction compared to the image of the previous frame. Motion compensation is performed using the motion vector and the previous frame, and the discrete signal obtained by subtracting the motion compensated signal from the signal of the current frame is discrete cosine transform (DCT), quantization, and variable length coding (VLC). Compression coding by Lenght Coding). At this time, subtracting the motion compensated signal from the signal of the current frame is called differential pulse code modulation (DPCM). Accordingly, the receiver compensates for the motion of the previous frame signal and the motion vector by inverse differential pulse code modulation and decodes the current frame signal by adding it to the differential signal.

그런데, 움직임 보상은 일반적으로 픽셀단위로 행해지지만, 보다 정확한 움직임 벡터를 얻기 위해서는 반픽셀 단위로 행한다. 그러나, 반픽셀 움직임 보상 방법은 시스템 구현에 있어서 그리 쉽지는 않은 부분이다.By the way, motion compensation is generally performed in pixel units, but in order to obtain a more accurate motion vector, it is performed in units of half pixels. However, the half-pixel motion compensation method is not easy in system implementation.

제1도는 종래의 영상 복호기에 있어서의 반픽셀 움직임 보상 회로를 도시한 블럭도로서, IDPCM부(100), 어드레스 발생부(120), 메모리부(140), 그리고 반픽셀 움직임 보상부(160)로 구성된다. 부호기로부터 전송된 압축 부호화된 신호는 복호기내의 가변길이 복호부(VLD), 역양자화(IQ), 역이산 코사인 변환부(IDCT)등을 거치게 되는데, IDPCM부(100)는 복호기내에서의 앞단 즉, IDCT부(도시 안됨)로부터 제공되는 데이타와 반픽셀 움직임 보상부(160)로부터 제공되는 데이타를 더해서 복원된 데이타를 디스플레이부(도시안됨)와 메모리부(120)로 전송한다. 메모리부(120)는 상기 IDPCM부(100)로부터 제공되는 데이타를 저장하며, 어드레스 발생부(도시안됨)로부터 제공되는 어드레스신호에 응답하여 저장된 데이타를 반픽셀 움직임 보상부(140)로 제공한다. 반픽셀 움직임 보상부(160)는 부호기(도시안됨)로부터 전송된 움직임 벡터에 응답하여 움직임 보상을 수행하여 얻어진 데이타를 IDPCM부(100)로 출력한다.FIG. 1 is a block diagram showing a half pixel motion compensation circuit in a conventional video decoder. The IDPCM unit 100, the address generator 120, the memory unit 140, and the half pixel motion compensation unit 160 are shown in FIG. It consists of. The compressed coded signal transmitted from the encoder passes through a variable length decoder (VLD), an inverse quantization (IQ), an inverse discrete cosine transform unit (IDCT), and the like in the decoder. In addition, the data provided from the IDCT unit (not shown) and the data provided from the half-pixel motion compensation unit 160 are added to transmit the restored data to the display unit (not shown) and the memory unit 120. The memory unit 120 stores the data provided from the IDPCM unit 100 and provides the stored data to the half-pixel motion compensation unit 140 in response to the address signal provided from the address generator (not shown). The half-pixel motion compensator 160 outputs data obtained by performing motion compensation in response to the motion vector transmitted from the encoder (not shown) to the IDPCM unit 100.

제2도는 프레임 구성의 일예를 도시한다. 픽셀(pixel)은 영상 신호를 디지틀적으로 신호 처리하기 위하여 표본화할 때의 표본을 말하며, 공간적인 영상을 분해 또는 구성하는 최소단위이다. 본 발명을 한정하는 것은 아니지만, 여기에서 한 프레임은 수평축으로 720, 수직축으로 320개의 픽셀로 구성된다.2 shows an example of the frame configuration. Pixel refers to a sample when sampling an image signal for digital signal processing, and is a minimum unit that decomposes or constructs a spatial image. Without limiting the invention, one frame consists of 720 pixels on the horizontal axis and 320 pixels on the vertical axis.

블럭(black)은 픽셀들의 집합으로서, 영상부호화, 움직임 추정등의 처리를 위한 기본 단위로 많이 사용된다. 본 발명에서는 예시적으로 하나의 블럭은 8×8개의 픽셀로 구성된다.A black is a set of pixels and is often used as a basic unit for processing image encoding, motion estimation, and the like. In the present invention, an example block includes 8x8 pixels.

이때, 반픽셀 움직임 보상부(140)는 픽셀단위 움직임 보상의 경우 보다 더 많은 픽셀을 읽어야 한다. 즉, 한 블럭의 데이타를 처리하기 위해서는 수평 및 수직방향으로 9개 픽셀을 읽고, 이웃하는 두 픽셀의 평균을 구하는 8개 픽셀을 출력하므로 메모리부(120)의 동작 속도가 IDCT부(도시안됨)로부터의 데이타 출력 속도보다 늦어지게 된다는 문제가 있다.In this case, the half-pixel motion compensator 140 should read more pixels than the pixel-by-pixel motion compensation. That is, in order to process one block of data, nine pixels are read in the horizontal and vertical directions, and eight pixels for calculating the average of two neighboring pixels are output. Therefore, the operation speed of the memory unit 120 is shown as an IDCT unit (not shown). There is a problem that the data output from the data is slower than the output speed.

상기와 같은 IDCT부(도시안됨)로부터의 데이타 출력 속도와 메모리부(140)에서의 데이타 처리 속도의 불일치로 인한 문제를 해결하기 위해 IDCT부(도시안됨)로 출력되는 데이타를 일시적으로 저장할 수 있는 버퍼를 두어 메모리부(140)에서의 데이타 처리 속도에 맞추어 데이타를 제공하도록 하는 방법이 제시되었다. 이때, 수평방향의 반픽셀 움직임 보상의 문제는 프레임 메모리의 동작속도를 높여 해결할 수 있지만 수직 방향의 경우에는 메모리의 동작속도를 더 올릴 경우 메모리 자체의 동작 속도가 너무 올라가기 때문에 해결하기가 어려우므로 수직방향에 해당하는 양만큼 동작속도가 늦어진다고 하면 이때의 버퍼용량은 한 프레임 메모리의 약 1/8이 된다. 이는 매우 큰 용량이므로 HDTV와 같은 시스템의 구현에 가격 상승요인으로 작용한다.In order to solve the problem caused by the inconsistency between the data output speed from the IDCT unit (not shown) and the data processing speed in the memory unit 140, the data output to the IDCT unit (not shown) can be temporarily stored. A method of providing data at a data processing speed in the memory unit 140 by providing a buffer has been proposed. In this case, the problem of horizontal half-pixel motion compensation can be solved by increasing the operation speed of the frame memory. However, in the vertical direction, if the operation speed of the memory is increased, the operation speed of the memory itself is too high. If the operation speed is slowed by the amount corresponding to the vertical direction, the buffer capacity at this time is about one eighth of one frame memory. This is a very large capacity, which is a price increase in the implementation of systems such as HDTV.

제3도는 종래의 반픽셀 움직임 보상방법에 있어서 메모리부내 저장된 매크로 블럭의 데이타 처리순서를 도시한 도면으로서, 하나의 매크로 블럭은 4개의 블럭으로 구성되며, 각 블럭은 8개의 라인으로 구성되며 각 라인은 8×8 픽셀로 구성된다.제3도에 도시된 숫자는 라인 처리순서에 따라 부여된 라인번호이다. 수평방향의 반픽셀 움직임 보상의 처리를 위하여 항상 현재 처리 블럭의 데이타 외에 수평방향으로, 그리고 수직으로 이웃한 데이타를 같이 읽어 처리한다. 따라서, 한 매트로 블럭의 반픽셀 움직임 보상을 위해서는 제3도에 도시되어 있는 바와 같이 수평 그리고 수직으로 이웃하는 매크로 블럭내의 라인을 같이 읽어야 하므로 64클럭이 아닌 68클럭이 필요하다.3 is a diagram illustrating a data processing procedure of macroblocks stored in a memory unit in a conventional half-pixel motion compensation method. One macroblock is composed of four blocks, and each block is composed of eight lines. Is composed of 8 x 8 pixels. The numbers shown in Fig. 3 are line numbers given in line processing procedures. For processing of half-pixel motion compensation in the horizontal direction, data adjacent to the horizontal direction and the vertical direction is always read and processed in addition to the data of the current processing block. Therefore, for the half-pixel motion compensation of a macro block, as shown in FIG. 3, lines in neighboring macro blocks are read together horizontally and vertically, so that 68 clocks are required instead of 64 clocks.

상술한 바와 같이, IDCT부(도시안됨)는 하나의 매크로 블럭을 64클럭의 속도로 계속 처리하여 데이타를 출력하고, 메모리부(140)는 68클럭의 속도로 처리를 하게 되므로 이 속도차이에 의해 버퍼가 저장하고 있어야 할 데이타량은 한 프레임내에서 계속 누적된다. 따라서, 한 프레임을 모두 처리하기 위해서는 버퍼의 용량이 매우 커야하고, 이는 HDTV와 같은 영상 시스템의 가격을 상승시킨다는 커다란 문제점이 있어 왔다.As described above, the IDCT unit (not shown) continuously processes one macro block at a speed of 64 clocks and outputs data, and the memory unit 140 processes at a speed of 68 clocks. The amount of data that the buffer should store accumulates in one frame. Therefore, in order to process all one frame, the capacity of the buffer must be very large, which has a big problem of raising the price of a video system such as HDTV.

따라서, 본 발명의 목적은 영상 복호기에 있어서 작은 용량의 버퍼를 사용하여 반픽셀 움직임 보상을 보다 저렴하고도 간단하게 수행할 수 있는 반픽셀 움직임 보상회로를 제공하는데 있다.Accordingly, an object of the present invention is to provide a half pixel motion compensation circuit which can perform half pixel motion compensation cheaper and simpler using a small capacity buffer in an image decoder.

상술한 목적을 달성하기 위해, 변환 복호화된 차분 데이타와 예측 프레임 데이타를 합하여 복원된 프레임 데이타를 출력하는 역차분 펄스 부호 변조부와, 부호기로부터 제공되는 움직임 벡터에 응답하여 현재 처리할 매크로 블럭의 위치를 지정하기 위한 어드레스 신호를 발생하는 어드레스 발생부와, 상기 역차분 펄스 부호 변조부로부터 제공되는 프레임 데이타를 저장하고, 상기 어드레스신호에 응답하여 저장하고 있던 프레임 데이타를 매크로 블럭 단위로 이전 프레임 데이타로써 출력하는 메모리부와, 상기 메모리부로부터 이전 프레임 데이타를 입력받고, 부호기로부터 전송되는 움직임 벡터에 응답하여 반픽셀 움직임 보상된 예측 프레임 데이타를 출력하는 반픽셀 움직임 보상부를 갖는 영상 복호기의 반픽셀 움직임 보상회로는 상기 메모리부가 상기 어드레스 신호에 의해 지정된 매크로 블럭을 구성하는 블럭의 픽셀 데이타 및 상기 지정된 매크로 블럭의 반픽셀 움직임 보상에 필요한 영역의 픽셀 데이타를 라인 별로 순차적으로 출력하며, 상기 반픽셀 움직임 보상부로부터 제공되는 데이타를 일시적으로 저장한 후 상기 역차분 펄스 부호 변조부로 출력하는 버퍼부를 더 포함하는 것을 특징으로 한다.In order to achieve the above object, an inverse difference pulse code modulator which adds transformed decoded difference data and predictive frame data and outputs reconstructed frame data, and a position of a macroblock to be currently processed in response to a motion vector provided from an encoder. An address generator for generating an address signal for designating the signal; and frame data provided from the inverse difference pulse code modulator; and storing the frame data stored in response to the address signal as macro frame units as previous frame data. Half pixel motion compensation of an image decoder having a memory unit for outputting and a half pixel motion compensation unit for receiving previous frame data from the memory unit and outputting half pixel motion compensated prediction frame data in response to a motion vector transmitted from an encoder Circuitry said memory The pixel data of the block constituting the macroblock designated by the address signal and the pixel data of the region required for half-pixel motion compensation of the designated macroblock are sequentially output line by line, and the data provided from the half-pixel motion compensation unit And temporarily storing the buffer unit and outputting the buffer unit to the reverse differential pulse code modulator.

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

제4도는 본 발명에 따른 영상 복호기에 있어서의 반픽셀 움직임 보상회로를 도시한 블럭도로서, IDPCM부(400), 어드레스 발생부(420), 메모리부(440), 반픽셀 움직임 보상부(460), 그리고 버퍼부(480)로 구성된다.4 is a block diagram showing a half-pixel motion compensation circuit in the image decoder according to the present invention, wherein the IDPCM unit 400, the address generator 420, the memory unit 440, and the half-pixel motion compensation unit 460 are shown. And a buffer unit 480.

이렇게 구성된 본 발명에 따른 영상복호기에 있어서의 반픽셀 움직임 보상회로 동작을 좀 더 상세히 설명하기로 하자.The operation of the half-pixel motion compensation circuit in the image decoder according to the present invention configured as described above will be described in more detail.

먼저, 송신단의 부호기로부터 전송되어진 부호화된 차분신호와 움직임 벡터가 수신단의 복호기로 입력된다. 이때, 차분신호는 가변길이 복호화, 역양자화, 및 역이산 코사인 변환등의 변환 복호과정을 거친후 IDPCM부(400)로 입력된다.First, the encoded difference signal and the motion vector transmitted from the encoder of the transmitter are input to the decoder of the receiver. At this time, the difference signal is input to the IDPCM unit 400 after a transform decoding process such as variable length decoding, inverse quantization, and inverse discrete cosine transform.

IDPCM부(400)는 상기와 같이 입력된 변환 복호화된 차분 데이타와 반픽셀 움직임 복상부(460)로부터 출력되어 버퍼부(480)에 일시적으로 저장된 후 제공되는 움직임 예측 프레임 데이타를 합하여, 복원된 프레임 데이타를 출력한다. IDPCM부(400)로부터 출력되는 복원된 프레임 데이타는 디스플레이부(도시안됨)와 메모리부(440)로 제공된다. 메모리부(440)는 IDPCM부(400)로부터 제공되는 프레임 데이타를 저장한다. 이때, 어드레스 발생부(420)는 부호기로부터 제공되는 움직임 벡터에 응답하여 현재 처리할 매크로 블럭을 지정하기 위한 어드레스신호를 발생한다. 따라서, 메모리부(440)는 저장하고 있던 프레임 데이타 중 상기 어드레스 신호에 대응하는 위치의 매크로 블럭을 출력하게 되는 것이다.The IDPCM unit 400 adds the transform-decoded difference data input as described above and the motion prediction frame data output from the half-pixel motion imager 460 temporarily stored in the buffer unit 480 and then provided, thereby restoring the frame. Print the data. The recovered frame data output from the IDPCM unit 400 is provided to the display unit (not shown) and the memory unit 440. The memory unit 440 stores the frame data provided from the IDPCM unit 400. At this time, the address generator 420 generates an address signal for designating a macroblock to be currently processed in response to the motion vector provided from the encoder. Therefore, the memory unit 440 outputs a macro block at a position corresponding to the address signal among the stored frame data.

제5도는 본 발명에 따른 반픽셀 움직임 보상회로를 구성하는 메모리부(440)에서 데이타 처리 순서를 도시한 도면인데, 매크로 블럭, 블럭, 그리고 라인의 구성은 제3도에서 설명된 바와 같다. 어드레스 발생부(420)로부터 제공되는 어드레스 신호에 응답하여 현재 처리할 매크로 블럭이 지정되면, 지정된 매크로 블럭 내 데이타는 기설정된 순서로 라인별로 출력된다. 기설정된 순서는 도면에 숫자로 표시되어 있다. 이때 제5도에 잘 나타나 있는 바와 같이, 라인 1의 수평방향으로의 반픽셀 움직임 보상을 위해서는 라인 2가 필요하며, 또한 라인 2의 수평방향으로의 반픽셀 움직임 보상을 위해서는 인접하는 매크로 블러갠에 존재하는 라인 3이 필요하다. 따라서, 라인 1, 2, 3을 순차적으로 출력한다. 따라서, 종래와는 달리 라인 2를 지연없이 연속해서 처리할 수 있다.FIG. 5 is a diagram illustrating a data processing sequence in a memory unit 440 constituting a half-pixel motion compensation circuit according to the present invention. Macro blocks, blocks, and lines are illustrated in FIG. If a macro block to be processed currently is designated in response to an address signal provided from the address generator 420, the data in the designated macro block is output line by line in a predetermined order. The preset order is indicated by numbers in the drawings. At this time, as shown in FIG. 5, line 2 is required to compensate for half-pixel motion in the horizontal direction of line 1, and adjacent macro blurring is required to compensate for half-pixel motion in the horizontal direction of line 2. Line 3 present is required. Therefore, lines 1, 2, and 3 are output sequentially. Therefore, unlike the related art, the line 2 can be processed continuously without delay.

또한, 이와 같은 방식으로, 후행되는 라인별 데이타 처리를 수행한다. 그리고, 수직방향으로 반픽셀 움직임 보상을 위해서는 현재 처리하는 라인의 다음 라인이 필요하다. 따라서, 하나의 매크로 블럭의 수직방향 반픽셀 움직임 보상을 위해서는 수직방향으로 이웃하는 매크로 블럭의 적어도 한 라인, 즉 라인 49, 50, 51이 필요하다.In this manner, the following line-by-line data processing is performed. And, for the half-pixel motion compensation in the vertical direction, the next line of the current processing line is required. Therefore, at least one line of macro blocks neighboring in the vertical direction, that is, lines 49, 50, and 51, is required for vertical half-pixel motion compensation of one macro block.

상기한 바와 같이 메모리부(440)로부터 출력되는 데이타는 반픽셀 움직임 보상부(460)로 제공되며, 반픽셀 움직임 보상부(460)는 부호기로부터 전송된 움직임 벡터에 응답하여 공지된 종래의 방법에 의해 예측 프레임 데이타를 출력한다.As described above, the data output from the memory unit 440 is provided to the half-pixel motion compensator 460, and the half-pixel motion compensator 460 is a conventional method known in response to the motion vector transmitted from the encoder. Predictive frame data is output by the method.

결과적으로, 메모리부(440), 반픽셀 움직임 보상부(460) 각각에서는 51클럭안에 한 매크로 블럭의 처리가 끝나게 된다. 그러나, IDCT부(도시안함)에서의 한 매크로 블럭은 64클럭에 처리가 된다. 따라서 메모리부(440)에서 51클럭에 처리가 끝나도 IDCT부(도시안됨)와의 속도를 맞추기 위하여 13클럭을 쉬어서 전체 동작을 64클럭에이루어지게 해야한다. 이를 위해 IDPCM부(400)와 반픽셀 움직임 보상부(460)사이의작은 용량의 버퍼부(480)를 둔다. 버퍼부(480)의 용량은 매크로 블럭 2개 정도의 크기면 충분하다. 즉, 매크로 블럭 2개의 크기의 용량을 사용하는데, 두 부분으로 나누어 한 부분에서 데이타를 기록할 때 다른 부분에서는 데이타를 출력하고, 다음 매크로 블럭의 처리에서는 서로 역할을 바꾸어서 처리한다.As a result, in each of the memory unit 440 and the half-pixel motion compensation unit 460, processing of one macro block is completed within 51 clocks. However, one macro block in the IDCT unit (not shown) is processed at 64 clocks. Therefore, even if the process is completed at 51 clocks in the memory unit 440, 13 clocks should be rested to achieve 64 clocks in order to match the speed with the IDCT unit (not shown). For this purpose, a small capacity buffer unit 480 is provided between the IDPCM unit 400 and the half-pixel motion compensation unit 460. The capacity of the buffer unit 480 is sufficient to be about two macro blocks. In other words, the capacity of two macro blocks is used. When data is recorded in one part, data is outputted in another part, and the roles of the next macro block are exchanged.

상술한 바와 같이 버퍼부(480)로부터 64클럭 주기로 출력되는 데이타는 IDPCM부(400)로 제공되어, 변환 복호신호와 합해져서 복원된 프레임 데이타를 형성하게 된다.As described above, the data outputted from the buffer unit 480 in 64 clock cycles are provided to the IDPCM unit 400 to be combined with the converted decoded signal to form the recovered frame data.

따라서, 본 발명에 따른 영상 복호기에 있어서의 반픽셀 움직임 보상기는 종래의 반픽셀 움직임 보상회로에 사용되었던 버퍼에 비해 매우 작아진 용량의 버퍼를 사용하여 반픽셀 움직임 보상을 효율적으로 수행할 수 있다는 커다란 이점이 있다.Therefore, the half-pixel motion compensator in the image decoder according to the present invention can efficiently perform half-pixel motion compensation using a buffer having a very small capacity compared to the buffer used in the conventional half-pixel motion compensation circuit. There is an advantage.

Claims (1)

변환 복호화된 차분 데이타와 예측 프레임 데이타를 합하여 복원된 프레임 데이타를 출력하는 역차분 펄스 부호 변조부(400)와, 부호기로부터 제공되는 움직임 벡터에 응답하여 현재 처리할 매크로 블럭의 위치를 지정하기 위한 어드레스 신호를 발생하는 어드레스 발생부(420)와, 상기 역차분 펄스 부호 변조부(400)로 부터 제공되는 프레임 데이타를 저장하고, 상기 어드레스 신호에 응답하여 저장하고 있던 프레임 데이타를 매크로 블럭 단위로 이전 프레임 데이타로써 출력하는 메모리부(440)와, 상기 메모리부(440)로부터 이전 프레임 데이타를 입력받고, 부호기로부터 전송되는 움직임 백터에 응답하여 반픽셀 움직임 보상된 예측 프레임 데이타를 출력하는 반픽셀 움직임 보상부(460)를 갖는 영상 복호기의 반픽셀 움직임 보상회로에 있어서, 상기 메모리부(440)는 상기 어드레스 신호에 의해 지정된 매크로 블럭을 구성하는 블럭의 픽셀 데이타 및 상기 지정된 매크로 블럭의 반픽셀 움직임 보상에 필요한 영역의 픽셀 데이타를 라인 별로 순차적으로 출력하며, 상기 반픽셀 움직임 보상부(460)로부터 제공되는 데이타를 일시적으로 저장한 후 상기 역차분 펄스 부호 변조부(400)로 출력하는 버퍼부(480)를 더 포함하는 것을 특징으로 하는 영상 복호기의 반픽셀 움직임 보상회로.An inverse difference pulse code modulator 400 which adds the transformed decoded difference data and the predicted frame data and outputs the reconstructed frame data, and an address for designating a position of a macroblock to be processed currently in response to a motion vector provided from an encoder The address generator 420 for generating a signal and the frame data provided from the inverse difference pulse code modulator 400 are stored, and the frame data stored in response to the address signal is stored in a previous frame in macroblock units. Memory unit 440 for outputting as data, and half-pixel motion compensation unit for receiving previous frame data from the memory unit 440 and outputting half-pixel motion compensated prediction frame data in response to a motion vector transmitted from an encoder. A half-pixel motion compensation circuit of a video decoder having a number 460, wherein the memory The unit 440 sequentially outputs pixel data of a block constituting the macroblock designated by the address signal and pixel data of an area required for half-pixel motion compensation of the designated macroblock, line by line, and the half-pixel motion compensation unit. And a buffer unit (480) for temporarily storing data provided from (460) and outputting the data to the inverse difference pulse code modulator (400).
KR1019940012057A 1994-05-31 1994-05-31 Half pixel motion compensation circuit in image decoder KR0124167B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019940012057A KR0124167B1 (en) 1994-05-31 1994-05-31 Half pixel motion compensation circuit in image decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940012057A KR0124167B1 (en) 1994-05-31 1994-05-31 Half pixel motion compensation circuit in image decoder

Publications (2)

Publication Number Publication Date
KR950035265A KR950035265A (en) 1995-12-30
KR0124167B1 true KR0124167B1 (en) 1997-11-26

Family

ID=19384254

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940012057A KR0124167B1 (en) 1994-05-31 1994-05-31 Half pixel motion compensation circuit in image decoder

Country Status (1)

Country Link
KR (1) KR0124167B1 (en)

Also Published As

Publication number Publication date
KR950035265A (en) 1995-12-30

Similar Documents

Publication Publication Date Title
CA2108704C (en) Picture signal encoding method and apparatus and picture signal decoding method and apparatus
KR0166722B1 (en) Encoding and decoding method and apparatus thereof
JP3365771B2 (en) Video signal compression device
KR970003102B1 (en) Half pixel motion compensation circuit for video decoder
US7020200B2 (en) System and method for direct motion vector prediction in bi-predictive video frames and fields
JPH06189281A (en) Video signal encoding device using compression of adaptive frame/field format
KR19990036188A (en) Method and apparatus for decoding encoded digital video signal
JPH089389A (en) Parallel decoder of digital video signal
US6256349B1 (en) Picture signal encoding method and apparatus, picture signal transmitting method, picture signal decoding method and apparatus and recording medium
KR0124167B1 (en) Half pixel motion compensation circuit in image decoder
KR0129576B1 (en) Half pixelmation compensation circuit in video signal decoder
KR100284696B1 (en) Horizontal / Vertical Frequency Converter in MPEG Decoding Block
KR0128883B1 (en) Improved memory structure in image decoder for half pixel motion compensation
KR100240620B1 (en) Method and apparatus to form symmetric search windows for bidirectional half pel motion estimation
JPH08205142A (en) Apparatus for coding into and decoding digital video signal
KR100203638B1 (en) Method for estimating motion using half-pixel by half-pixel
KR100189268B1 (en) Method and apparatus to calculate field motion estimations in frame pictures
KR100196848B1 (en) Apparatus for compensating error in image decoder
JP3166835B2 (en) Method and apparatus for highly efficient coding of moving images
KR100255793B1 (en) Combine circuit of compensating for p-picture and b-picture in a motion compensator
KR100249086B1 (en) Motion detection and compensating apparatus of video encoder
KR0128876B1 (en) Apparatus for interpolating error block
KR0169656B1 (en) Device for encoding moving picture signals
KR100255794B1 (en) First in first out buffer in motion compensator
KR0181066B1 (en) Half picture element interpolator of image encoder

Legal Events

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

Payment date: 20110901

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20120903

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee