KR100919886B1 - Apparatus and method for controlling skip of motion compensation using characteristic of motion vector in image decoder - Google Patents

Apparatus and method for controlling skip of motion compensation using characteristic of motion vector in image decoder

Info

Publication number
KR100919886B1
KR100919886B1 KR1020070100556A KR20070100556A KR100919886B1 KR 100919886 B1 KR100919886 B1 KR 100919886B1 KR 1020070100556 A KR1020070100556 A KR 1020070100556A KR 20070100556 A KR20070100556 A KR 20070100556A KR 100919886 B1 KR100919886 B1 KR 100919886B1
Authority
KR
South Korea
Prior art keywords
motion compensation
partition
motion vector
reference picture
area
Prior art date
Application number
KR1020070100556A
Other languages
Korean (ko)
Other versions
KR20080052344A (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 한국전자통신연구원
Publication of KR20080052344A publication Critical patent/KR20080052344A/en
Application granted granted Critical
Publication of KR100919886B1 publication Critical patent/KR100919886B1/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/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/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/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/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
    • 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/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Color Television Systems (AREA)

Abstract

본 발명은 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장치 및 그 방법에 관한 것으로서, 매크로블록 파티션마다 영상 복호를 수행함에 있어서 움직임 벡터의 특성에 따라 움직임 보상 장치의 활성화 여부(스킵 여부)를 결정함으로써, 즉, 움직임 벡터가 정수 픽셀을 가리키는 경우에는 움직임 보상용 참조화면 영상(예를 들면, 과거화면 영상)을 움직임 보상 장치를 거치지 않고 직접적으로 화면 재구성 장치로 입력시킴으로써, 외부로의 데이터 전송 시간과 시스템 소비전력을 최소화하고자 한다.The present invention relates to a motion compensation skip control apparatus and a method using a motion vector characteristic in an image decoder. In performing image decoding for each macroblock partition, the motion compensation apparatus is activated according to the characteristics of the motion vector. In other words, when the motion vector indicates an integer pixel, the motion compensation reference screen image (for example, the past screen image) is input directly to the screen reconstruction device without passing through the motion compensation device, thereby transmitting data to the outside. Minimize time and system power consumption.

이를 위하여, 본 발명은, 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵(Skip) 제어 장치에 있어서, 영상 복호의 대상이 되는 각각의 매크로블록 파티션에 대하여, 움직임 벡터가 포함된 파티션 정보를 입력받기 위한 입력 수단; 상기 매크로블록 파티션마다, 상기 파티션 정보를 이용하여 해당 움직임 벡터가 가리키는 참조화면 영역('기본 참조화면 영역')을 계산하고, 상기 해당 움직임 벡터가 정수 픽셀을 지시하는지를 확인하기 위한 전처리 수단; 및 상기 해당 움직임 벡터의 정수 픽셀 지시 여부에 따라, 상기 기본 참조화면 영역에 기초한 움직임 보상용 참조화면 영역의 픽셀값을 움직임 보상 장치에 인가하거나 상기 움직임 보상 장치를 스킵하고 화면 재구성 장치에 인가하기 위한 스킵 제어 수단을 포함한다.To this end, according to an embodiment of the present invention, in a motion compensation skip control apparatus using a motion vector characteristic in an image decoder, partition information including a motion vector is received for each macroblock partition to be decoded. Input means for; For each macroblock partition, preprocessing means for calculating a reference picture region ('basic reference picture region') indicated by the motion vector using the partition information, and checking whether the corresponding motion vector indicates an integer pixel; And applying a pixel value of the motion compensation reference screen area based on the basic reference picture area to the motion compensation device or skipping the motion compensation device according to whether the corresponding pixel is indicated by the integer pixel. And skip control means.

Description

영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장치 및 그 방법{APPARATUS AND METHOD FOR CONTROLLING SKIP OF MOTION COMPENSATION USING CHARACTERISTIC OF MOTION VECTOR IN IMAGE DECODER}Motion Compensation Skip Control Device Using Motion Vector Characteristics in Image Decoder and its Method {APPARATUS AND METHOD FOR CONTROLLING SKIP OF MOTION COMPENSATION USING CHARACTERISTIC OF MOTION VECTOR IN IMAGE DECODER}

본 발명은 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장치 및 그 방법에 관한 것으로, 더욱 상세하게는 움직임 벡터의 특성에 따라 움직임 보상 장치의 활성화 여부를 결정하여, 불필요한 움직임 보상을 스킵(Skip)함으로써, 외부로의 데이터 전송 시간과 시스템 소비전력을 최소화하는, 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장치 및 그 방법에 관한 것이다.The present invention relates to a motion compensation skip control apparatus and a method using a motion vector characteristic in an image decoder, and more particularly, to determine whether to activate the motion compensation apparatus according to the characteristics of the motion vector and skip unnecessary motion compensation (Skip). The present invention relates to a motion compensation skip control apparatus using a motion vector characteristic in a video decoder, which minimizes data transmission time and system power consumption to the outside.

본 발명은 정보통신부 및 정보통신연구진흥원의 IT신성장동력핵심기술개발사업의 일환으로 수행한 연구로부터 도출된 것이다[과제관리번호: 2005-S-078-02, 과제명: 저전력 그래픽처리 SoC Platform].The present invention is derived from a study conducted as part of the IT new growth engine core technology development project of the Ministry of Information and Communication and the Ministry of Information and Communication Research and Development. [Task Management Number: 2005-S-078-02, Title: Low-Power Graphic Processing SoC Platform] .

H.264 권고안을 따르는 영상 복호기(H.264 영상 복호기)는 화면을 크게 두 가지 모드로 복호화한다. I 픽쳐의 매크로블록(Macroblock, 16x16 pixel)은 '인터 모드(Inter Mode)', 즉 이미 복호화된 같은 화면 내의 인접 매크로블록의 결과 값을 이용하여 복호화하는 모드로 복호화된다. 한편, P 픽쳐의 매크로블록(인터 모드 매크로블록)은 이미 복호화된 과거 화면(참조 화면)을 이용한 움직임 보상 방법(과거 화면의 일정 영역을 보간(interpolation)해서 복호화하는 방법), 즉 '인트라 모드(Intra Mode)'로 복호화된다.A video decoder (H.264 video decoder) that conforms to the H.264 Recommendations decodes the picture in two modes. Macroblocks (16x16 pixels) of an I picture are decoded in an 'inter mode', that is, a mode that decodes using a result value of an adjacent macroblock in the same picture that is already decoded. Meanwhile, the macroblock (inter mode macroblock) of the P picture is a motion compensation method (a method of interpolating and decoding a predetermined area of the past screen) using an already decoded past screen (reference screen), that is, 'intra mode ( Intra Mode) '.

종래의 H.264 영상 복호기에서는 모든 인터 모드(Inter Mode) 매크로 블록에 대해 항상 움직임 보상 장치를 구동(활성화)시키고, 이를 통하여 움직임을 보상한 후에 그 보상결과를 화면 재구성 장치에 입력시키는 방식을 취하였다. 여기서, 화면 재구성 장치는 움직임 보상 장치의 결과인 화면간 예측 화면과 오차 화면을 합하여 복호화된 화면을 구성하는 기능을 수행하는 것이다.In the conventional H.264 video decoder, the motion compensation device is always driven (activated) for all the inter mode macroblocks, and the motion compensation is compensated for by inputting the compensation result into the screen reconstruction device. It was. Here, the screen reconstruction apparatus performs a function of configuring a decoded screen by adding the inter prediction screen and the error screen which are the result of the motion compensation apparatus.

하지만, 인터 모드 매크로 블록 중에는 움직임 보상을 할 필요가 없는 것도 있는데, 종래기술은 이러한 특성을 전혀 고려하지 않고 모든 인터 모드(Inter Mode) 매크로 블록에 대하여 일률적으로 '움직임 보상 장치'를 거치게 함으로써, 모든 인터 모드 매크로 블록이 움직임 보상 수행 시간이 지난 후에야 비로소 화면 재구성 장치에 입력되고, 이로 인하여 외부로의 데이터 전송이 불필요하게 지연되고 그에 따라 시스템 소비전력도 증가하게 되는 문제점이 있었다.However, some inter-mode macroblocks do not need to compensate for motion, and the prior art does not consider these characteristics at all, and uniformly passes the 'motion compensation device' for all inter-mode macroblocks. The inter mode macro block is input to the screen reconstruction apparatus only after the motion compensation execution time has elapsed, thereby causing an unnecessary delay in data transmission to the outside, thereby increasing system power consumption.

상기와 같은 종래기술은, 움직임 벡터의 특성에 상관없이 모든 인터 모드 매크로블록 파티션에 대해 항상 움직임 보상이 수행되게 함으로써, 외부로의 데이터 전송의 지연과 시스템 소비전력의 증가를 초래하는 문제점이 있으며, 이러한 문제점을 해결하고자 하는 것이 본 발명의 과제이다.In the prior art as described above, motion compensation is always performed for all inter-mode macroblock partitions regardless of the characteristics of the motion vector, thereby causing a delay in data transmission to the outside and an increase in system power consumption. It is an object of the present invention to solve this problem.

즉, 본 발명은 움직임 벡터의 특성에 따라 움직임 보상 장치의 활성화 여부를 결정하여, 불필요한 움직임 보상을 스킵(Skip)함으로써, 외부로의 데이터 전송 시간과 시스템 소비전력을 최소화하는, 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장치 및 그 방법을 제공하는데 그 목적이 있다.That is, the present invention determines whether to activate the motion compensation device according to the characteristics of the motion vector, and skips unnecessary motion compensation, thereby minimizing data transmission time and system power consumption to the outside. It is an object of the present invention to provide a motion compensation skip control apparatus using the characteristics and a method thereof.

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있으며, 본 발명의 실시예에 의해 보다 분명하게 알게 될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention which are not mentioned above can be understood by the following description, and will be more clearly understood by the embodiments of the present invention. Also, it will be readily appreciated that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the claims.

본 발명은 상기와 같은 목적을 해결하기 위하여, 매크로블록 파티션마다 영상 복호를 수행함에 있어서, 해당 움직임 벡터의 특성에 따라 움직임 보상 장치의 활성화 여부(스킵 여부)를 결정하는 것을 특징으로 한다.In order to solve the above object, the present invention is characterized in determining whether to activate (skip) the motion compensation device according to the characteristics of the motion vector in performing image decoding for each macroblock partition.

즉, 본 발명은, 움직임 벡터가 정수 픽셀을 가리키는 경우에는 움직임 보상용 화면(과거 화면)을 움직임 보상 장치를 거치지 않고 직접적으로 화면 재구성 장치로 입력시키는 것을 특징으로 한다.That is, the present invention is characterized in that, when the motion vector indicates an integer pixel, the motion compensation screen (past screen) is directly input to the screen reconstruction device without passing through the motion compensation device.

더욱 상세하게는, 본 발명은, 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵(Skip) 제어 장치에 있어서, 영상 복호의 대상이 되는 각각의 매크로블록 파티션에 대하여, 움직임 벡터가 포함된 파티션 정보를 입력받기 위한 입력 수단; 상기 매크로블록 파티션마다, 상기 파티션 정보를 이용하여 해당 움직임 벡터가 가리키는 참조화면 영역('기본 참조화면 영역')을 계산하고, 상기 해당 움직임 벡터가 정수 픽셀을 지시하는지를 확인하기 위한 전처리 수단; 및 상기 해당 움직임 벡터의 정수 픽셀 지시 여부에 따라, 상기 기본 참조화면 영역에 기초한 움직임 보상용 참조화면 영역의 픽셀값을 움직임 보상 장치에 인가하거나 상기 움직임 보상 장치를 스킵하고 화면 재구성 장치에 인가하기 위한 스킵 제어 수단을 포함한다.More specifically, the present invention, in the motion compensation skip control apparatus using the motion vector characteristics in the video decoder, partition information containing the motion vector for each macroblock partition to be subjected to video decoding Input means for receiving input; For each macroblock partition, preprocessing means for calculating a reference picture region ('basic reference picture region') indicated by the motion vector using the partition information, and checking whether the corresponding motion vector indicates an integer pixel; And applying a pixel value of the motion compensation reference screen area based on the basic reference picture area to the motion compensation device or skipping the motion compensation device according to whether the corresponding pixel is indicated by the integer pixel. And skip control means.

한편, 본 발명은, 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵(Skip) 제어 방법에 있어서, 영상 복호의 대상이 되는 매크로블록 파티션마다, 해당 움직임 벡터가 가리키는 참조화면 영역('기본 참조화면 영역')을 계산하는 기본 참조화면 영역 계산 단계; 상기 매크로블록 파티션마다 상기 해당 움직임 벡터가 정수 픽셀을 가리키는지를 확인하는 움직임벡터 확인 단계; 상기 해당 움직임 벡터가 정수 픽셀을 가리키면, 상기 기본 참조화면 영역의 픽셀값을, 움직임 보상 장치를 스킵하고 화면 재구성 장치에 인가하는 제1 스킵 제어 단계; 및 상기 해당 움직임 벡터가 정수 픽셀을 가리키지 않으면, 상기 기본 참조화면 영역과 상기 기본 참조화면 영역 밖의 소정의 범위 내의 영역('부가 참조화면 영역')에 대한 픽셀값을 상기 움직임 보상 장치에 인가하는 제2 스킵 제어 단계를 포함한다.Meanwhile, the present invention relates to a motion compensation skip control method using a motion vector characteristic in a video decoder, wherein a reference picture area ('basic reference picture area) indicated by the motion vector for each macroblock partition to be decoded. Calculating a basic reference screen area for calculating '); A motion vector checking step of checking whether the corresponding motion vector indicates an integer pixel for each macroblock partition; A first skip control step of skipping a motion compensation device and applying a pixel value of the basic reference picture area to the screen reconstruction device when the corresponding motion vector indicates an integer pixel; And if the corresponding motion vector does not indicate an integer pixel, applying a pixel value to the motion compensation apparatus for a region within a predetermined range outside the basic reference picture area and the basic reference picture area ('additional reference picture area'). A second skip control step is included.

상기와 같은 발명은, 움직임 벡터의 특성에 따라 움직임 보상 장치의 활성화 여부를 결정함으로써, 외부로의 데이터 전송 시간 및 그에 따른 시스템 소비전력을 최소화할 수 있는 효과가 있다.The invention as described above, by determining whether to activate the motion compensation device according to the characteristics of the motion vector, it is possible to minimize the data transmission time to the outside and the system power consumption accordingly.

즉, 본 발명은, 움직임 벡터가 '정수픽셀'을 가리키는 경우, 즉, xFrac, yFrac(휘도 신호 혹은 색도 신호) 값이 "0"인 경우, 움직임 보상 장치를 비활성화시키고 참조 화면(과거 화면)을 곧바로 화면 재구성 장치로 입력시킴으로써, 즉, 참조 화면을 움직임 보상 장치를 통하여 움직임 보상 처리한 후 화면 재구성 장치로 입력시키지 않고 곧바로 화면 재구성 장치에 입력시킴으로써, 데이터 전송에 걸리는 시간을 줄이고, 시스템 소비 전력을 줄일 수 있는 효과가 있다. That is, in the present invention, when the motion vector indicates an 'integer pixel', that is, when xFrac and yFrac (luminance signal or chroma signal) values are "0", the motion compensation device is deactivated and the reference screen (past screen) is deactivated. By inputting directly to the screen reconstruction device, that is, by inputting the reference screen to the screen reconstruction device without motion compensation processing after inputting the reference screen through the motion compensation device, the time required for data transmission is reduced, and the system power consumption is reduced. There is an effect that can be reduced.

또한, 본 발명은, 움직임 벡터 특성을 이용하여 더욱 작은 참조 화면을 전송함으로써, 데이터 전송에 걸리는 시간을 줄일 수 있는 효과가 있다.In addition, the present invention has the effect of reducing the time required for data transmission by transmitting a smaller reference picture using the motion vector characteristic.

도 1은 본 발명에 따른 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장치의 일실시예 구성도,1 is a configuration diagram of a motion compensation skip control apparatus using a motion vector characteristic in an image decoder according to the present invention;

도 2는 본 발명에 따른 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장법에 대한 일실시예 흐름도,2 is a flowchart illustrating an embodiment of a motion compensation skip control method using a motion vector characteristic according to the present invention;

도 3a는 매크로블록(MB)의 구성도,3A is a block diagram of a macroblock MB;

도 3b 및 도 3c는 매크로블록 타입에 따른 움직임 보상용 파티션(Partition)의 종류, 개수 및 크기에 대한 설명도,3B and 3C are explanatory diagrams for the type, number, and size of a motion compensation partition according to a macroblock type;

도 4는 H.264의 휘도신호 파티션에 대한 움직임 벡터의 위치에 따른 움직임 보상에 대한 설명도,4 is an explanatory diagram of motion compensation according to the position of a motion vector with respect to a luminance signal partition of H.264;

도 5는 H.264의 색도신호 파티션에 대한 움직임 벡터의 위치에 따른 움직임 보상에 대한 설명도이다.5 is an explanatory diagram of motion compensation according to the position of a motion vector with respect to a chromaticity signal partition of H.264.

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

10: 참조 프레임 메모리 11: 움직임 보상 스킵 제어 장치10: reference frame memory 11: motion compensation skip control device

12: 움직임 보상 장치 13: 화면 재구성 장치12: motion compensation device 13: screen reconstruction device

111: 파티션 정보 입력부 112: 전 처리부111: partition information input unit 112: preprocessing unit

113: 스킵 제어부 113: skip control

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이며, 그에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 일실시예를 상세히 설명하기로 한다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, whereby those skilled in the art may easily implement the technical idea of the present invention. There will be. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명에 따른 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵(Skip) 제어 장치의 일실시예 구성도이다.1 is a configuration diagram of an apparatus for controlling motion compensation skip using a motion vector characteristic in an image decoder according to the present invention.

본 발명에 따른 움직임 보상 스킵 제어 장치(11)는, 도 1에 도시된 바와 같이, 파티션 정보 입력부(111), 전(前)처리부(112), 및 스킵 제어부(113)를 포함하여 이루어지는 것으로서, 움직임 벡터의 특성에 따라 움직임 보상 장치(12)의 활성화 여부(스킵 여부)를 결정한다. 즉, 움직임 보상 스킵 제어 장치(11)는 영상 복호의 대상이 되는 매크로블록 파티션에 대한 움직임 벡터가 정수 픽셀을 가리키는 경우에는 해당 움직임 보상용 참조화면(참조 프레임 메모리에 있는 해당 참조화면)을 움직임 보상 장치(12)를 거치지 않고 직접적으로 화면 재구성 장치(13)에 입력시킨다.As shown in FIG. 1, the motion compensation skip control apparatus 11 according to the present invention includes a partition information input unit 111, a preprocessing unit 112, and a skip control unit 113. The motion compensation apparatus 12 determines whether to activate (skip or not) according to the characteristics of the motion vector. That is, the motion compensation skip control apparatus 11 compensates for the motion compensation reference picture (the corresponding reference picture in the reference frame memory) when the motion vector for the macroblock partition to be decoded indicates an integer pixel. The input is directly input to the screen reconstruction device 13 without passing through the device 12.

본 발명에 따른 움직임 보상 스킵 제어 장치(11)에서는 하나의 인터 매크로블록의 복호를 위해서 매크로블록 타입(MB_TYPE)에 따라 도 3b의 파티션(Partition) 개수를 나타내는 행(310)에 나열된 단위로 수행한다고 가정한다. 즉, Inter_16x8 모드인 경우, 휘도 신호 Y0, Y1(크기 = 가로x세로 = 16x8), 색도 신호 U0, U1(크기= 가로x세로 = 8x4), 색도 신호 V0, V1(크기=가로x세로=8x4) 순서대로 처리한다고 가정한다.In the motion compensation skip control apparatus 11 according to the present invention, the decoding operation of one inter macroblock is performed in units listed in a row 310 indicating the number of partitions of FIG. 3B according to the macroblock type MB_TYPE. Assume That is, in the Inter_16x8 mode, the luminance signals Y0, Y1 (size = width x length = 16x8), the chroma signals U0, U1 (size = width x length = 8x4), and the chroma signal V0, V1 (size = width x length = 8x4). Suppose you process them in order.

이하, 움직임 보상 스킵 제어 장치(11)의 각각의 구성요소에 대하여 설명하면, 다음과 같다.Hereinafter, each component of the motion compensation skip control apparatus 11 will be described.

파티션 정보 입력부(111)는 영상 복호의 대상이 되는 매크로블록 파티션에 대한 파티션 정보(Partition Information)를 입력받는다. 여기서, '파티션 정보'에는 파티션의 움직임벡터(mv_x, mv_y), 휘도 및 색도 신호 여부, 파티션 좌표(파티션의 화면 내 좌표로서, pos_x, pos_y로 표시된), 파티션 크기(Partition size)(도 3b 및 도 3c의 파티션에 표시되어 있는 가로/세로 픽셀 크기에 해당함) 등이 포함된다. 그리고 파티션 정보는 영상 부호기의 인코딩 과정에서 생성되어 영상 복호기 측으로 전송된 것이다.The partition information input unit 111 receives partition information on a macroblock partition to be decoded. Here, the 'partition information' includes a motion vector (mv_x, mv_y) of the partition, whether luminance and chroma signals are present, partition coordinates (indicated as pos_x and pos_y as screen coordinates of the partition), partition size (Fig. 3b and Corresponding to the horizontal / vertical pixel size indicated in the partition of FIG. 3C). The partition information is generated during encoding of the video encoder and transmitted to the video decoder.

한편, 전처리부(112)는 매크로블록 파티션마다, 파티션 정보 입력부(111)를 통하여 입력된 파티션 정보를 이용하여 해당 움직임 벡터가 가리키는 참조화면 영역(이하, '기본 참조화면 영역'이라 한다)을 아래의 [수학식 1], [수학식 2]를 이용하여 계산하고, 그 해당 움직임 벡터가 정수 픽셀을 지시하는지를 확인한다. 여기서, '기본 참조화면 영역'은 '정수'인 움직임벡터가 가리키는 참조화면 영역(즉, 움직임 벡터가 가리키는 정수픽셀 장소)으로서, 해당 파티션 크기에 해당하는 넓이의 영역이다.Meanwhile, the preprocessing unit 112 uses the partition information input through the partition information input unit 111 for each macroblock partition to refer to the reference picture area (hereinafter, referred to as a 'basic reference picture area') indicated by the corresponding motion vector. Calculate using [Equation 1] and [Equation 2], and check whether the corresponding motion vector indicates an integer pixel. Here, the 'basic reference picture area' is a reference picture area (ie, an integer pixel location indicated by the motion vector) indicated by the motion vector 'integer', and is an area corresponding to the partition size.

즉, 전처리부(112)는 매크로블록 파티션이 휘도 신호에 대한 파티션인 경우에는 하기의 [수학식 1]을 이용하여 '휘도 기본 참조화면 영역'(휘도 기본 참조화면 영역 위치)을 구하고, 매크로블록 파티션이 색도 신호에 대한 파티션인 경우에는 하기의 [수학식 2]를 이용하여 색도 기본 참조화면 영역(색도 기본 참조화면 영역 위치)을 구한다. That is, when the macroblock partition is a partition for the luminance signal, the preprocessing unit 112 obtains the luminance basic reference screen region (luminance basic reference screen region position) by using Equation 1 below, and then macroblock. In the case where the partition is a partition for a chroma signal, Equation 2 below is used to obtain a chromaticity basic reference picture region (a chromatic basic reference picture region position).

휘도 기본 참조화면 영역 =Luminance Default Reference Screen Area =

(pos_x+(mv_x/4)+(0 ~ x_size-1), pos_y+(mv_y/4)+(0 ~ y_size-1))(pos_x + (mv_x / 4) + (0 to x_size-1), pos_y + (mv_y / 4) + (0 to y_size-1))

색도 기본 참조화면 영역 =Chromaticity Default Reference Screen Area =

(pos_x+(mv_x/8)+(0 ~ x_size-1), pos_y+(mv_y/8)+(0 ~ y_size-1))(pos_x + (mv_x / 8) + (0 to x_size-1), pos_y + (mv_y / 8) + (0 to y_size-1))

그리고 전처리부(112)는 매크로블록 파티션마다 해당 움직임 벡터가 정수 픽셀을 가리키는지 여부(즉, 움직임 벡터 값이 '정수'인지 여부)를 확인한다. 즉, 전처리부(112)는 휘도 신호에 대해서는 하기의 [수학식 3]을 이용하여 해당 움직임벡터의 특성값(xFrac_luma, yFrac_luma)을 계산하고, 색도 신호에 대해서는 하기의 [수학식 4]를 이용하여 해당 움직임벡터의 특성값(xFrac_chroma, yFrac_chroma)을 계산한 후, 그 움직임 벡터 특성값이 "0"인지를 확인한다. The preprocessor 112 checks whether the corresponding motion vector points to an integer pixel for each macroblock partition (that is, whether the motion vector value is 'integer'). That is, the preprocessing unit 112 calculates the characteristic values (xFrac_luma, yFrac_luma) of the corresponding motion vector by using Equation 3 below with respect to the luminance signal, and uses Equation 4 below with respect to the chromaticity signal. After calculating the characteristic values (xFrac_chroma, yFrac_chroma) of the motion vector, it is checked whether the motion vector characteristic value is "0".

xFrac_luma = (mv_x & 3)xFrac_luma = (mv_x & 3)

yFrac_luma = (mv_y & 3)yFrac_luma = (mv_y & 3)

여기서, &는 비트단위(bitwise) AND 연산자를 의미한다. 따라서 xFrac_luma = (mv_x & 3), yFrac_luma = (mv_y & 3)는 '하위 2비트의 값'을 나타내는 것이다.Here, & means a bitwise AND operator. Therefore, xFrac_luma = (mv_x & 3) and yFrac_luma = (mv_y & 3) represent 'lower two bits'.

xFrac_chroma = (mv_x & 7)xFrac_chroma = (mv_x & 7)

yFrac_chroma = (mv_y & 7)yFrac_chroma = (mv_y & 7)

여기서, &는 비트단위(bitwise) AND 연산자를 의미한다. 따라서 xFrac_chroma = (mv_x & 7), yFrac_chroma = (mv_y & 7)는 '하위 3비트의 값'을 나타내는 것이다.Here, & means a bitwise AND operator. Therefore, xFrac_chroma = (mv_x & 7) and yFrac_chroma = (mv_y & 7) represent 'lower 3 bits'.

요컨대, 휘도 신호에 대한 파티션인 경우에는, 움직임 벡터 mv_x, mv_y의 하위 2비트 값(xFrac_luma, yFrac_luma)을 확인하여, 모두 "0"이면, 이는 해당 움직임 벡터(mv_x, mv_y)가 '정수' 픽셀을 가리키는 경우를 나타내는 것으로 판단한다. In other words, in the case of a partition for the luminance signal, the lower two bit values (xFrac_luma, yFrac_luma) of the motion vectors mv_x and mv_y are checked, and if they are all "0", this means that the corresponding motion vectors mv_x and mv_y are 'integer' pixels. It is judged to indicate the case where.

한편, 색도 신호에 대한 파티션인 경우에는 움직임 벡터(mv_x, mv_y)의 하위 3비트 값이 모두 "0"이면, 해당 움직임 벡터가 정수 픽셀을 가리키는 것으로 판단한다.On the other hand, in the case of the partition for the chroma signal, if the lower 3 bits of the motion vectors mv_x and mv_y are all "0", it is determined that the motion vector indicates an integer pixel.

이후, 스킵 제어부(113)는 해당 움직임 벡터의 정수 픽셀 지시 여부(해당 움직임 벡터 특성값이 "0"인지 여부)에 따라 기본 참조화면 영역에 기초한 움직임 보상용 참조화면 영역의 픽셀값을 움직임 보상 장치(12)에 인가하거나 또는 움직임 보상 장치(12)를 스킵하고 곧바로 화면 재구성 장치(13)에 인가한다. Subsequently, the skip controller 113 determines the pixel value of the motion compensation reference picture area based on the basic reference picture area according to whether the corresponding motion vector indicates an integer pixel (whether the motion vector characteristic value is "0"). Or the motion compensation device 12 is skipped and immediately applied to the screen reconstruction device 13.

즉, 스킵 제어부(113)는 만약 해당 움직임 벡터가 정수 픽셀을 가리키지 않으면, 기본 참조화면 영역과 그 기본 참조화면 영역 밖의 소정의 범위 내의 영역(이하, '부가 참조화면 영역'이라 한다)에 대한 픽셀값을 움직임 보상 장치(12)에 인가하고; 만약 해당 움직임 벡터가 정수 픽셀을 가리키면, 기본 참조화면 영역의 픽셀값만을 움직임 보상 장치(12)를 스킵하고 화면 재구성 장치(13)에 인가한다.In other words, if the corresponding motion vector does not point to an integer pixel, the skip control unit 113 may determine a region within a predetermined range outside the basic reference screen region and the basic reference screen region (hereinafter referred to as an additional reference screen region). Apply pixel values to the motion compensation device 12; If the motion vector indicates an integer pixel, only the pixel value of the basic reference picture area is skipped and applied to the screen reconstruction device 13.

여기서, '부가 참조화면 영역'이란, 움직임 벡터가 정수픽셀을 가리키지 않는 경우에 움직임 보상을 위하여 부가적으로 전송하는 참조화면 영역으로서, 해당 매크로블록 파티션이 휘도 신호에 대한 것인지, 아니면 색도 신호에 대한 것인지에 따라 그 범위가 차이가 난다.Here, the 'additional reference picture area' is a reference picture area additionally transmitted for motion compensation when the motion vector does not indicate an integer pixel, and the macroblock partition corresponds to a luminance signal or a chroma signal. The range differs depending on whether it

구체적으로 살펴보면, '휘도 신호'인 경우에 있어서 부가 참조화면 영역은, 해당 기본 참조화면 영역을 기준으로, 왼쪽 수평방향으로 2픽셀, 오른쪽 수평방향으로 3픽셀, 위쪽 수직방향으로 2픽셀, 및 아래쪽 수직방향으로 3픽셀 만큼 확장된 영역이다. 그리고 '색도 신호'인 경우에 있어서 부가 참조화면 영역은, 해당 기본 참조화면 영역을 기준으로, 오른쪽 수평방향으로 1픽셀, 및 아래쪽 수직방향으로 1픽셀 만큼 확장된 영역이다.Specifically, in the case of the 'luminance signal', the additional reference picture area is 2 pixels in the left horizontal direction, 3 pixels in the right horizontal direction, 2 pixels in the upper vertical direction, and the bottom, based on the basic reference picture area. It is an area extended by 3 pixels in the vertical direction. In the case of the 'chromatic signal', the additional reference picture area is an area extended by one pixel in the right horizontal direction and one pixel in the lower vertical direction based on the basic reference picture area.

따라서 스킵 제어부(113)는 움직임벡터가 정수 픽셀을 가리키지 않는 경우, (1)'휘도' 파티션에 대해서는 참조 프레임 메모리(10)로부터 움직임 보상용 참조화면 영역 (x_size+5)x(y_size+5)(이는 휘도 기본 참조화면 영역과 휘도 부가 참조화면 영역을 포함하는 영역)을 가져다가 움직임 보상 장치(12)에 인가하고, (2)'색도' 파티션에 대해서는 참조 프레임 메모리(10)로부터 움직임 보상용 참조화면 영역 (x_size+1)x(y_size+1)(이는 색도 기본 참조화면 영역과 색도 부가 참조화면 영역을 포함하는 영역)을 가져다가 움직임 보상 장치(12)에 인가한다.Therefore, when the motion vector does not point to an integer pixel, the skip controller 113 may (1) refer to the motion compensation reference picture area (x_size + 5) x (y_size + 5) from the reference frame memory 10 for the 'luminance' partition. (Which is the area including the luminance basic reference picture region and the luminance supplementary reference picture region) and applies it to the motion compensation apparatus 12, and (2) the motion compensation from the reference frame memory 10 for the 'chromaticity' partition. A reference picture area (x_size + 1) x (y_size + 1) (which includes a chromaticity basic reference picture area and a chromaticity additional reference picture area) and applies it to the motion compensation apparatus 12.

도 2는 본 발명에 따른 움직임 벡터 특성을 이용한 움직임 보상 스킵 제어 장법에 대한 일실시예 흐름도로서, 영상 복호기의 움직임 보상 스킵 장치(11)에서 수행되는 움직임 보상 스킵(Skip) 제어 방법을 나타낸다.FIG. 2 is a flowchart illustrating a motion compensation skip control method using a motion vector characteristic according to the present invention, and illustrates a motion compensation skip control method performed by the motion compensation skip device 11 of an image decoder.

움직임 보상 스킵 장치(11)는 복호 대상이 되는 매크로블록 파티션이 휘도 신호에 대한 파티션인지, 색도 신호에 대한 파티션인지를 확인한다(200).The motion compensation skip device 11 checks whether the macroblock partition to be decoded is a partition for a luminance signal or a chroma signal (200).

"200" 확인 결과, 휘도 신호에 대한 파티션이면, 그 해당 휘도 신호 파티션에 대한 파티션 정보를 이용하여 해당 움직임 벡터가 가리키는 참조화면 영역(휘도 기본 참조화면 영역)(수학식 1 참조)을 계산한다(201). 또한, 움직임 보상 스킵 장치(11)는 해당 움직임 벡터의 특성값(xFrac_luma, yFrac_luma)(수학식 3 참조)을 계산한 후(201), 그 값이 모두 "0"인지를 확인한다(202).As a result of "200", if the partition is for the luminance signal, the reference picture region (luminance basic reference screen region) (refer to Equation 1) indicated by the motion vector is calculated using the partition information for the corresponding luminance signal partition (see Equation 1). 201). In addition, the motion compensation skip device 11 calculates the characteristic values xFrac_luma and yFrac_luma (see Equation 3) of the corresponding motion vector (201), and then checks whether the values are all "0" (202).

