KR0121435B1 - Moving vector decoder and method thereof - Google Patents

Moving vector decoder and method thereof

Info

Publication number
KR0121435B1
KR0121435B1 KR1019940005225A KR19940005225A KR0121435B1 KR 0121435 B1 KR0121435 B1 KR 0121435B1 KR 1019940005225 A KR1019940005225 A KR 1019940005225A KR 19940005225 A KR19940005225 A KR 19940005225A KR 0121435 B1 KR0121435 B1 KR 0121435B1
Authority
KR
South Korea
Prior art keywords
signal
buffer
motion vector
output
signals
Prior art date
Application number
KR1019940005225A
Other languages
Korean (ko)
Other versions
KR950028522A (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 KR1019940005225A priority Critical patent/KR0121435B1/en
Priority to GB9504645A priority patent/GB2287602B/en
Priority to US08/403,978 priority patent/US5671024A/en
Priority to CN95103091A priority patent/CN1058128C/en
Publication of KR950028522A publication Critical patent/KR950028522A/en
Application granted granted Critical
Publication of KR0121435B1 publication Critical patent/KR0121435B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/137Motion inside a coding unit, e.g. average field, frame or block difference
    • H04N19/139Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
    • 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/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • 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/1887Methods 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 a variable length codeword
    • 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
    • H04N7/00Television systems
    • H04N7/015High-definition television systems

Landscapes

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

Abstract

A moving vector decoding apparatus and method where enables to transfer the variable length of the moving vector to the original moving vector in the HDTV using the discrete cosine transfer. The said apparatus has a x-axle moving vector decoder and a y-axle moving vector decoder.

Description

움직임 벡터 복호 장치 및 그 방법Motion vector decoding device and method

제1도는 본 발명에 의한 X축 움직임 벡터 복호기의 블럭도.1 is a block diagram of an X-axis motion vector decoder according to the present invention.

제2도는 본 발명에 의한 Y축 움직임 벡터 복호기의 블록도.2 is a block diagram of a Y-axis motion vector decoder according to the present invention.

제3도는 제1도에 대한 동작 순서도.3 is an operational flowchart of FIG.

제4도는 제2도에 대한 동작 순서도이다.4 is an operational flowchart of FIG.

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

11~14,17,21~24,27 : 버퍼 15,25 : 비교기11 ~ 14,17,21 ~ 24,27: Buffer 15,25: Comparator

16,26 : 선택기 18,38 : 제어기16, 26 selector 18, 38 controller

본 발명은 이산 코사인 변환(Discrete Cosine Transform 이하 DCT라 칭함)을 사용하는 고선명 텔레비젼(High Definition Television : 이하 HDTV라 칭함)시스템에 있어서, 디지털 영상정보를 압축하여 저장하거나 전송하려 할 때 쓰이는 디지털 영상 압축 기술에 관한 것으로, 특히 영상 압축 기술중 하나인 움직임 벡터의 가변길이를 원래의 움직임 벡터로 변환할 수 있도록 한 움직임 벡터 복호기 장치 및 그 방법에 관한 것이다.DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital image compression, which is used to compress, store or transmit digital image information in a high definition television (HDTV) system using a discrete cosine transform (DCT). The present invention relates to a motion vector decoder and a method for converting a variable length of a motion vector, which is one of image compression techniques, into an original motion vector.

가변길이복호기(Variable Length Decoder : 이하 VLD라 칭함)는 가변길이코드(Variable Length Codes : 이하 VLC라 칭함)를 복호화하는 것으로, 최대 13.4MHz로 동작하며, 최소 동작속도는 가변길이코드(VLC)의 코드런에 영향을 받는다.Variable Length Decoder (VLD) is used to decode Variable Length Codes (hereinafter referred to as VLC) and operates at maximum 13.4MHz, and the minimum operation speed is VLC. Affected by code runs

또한, 가변길이복호기(VLD)는 24비트 단위로 저장되어 있는 고선명 텔레비젼(HDTV)의 데이터를 영상 정보와 제어신호로 서로 분리하여 하나의 슬라이스(Slice)를 완벽히 복호화한다. 그러므로, 전체 고선명 텔레비젼 복호기(HDTV Decoder)에는 4개의 가변길이복호기(VLD)를 사용하여 동시에 4개의 슬라이스를 복호화하게 된다.In addition, the variable length decoder (VLD) separates data of a high definition television (HDTV) stored in units of 24 bits into image information and control signals, and completely decodes one slice. Therefore, four high-definition television decoders (HDTV decoders) use four variable length decoders (VLDs) to simultaneously decode four slices.

상기와 같이 동작하는 가변길이복호기(VLD)에 의해 가변길이를 복호화한 움직임 벡터 중 차분의 움직임 벡터를 원래의 움직임 벡터로 변환하는 움직임 벡터 복호 장치는 X축 움직임 벡터를 복호하는 X축 움직임 벡터 복호기(10)과 ; Y축 움직임 벡터를 복호하는 Y축 움직임 벡터 복호기(20)을 포함하여 구성한다.The motion vector decoding apparatus for converting the difference motion vector of the motion vector from which the variable length is decoded by the variable length decoder (VLD) as described above into the original motion vector is an X-axis motion vector decoder that decodes the X-axis motion vector. (10) and; And a Y-axis motion vector decoder 20 for decoding the Y-axis motion vector.

상기 X축 움직임 벡터 복호기(10)은 제1도에 도시한 바와 같이, X축 움직임 차분 베터 A(MVDXRA)를 입력으로하여 제1제어신호(S0)에 의해 일시 저장하는 버퍼(11)과 ; X축 움직임 차분 벡터 B(MVDXRB)를 입력으로하여 제1제어신호(S0)에 의해 일시 저장하는 버퍼(12)와 ; 상기 버퍼(11)에서 출력된 신호(MVDXRA)와 버퍼(17)에서 출력된 신호(MVXREG)가 가산기를 거쳐 출력된 신호(tempA)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(13)과 ; 상기 버퍼(112)에서 출력된 신호(MVDXRB)와 버퍼(17)에서 출력된 신호(MVXREG)가 가산기를 거쳐 출력된 신호(tempB)를 제2제어신호(S1)에 의해 일시저장하는 버퍼(14)와 ; 상기 버퍼(13,14)에서 출력된 신호(tempA,tempB)의 절대치를 비교하여 -31과 31범위안에 들어오는 절대치 움직임 벡터값의 움직임 벡터 신호를 출력하는 비교기(15)와 ; 상기 비교기(15)에서 출력된 신호에 의해 상기 버퍼(13) 또는 버퍼(14)에서 출력된 벡터값을 선택하는 선택기(16)와 ; 상기 선택기(16)에서 출력된 신호를 제3,4제어신호(S2,S3)에 의해 일시 저장하여 X축 움직임 벡터(MVXREG)를 출력하는 버퍼(17)과 ; 클럭 및 X축 차분 밸리드 신호(MVXOUT)를 입력받아 상기 버퍼(11~14,17)을 제어하는 제어신호(S0~S3) 및 X축 밸리드 신호(MVXOUT)를 출력하는 제어기(18)을 포함하여 구성한다.As shown in FIG. 1, the X-axis motion vector decoder 10 includes a buffer 11 for temporarily storing the X-axis motion difference bettor A (MVDXRA) by means of a first control signal S0; A buffer 12 which temporarily receives the X-axis motion difference vector B (MVDXRB) as an input and is stored by the first control signal SO; A buffer 13 temporarily storing the signal tempA output from the signal MVDXRA output from the buffer 11 and the signal MVXREG output from the buffer 17 through an adder, by the second control signal S1. ) And; A buffer 14 temporarily storing the signal tempB output from the signal MVDXRB output from the buffer 112 and the signal MVXREG output from the buffer 17 through an adder, by the second control signal S1. )Wow ; A comparator (15) for comparing the absolute values of the signals (tempA, tempB) output from the buffers (13, 14) and outputting a motion vector signal having an absolute motion vector value within a range of -31 and 31; A selector 16 for selecting the vector value output from the buffer 13 or the buffer 14 by the signal output from the comparator 15; A buffer 17 for temporarily storing the signal output from the selector 16 by the third and fourth control signals S2 and S3 and outputting an X-axis motion vector MVXREG; A controller 18 receiving a clock and an X-axis differential validated signal MVXOUT and outputting a control signal S0 to S3 for controlling the buffers 11 to 14 and 17 and an X-axis validated signal MVXOUT is provided. It is configured to include.