움직임 벡터 특성값 확인(202) 결과, 움직임 벡터의 특성값(xFrac_luma, yFrac_luma) 중 어느 하나가 "0"이 아니면, 참조 프레임 메모리(10)로부터 움직임 보상용 참조화면 영역 (x_size+5)x(y_size+5)(이는 휘도 기본 참조화면 영역과 휘도 부가 참조화면 영역을 포함하는 영역으로서, 가로 (x_size+5) 및 세로 (y_size+5) 영역)을 가져다가 움직임 보상 장치(12)에 인가한다(203). 이로 인하여 움직임 보상 장치(12)는 구동되고 그 결과는 화면 재구성 장치(13)에 입력되게 된다.As a result of the motion vector characteristic value check 202, if any of the characteristic values (xFrac_luma and yFrac_luma) of the motion vector is not "0", the motion compensation reference picture area (x_size + 5) x ( y_size + 5 (which is a region including a luminance basic reference picture region and a luminance additional reference picture region, and is taken as a horizontal (x_size + 5) and a vertical (y_size + 5) region) and applied to the motion compensation apparatus 12. (203). As a result, the motion compensation device 12 is driven and the result is input to the screen reconstruction device 13.

움직임 벡터 특성값 확인(202) 결과, 움직임 벡터의 특성값(xFrac_luma, yFrac_luma)이 모두 "0"이면, 참조 프레임 메모리(10)로부터 움직임 보상용 참조화면 영역(이 경우는 "201"에서 계산된 휘도 기본 참조화면 영역 (x_size)x(y_size)이 해당 됨)을 가져다가 움직임 보상 장치(12)를 스킵하고(움직임 보상 처리 없이 그대로 예측 화면 결과가 된다는 의미) 곧바로 화면 재구성 장치(13)에 인가한다(204).As a result of the motion vector characteristic value check 202, if the characteristic values xFrac_luma and yFrac_luma of the motion vector are both "0", the motion compensation reference screen area (in this case, "201") is calculated from the reference frame memory 10. Takes the luminance basic reference picture area (x_size) x (y_size) and skips the motion compensation device 12 (meaning that the prediction screen result is as it is without motion compensation processing) and immediately applied to the picture reconstruction device 13. (204)

한편, "200" 확인 결과, 색도 신호에 대한 파티션이면, 그 해당 색도 신호 파티션에 대한 파티션 정보를 이용하여 해당 움직임 벡터가 가리키는 참조화면 영역(색도 기본 참조화면 영역)(수학식 2 참조)을 계산한다(211). 또한, 움직임 보상 스킵 장치(11)는 해당 움직임 벡터의 특성값(xFrac_chroma, yFrac_chroma)(수학식 4 참조)을 계산한 후(211), 그 값이 모두 "0"인지를 확인한다(212).On the other hand, if it is determined that the "200" is a partition for the chroma signal, the reference screen area (chromatic basic reference screen area) indicated by the motion vector is calculated using the partition information on the chroma signal partition (see Equation 2). (211). In addition, the motion compensation skip device 11 calculates the characteristic values xFrac_chroma and yFrac_chroma (see Equation 4) of the corresponding motion vector (211), and checks whether the values are all "0" (212).

움직임 벡터 특성값 확인(212) 결과, 움직임 벡터의 특성값(xFrac_chroma, yFrac_chroma) 중 어느 하나가 "0"이 아니면, 참조 프레임 메모리(10)로부터 움직임 보상용 참조화면 영역 (x_size+1)x(y_size+1)(이는 색도 기본 참조화면 영역과 색도 부가 참조화면 영역을 포함하는 영역으로서, 가로 (x_size+1) 및 세로 (y_size+1)인 영역)을 가져다가 움직임 보상 장치(12)에 인가한다(213). 이로 인하여 움직임 보상 장치(12)는 구동되고 그 결과는 화면 재구성 장치(13)에 입력되게 된다.As a result of the motion vector characteristic value check 212, if any of the characteristic values (xFrac_chroma and yFrac_chroma) of the motion vector is not "0", the motion compensation reference picture area (x_size + 1) x ( y_size + 1) (this is an area including a chromaticity basic reference picture area and a chromaticity addition reference picture area, and is an area having a horizontal (x_size + 1) and a vertical (y_size + 1)) and applied to the motion compensation apparatus 12. (213) As a result, the motion compensation device 12 is driven and the result is input to the screen reconstruction device 13.

움직임 벡터 특성값 확인(212) 결과, 움직임 벡터의 특성값(xFrac_chroma, yFrac_chroma)이 모두 "0"이면, 참조 프레임 메모리(10)로부터 움직임 보상용 참조화면 영역(이 경우는 "211"에서 구한 색도 기본 참조화면 영역 (x_size)x(y_size)이 해당 됨)을 가져다가 움직임 보상 장치(12)를 스킵하고(움직임 보상 처리 없이 그대로 예측 화면 결과가 된다는 의미) 곧바로 화면 재구성 장치(13)에 인가한다(214).As a result of the motion vector characteristic value check 212, when the characteristic values xFrac_chroma and yFrac_chroma of the motion vector are both "0", the chromaticity obtained from the reference frame memory 10 for motion compensation (in this case, "211") Takes the basic reference picture area (x_size) x (y_size), and skips the motion compensation device 12 (meaning that the result is the predicted picture without motion compensation processing) and immediately applies it to the screen reconstruction device 13. (214).

도 3a는 매크로블록(MB)의 구성도이다. 3A is a block diagram of a macroblock MB.

도 3a에 도시된 바와 같이, 16x16 픽셀로 이루어진 영역인 매크로블록(MB)은 휘도 신호에 대한 16x16 픽셀 영역(301), 색도 신호(U, V)에 대한 8x8 픽셀 영역(302, 303)으로 구성된다.As shown in FIG. 3A, the macroblock MB, which is an area of 16x16 pixels, is composed of a 16x16 pixel area 301 for luminance signals and 8x8 pixel areas 302 and 303 for chroma signals U and V. As shown in FIG. do.

도 3b 및 도 3c는 매크로블록 타입에 따른 움직임 보상용 파티션(Partition)의 종류, 개수 및 크기에 대한 설명도이다.3B and 3C are diagrams for explaining the type, number, and size of a motion compensation partition according to a macroblock type.

H.264에서는 다중 기준 화면을 허용하기 때문에, 하나의 MB 복호화를 위해 여러 개의 과거 화면(참조 화면)을 이용한 움직임 보상을 수행한다. 또한, 인터 모드 매크로블록은 매크로블록 타입에 따라 다양한 크기의 MB 파티션(16x16, 16x8, 8x16, 8x8)으로 분할되어 움직임 보상되며, 매크로 블록 타입이 8x8일 경우에는, 4개의 8x8 MB 파티션에 대해 서브 파티션타입이 존재하고, 그에 따라 8x8, 8x4, 4x8, 4x4로 움직임 보상 처리된다.Since H.264 allows multiple reference pictures, motion compensation using multiple past pictures (reference pictures) is performed for one MB decoding. In addition, the inter-mode macroblock is divided into MB partitions (16x16, 16x8, 8x16, 8x8) of various sizes according to the macroblock type, and motion compensation is performed. When the macroblock type is 8x8, the sub-block is divided into four 8x8 MB partitions. There is a partition type, and motion compensation is performed according to 8x8, 8x4, 4x8, and 4x4.

MB 파티션마다 움직임 보상을 위해 하나의 과거 화면(참조 화면)이 주어지며, 16x16, 16x8, 8x16 타입인 경우에는 움직임 보상에 사용될 과거 화면의 영역을 가리키는 움직임 벡터가 파티션마다 하나씩 주어진다. 그리고 8x8 타입의 경우에는 서브 파티션 타입에 따라 8x8, 8x4, 4x8, 4x4 타입에 대한 움직임 벡터가 정해진다.For each MB partition, one past screen (reference screen) is given for motion compensation, and in the case of 16x16, 16x8, and 8x16 types, a motion vector indicating an area of the past screen to be used for motion compensation is given for each partition. In the case of the 8x8 type, motion vectors for the 8x8, 8x4, 4x8, and 4x4 types are determined according to the subpartition type.

도 3b를 참조하여 구체적으로 설명하면, 인터 모드 매크로블록의 복호를 위해서는 파티션 개수 행(310)에 표시된 개수마다 움직임 보상 처리해야 한다. 예를 들어, Inter_16x8 타입(311)인 매크로블록에 대해서는 [16x8 크기인 Y0, Y1], [8x4 크기인 U0, U1], [8x4 크기인 V0, V1] 각각에 대해서 움직임 벡터(mvx, mvy)가 존재하고 해당 움직임 벡터가 가리키는 과거화면 영역(참조화면 영역)이 결정되기 때문에, 이렇게 결정된 과거 화면 영역을 입력으로 하여 움직임 보상을 수행하여 복호화한다.Specifically, referring to FIG. 3B, the motion compensation process should be performed for each number indicated in the partition number row 310 in order to decode the inter mode macroblock. For example, for a macroblock of Inter_16x8 type 311, motion vectors (mvx, mvy) for [16x8 size Y0, Y1], [8x4 size U0, U1], and [8x4 size V0, V1], respectively. Is present and the past screen region (reference screen region) indicated by the motion vector is determined, the motion compensation is performed by decoding the past screen region determined as an input.

도 4는 H.264의 휘도 신호 파티션에 대한 움직임 벡터의 위치에 따른 움직임 보상에 대한 설명도이다.4 is an explanatory diagram of motion compensation according to a position of a motion vector with respect to a luminance signal partition of H.264.

휘도 신호에 대한 움직임 벡터 특성값, 즉 xFrac_luma, yFrac_luma(1/4 픽셀 단위의 값)가 모두 "0"일 경우, 즉 움직임 벡터가 정수 픽셀을 가리킬 경우에는, 참조 화면(과거 화면)의 픽셀 값이 그대로 움직임 보상 결과가 되기 때문에, 움직임 보상 장치의 동작을 필요로 하지 않게 되는데, 본 발명은 이러한 특성을 이용하는 것이다. 다시 말해, xFrac_luma, yFrac_luma의 값이 모두 "0"일 경우, 즉 움직임 벡터가 G 픽셀(pixel)(400)을 가리킬 경우, 움직임 보상 결과값이 G 값과 그대로 같게 된다. If the motion vector characteristic values for the luminance signal, i.e., xFrac_luma and yFrac_luma (values in 1/4 pixels) are both "0", that is, if the motion vector points to an integer pixel, the pixel value of the reference screen (past screen) Since the motion compensation results as it is, the operation of the motion compensation device is not required, but the present invention utilizes this characteristic. In other words, when the values of xFrac_luma and yFrac_luma are all "0", that is, when the motion vector points to the G pixel 400, the motion compensation result is the same as the G value.

하지만, 종래 기술과 같이, xFrac_luma, yFrac_luma의 값에 상관없이 움직임 보상에 필요한 영역을 찾는다면, 움직임 벡터가 가리키는 정수 픽셀(400)을 기준으로 수평/수직방향 각각으로 앞의 2 픽셀, 뒤로 3 픽셀만큼의 부가 참조화면 영역이 필요하게 될 것이다. 구체적으로, 파티션(partition)의 크기가 4x4인 경우에는 움직임 보상을 위해서 9x9 픽셀의 과거 화면 입력(휘도 기본 참조화면 영역 + 휘도 부가 참조화면 영역)이 필요하게 될 것이다.However, as in the prior art, if the area required for motion compensation is found regardless of the values of xFrac_luma and yFrac_luma, 2 pixels in the front and 3 pixels in the horizontal and vertical directions respectively, based on the integer pixel 400 indicated by the motion vector You will need as many additional reference picture areas. Specifically, when the partition size is 4x4, a 9x9 pixel past screen input (luminance basic reference picture area + luminance added reference picture area) may be required for motion compensation.

따라서 움직임 벡터가 가리키는 정수 픽셀이 G인 경우, G의 좌표를 (Gx,Gy)라 하면, A ~ U의 좌표는 다음의 [수학식 5]와 같고, 이들을 이용한 움직임 보상 결과는 아래의 [수학식 6]과 같을 것이다. 즉, 도 4에서 움직임 벡터의 정수 픽셀 값이 G 값으로 동일한 (G, a, b, c, d, e, f, g, h, i, j, k, n, p, q, r)에 대한 움직임 보상 결과는 하기의 [수학식 6]과 같을 것이다.Therefore, if the integer pixel pointed to by the motion vector is G, and the coordinate of G is (Gx, Gy), the coordinates of A to U are as shown in Equation 5 below. Equation 6] That is, in FIG. 4, the integer pixel value of the motion vector is equal to the G value (G, a, b, c, d, e, f, g, h, i, j, k, n, p, q, r). The motion compensation result for Equation 6 may be as shown in Equation 6 below.

G 좌표 = (Gx,Gy),G coordinate = (Gx, Gy),

A 좌표 = (Gx,Gy-2), B 좌표 = (Gx+1,Gy-2),A coordinate = (Gx, Gy-2), B coordinate = (Gx + 1, Gy-2),

C 좌표 = (Gx,Gy-1), D 좌표 = (Gx+1,Gy-1),C coordinate = (Gx, Gy-1), D coordinate = (Gx + 1, Gy-1),

E 좌표 = (Gx-2,Gy), F 좌표 = (Gx-1,Gy), H 좌표 = (Gx+1,Gy),E coordinates = (Gx-2, Gy), F coordinates = (Gx-1, Gy), H coordinates = (Gx + 1, Gy),

I 좌표 = (Gx+2,Gy), J 좌표 = (Gx+3,Gy),I coordinate = (Gx + 2, Gy), J coordinate = (Gx + 3, Gy),

K 좌표 = (Gx-2,Gy+1), L 좌표 = (Gx-1,Gy+1), M 좌표 = (Gx,Gy+1),K coordinate = (Gx-2, Gy + 1), L coordinate = (Gx-1, Gy + 1), M coordinate = (Gx, Gy + 1),

N 좌표 = (Gx+1,Gy+1), P 좌표 = (Gx+2,Gy+1), Q 좌표 = (Gx+3,Gy+1),N coordinate = (Gx + 1, Gy + 1), P coordinate = (Gx + 2, Gy + 1), Q coordinate = (Gx + 3, Gy + 1),