상기 Y축 움직임 벡터 복호기(20)은 제2도에 도시한 바와 같이, Y축 움직임 차분 벡터 A(MVDYRA)를 입력으로하여 제1제어신호(S0)에 의해 일시 저장하는 버퍼(21)과 ; Y축 움직임 차분 벡터 B(MVDYRB)를 입력으로하여 제1제어신호(S0)에 의해 일시 저장하는 버퍼(22)와 ; 상기 버퍼(21)에서 출력된 신호(MVDYRA)와 버퍼(27)에서 출력된 신호(MVYREG)가 가산기를 거쳐 출력된 신호(temp'A)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(23)과 ; 상기 버퍼(22)에서 출력된 신호(MVDYRB)와 버퍼(27)에서 출력된 신호(MVYREG)가 가산기를 거쳐 출력된 신호(temp'B)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(24)와 ; 상기 버퍼(23,24)에서 출력된 신호(temp'A,temp'B)의 절대치를 비교하여 -8과 7 범위안에 들어오는 절대치 움직임 벡터값의 움직임 벡터 신호를 출력하는 비교기(25)와 ; 상기 비교기(25)에서 출력된 신호에 의해 상기 버퍼(23) 또는 버퍼(24)에서 출력된 벡터값을 선택하는 선택기(26)과 ; 상기 선택기(26)에서 출력된 신호를 제3,4제어신호(S2,S3)에 의해 일시 저장하여 Y축 움직임 벡터(MVYREG)를 출력하는 버퍼(27)과 ; 클럭 및 Y축 차분 밸리드 신호(MVYON)를 입력받아 상기 버퍼(21~24,27)를 제어하는 제어신호(S0~S3) 및 Y축 밸리드 신호(MVYOUT)를 출력하는 제어기(28)을 포함하여 구성한다.As shown in FIG. 2, the Y-axis motion vector decoder 20 includes a buffer 21 for temporarily storing the Y-axis motion difference vector A (MVDYRA) by the first control signal S0; A buffer 22 which temporarily receives the Y-axis motion differential vector B (MVDYRB) as an input and is stored by the first control signal S0; A buffer for temporarily storing, by the second control signal S1, the signal temp'A output from the signal MVDYRA output from the buffer 21 and the signal MVYREG output from the buffer 27 through an adder. (23) and; A buffer for temporarily storing the signal temp'B outputted from the signal MVDYRB output from the buffer 22 and the signal MVYREG output from the buffer 27 via an adder by the second control signal S1. 24 and; A comparator 25 for comparing the absolute values of the signals temp'A and temp'B output from the buffers 23 and 24 and outputting a motion vector signal having an absolute motion vector value within -8 and 7; A selector (26) for selecting a vector value output from the buffer (23) or the buffer (24) by the signal output from the comparator (25); A buffer 27 for temporarily storing a signal output from the selector 26 by third and fourth control signals S2 and S3 and outputting a Y-axis motion vector MVYREG; A controller 28 which receives a clock and Y-axis differential validated signal MVYON and outputs a control signal S0 to S3 for controlling the buffers 21 to 24 and 27 and a Y-axis validated signal MVYOUT is provided. It is configured to include.

이와 같이 구성된 본 발명의 동작을 살펴보면 다음과 같다.Looking at the operation of the present invention configured as described above are as follows.

상기 X축 움직임 벡터 복호기(10)와 Y축 움직임 벡터 복호기(20)는 차분의 X축 움직임 벡터와 차분의 Y축 움직임 벡터를 절대치의 움직임 벡터로 계산하여 주는 회로로서, 제1도와 같이 구성된 X축 움직임 벡터 복호기(10)의 동작 상태를 살펴보면, X축 움직임 차분 벡터 A(MVDXRA)와 X축 움직임 차분 벡터 B(MVDXRB)는 각각 7비트(bit)의 비트값으로 버퍼(11)과 버퍼(12)에 입력된다.The X-axis motion vector decoder 10 and the Y-axis motion vector decoder 20 are circuits for calculating the differential X-axis motion vector and the differential Y-axis motion vector as absolute motion vectors. Referring to the operation state of the axis motion vector decoder 10, the X-axis motion difference vector A (MVDXRA) and the X-axis motion difference vector B (MVDXRB) are bit values of 7 bits, respectively, and the buffer 11 and the buffer ( 12) is entered.

상기 버퍼(11)과 버퍼(12)에서 각각 출력된 X축 움직임 차분 벡터 A(MVDXRA)와 B(MVDXRB)는 다시 버퍼(13)과 버퍼(14)를 거쳐 선택기(16)과 비교기(15)에 입력된다.The X-axis motion differential vectors A (MVDXRA) and B (MVDXRB) output from the buffers 11 and 12, respectively, pass through the buffer 13 and the buffer 14 to the selector 16 and the comparator 15. Is entered.

상기 비교기(15)에서는 X축 움직임 벡터 A(tempA)와 B(tempB)가 적당한 범위내에 있는지를 판단하여 선택기(16)에서 움직임 벡터(tempA,tempB)중 하나를 선택하도록 한다.The comparator 15 determines whether the X-axis motion vectors A (tempA) and B (tempB) are within an appropriate range, and selector 16 selects one of the motion vectors tempA and tempB.

즉, 비교기(15)에서의 절대치의 X축 움직임 벡터의 범위는That is, the range of the X-axis motion vector of the absolute value in the comparator 15 is

-31≤절대치의 X축 움직임 벡터≥31Absolute X-axis motion vector ≥ 31

로써 이는 실제 제작한 복호기의 움직임 탐색 구간이므로, 차분의 X축 움직임 벡터의 범위는 -61≤차분의 X축 움직임 벡터≥61 가 된다.Since this is the motion search section of the actual decoder, the range of the differential X-axis motion vector is -61≤ the differential X-axis motion vector ≥ 61.

그러므로, 상기 절대치의 X축 움직임 벡터(tempA,tempB)가 -31과 31 범위안에 있는지를 비교기(15)에서 판단하여 선택기(16)로 전달하면 적당한 범위내의 벡터값을 선택기(16)에서 선택하여 버퍼(17)로 보낸다.Therefore, if the comparator 15 determines whether the absolute X-axis motion vectors tempA and tempB are within the range of -31 and 31, and passes it to the selector 16, the selector 16 selects the vector value within the appropriate range. To the buffer 17.

상기 버퍼(17)에서 출력된 신호(MVXREG)는 이전의 움직임 벡터가 되고, 버퍼(11)과 버퍼(12)에서 출력되는 신호(MVDXRA,MVDXRB)는 복호된 움직임 벡터가 되어, 각각의 두 벡터를 가산기에서 더하여 다시 버퍼(13)과 버퍼(14)로 보내면 현재의 X축 움직임 벡터(tempA,tempB)가 출력된다. 이는 현재의 움직임 벡터(tempA,tempB)=이전의 움직임 벡터(MVXREG) + 복호된 움직임 벡터(MVDXRA,MVDXRB)와 같은 식으로 도시할 수 있으며, 이러한 동작은 계속해서 반복된다.The signal MVXREG output from the buffer 17 becomes the previous motion vector, and the signals MVDXRA and MVDXRB output from the buffer 11 and the buffer 12 become the decoded motion vector, and each of the two vectors. Is added to the adder and sent to the buffer 13 and the buffer 14, and the current X-axis motion vectors tempA and tempB are output. This can be illustrated in the same manner as the current motion vector tempA, tempB = the previous motion vector MVXREG + the decoded motion vector MVDXRA, MVDXRB, and this operation is repeated over and over.

이때 복호된 움직임 벡터(MVDXRA,MVDXRB)를 (N+1)번째 움직임 벡터라 하면, 현재의 움직임 벡터(tempA,tempB)는 (N)번째 움직임 벡터가 되고 이전의 움직임 벡터(MVXREG)는 (N-1)번째 움직임 백터가 된다.If the decoded motion vectors MVDXRA and MVDXRB are the (N + 1) th motion vectors, then the current motion vectors tempA and tempB become the (N) th motion vector and the previous motion vector MVXREG becomes (N). It becomes the -1) th movement vector.

상기 동작에서 제어기(18)은 X축 차분 밸리드 신호(MVXON), 즉 X축 움직임 차분 벡터(MVDXRA,MVDXRB)의 입력을 알리는 신호를 입력으로 클럭신호를 카운트하여 제어신호(S0~S3)를 각 버퍼(11~14,17)로 전달함으로써 각 버퍼(11~14,17)의 현재상태를 알려주고, 또한 다음상태에서 각각의 벡터값을 저장하도록 지시한다.In this operation, the controller 18 counts a clock signal with an input signal indicating the input of the X-axis differential validated signal MVXON, that is, the X-axis differential differential vector MVDXRA, MVDXRB, and supplies the control signals S0 to S3. By transferring to each of the buffers 11 to 14 and 17, the current state of each of the buffers 11 to 14 and 17 is notified, and the instruction to store the respective vector values in the next state is given.

즉, 제어기(18)에서 출력되는 제어신호(S0~S3)중 제1제어신호(S0)는 클럭에 동기되어 첫 X축 차분 밸리드(MVXON)가 입력되면 버퍼(11)과 버퍼(12)로 동작신호를 내보내고, 제2제어신호(S1)은 다음 클럭에 동기되어 버퍼(13)과 버퍼(14)로 동작신호를 내보내며, 제3,4제어신호(S2,S3)도 마찬가지로 그 다음 클럭에 동기되어 버퍼(17)로 내보낸다.That is, when the first control signal S0 of the control signals S0 to S3 output from the controller 18 is synchronized with the clock and the first X-axis differential validity MVXON is input, the buffer 11 and the buffer 12 are input. Outputs the operation signal to the buffer 13 and the buffer 14 in synchronization with the next clock, and the third and fourth control signals S2 and S3 are similarly followed. Synchronized to the clock and sent to the buffer 17.

이와 같이 제어기(18)은 각 클럭신호를 기준으로 스텝별로 신호를 발생시키며, 또한 X축 밸리드 신호(MVXON)를 X축 움직임 벡터(MVXREG)의 출력신호에 맞추어 출력한다.As such, the controller 18 generates a signal for each step based on each clock signal, and outputs the X-axis valid signal MVXON in accordance with the output signal of the X-axis motion vector MVXREG.

표1에서 R=0일 때 2개, R=1일 때 2개씩 나타낸 것은 X축 움직임 차분 벡터 A(MVDXRA)와 X축 움직임 차분 벡터 B(MVDXRB)를 나타내는 것이다.Table 2 shows two when R = 0 and two when R = 1, indicating the X-axis motion difference vector A (MVDXRA) and the X-axis motion difference vector B (MVDXRB).

상기와 같은 동작상태를 가지는 X축 움직임 벡터 복호기(10)의 동작순서를 제3도의 동작 순서도와 같이하여 상세히 설명하면 다음과 같다.The operation sequence of the X-axis motion vector decoder 10 having the above operation state will be described in detail as shown in the operation flowchart of FIG. 3.