R 좌표 = (Gx,Gy+2), S 좌표 = (Gx+1,Gy+2),R coordinate = (Gx, Gy + 2), S coordinate = (Gx + 1, Gy + 2),

T 좌표 = (Gx,Gy+3), U 좌표 = (Gx+1,Gy+3)T coordinate = (Gx, Gy + 3), U coordinate = (Gx + 1, Gy + 3)

G = GG = G

b = (E-5F+20G+20H-5I+J+16) >> 5b = (E-5F + 20G + 20H-5I + J + 16) >> 5

h = (A-5C+20G+20M-5R+T+16) >> 5h = (A-5C + 20G + 20M-5R + T + 16) >> 5

j = (cc-5dd+20h+20m-5ee+ff+512) >> 10, 또는j = (cc-5dd + 20h + 20m-5ee + ff + 512) >> 10, or

j = (aa-5bb+20b+20s-5gg+hh+512) >> 10j = (aa-5bb + 20b + 20s-5gg + hh + 512) >> 10

a = (G+b+1) >> 1a = (G + b + 1) >> 1

c = (H+b+1) >> 1c = (H + b + 1) >> 1

d = (G+h+1) >> 1d = (G + h + 1) >> 1

n = (M+h+1) >> 1n = (M + h + 1) >> 1