우선, 제어기(18)에서 X축 차분 밸리드 신호(MVXON)의 입력으로 (N+1)번째 움직임 벡터인 X축 움직임 차분 벡터 A,B(MVDXRA,MVDXRB)의 입력이 있는지를 확인하다.(단계 Pi). 상기 단계(P1)에서 x축 차분 밸리드(MVXON)의 입력이 없으면 x축 움직임 차분 벡터 A,B(MVDXRA,MVDSRB)의 입력이 없는 것이므로 계속해서 입력을 확인을 하고, 상기 단계(P1)에서 X축 차분 밸리드(MVXON)의 입력이 있다고 판단이 되어지면 버퍼(17)의 클리어상태를 알아본다(단계 P2). 상기 단계(P2)에서 버퍼(17)에 저장된 정보가 없을 시에는 버퍼(17)의 출력값을 0으로하여 X축 움직임 벡터(MVXREG)를 출력하며(단계 P3), 이때 제어기(18)에서는 상기 X축 움직임 벡터(MVCXREG)의 출력에 따라 X축 밸리드 신호(MVXOUT)를 1로하여 출력한다(단계 P9).First, the controller 18 checks whether there is an input of the X-axis motion differential vectors A and B (MVDXRA, MVDXRB) as the (N + 1) th motion vector as the input of the X-axis differential validated signal MVXON. Step Pi). If there is no input of the x-axis differential validating MVXON in step P1, since there is no input of the x-axis motion differential vectors A and B (MVDXRA, MVDSRB), the input is continuously confirmed, and in step P1 If it is determined that there is an input of the X-axis differential validation MVXON, the clear state of the buffer 17 is checked (step P2). When there is no information stored in the buffer 17 in the step P2, the output value of the buffer 17 is 0 and the X-axis motion vector MVXREG is output (step P3). According to the output of the axial motion vector MVCXREG, the X-axis valid signal MVXOUT is set to 1 and output (step P9).

상기 단계(P2)에서 버퍼(17)이 클리어 상태가 아닐시에는 입력되는 (N+1)번째 X축 움직임 차분 벡터 A,B(MVDXRA,MVDXRB)를 버퍼(11)과 버퍼(12)에 각각 입력한다(단계 P4). 제어기(18)의 제어신호(S0)에 의해 상기 단계 (P4)에서 출력되는 X축 움직임 차분 벡터 A,B(MVDXRA,MVDXRB)를 버퍼(11)과 버퍼(12)에 일시저장한 후 출력하여 버퍼(17)에서 출력되는 X축 움직임 벡터(MVXREG)와 가산기에서 더하여 (N)번째 X축 움직임 벡터(tempA,tempB)를 출력한다(단계 P5). 상기 단계(P5)에서 출력된 (N)번째 X축 움직임 벡터(tempA)가 -31과 31 범위내에 있는지 없는지를 비교기(15)에서 확인하여(단계 P6), (N)번째 X축 움직임 벡터(tempA)가 상기 범위내에 있다고 판단이 되어가면 (N)번째 X축 움직임 벡터(tempA)를 선택기(16)에서 (N-1)번째 X축 움직임 벡터(MVXREG)로 선택하여 출력한다(단계 P7). 상기 단계 (P6)에서 (N)번째 X축 움직임 벡터(tempA)가 비교기(15)의 적정 범위내에 없다고 판단이 되어지면 (N)번째 X축 움직임 벡터(tempB)를 선택기(16)에서 (N-1)번째 X축 움직임 벡터(MVXREG)로 선택하여 출력하고(단계 P8), 상기 단계(P7,P8)에서 (N-1)번째 X축 움직임 벡터(MVXREG)가 선택되어 출력되면 제어기(18)에서는 X축 밸리드 신호(MVXOUT)를 1로하여 출력한다(단계 P9).When the buffer 17 is not cleared in the step P2, the (N + 1) th X-axis motion difference vectors A and B (MVDXRA, MVDXRB) input to the buffer 11 and the buffer 12, respectively. Enter (step P4). The X-axis motion differential vectors A and B (MVDXRA, MVDXRB) output in the step P4 by the control signal S0 of the controller 18 are temporarily stored in the buffer 11 and the buffer 12 and then output. In addition to the X-axis motion vector MVXREG output from the buffer 17 and the adder, the (N) th X-axis motion vectors tempA and tempB are output (step P5). The comparator 15 checks whether or not the (N) th X-axis motion vector tempA output in step P5 is within the range of -31 and 31 (step P6), and the (N) th X-axis motion vector ( If it is determined that tempA) is within the above range, the (N) th X-axis motion vector tempA is selected from the selector 16 as the (N-1) th X-axis motion vector MVXREG and outputted (step P7). . If it is determined in step (P6) that the (N) th X-axis motion vector tempA is not within the proper range of the comparator 15, the (N) th X-axis motion vector tempB is selected by the selector 16 (N -1) the X-axis motion vector (MVXREG) is selected and output (step P8), and when (N-1) -th X-axis motion vector (MVXREG) is selected and output in steps P7 and P8, the controller 18 ) Outputs the X-axis valid signal MVXOUT as 1 (step P9).

제2도와 같이 구성된 Y축 움직임 벡터 복호기(20)의 동작상태는 X축 움직임 벡터 복호기(10)의 동작상태와 유사한 것으로, X축 움직임 벡터 복호기(10)에서 X축 움직임 차분 벡터 A(MVDXRA)와 X축 움직임 차분 벡터 B(MVDXRB)를 입력으로 하는 버퍼(11,12)의 역할과 Y축 움직임 차분 벡터 A(MVDYRA)와 Y축 움직임 차분 벡터 B(MVDYRB)를 입력으로 하는 버퍼(21,22)의 역할이 동일하고, X축 움직임 벡터 복호기(10)에서 상기 버퍼(11,12)의 출력신호(MVDXRA,MVDXRB)와 버퍼(17)의 출력신호(MVXREG)가 가산기에 의해 더해져 출력되는 신호(tempA,tempB)를 입력으로 하는 버퍼(13,14)가 하는 역할과 상기 버퍼(21,22)의 출력신호(MVDYRA,MVDYRB)와 버퍼(27)의 출력신호(MVYREG)가 가산기에 의해 더해져 출력되는 신호(temp'A,temp'B)를 입력으로 하는 버퍼(23,24)가 하는 역할이 동일하며, 또한 선택기(16)과 선택기(26)의 역할도 동일하다. 그리고, X축 움직임 벡터 복호기(10)에서 버퍼(17)와 제어기(18)이 하는 역할과 Y축 움직임 벡터 복호기(20)에서 버퍼(27)와 제어기(28)이 하는 역할도 동일하다.The operating state of the Y-axis motion vector decoder 20 configured as shown in FIG. 2 is similar to that of the X-axis motion vector decoder 10, and the X-axis motion vector decoder 10 in the X-axis motion vector decoder 10 (MVDXRA). And the buffers 11 and 12 that input the X-axis motion difference vector B (MVDXRB) and the buffers 21, which input the Y-axis motion difference vector A (MVDYRA) and the Y-axis motion difference vector B (MVDYRB). 22) have the same role, and in the X-axis motion vector decoder 10, output signals MVDXRA and MVDXRB of the buffers 11 and 12 and output signals MVXREG of the buffer 17 are added and output by the adder. The role of the buffers 13 and 14 as the input of the signals tempA and tempB and the output signals MVDYRA and MVDYRB of the buffers 21 and 22 and the output signal MVYREG of the buffer 27 are added by the adder. The same functions of the buffers 23 and 24, which are input to the added signals temp'A and temp'B, play the same role, and the selector 16 and the selector 26 are the same. The role is the same. The role of the buffer 17 and the controller 18 in the X-axis motion vector decoder 10 and the role of the buffer 27 and the controller 28 in the Y-axis motion vector decoder 20 are also the same.

상기와 같이 유사한 구성을 가진 X축 움직임 벡터 복호기(10)와 Y축 움직임 벡터 복호기(20)에서 특히 다른점은 버퍼(11,12)와 버퍼(21,22)로 입력되는 X축 움직임 차분벡터 A,B(MVDXRA,MVDXRB)와 Y축 움직 임차분벡터A,B(MVDYRA,MVDYRB)의 비트값이 각각 7비트와 5비트로 각각 다르며, Y축 움직임 벡터 복호기(20)의 비교기(25)가 X축 움직임 벡터 복호기(10)의 비교기(15)와 특히 다른 구성으로 이루어져 있다.In particular, the difference between the X-axis motion vector decoder 10 and the Y-axis motion vector decoder 20 having a similar configuration as described above is the X-axis motion differential vector input to the buffers 11 and 12 and the buffers 21 and 22. The bit values of A and B (MVDXRA, MVDXRB) and Y-axis motion difference vectors A and B (MVDYRA, MVDYRB) are 7 bits and 5 bits, respectively, and the comparator 25 of the Y-axis motion vector decoder 20 is In particular, the configuration is different from the comparator 15 of the X-axis motion vector decoder 10.

즉, 비교기(25)에서의 절대치의 Y축 움직임 벡터의 범위는That is, the range of the Y-axis motion vector of the absolute value in the comparator 25 is

-8≤절대치의 Y축 움직임 벡터≥7Absolute Y-axis motion vector ≥ 7

로써 이는 실제 제작한 복호기의움직임 탐색 구간이므로, 차분의 Y축 움직임 벡터의 범위는Since this is a moving search section of the actual decoder, the range of the difference Y-axis motion vector is

-15≤차분의 Y축 움직임 벡터≥15-15 ≤ difference Y-axis motion vector

가 된다. 그리고, 상기 절대치의 Y축 움직임 벡터(temp'A,temp'B)가 -8과 7 범위안에 있는지를 비교기(25)에서 판단하여 선택기(26)로 전달하면 적당한 범위내의 벡터값을 선택기(26)에서 선택하여 버퍼(27)로 보내게 된다.Becomes The comparator 25 determines whether the absolute Y-axis motion vectors temp'A and temp'B are within the range of -8 and 7, and passes them to the selector 26 to select the vector value within the appropriate range. ) Is sent to the buffer 27.

표 2는 Y축 움직임 벡터 가변길이 부호화 테이블을 나타낸 것으로, MVDY는 Y축 움직임 차분 벡터 A,B(MVDYRA,MVDYRB)를 표시한다.Table 2 shows the Y-axis motion vector variable length coding table, and MVDY indicates Y-axis motion difference vectors A and B (MVDYRA and MVDYRB).

상기와 같은 동작상태를 가지는 Y축 움직임 벡터 복호기(20)의 동작순서를 제4도의 동작 순서도와 같이하여 설명하면 다음과 같다.The operation sequence of the Y-axis motion vector decoder 20 having the above operation state will be described with reference to the operation flowchart of FIG. 4 as follows.

우선, 제어기(28)에서 Y축 차분 밸리드 신호(MVYON)의 입력으로 (N+1)번째 움직임 벡터인 Y축 움직임 차분 벡터 A,B(MVDYRA,MVDYRB)의 입력이 있는지를 확인한다.(단계 Q1). 상기 단계(Q1)에서 Y축 차분 밸리드(MVYON)의 입력이 없으면 Y축 움직임 차분 벡터 A,B(MVDYRA,MVDYRB)의 입력이 없는 것이므로 계속해서 입력을 확인을 하고, 상기 단계(Q1)에서 Y축 차분 밸리드(MVYON)의 입력이 있다고 판단이 되어지면 버퍼(27)의 클리어상태를 알아본다(단계 Q2). 상기 단계(Q2)에서 버퍼(27)에 저장된 정보가 없을시에는 버퍼(27)의 출력값을 0으로하여 Y축 움직임 벡터(MVYREG)를 출력하며(Q3), 이때 제어기(28)에서는 상기 Y축 움직임 벡터(MVYRETG)의 출력에 따라 Y축 밸리드 신호(MVYOUT)를 1로하여 출력한다(단계 Q9).First, the controller 28 checks whether there is an input of the Y-axis motion differential vectors A and B (MVDYRA and MVDYRB) as the (N + 1) th motion vector as the input of the Y-axis differential validated signal MVYON. Step Q1). If there is no input of the Y-axis differential validating MVYON in step Q1, since there is no input of the Y-axis motion differential vectors A and B (MVDYRA, MVDYRB), the input is continuously confirmed, and in step Q1, If it is determined that there is an input of the Y-axis difference validating MVYON, the clear state of the buffer 27 is checked (step Q2). When there is no information stored in the buffer 27 in the step Q2, the Y-axis motion vector MVYREG is output by setting the output value of the buffer 27 to 0 (Q3), and the controller 28 then outputs the Y-axis motion vector. According to the output of the motion vector MVYRETG, the Y-axis valid signal MVYOUT is set to 1 and output (step Q9).

상기 단계(Q2)에서 버퍼(27)이 클리어 상태가 아닐시에는 입력되는 (N+1)번째 Y축 움직임 차분 벡터 A,B(MVDYRA,MVDYRB)를 버퍼(21)과 버퍼(22)에 각각 입력한다(단계 Q4). 제어기(28)의 제어신호(S0)에 의해 상기 단계(Q4)에서 출력되는 Y축 움직임 차분 벡터 A,B(MVDYRA,MVDYRB)를 버퍼(21)과 버퍼(22)에 일시저장한 후 출력하여 버퍼(27)에서 출력되는 Y축 움직임 벡터(MVYREG)와 가산기에서 더하여 (N)번재 Y축 움직임 벡터(temp'A,temp'B)를 출력한다.(단계 Q5).When the buffer 27 is not cleared in the step Q2, the (N + 1) th Y-axis motion difference vectors A and B (MVDYRA and MVDYRB) input to the buffer 21 and the buffer 22, respectively. (Step Q4). The Y-axis motion difference vectors A and B (MVDYRA and MVDYRB) output in the step Q4 by the control signal S0 of the controller 28 are temporarily stored in the buffer 21 and the buffer 22 and then output. In addition to the Y-axis motion vector MVYREG output from the buffer 27 and the adder, the (N) -th Y-axis motion vector temp'A, temp'B is output (step Q5).