f = (b+j+1) >> 1f = (b + j + 1) >> 1

i = (h+j+1) >> 1i = (h + j + 1) >> 1

k = (j+m+1) >> 1k = (j + m + 1) >> 1

q = (j+s+1) >> 1q = (j + s + 1) >> 1

e = (b+h+1) >> 1e = (b + h + 1) >> 1

g = (b+m+1) >> 1g = (b + m + 1) >> 1

p = (h+s+1) >> 1p = (h + s + 1) >> 1

r = (m+s+1) >> 1r = (m + s + 1) >> 1

여기서, >>는 오른쪽 쉬프트 연산자를 나타낸다.Where >> represents the right shift operator.

정리하면, 움직임 보상을 위해서는, 수평 방향으로는 G(400)보다 2 픽셀 왼쪽에 있는 E(401)부터, 3 픽셀 오른쪽에 있는 J(402)까지 필요하게 되고, 수직 방향으로는 G(400)보다 2 픽셀 위쪽에 있는 A(403)부터 3 픽셀 아래쪽에 있는 T(404)까지 필요하게 된다. 이와 같이, 좌(left) 또는 위(upper)로 2픽셀, 우(right) 또는 아래(down)로 3픽셀 만큼 추가적으로 필요한 부분이 '휘도 부가 참조화면 영역'이 되는 것이며, 기존에는 이러한 '휘도 부가 참조화면 영역'까지 포함하는 참조화면 영역을 움직임 벡터 특성값에 상관없이 언제나 움직임 보상 장치(12)를 거치게 함으로써 항상 움직임 보상을 수행하였다.In summary, for motion compensation, E (401) 2 pixels left of G 400 in the horizontal direction to J 402 (3 pixels right) in the horizontal direction are required, and G (400) in the vertical direction. From A 403 two pixels up, T 404 three pixels down. As such, an additional necessary portion by 2 pixels to the left or up and 3 pixels to the right or down becomes the 'luminance reference image area', and in the past, such 'luminance addition' The motion compensation is always performed by passing the reference picture area including the reference picture area 'through the motion compensation device 12 regardless of the motion vector characteristic value.

하지만, 본 발명에서는 xFrac_luma, yFrac_luma가 모두 "0"인 경우, '휘도 부가 참조화면 영역'을 제외하고 '휘도 기본 참조영역 화면'만을 움직임 보상 장치(12)를 스킵하고 화면 재구성 장치(13)에 인가한다. 따라서 파티션(partition)의 크기가 4x4인 경우에는 오직 4x4 입력(휘도 기본 참조화면 영역)만을 전송해 처리하면 되는 것이다.However, in the present invention, when both xFrac_luma and yFrac_luma are "0", the motion compensation device 12 skips only the "luminance basic reference area screen" except the "luminance reference screen area" and the screen reconstruction device 13 Is authorized. Therefore, if the partition size is 4x4, only 4x4 input (luminance default reference screen area) needs to be transmitted and processed.

도 5는 H.264의 색도 신호 파티션에 대한 움직임 벡터의 위치에 따른 움직임 보상에 대한 설명도이다.5 is an explanatory diagram of motion compensation according to the position of a motion vector with respect to the chromaticity signal partition of H.264.

색도 신호에 대한 xFrac_chroma, yFrac_chroma(1/8 픽셀 단위의 값)의 값이 "0"인 경우, 즉 움직임 벡터가 정수 픽셀을 가리킬 경우에는, 참조 화면(과거 화면)의 픽셀 값이 그대로 움직임 보상 결과가 되기 때문에, 움직임 보상 장치(12)의 동작을 필요로 하지 않게 되는데, 본 발명은 이러한 특성을 이용하는 것이다. 즉, xFrac_chroma, yFrac_chroma의 값이 모두 "0"이면, 즉 해당 움직임 벡터가 정수 픽셀 A(500)를 가리킨다면, 색도 신호의 움직임 보상결과 값은 A로 같게 된다.If the values of xFrac_chroma and yFrac_chroma (values in 1/8 pixel units) for the chromaticity signal are "0", that is, if the motion vector points to an integer pixel, the pixel value of the reference screen (past screen) remains motion compensation result. Since the motion compensation device 12 does not require operation, the present invention utilizes this characteristic. That is, if the values of xFrac_chroma and yFrac_chroma are all "0", that is, if the corresponding motion vector indicates the integer pixel A 500, the motion compensation result of the chroma signal is equal to A.

하지만, 종래기술과 같이, xFrac_chroma, yFrac_chroma의 값에 상관없이 움직임 보상에 필요한 영역을 찾는다면, 움직임 벡터가 가리키는 정수 픽셀을 기준으로 수평/수직 방향 각각으로 뒤로 1픽셀 만큼의 부가 참조화면 영역이 필요하게 될 것이다. 구체적으로, 파티션(partition)의 크기가 2x2인 경우에는, 움직임 보상을 위해서 3x3 픽셀을 움직임 보상용 참조화면 영역으로 필요하게 된다. However, as in the prior art, when searching for a region required for motion compensation irrespective of the values of xFrac_chroma and yFrac_chroma, an additional reference picture region of 1 pixel in the horizontal / vertical direction is required based on the integer pixel indicated by the motion vector. Will be done. In detail, when a partition is 2x2 in size, 3x3 pixels are needed as a motion compensation reference screen region for motion compensation.

한편, 도 5에 도시된 바와 같이, 움직임 벡터의 정수 픽셀 값이 A 값인 경우, A, B, C, D 사각형 내부의 움직임 보상 값은 아래의 [수학식 8]을 이용하여 구한다. 즉, 도 5에서 픽셀위치 "50"에서의 색도 신호는 정수 픽셀 A(500),B(501),C(502), 및 D(503)에서의 색도 신호의 선형 조합을 통하여 구할 수 있다. 이렇게 함으로써, 색도 신호의 정수 픽셀 사이의 1/8픽셀 간격에서 보간된 픽셀이 생성되게 된다.Meanwhile, as shown in FIG. 5, when the integer pixel value of the motion vector is an A value, the motion compensation value inside the A, B, C, and D rectangles is obtained using Equation 8 below. That is, in FIG. 5, the chroma signal at the pixel position "50" may be obtained through a linear combination of the chroma signals at integer pixels A 500, B 501, C 502, and D 503. By doing so, interpolated pixels are generated at 1/8 pixel intervals between integer pixels of the chroma signal.

구체적으로, 움직임벡터가 가리키는 정수 픽셀이 A인 경우, A의 좌표를 (Ax,Ay)라 하면, B ~ D의 좌표는 다음의 [수학식 7]과 같으며, 이들을 이용한 움직임 보상 값은 하기의 [수학식 8]과 같다.Specifically, in the case where the integer pixel indicated by the motion vector is A, if the coordinate of A is (Ax, Ay), the coordinates of B to D are as shown in Equation 7 below. Equation 8 is as follows.

A 좌표 = (Ax,Ay)A coordinates = (Ax, Ay)

B 좌표 = (Ax+1, Ay)B coordinate = (Ax + 1, Ay)

C 좌표 = (Ax, Ay+1)C coordinate = (Ax, Ay + 1)

D 좌표 = (Ax + 1, Ay+1)D coordinates = (Ax + 1, Ay + 1)

prePartLXc[xc, yc] = ((8-xFrac_c)*(8-yFrac_c)*A + xFrac_c*(8-yFrac_c)*B + (8-xFrac_c)*yFrac_c*C + xFrac_c*yFrac_c*D + 32)) >>6prePartLXc [x c , y c ] = ((8-xFrac_c) * (8-yFrac_c) * A + xFrac_c * (8-yFrac_c) * B + (8-xFrac_c) * yFrac_c * C + xFrac_c * yFrac_c * D + 32)) >> 6

정리하면, 움직임 보상을 위해서는, 수평방향으로는 A(500)보다 1 픽셀만큼 오른쪽에 있는 B(501)까지 필요하게 되고, 수직방향으로는 A(500)보다 1 픽셀만큼 아래쪽에 있는 C(502)까지 필요하게 된다. 이렇게, 우(right) 또는 아래로(down) 1 픽셀만큼 추가적으로 필요한 부분은 '색도 부가 참조화면 영역'을 말하는데, 기존에는 이러한 '색도 부가 참조화면 영역'까지 포함하는 참조화면 영역을 움직임벡터 특성값에 상관없이 언제나 움직임 보상 장치(12)를 거치게 함으로써, 항상 움직임 보상을 수행하였다.In summary, for motion compensation, it is necessary to extend B (501) one pixel to the right of the A 500 in the horizontal direction, and C (502) one pixel below the A (500) in the vertical direction. It is necessary until). In this way, an additional necessary portion by right or down 1 pixel refers to the 'chromatic additional reference picture area'. In the past, the reference screen area including the 'chromatic additional reference picture area' is included in the motion vector characteristic value. Regardless of whether the motion compensation device 12 is always passed, the motion compensation is always performed.

하지만, 본 발명에서는 xFrac_chroma, yFrac_chroma가 모두 "0"인 경우, '색도 부가 참조화면 영역'을 제외하고 '색도 기본 참조영역 화면'만을, 움직임 보상 장치(12)를 스킵하고 화면 재구성 장치(13)에 인가한다. 따라서 파티션(partition) 크기가 2x2인 경우에는 오직 2x2 입력(색도 기본 참조화면 영역)만을 전송해 처리하면 되는 것이다.However, in the present invention, when both xFrac_chroma and yFrac_chroma are "0", only the "chromatic basic reference area screen" except the "chromatic additional reference picture area" is skipped and the screen reconstruction device 13 is skipped. To apply. Therefore, if the partition size is 2x2, only the 2x2 input (color reference screen area) should be transmitted for processing.

요컨대, 본 발명과 같이, 움직임 벡터의 특성값(xFrac_luma, yFrac_luma, xFrac_chroma, yFrac_chroma)에 따라 움직임 보상 장치를 구동 여부를 결정한다면, 보다 작은 크기(size)의 데이터 전송만으로도 복호화를 수행함으로써, 시스템의 전력 소비를 줄이고, 데이터 전송 효율도 높일 수 있게 된다.In short, as in the present invention, if it is determined whether to drive the motion compensation device according to the characteristic values (xFrac_luma, yFrac_luma, xFrac_chroma, yFrac_chroma) of the motion vector, the decoding is performed only by data transmission of a smaller size. It can reduce power consumption and increase data transmission efficiency.

한편, 전술한 바와 같은 본 발명의 방법은 컴퓨터 프로그램으로 작성이 가능하다. 그리고 상기 프로그램을 구성하는 코드 및 코드 세그먼트는 당해 분야의 컴퓨터 프로그래머에 의하여 용이하게 추론될 수 있다. 또한, 상기 작성된 프로그램은 컴퓨터가 읽을 수 있는 기록매체(정보저장매체)에 저장되고, 컴퓨터에 의하여 판독되고 실행됨으로써 본 발명의 방법을 구현한다. 그리고 상기 기록매체는 컴퓨터가 판독할 수 있는 모든 형태의 기록매체를 포함한다.On the other hand, the method of the present invention as described above can be written in a computer program. And the code and code segments constituting the program can be easily inferred by a computer programmer in the art. In addition, the written program is stored in a computer-readable recording medium (information storage medium), and read and executed by a computer to implement the method of the present invention. The recording medium may include any type of computer readable recording medium.

이상에서 설명한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.The present invention described above is capable of various substitutions, modifications, and changes without departing from the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It is not limited by the drawings.

Claims (17)

영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵(Skip) 제어 장치에 있어서,In the motion compensation skip control apparatus using the motion vector characteristics in the image decoder, 영상 복호의 대상이 되는 각각의 매크로블록 파티션에 대하여, 움직임 벡터가 포함된 파티션 정보를 입력받기 위한 입력 수단;Input means for receiving partition information including a motion vector for each macroblock partition to be subjected to video decoding; 상기 매크로블록 파티션마다, 상기 파티션 정보를 이용하여 해당 움직임 벡터가 가리키는 참조화면 영역('기본 참조화면 영역')을 계산하고, 상기 해당 움직임 벡터가 정수 픽셀을 지시하는지를 확인하기 위한 전처리 수단; 및For each macroblock partition, preprocessing means for calculating a reference picture region ('basic reference picture region') indicated by the motion vector using the partition information, and checking whether the corresponding motion vector indicates an integer pixel; And 상기 해당 움직임 벡터의 정수 픽셀 지시 여부에 따라, 상기 기본 참조화면 영역에 기초한 움직임 보상용 참조화면 영역의 픽셀값을 움직임 보상 장치에 인가하거나 상기 움직임 보상 장치를 스킵하고 화면 재구성 장치에 인가하기 위한 스킵 제어 수단Skip for applying the pixel value of the motion compensation reference screen region based on the basic reference screen region to the motion compensation apparatus or skipping the motion compensation apparatus according to whether the corresponding motion vector indicates an integer pixel. Control means 을 포함하는 움직임 보상 스킵(Skip) 제어 장치.Motion compensation skip control device comprising a. 제 1 항에 있어서,The method of claim 1, 상기 파티션 정보는,The partition information, 움직임 벡터(mv_x, mv_y), 휘도 또는 색도 신호 여부, 파티션 좌표(pos_x, pos_y), 및 파티션 크기(x_size, y_size)를 포함하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.A motion compensation skip control apparatus comprising a motion vector (mv_x, mv_y), whether a luminance or chroma signal, a partition coordinate (pos_x, pos_y), and a partition size (x_size, y_size). 제 2 항에 있어서,The method of claim 2, 상기 기본 참조화면 영역은,The basic reference screen area is 상기 매크로블록 파티션이 휘도 신호에 대한 파티션이면 하기 [수학식 1]을 이용하여 계산하고, 상기 매크로블록 파티션이 색도 신호에 대한 파티션이면 하기 [수학식 2]를 이용하여 계산하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.If the macroblock partition is a partition for the luminance signal, it is calculated using Equation 1 below, and if the macroblock partition is a partition for the chroma signal, it is calculated using Equation 2 below. Compensation Skip Control. [수학식 1][Equation 1] 휘도 기본 참조화면 영역 =Luminance Default Reference Screen Area = (pos_x +(mv_x/4)+(0 ~ x_size-1), pos_y + (mv_y/4)+(0 ~ y_size-1))(pos_x + (mv_x / 4) + (0 to x_size-1), pos_y + (mv_y / 4) + (0 to y_size-1)) [수학식 2][Equation 2] 색도 기본 참조화면 영역 =Chromaticity Default Reference Screen Area = (pos_x+(mv_x/8)+(0 ~ x_size-1), pos_y + (mv_y/8)+(0 ~ y_size-1))(pos_x + (mv_x / 8) + (0 to x_size-1), pos_y + (mv_y / 8) + (0 to y_size-1)) 제 1 항에 있어서,The method of claim 1, 상기 전처리 수단은,The pretreatment means, 상기 매크로블록 파티션이 휘도 신호에 대한 파티션인 경우, 상기 해당 움직임 벡터(mv_x, mv_y)의 하위 2비트 값이 모두 "0"이면, 상기 해당 움직임 벡터가 정수 픽셀을 가리키는 것으로 인지하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.When the macroblock partition is a partition for a luminance signal, if the lower two bits of the corresponding motion vectors mv_x and mv_y are all “0”, the corresponding motion vector indicates an integer pixel. Motion compensation skip control device. 삭제delete 제 1 항에 있어서,The method of claim 1, 상기 전처리 수단은,The pretreatment means, 상기 매크로블록 파티션이 색도 신호에 대한 파티션인 경우, 상기 해당 움직임 벡터(mv_x, mv_y)의 하위 3비트 값이 모두 "0"이면, 상기 해당 움직임 벡터가 정수 픽셀을 가리키는 것으로 인지하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.When the macroblock partition is a partition for a chroma signal, if the lower 3 bit values of the corresponding motion vectors mv_x and mv_y are all "0", the corresponding motion vector indicates an integer pixel. Motion compensation skip control device. 삭제delete 제 3 항에 있어서,The method of claim 3, wherein 상기 스킵 제어 수단은,The skip control means, 상기 해당 움직임 벡터가 정수 픽셀을 가리키지 않으면, 상기 기본 참조화면 영역 및 상기 기본 참조화면 영역 밖의 소정의 범위 내의 영역('부가 참조화면 영역')에 대한 픽셀값을 상기 움직임 보상 장치에 인가하고,If the corresponding motion vector does not point to an integer pixel, pixel values of the basic reference picture area and a region within a predetermined range outside the basic reference picture area ('additional reference picture area') are applied to the motion compensation device, 상기 해당 움직임 벡터가 정수 픽셀을 가리키면, 상기 기본 참조화면 영역의 픽셀값을, 상기 움직임 보상 장치를 스킵하고 화면 재구성 장치에 인가하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.And if the corresponding motion vector indicates an integer pixel, skipping the motion compensation device and applying the pixel value of the basic reference picture area to the screen reconstruction device. 제 8 항에 있어서,The method of claim 8, 상기 부가 참조화면 영역은,The additional reference screen area is 상기 매크로블록 파티션이 휘도 신호에 대한 파티션인 경우, 상기 해당 기본 참조화면 영역을 기준으로, 왼쪽 수평방향으로 2픽셀, 오른쪽 수평방향으로 3픽셀, 위쪽 수직방향으로 2픽셀, 및 아래쪽 수직방향으로 3픽셀만큼 확장된 영역인 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.If the macroblock partition is a partition for a luminance signal, 2 pixels in the left horizontal direction, 3 pixels in the right horizontal direction, 2 pixels in the upper vertical direction, and 3 in the lower vertical direction, based on the corresponding basic reference picture area Motion compensation skip control device characterized in that the area extended by the pixel. 제 8 항에 있어서,The method of claim 8, 상기 부가 참조화면 영역은,The additional reference screen area is 상기 매크로블록 파티션이 색도 신호에 대한 매크로블록 파티션인 경우, 상기 해당 기본 참조화면 영역을 기준으로, 오른쪽 수평방향으로 1픽셀 및 아래쪽 수직방향으로 1픽셀 만큼 확장된 영역인 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 장치.If the macroblock partition is a macroblock partition for a chroma signal, the motion compensation skip is characterized in that the area is extended by 1 pixel in the right horizontal direction and 1 pixel in the lower vertical direction based on the corresponding basic reference picture area. (Skip) control unit. 영상 복호기에서 움직임 벡터 특성을 이용한 움직임 보상 스킵(Skip) 제어 방법에 있어서,A motion compensation skip control method using a motion vector characteristic in an image decoder, 영상 복호의 대상이 되는 매크로블록 파티션마다, 해당 움직임 벡터가 가리키는 참조화면 영역('기본 참조화면 영역')을 계산하는 기본 참조화면 영역 계산 단계;A basic reference picture area calculation step of calculating a reference picture area ('basic reference picture area') indicated by the corresponding motion vector for each macroblock partition to be decoded; 상기 매크로블록 파티션마다 상기 해당 움직임 벡터가 정수 픽셀을 가리키는지를 확인하는 움직임벡터 확인 단계;A motion vector checking step of checking whether the corresponding motion vector indicates an integer pixel for each macroblock partition; 상기 해당 움직임 벡터가 정수 픽셀을 가리키면, 상기 기본 참조화면 영역의 픽셀값을, 움직임 보상 장치를 스킵하고 화면 재구성 장치에 인가하는 제1 스킵 제어 단계; 및A first skip control step of skipping a motion compensation device and applying a pixel value of the basic reference picture area to the screen reconstruction device when the corresponding motion vector indicates an integer pixel; And 상기 해당 움직임 벡터가 정수 픽셀을 가리키지 않으면, 상기 기본 참조화면 영역과 상기 기본 참조화면 영역 밖의 소정의 범위 내의 영역('부가 참조화면 영역')에 대한 픽셀값을 상기 움직임 보상 장치에 인가하는 제2 스킵 제어 단계If the corresponding motion vector does not point to an integer pixel, a pixel value is applied to the motion compensation apparatus for a pixel value for a region within a predetermined range outside the basic reference picture area and the basic reference picture area ('additional reference picture area'). 2 skip control steps 를 포함하는 움직임 보상 스킵(Skip) 제어 방법.Motion compensation skip control method comprising a. 제 11 항에 있어서,The method of claim 11, 상기 기본 참조화면 영역 계산 단계는,The basic reference screen area calculation step, 상기 매크로블록 파티션마다, 움직임 벡터(mv_x, mv_y), 파티션 좌표(pos_x, pos_y), 및 파티션 크기(x_size, y_size)를 이용하여 상기 기본 참조화면 영역을 계산하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 방법.For each macroblock partition, the motion compensation skip (Skip) is calculated using the motion vector (mv_x, mv_y), partition coordinates (pos_x, pos_y), and partition size (x_size, y_size). A) control method. 제 12 항에 있어서,The method of claim 12, 상기 기본 참조화면 영역 계산 단계는,The basic reference screen area calculation step, 상기 매크로블록 파티션이 휘도 신호에 대한 파티션이면 하기 [수학식 5]를 이용하여 상기 기본 참조화면 영역을 계산하고, 상기 매크로블록 파티션이 색도 신호에 대한 파티션이면 하기 [수학식 6]을 이용하여 상기 기본 참조화면 영역을 계산하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 방법.If the macroblock partition is a partition for a luminance signal, the basic reference picture area is calculated using Equation 5 below, and if the macroblock partition is a partition for a chroma signal, the following Equation 6 is used. A motion compensation skip control method comprising calculating a basic reference picture area. [수학식 5][Equation 5] 휘도 기본 참조화면 영역 =Luminance Default Reference Screen Area = (pos_x +(mv_x/4)+(0 ~ x_size-1), pos_y + (mv_y/4)+(0 ~ y_size-1))(pos_x + (mv_x / 4) + (0 to x_size-1), pos_y + (mv_y / 4) + (0 to y_size-1)) [수학식 6][Equation 6] 색도 기본 참조화면 영역 =Chromaticity Default Reference Screen Area = (pos_x+(mv_x/8)+(0 ~ x_size-1), pos_y + (mv_y/8)+(0 ~ y_size-1))(pos_x + (mv_x / 8) + (0 to x_size-1), pos_y + (mv_y / 8) + (0 to y_size-1)) 제 11 항에 있어서,The method of claim 11, 상기 움직임벡터 확인 단계는,The motion vector checking step, 상기 매크로블록 파티션이 휘도 신호에 대한 파티션인 경우, 상기 해당 움직임 벡터(mv_x, mv_y)의 하위 2비트 값이 모두 "0"이면, 상기 해당 움직임 벡터가 정수 픽셀을 가리키는 것으로 인지하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 방법.When the macroblock partition is a partition for a luminance signal, if the lower two bits of the corresponding motion vectors mv_x and mv_y are all “0”, the corresponding motion vector indicates an integer pixel. How to control motion compensation skip. 제 11 항에 있어서,The method of claim 11, 상기 움직임벡터 확인 단계는,The motion vector checking step, 상기 매크로블록 파티션이 색도 신호에 대한 파티션인 경우, 상기 해당 움직임 벡터(mv_x, mv_y)의 하위 3비트 값이 모두 "0"이면, 상기 해당 움직임 벡터가 정수 픽셀을 가리키는 것으로 인지하는 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 방법.When the macroblock partition is a partition for a chroma signal, if the lower 3 bit values of the corresponding motion vectors mv_x and mv_y are all "0", the corresponding motion vector indicates an integer pixel. How to control motion compensation skip. 제 11항 내지 제 15 항 중 어느 한 항에 있어서,The method according to any one of claims 11 to 15, 상기 부가 참조화면 영역은,The additional reference screen area is 상기 매크로블록 파티션이 휘도 신호에 대한 파티션이면, 상기 참조화면 영역을 기준으로, 왼쪽 수평방향으로 2픽셀, 오른쪽 수평방향으로 3픽셀, 위쪽 수직방향으로 2픽셀, 및 아래쪽 수직방향으로 3픽셀만큼 확장된 영역인 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 방법.If the macroblock partition is a partition for the luminance signal, it extends by 2 pixels in the left horizontal direction, 3 pixels in the right horizontal direction, 2 pixels in the upper vertical direction, and 3 pixels in the lower vertical direction, based on the reference picture area. Motion compensation skip control method, characterized in that the extracted area. 제 11항 내지 제 15 항 중 어느 한 항에 있어서,The method according to any one of claims 11 to 15, 상기 부가 참조화면 영역은,The additional reference screen area is 상기 매크로블록 파티션이 색도 신호에 대한 매크로블록 파티션이면, 상기 참조화면 영역을 기준으로, 오른쪽 수평방향으로 1픽셀 및 아래쪽 수직방향으로 1픽셀 만큼 확장된 영역인 것을 특징으로 하는 움직임 보상 스킵(Skip) 제어 방법.If the macroblock partition is a macroblock partition for a chroma signal, the motion compensation skip is characterized in that the area is extended by 1 pixel in the right horizontal direction and 1 pixel in the lower vertical direction with respect to the reference picture area. Control method.
KR1020070100556A 2006-12-06 2007-10-05 Apparatus and method for controlling skip of motion compensation using characteristic of motion vector in image decoder KR100919886B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20060123239 2006-12-06
KR1020060123239 2006-12-06

Publications (2)

Publication Number Publication Date
KR20080052344A KR20080052344A (en) 2008-06-11
KR100919886B1 true KR100919886B1 (en) 2009-09-30

Family

ID=39807175

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070100556A KR100919886B1 (en) 2006-12-06 2007-10-05 Apparatus and method for controlling skip of motion compensation using characteristic of motion vector in image decoder

Country Status (1)

Country Link
KR (1) KR100919886B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101416062B1 (en) 2011-05-26 2014-07-08 삼성전자주식회사 Method and apparatus for controlling data rate in wireless communication system
US20190238854A1 (en) * 2018-02-01 2019-08-01 Microsoft Technology Licensing, Llc Techniques for extrapolating image frames

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5294767B2 (en) * 2008-09-16 2013-09-18 キヤノン株式会社 Movie playback device, movie playback method, program, and recording medium
KR101889101B1 (en) 2011-09-14 2018-08-17 세종대학교산학협력단 Method and apparatus for restoring image using copy memory
KR20140123008A (en) * 2013-04-05 2014-10-21 삼성전자주식회사 Method and apparatus for video encoding for illumination compensation, method and apparatus for video decoding for illu mination compensation
US10567788B2 (en) * 2017-04-21 2020-02-18 Zenimax Media Inc. Systems and methods for game-generated motion vectors

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050117728A (en) * 2004-06-11 2005-12-15 삼성전자주식회사 Motion prediction method and apparatus thereof
JP2007060693A (en) * 2002-04-10 2007-03-08 Toshiba Corp Moving picture coding, decoding method and apparatus
US20070217702A1 (en) * 2006-03-14 2007-09-20 Sung Chih-Ta S Method and apparatus for decoding digital video stream

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007060693A (en) * 2002-04-10 2007-03-08 Toshiba Corp Moving picture coding, decoding method and apparatus
KR20050117728A (en) * 2004-06-11 2005-12-15 삼성전자주식회사 Motion prediction method and apparatus thereof
US20070217702A1 (en) * 2006-03-14 2007-09-20 Sung Chih-Ta S Method and apparatus for decoding digital video stream

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101416062B1 (en) 2011-05-26 2014-07-08 삼성전자주식회사 Method and apparatus for controlling data rate in wireless communication system
US9661189B2 (en) 2011-05-26 2017-05-23 Samsung Electronics Co., Ltd. Method and apparatus for adaptive rate-based image data transmission and reception
US20190238854A1 (en) * 2018-02-01 2019-08-01 Microsoft Technology Licensing, Llc Techniques for extrapolating image frames
US10708597B2 (en) * 2018-02-01 2020-07-07 Microsoft Technology Licensing, Llc Techniques for extrapolating image frames

Also Published As

Publication number Publication date
KR20080052344A (en) 2008-06-11

Similar Documents

Publication Publication Date Title
KR100919886B1 (en) Apparatus and method for controlling skip of motion compensation using characteristic of motion vector in image decoder
US10284843B2 (en) Video coding
KR101003105B1 (en) Method for encoding and decoding video signal using motion compensation based on affine transform and apparatus thereof
CN101325710B (en) Motion refinement engine with a plurality of cost calculation methods for use in video encoding and methods for use therewith
KR20030094086A (en) Spatiotemporal prediction for bidirectionally predictive (b) pictures and motion vector prediction for multi-picture reference motion compensation
CN101267562A (en) Video processing system and device with encoding and decoding modes and method for use therewith
KR20070088608A (en) Caching method and apparatus for video motion compensation
US7853091B2 (en) Motion vector operation devices and methods including prediction
JP2020522913A (en) Method and apparatus for encoding or decoding video data in FRUC mode with reduced memory access
WO2020084472A1 (en) Affine mode parameter inheritance or prediction
JP2021530144A (en) Error surface-based subpixel accuracy refinement method for decoder-side motion vector refinement
CN114885177B (en) Prediction refinement method, apparatus, and medium using optical flow for encoding video data
KR100646302B1 (en) Motion vector estimation apparatus and method thereof
CN101409838A (en) Coding method, decoding method, coding apparatus, decoding apparatus, and image processing system
TWI706668B (en) Method and apparatus of inter prediction for video coding
CN101325709A (en) Motion refinement engine with selectable partitionings for use in video encoding and methods for use therewith
JP2009089267A (en) Method and device for intra predictive coding, and program
US9300975B2 (en) Concurrent access shared buffer in a video encoder
JP4515922B2 (en) Data holding device, image encoding device, and image decoding device
JP2010226528A (en) Coding device and method therefor
JP2021536156A (en) How to encode and decode converted blocks of video samples, equipment, and systems
KR101842551B1 (en) Method for deciding motion partition mode and encoder
KR101678138B1 (en) Video encoding method, device, and program
CN104683816A (en) Method and device for motion compensation with moving window
KR100919887B1 (en) Apparatus and method for controlling output of intra mode decoding, and intra mode decoding system using it

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