상기 단계(Q5)에서 출력된 (N)번째 Y축 움직임 벡터(temp'A)가 -8과 7 범위내에 있는지 없는지를 비교기(25)에서 확인하여(단계 Q6), (N)번째 Y축 움직임 벡터(temp'A)가 상기 범위내에 있다고 판단이 되어지면 (N)번째 Y축 움직임 벡터(temp'A)를 선택기(26)에서 (N-1)번째 Y축 움직임 벡터 (MVYREG)로 선택하여 출력하고(단계 Q7), 상기 단계(Q6)에서 (N)번째 Y축 움직임 벡터(temp'A)가 비교기(25)의 적정 범위내에 없다고 판단이 되어지면 (N)번째 Y축 움직임 벡터(temp'B)를 선택기(26)에서 (N-1)번째 Y축 움직임 벡터(MVYREG)로 선택하여 출력한다.(단계Q8). 상기 단계(Q7,Q8)에서 (N-1)번째 Y축 움직임 벡터(MYREG)가 선택되어 출력되면 제어기(28)에서는 Y축 밸리드 신호(MVYOUT)를 1로하여 출력한다(단계 Q9).The comparator 25 checks whether or not the (N) th Y-axis motion vector temp'A output in the step Q5 is within the range of -8 and 7 (step Q6), and the (N) th Y-axis motion. If it is determined that the vector temp'A is within the above range, the (N) th Y-axis motion vector temp'A is selected from the selector 26 as the (N-1) th Y-axis motion vector MVYREG. Output (step Q7), and if it is determined in step Q6 that the (N) th Y-axis motion vector temp'A is not within the proper range of the comparator 25, the (N) th Y-axis motion vector (temp) 'B) is selected by the selector 26 as the (N-1) th Y-axis motion vector MVYREG and outputted (step Q8). When the (N-1) th Y-axis motion vector MYREG is selected and output in steps Q7 and Q8, the controller 28 outputs the Y-axis valid signal MVYOUT as 1 (step Q9).

이상에서 살펴본 바와 같이 본 발명에 따르면, 움직임 벡터 복호 장치가 움직임 벡터의 차이값을 가지고 움직임 벡터의 원래의 값으로 변환시킴으로써 압축된 영상신호를 복원할 시에 신속하고 정확한 값으로 복원시킬 수 있으며, 첨단 영상기기의 개발에 있어 막대한 개발 이익의 효과가 있다.As described above, according to the present invention, the motion vector decoding apparatus converts the compressed video signal to the original value of the motion vector with the difference value of the motion vector, thereby quickly and accurately recovering the compressed video signal. There is a huge development benefit in the development of advanced imaging equipment.

Claims (3)

가변길이복호기(VLD)에 의해 가변길이를 복호화한 움직임 벡터 중 차분의 움직임 벡터를 원래의 움직임 벡터로 변환하는 움직임 벡터 복호 장치에 있어서, 상기 움직임 벡터 복호 장치는 X축 움직임 벡터를 복호화하는 X축 움직임 벡터 복호기(10)와, Y축 움직임 벡터를 복호하는 Y축 움직임 벡터 복호기(20)를 포함하여 구성되어 있으며, 상기 X축 움직임 벡터 복호기(10)는 제1제어신호(S0)에 의해 입력되는 신호(MVDXRA)를 일시 저장하는 버퍼(11)와, 제1제어신호(S0)에 의해 입력되는 신호(MVDXRB)를 일시 저장하는 버퍼(12)와, 상기 버퍼(11)에서 출력된 신호(MVDXRA)와 버퍼(17)에서 출력된 신호(MVXREG)가 가산기(11')를 거쳐 출력된 신호(tempA)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(13)와, 상기 버퍼(12)에서 출력된 신호(MVDXRB)와 버퍼(17)에서 출력된 신호(MVXREG)가 가산기(12')를 거쳐 출력된 신호(tempB)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(14)와, 상기 버퍼(13,14)에서 출력된 신호(tempA,tempB)의 절대치를 비교하여 -31과 31 범위안에 들어오는 절대치 움직임 벡터값의 움직임 벡터 신호를 출력하는 비교기(15)와, 상기 비교기(15)에서 출력된 신호에 의해 상기 버퍼(13) 또는 버퍼(14)에서 출력된 벡터값을 선택하는 선택기(16)와, 상기 선택기(16)에서 출력된 신호를 제3,4제어신호(S2,S3)에 의해 일시 저장하여 신호(MVXREG)를 출력하는 버퍼(17)와, 클럭 및 신호(MVXON)를 입력받아 상기 버퍼(11-14,17)를 제어하는 제어신호(S0-S3) 및 신호(MVXOUT)를 출력하는 제어기(18)를 포함하여 구성함을 특징으로 하는 움직임 벡터 복호 장치.A motion vector decoding device for converting a differential motion vector of a motion vector obtained by decoding a variable length by a variable length decoder (VLD) into an original motion vector, wherein the motion vector decoding device includes an X axis for decoding an X axis motion vector. A motion vector decoder 10 and a Y-axis motion vector decoder 20 for decoding the Y-axis motion vector, wherein the X-axis motion vector decoder 10 is input by a first control signal S0. A buffer 11 temporarily storing the signal MVDXRA, a buffer 12 temporarily storing the signal MVDXRB input by the first control signal S0, and a signal output from the buffer 11 A buffer 13 for temporarily storing the signal tempA output from the MVDXRA and the buffer 17 through the adder 11 'by the second control signal S1, and the buffer ( The signal MVDXRB output from 12) and the signal MVXREG output from buffer 17 are added. The absolute value of the buffer 14 temporarily storing the signal tempB output through the 12 'by the second control signal S1 and the signals tempA and tempB output from the buffers 13 and 14. A comparator 15 for outputting a motion vector signal having an absolute motion vector value in the range of -31 and 31, and outputted from the buffer 13 or the buffer 14 by a signal output from the comparator 15; A selector 16 for selecting a vector value, a buffer 17 for temporarily storing the signals output from the selector 16 by the third and fourth control signals S2 and S3, and outputting a signal MVXREG; And a controller 18 for receiving a clock and a signal MVXON and outputting a control signal S0-S3 for controlling the buffers 11-14 and 17 and a signal MVXOUT. Vector decoding device. 가변길이복호기(VLD)에 의해 가변길이를 복호화한 움직임 벡터 중 차분의 움직임 벡터를 원래의 움직임 벡터로 변환하는 움직임 벡터 복호 장치에 있어서, 상기 움직임 벡터 복호 장치는 X축 움직임 벡터를 복호화하는 X축 움직임 벡터 복호기(10)와, Y축 움직임 벡터를 복호하는 Y축 움직임 벡터 복호기(20)를 포함하여 구성되어 있으며, 상기 Y축 움직임 벡터 복호기(20)는 제1제어신호(S0)에 의해 입력되는 신호(MVDYRA)를 일시 저장하는 버퍼(21)와, 제1제어신호(S0)에 의해 입력되는 신호(MVDYRB)를 일시 저장하는 버퍼(22)와, 상기 버퍼(21)에서 출력된 신호(MVDYRA)와 버퍼(27)에서 출력된 신호(MVYREG)가 가산기(21')를 거쳐 출력된 신호(temp'A)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(23)와, 상기 버퍼(22)에서 출력된 신호(MVDYRB)와 버퍼(27)에서 출력된 신호(MVYREG)가 가산기(22')를 거쳐 출력된 신호(temp'B)를 제2제어신호(S1)에 의해 일시 저장하는 버퍼(24)와, 상기 버퍼(23,24)에서 출력된 신호(temp'A,temp'B)의 절대치를 비교하여 -8과 7 범위안에 들어오는 절대치 움직임 벡터값의 움직임 벡터 신호를 출력하는 비교기(25)와, 상기 비교기(25)에서 출력된 신호에 의해 상기 버퍼(23) 또는 버퍼(24)에서 출력된 벡터값을 선택하는 선택기(26)와, 상기 선택기(26)에서 출력된 신호를 제3,4제어신호(S2,S3)에 의해 일시 저장하여 신호(MVYREG)를 출력하는 버퍼(27)와, 클럭 및 신호(MVYON)를 입력받아 상기 버퍼(21-24,27)를 제어하는 제어신호(S0-S3) 및 신호(MVYOUT)를 출력하는 제어기(28)를 포함하여 구성함을 특징으로 하는 움직임 벡터 복호 장치.A motion vector decoding device for converting a differential motion vector of a motion vector obtained by decoding a variable length by a variable length decoder (VLD) into an original motion vector, wherein the motion vector decoding device includes an X axis for decoding an X axis motion vector. A motion vector decoder 10 and a Y-axis motion vector decoder 20 that decodes the Y-axis motion vector. The Y-axis motion vector decoder 20 is input by a first control signal S0. A buffer 21 for temporarily storing the signal MVDYRA, a buffer 22 for temporarily storing the signal MVDYRB input by the first control signal S0, and a signal output from the buffer 21 A buffer 23 for temporarily storing the signal temp'A output from the MVDYRA and the buffer 27 through the adder 21 'by the second control signal S1; The signal MVDYRB output from the buffer 22 and the signal MVYREG output from the buffer 27 are added together. A buffer 24 temporarily storing the signal temp'B outputted through the group 22 'by the second control signal S1, and the signals temp'A outputted from the buffers 23 and 24; a comparator 25 for comparing the absolute value of temp'B) and outputting a motion vector signal of an absolute motion vector value falling within a range of -8 and 7, and the buffer 23 or by the signal output from the comparator 25; A selector 26 for selecting a vector value output from the buffer 24 and a signal MVYREG by temporarily storing the signals output from the selector 26 by the third and fourth control signals S2 and S3. And a controller 28 for receiving a clock and a signal MVYON and outputting a control signal S0-S3 and a signal MVYOUT for controlling the buffers 21 to 24 and 27. Motion vector decoding device characterized in that the configuration. 가변길이복호기(VLD)에 의해 가변길이를 복호화한 움직임 벡터 중 차분의 움직임 벡터를 원래의 움직임 벡터로 변환하는 움직임 벡터 복호 장치의 동작을 제어하는 방법에 있어서, 제어기(18)에서 신호(MVXON)의 입력으로 (N+1)번째 움직임 벡터인 신호(MVDXRA,MVDXRB)의 입력이 있는지를 확인하는 단계(P1)와, 상기 단계(P1)에서 신호(MVXON)의 입력이 있다고 판단되면 버퍼(17)의 클리어상태를 알아보는 단계(P2)와, 상기 단계(P2)에서 버퍼(17)에 저장된 정보가 없을시에 버퍼(17)의 출력값을 0으로하여 신호(MVXREG)를 출력하는 단계(P3)와, 상기 단계(P2)에서 버퍼(17)가 클리어 상태가 아닐 경우에 입력되는 (N+1)번째 신호(MVDXRA,MVDXRB)를 버퍼(11,12)에 각각 입력하는 단계(P4)와, 신호(MVDXRA,MVDXRB)를 버퍼(11)와 버퍼(12)에 각각 일시 저장한 후 출력하여 버퍼(17)에서 출력되는 신호(MVXREG)와 가산기(11',12')에서 각각 더하여 (N)번째 신호(tempA,tempB)를 출력하는 단계(P5)와, 상기 단계(P5)에서 출력된 (N)번째 신호(tempA)가 -31가 31 범위내에 있는지 없는지를 비교기(15)에서 확인하는 단계(P6)와, 상기 단계(P6)에서 있다고 판단이 되어지면 (N)번째 X축 움직임 벡터(tempA)를 선택기(16)에서 (N-1)번째 신호(MVXREG)로 선택하여 출력하는 단계(P7)와, 상기 단계(P6)에서 (N)번째 신호(tempA)가 비교기(15)의 적정 범위내에 없다고 판단이 되어집면 (N)번째 신호(tempB)를 (N-1)번째 신호(MVXREG)로 출력하는 단계(P8)와, 제어기(18)에서 신호(MVXOUT)를 1로하여 출력하는 단계(P9)로 순차동작하도록 신호(MNDXRA,MVDXRB)에 따라 움직임 벡터의 X축 성분을 디코딩하는 단계와, 제어기(28)에서 신호(MVYON)의 입력으로 (N+1)번째 움직임 벡터인 신호(MVDYRA,MVDYRB)의 입력이 있는지를 확인하는 단계(Q1)와, 상기 단계(Q1)에서 신호(MVYON)의 입력이 있다고 판단되면 버퍼(27)의 클리어 상태를 알아보는 단계(Q2)와, 상기 단계(Q2)에서 버퍼(27)에 저장된 정보가 없을시에 버퍼(27)가 출력값을 0으로하여 신호(MVYREG)를 출력하는 단계(Q3)와, 상기 단계(Q2)에서 버퍼(27)가 클리어 상태가 아닐 경우 입력되는 (N+1)번째 신호(MVDYRA,MVDYRB)를 버퍼(21)와 버퍼(22)에 각각 입력하는 단계(Q4)와, 신호(MVDYRA,MVDYRB)를 버퍼(21)와 버퍼(22)에 일시 저장한 후 출력하여 버퍼(27)에서 출력되는 신호(MVYREG)와 가산기(21',22') 각각에서 더하여 (N)번째 신호(temp'A,temp'B)를 출력하는 단계(Q5)와, 상기 단계(Q5)에서 출력된 (N)번째 신호(temp'A)가 -8과 7 범위내에 있는지 없는지를 비교기(25)에서 확인하는 단계(Q6)와, 상기 단계(Q6)에서 그 범위내에 있다고 판단되면 (N)번째 신호(temp'A)를 선택기(16)에서 (N-1)번째 신호(MVYREG)로 선택하여 출력하는 단계(P7)와, 상기 단계(Q6)에서 (N)번째 신호(temp'A)가 비교기(25)의 적정범위내에 없다고 판단되면 (N)번째 신호(temp'B)를 (N-1)번째 신호(MVYREG)로 출력하는 단계(Q8)와, 제어기(28)에서 신호(MVYOUT)를 1로하여 출력하는 단계(P9)로 순동작하도록 신호(MVDYRA,MVDYRB)에 따라 움직임 벡터의 Y축 성분을 디코딩하는 단계로 이루어진 것을 특징으로 하는 움직임 벡터 복호방법.In a method for controlling the operation of a motion vector decoding apparatus for converting a differential motion vector of a motion vector obtained by decoding a variable length by a variable length decoder (VLD) into an original motion vector, the controller (MVXON) Checking whether there is an input of the signals (MVDXRA, MVDXRB), which are the (N + 1) th motion vectors, as the input of P1; and if it is determined that there is an input of the signal MVXON in the step (P1), the buffer 17 Step (P2) of checking the clear state of the control panel and outputting the signal (MVXREG) by setting the output value of the buffer 17 to 0 when there is no information stored in the buffer 17 in the step (P2). ) And inputting (N + 1) th signals (MVDXRA, MVDXRB) to the buffers 11 and 12, respectively, when the buffer 17 is not cleared in the step P2. , The signals MVDXRA and MVDXRB are temporarily stored in the buffer 11 and the buffer 12, and then output, and then the signals MVX output from the buffer 17. REG) and the adder 11 'and 12', respectively, and outputting the (N) th signals tempA and tempB (P5), and the (N) th signal tempA output in the above step P5 is The comparator 15 checks whether or not -31 is within the 31 range (P6), and if it is determined in step P6 that the (N) th X-axis motion vector tempA is selected by the selector 16; If it is determined that the (N-1) th signal MVXREG is selected and output (P7) and the (N) th signal tempA is not within the proper range of the comparator 15 in the above step (P6) ( To sequentially output the Nth th signal tempB as the (N-1) th signal MVXREG (P8), and the controller 18 outputs the signal MVXOUT as 1 and outputs it (P9). Decoding the X-axis component of the motion vector according to the signals MNDXRA, MVDXRB, and input of the signals MVDYRA, MVDYRB, which is the (N + 1) th motion vector, as input of the signal MVYON at the controller 28 Only to make sure If it is determined that the system Q1 and the signal MVYON are input in the step Q1, the step Q2 of checking the clear state of the buffer 27 is stored, and the buffer 27 is stored in the step Q2. In the absence of information, the buffer 27 outputs a signal MVYREG by setting the output value to 0 (Q3), and (N + 1) input when the buffer 27 is not clear in the step Q2. Inputting the (th) signals MVDYRA and MVDYRB to the buffer 21 and the buffer 22, respectively, and temporarily storing the signals MVDYRA and MVDYRB to the buffer 21 and the buffer 22 and then outputting them. Q5 outputting the (N) th signals temp'A and temp'B by adding the signals MVYREG output from the buffer 27 and the adders 21 'and 22', respectively, and the step ( If the comparator 25 checks whether or not the (N) th signal temp'A output from Q5) is within the range of -8 and 7, and is determined to be within the range at step Q6, Select the (N) th signal (temp'A) from the selector 16 (N- 1) selecting and outputting the th signal MVYREG (P7), and if it is determined in step Q6 that the (N) th signal temp'A is not within an appropriate range of the comparator 25, the (N) th Outputting the signal temp'B as the (N-1) th signal MVYREG (Q8), and outputting the signal MVYOUT as 1 in the controller 28 (P9). Decoding the Y-axis component of the motion vector according to (MVDYRA, MVDYRB).
KR1019940005225A 1994-03-16 1994-03-16 Moving vector decoder and method thereof KR0121435B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
KR1019940005225A KR0121435B1 (en) 1994-03-16 1994-03-16 Moving vector decoder and method thereof
GB9504645A GB2287602B (en) 1994-03-16 1995-03-08 Motion vector decoding apparatus and method
US08/403,978 US5671024A (en) 1994-03-16 1995-03-15 Variable length decoding of motion vectors
CN95103091A CN1058128C (en) 1994-03-16 1995-03-16 Motion vector decoding apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019940005225A KR0121435B1 (en) 1994-03-16 1994-03-16 Moving vector decoder and method thereof

Publications (2)

Publication Number Publication Date
KR950028522A KR950028522A (en) 1995-10-18
KR0121435B1 true KR0121435B1 (en) 1997-11-18

Family

ID=19379004

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019940005225A KR0121435B1 (en) 1994-03-16 1994-03-16 Moving vector decoder and method thereof

Country Status (1)

Country Link
KR (1) KR0121435B1 (en)

Also Published As

Publication number Publication date
KR950028522A (en) 1995-10-18

Similar Documents

Publication Publication Date Title
EP0673171B1 (en) Video decoder
US5506621A (en) Image processing method and apparatus
US6542642B2 (en) Image coding process and motion detecting process using bidirectional prediction
US20040042675A1 (en) Image coding and decoding apparatus, method of image coding and decoding, and recording medium for recording program for image coding and decoding
WO1996033574A1 (en) Video decoder apparatus using non-reference frame as an additional prediction source and method therefor
EP0798931B1 (en) Variable length decoder and method for decoding two codes per clock cycle
US6298090B1 (en) System for detecting redundant images in a video sequence by comparing two predetermined threshold values
US5774592A (en) Parallel image processing with compensation for motion of image
US6014171A (en) Image encoding and decoding methods and apparatus utilizing the elimination of invalid code
US6611559B1 (en) Apparatus and method of detecting motion vectors by calculating a correlation degree between each candidate block
KR0121435B1 (en) Moving vector decoder and method thereof
US6014186A (en) High-speed motion vector decoding circuit
JP3389391B2 (en) Variable-length code encoding and division apparatus
US6020835A (en) Code decoding apparatus
JPH05227440A (en) Device and method of coding data
KR0154011B1 (en) Variable length decoder
US7801935B2 (en) System (s), method (s), and apparatus for converting unsigned fixed length codes (decoded from exponential golomb codes) to signed fixed length codes
US5608398A (en) Differential coding method and an apparatus therefor
US5671024A (en) Variable length decoding of motion vectors
US5736945A (en) Circuit for zero-run developing RUN/LEVEL sets and method for zero-run developing the same
US5774677A (en) Dual interleaved block motion compensation
US20060242544A1 (en) System(s), method(s), and apparatus for decoding exponential Golomb codes
US7072400B2 (en) Inverse zigzag scanning of a matrix of video data values and manipulation
KR0135023B1 (en) Decoding calculating circuit of moving vector for video codec
JP2941751B2 (en) Motion vector detection method and apparatus

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: 20050721

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee