KR20130028633A - Methods of decision of candidate block on inter prediction and appratuses using the same - Google Patents

Methods of decision of candidate block on inter prediction and appratuses using the same Download PDF

Info

Publication number
KR20130028633A
KR20130028633A KR1020120063382A KR20120063382A KR20130028633A KR 20130028633 A KR20130028633 A KR 20130028633A KR 1020120063382 A KR1020120063382 A KR 1020120063382A KR 20120063382 A KR20120063382 A KR 20120063382A KR 20130028633 A KR20130028633 A KR 20130028633A
Authority
KR
South Korea
Prior art keywords
block
merge candidate
list
prediction
available
Prior art date
Application number
KR1020120063382A
Other languages
Korean (ko)
Other versions
KR101423648B1 (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 KR20130028633A publication Critical patent/KR20130028633A/en
Application granted granted Critical
Publication of KR101423648B1 publication Critical patent/KR101423648B1/en

Links

Images

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/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • 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/103Selection of coding mode or of prediction mode
    • H04N19/107Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
    • 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/117Filters, e.g. for pre-processing or post-processing
    • 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/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • 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/59Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving spatial sub-sampling or interpolation, e.g. alteration of picture size or resolution

Abstract

PURPOSE: A candidate block determination method and an apparatus using the same are provided to reduce complexity by using spatial candidate prediction blocks for merging spaces and an AMVP(Advanced Motion Vector Prediction) mode. CONSTITUTION: When six merge candidates(400-450) are available after constructing a merge candidate block list, a merge candidate list is generated by successively selecting five merge candidates. When a plurality of merge candidates has equivalent motion information, a high rank merge candidate remains in the merge candidate block list and the other merge candidates are removed from the merge candidate block list.

Description

화면 간 예측 수행시 후보 블록 결정 방법 및 이러한 방법을 사용하는 장치{METHODS OF DECISION OF CANDIDATE BLOCK ON INTER PREDICTION AND APPRATUSES USING THE SAME}METHODS OF DECISION OF CANDIDATE BLOCK ON INTER PREDICTION AND APPRATUSES USING THE SAME}

본 발명은 화면 간 예측 수행시 후보 블록 결정 방법 및 이러한 방법을 사용하는 장치에 관한 것으로 더욱 상세하게는 부/복호화 방법 및 장치에 관한 것이다. The present invention relates to a method for determining candidate blocks in performing inter prediction and an apparatus using the method, and more particularly, to a method and an apparatus for encoding / decoding.

최근 HD(High Definition) 영상 및 UHD(Ultra High Definition) 영상과 같은 고해상도, 고품질의 영상에 대한 수요가 다양한 응용 분야에서 증가하고 있다. 영상 데이터가 고해상도, 고품질이 될수록 기존의 영상 데이터에 비해 상대적으로 데이터량이 증가하기 때문에 기존의 유무선 광대역 회선과 같은 매체를 이용하여 영상 데이터를 전송하거나 기존의 저장 매체를 이용해 저장하는 경우, 전송 비용과 저장 비용이 증가하게 된다. 영상 데이터가 고해상도, 고품질화 됨에 따라 발생하는 이러한 문제들을 해결하기 위해서는 고효율의 영상 압축 기술들이 활용될 수 있다.Recently, the demand for high resolution and high quality images such as high definition (HD) image and ultra high definition (UHD) image is increasing in various applications. As the video data becomes higher resolution and higher quality, the amount of data increases relative to the existing video data. Therefore, when the video data is transmitted or stored using a medium such as a conventional wired / wireless broadband line, The storage cost will increase. High-efficiency image compression techniques can be utilized to solve such problems as image data becomes high-resolution and high-quality.

영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.An inter picture prediction technique for predicting a pixel value included in a current picture from a previous or a subsequent picture of a current picture using an image compression technique, an intra picture prediction technique for predicting a pixel value included in a current picture using pixel information in the current picture, There are various techniques such as an entropy encoding technique in which a short code is assigned to a value having a high appearance frequency and a long code is assigned to a value having a low appearance frequency. Image data can be effectively compressed and transmitted or stored using such an image compression technique.

본 발명의 목적은 영상 부호화 효율을 증가시키기 위해 화면 간 예측 모드를 수행시 후보 움직임 예측 정보를 산출하는 방법을 제공하는 것이다.An object of the present invention is to provide a method for calculating candidate motion prediction information when performing inter prediction mode to increase image encoding efficiency.

또한, 본 발명의 또 다른 목적은 영상 부호화 효율을 증가시키기 위해 화면 간 예측 모드를 수행시 후보 움직임 예측 정보를 산출하는 방법을 수행하는 장치를 제공하는 것이다.Another object of the present invention is to provide an apparatus for performing a method of calculating candidate motion prediction information when performing inter prediction mode to increase image encoding efficiency.

상술한 본 발명의 목적을 달성하기 위한 본 발명의 일 측면에 따른 영상 복호화 방법은 좌측 하단 제2 블록이 가용한 경우, 상기 좌측 하단 제2 블록을 머지 후보 리스트에 포함하는 단계, 상단 우측 제2 블록이 가용한 경우, 상기 상단 우측 제2 블록을 상기 머지 후보 리스트에 포함하는 단계, 좌측 하단 제1 블록이 가용한 경우, 상기 좌측 하단 제1 블록을 상기 머지 후보 리스트에 포함하는 단계, 상단 우측 제1 블록이 가용한 경우, 상기 상단 우측 제1 블록을 상기 머지 후보 리스트에 포함하는 단계, 상단 좌측 제2 블록이 가용한 경우, 상기 상단 좌측 제2 블록을 상기 머지 후보 리스트에 포함하는 단계와 시간적 후보 예측 블록이 가용한 경우, 상기 시간적 후보 예측 블록을 상기 머지 후보 블록 리스트에 포함하는 단계를 포함할 수 있다. 상기 머지 후보 블록 리스트는 고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 이상의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 머지 후보 블록만을 상기 머지 후보 블록 리스트에 포함할 수 있다. 상기 머지 후보 블록 리스트는 고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가할 수 있다. 상기 추가적인 머지 후보 생성 방법은 조합 머지 후보 생성 방법, 스케일링 머지 후보 생성 방법 및 영벡터 머지 후보 생성 방법 중 적어도 하나일 수 있다. According to an aspect of the present invention, there is provided a method of decoding an image, including the lower left second block in a merge candidate list when the lower left second block is available, and the upper right second. If the block is available, including the upper right second block in the merge candidate list; if the lower left first block is available, including the lower left first block in the merge candidate list, upper right If the first block is available, including the upper right first block in the merge candidate list; if the upper left second block is available, including the upper left second block in the merge candidate list; If a temporal candidate prediction block is available, the method may include including the temporal candidate prediction block in the merge candidate block list. The merge candidate block list may include a fixed number of merge candidate blocks, and if the fixed number of merge candidate blocks is included in the merge candidate block list, only a fixed number of merge candidate blocks based on priority It may be included in the merge candidate block list. The merge candidate block list may include a fixed number of merge candidate blocks, and if the merge candidate blocks less than the fixed number are included in the merge candidate block list, additional merge candidates based on an additional merge candidate generation method. May be added to the merge candidate block list. The additional merge candidate generation method may be at least one of a combination merge candidate generation method, a scaling merge candidate generation method, and a zero vector merge candidate generation method.

상술한 본 발명의 다른 목적을 달성하기 위한 본 발명의 다른 측면에 따른 영상 복호화 방법은 좌측 하단 제2 블록에서 좌측 하단 제1 블록 순서를 기준으로 판단한 가용한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계, 상단 우측 제2 블록, 상단 우측 제1 블록, 상단 좌측 제2 블록 순서를 기준으로 판단한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계, 시간적 예측 후보 블록이 가용한 경우, 시간적 예측 후보 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계와 산출된 후보 예측 움직임 벡터로 AMVP 리스트를 구성하는 단계를 포함할 수 있다. 상기 AMVP 리스트는 고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 이상의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 후보 예측 움직임 벡터만을 상기 AMVP 리스트에 포함할 수 있다. 상기 AMVP 리스트는 고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 미만의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 영벡터를 후보 예측 움직임 벡터로 상기 AMVP 리스트에 포함할 수 있다. According to another aspect of the present invention for achieving the above object of the present invention, the video decoding method predicts the motion vector calculated from the first available block determined based on the order of the lower left first block from the lower left second block. Calculating a motion vector calculated from the first block determined based on the order of the upper right second block, the upper right first block, and the upper left second block as a candidate prediction motion vector, and a temporal prediction candidate block. In this case, the method may include calculating a motion vector calculated from the temporal prediction candidate block as a candidate prediction motion vector and constructing an AMVP list using the calculated candidate prediction motion vector. The AMVP list may include a fixed number of candidate prediction motion vectors, and when the fixed number or more candidate prediction motion vectors are included in the AMVP list, only the fixed number of candidate prediction motion vectors is based on priority. Can be included in AMVP list. The AMVP list may include a fixed number of candidate prediction motion vectors, and if less than the fixed number of candidate prediction motion vectors is included in the AMVP list, the zero vector may be included in the AMVP list as a candidate prediction motion vector. Can be.

상술한 본 발명의 또 다른 목적을 달성하기 위한 본 발명의 다른 측면에 따른 영상 복호화 방법은 좌측 상단 블록이 가용한 경우, 상기 좌측 상단 블록을 머지 후보 리스트에 포함시키는 단계, 상단 좌측 제1 블록이 가용한 경우, 상기 상단 좌측 제1 블록을 머지 후보 리스트에 포함시키는 단계, 상단 우측 제2 블록이 가용한 경우, 상기 상단 우측 제2 블록을 머지 후보 리스트에 포함시키는 단계, 좌측 하단 제2 블록이 가용한 경우, 상기 좌측 하단 제2 블록을 머지 후보 리스트에 포함시키는 단계, 상단 좌측 제2 블록이 가용한 경우, 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계와 시간적 후보 예측 블록이 가용한 경우, 상기 시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함할 수 있다. 상기 머지 후보 블록 리스트는 고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 이상의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 머지 후보 블록만을 상기 머지 후보 블록 리스트에 포함할 수 있다. 상기 머지 후보 블록 리스트는 고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가할 수 있다. 상기 추가적인 머지 후보 생성 방법은 조합 머지 후보 생성 방법, 스케일링 머지 후보 생성 방법 및 영벡터 머지 후보 생성 방법 중 적어도 하나일 수 있다. According to another aspect of the present invention for achieving the above object of the present invention, if the upper left block is available, including the upper left block in the merge candidate list, the upper left first block If available, including the upper left first block in the merge candidate list; if the upper right second block is available, including the upper right second block in the merge candidate list; If available, including the lower left second block in the merge candidate list; if the upper left second block is available, including the upper left second block in the merge candidate list and the temporal candidate prediction block is available. In one case, the method may include including the temporal candidate prediction block in a merge candidate list. The merge candidate block list may include a fixed number of merge candidate blocks, and if the fixed number of merge candidate blocks is included in the merge candidate block list, only a fixed number of merge candidate blocks based on priority It may be included in the merge candidate block list. The merge candidate block list may include a fixed number of merge candidate blocks, and if the merge candidate blocks less than the fixed number are included in the merge candidate block list, additional merge candidates based on an additional merge candidate generation method. May be added to the merge candidate block list. The additional merge candidate generation method may be at least one of a combination merge candidate generation method, a scaling merge candidate generation method, and a zero vector merge candidate generation method.

상술한 본 발명의 또 다른 목적을 달성하기 위한 본 발명의 다른 측면에 따른 영상 복호화 방법은 좌측 하단 제2 블록에서 좌측 하단 제1 블록 순서를 기준으로 판단한 가용한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계, 상단 우측 제2 블록, 상단 좌측 제1 블록, 상단 좌측 제2 블록 순서를 기준으로 판단한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계, 시간적 예측 후보 블록이 가용한 경우, 시간적 예측 후보 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계와 산출된 후보 예측 움직임 벡터로 AMVP 리스트를 구성하는 단계를 포함할 수 있다. 상기 AMVP 리스트는 고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 이상의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 후보 예측 움직임 벡터만을 상기 AMVP 리스트에 포함할 수 있다. 상기 AMVP 리스트는 고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 미만의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 영벡터를 후보 예측 움직임 벡터로 상기 AMVP 리스트에 포함할 수 있다. According to another aspect of the present invention, a video decoding method according to another aspect of the present invention candidates a motion vector calculated from an available first block determined based on the order of a lower left first block from a lower left second block. Calculating the motion vector calculated from the first block determined based on the order of the upper right second block, the upper left first block, and the upper left second block as the candidate predictive motion vector, and the temporal prediction candidate. When the block is available, the method may include calculating a motion vector calculated from the temporal prediction candidate block as a candidate prediction motion vector and constructing an AMVP list using the calculated candidate prediction motion vector. The AMVP list may include a fixed number of candidate prediction motion vectors, and when the fixed number or more candidate prediction motion vectors are included in the AMVP list, only the fixed number of candidate prediction motion vectors is based on priority. Can be included in AMVP list. The AMVP list may include a fixed number of candidate prediction motion vectors, and if less than the fixed number of candidate prediction motion vectors is included in the AMVP list, the zero vector may be included in the AMVP list as a candidate prediction motion vector. Can be.

상술한 본 발명의 또 다른 목적을 달성하기 위한 본 발명의 다른 측면에 따른 영상 복호화 방법은 좌측 하단 제1 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 상기 좌측 하단 제1 블록과 상기 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 하단 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계, 상단 우측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상기 상단 우측 제1 블록과 상기 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 하단 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계와 시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함할 수 있다. 상기 머지 후보 블록 리스트는 고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가하여 생성될 수 있다. According to another aspect of the present invention for achieving another object of the present invention described above, if the lower left first block and the lower left second block is available to be included in the merge candidate list, the lower left first If at least one of the block and the lower left second block is not available, the upper left second block is included in the merge candidate list in place of the unavailable block, and if neither is available, the lower left first block is substituted for the left lower first block. Including the upper left second block in the merge candidate list, If the upper right first block and the upper right second block is available, to include in the merge candidate list, the upper right first block and the upper right second If at least one of the blocks is not available, the upper left second block is included in the merge candidate list in place of the unavailable block. And when both are not available, it may comprise the step of including the steps and the temporal prediction candidate block in place of the bottom left of the first block including the top of the left second blocks to merge candidate list to the merge candidate list. The merge candidate block list may include a fixed number of merge candidate blocks, and if the merge candidate blocks less than the fixed number are included in the merge candidate block list, additional merge candidates based on an additional merge candidate generation method. May be generated by adding to the merge candidate block list.

상술한 본 발명의 또 다른 목적을 달성하기 위한 본 발명의 다른 측면에 따른 영상 복호화 방법은 좌측 상단 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 상기 좌측 상단 블록과 상기 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 상단 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계와 상단 좌측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상기 상단 좌측 제1 블록과 상기 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 상단 좌측 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계와 시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함할 수 있다. 상기 머지 후보 블록 리스트는 고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가할 수 있다. According to another aspect of the present invention for achieving another object of the present invention described above, if the upper left block and the lower left second block is available to be included in the merge candidate list, the upper left block and the left If at least one of the lower second blocks is not available, the upper left second block is included in the merge candidate list in place of the unavailable block, and if both are not available, the upper left second block is substituted for the upper left block. Is included in the merge candidate list and the upper left first block and the upper right second block are included in the merge candidate list, and at least one of the upper left first block and the upper right second block is available. If not, the upper left second block is included in the merge candidate list in place of the unavailable block. It may be if it is not available, on behalf of the upper left corner of the first block comprises the step of including the steps and the temporal candidate prediction blocks to include the top left second blocks to merge candidate list to the merge candidate list. The merge candidate block list may include a fixed number of merge candidate blocks, and if the merge candidate blocks less than the fixed number are included in the merge candidate block list, additional merge candidates based on an additional merge candidate generation method. May be added to the merge candidate block list.

상술한 바와 같이 본 발명의 실시예에 따른 화면 간 예측 수행시 후보 블록 결정 방법 및 이러한 방법을 사용하는 장치에 따르면 화면 간 예측을 수행시 사용되는 공간적인 후보 예측 블록들을 머지를 사용할 경우와 AMVP를 사용할 경우 동일하게 사용하여 복잡도를 줄이고 부호화 효율을 높일 수 있다.As described above, according to an embodiment of the present invention, a method for determining a candidate block when performing inter prediction and an apparatus using the method according to the present invention are used to merge the spatial candidate prediction blocks used when performing inter prediction and use AMVP. If used, the same can be used to reduce the complexity and improve the coding efficiency.

도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다.
도 2는 본 발명의 다른 실시예에 따른 영상 복호화기를 나타낸 블록도이다.
도 3은 본 발명의 또 다른 실시예에 따른 공간적인 후보 예측 블록의 명칭을 정의하기 위한 개념도이다.
도 4는 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.
도 5는 본 발명의 또 다른 실시예에 따른 머지 후보 리스트를 구현하는 방법을 나타낸 순서도이다.
도 6은 본 발명의 또 다른 실시예에 따른 AMVP 후보 리스트를 구현하는 방법을 나타낸 순서도이다.
도 7은 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.
도 8은 본 발명의 또 다른 실시예에 따른 머지 후보 리스트 구성 방법을 나타낸 순서도이다.
도 9는 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.
도 10은 본 발명의 또 다른 실시예에 따른 머지 후보 리스트를 구현하는 방법을 나타낸 순서도이다.
도 11은 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.
도 12는 본 발명의 또 다른 실시예에 따른 머지 모드에서 화면 간 예측을 위한 머지 후보 리스트를 구성하는 방법을 나타낸 순서도이다.
도 13은 본 발명의 또 다른 실시예에 따른 머지와 AMVP를 사용한 화면 간 예측 방법을 나타낸 순서도이다.
1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.
2 is a block diagram of an image decoder according to another embodiment of the present invention.
3 is a conceptual diagram for defining a name of a spatial candidate prediction block according to another embodiment of the present invention.
4 is a conceptual diagram illustrating a method of constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.
5 is a flowchart illustrating a method of implementing a merge candidate list according to another embodiment of the present invention.
6 is a flowchart illustrating a method of implementing an AMVP candidate list according to another embodiment of the present invention.
7 is a conceptual diagram illustrating a method of constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.
8 is a flowchart illustrating a merge candidate list construction method according to another embodiment of the present invention.
9 is a conceptual diagram illustrating a method for constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.
10 is a flowchart illustrating a method of implementing a merge candidate list according to another embodiment of the present invention.
11 is a conceptual diagram illustrating a method for constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.
12 is a flowchart illustrating a method of constructing a merge candidate list for inter prediction in a merge mode according to another embodiment of the present invention.
13 is a flowchart illustrating an inter prediction method using merge and AMVP according to another embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. 각 도면을 설명하면서 유사한 참조부호를 유사한 구성요소에 대해 사용하였다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention. Like reference numerals are used for like elements in describing each drawing.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소도 제1 구성요소로 명명될 수 있다. 및/또는 이라는 용어는 복수의 관련된 기재된 항목들의 조합 또는 복수의 관련된 기재된 항목들 중의 어느 항목을 포함한다.The terms first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The terms are used only for the purpose of distinguishing one component from another. For example, without departing from the scope of the present invention, the first component may be referred to as a second component, and similarly, the second component may also be referred to as a first component. And / or < / RTI > includes any combination of a plurality of related listed items or any of a plurality of related listed items.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어"있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어"있다거나 "직접 접속되어"있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is to be understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, . On the other hand, when a component is referred to as being "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between.

본 출원에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 출원에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular example embodiments only and is not intended to be limiting of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In this application, the terms "comprise" or "have" are intended to indicate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, and one or more other features. It is to be understood that the present invention does not exclude the possibility of the presence or the addition of numbers, steps, operations, components, components, or a combination thereof.

이하, 첨부한 도면들을 참조하여, 본 발명의 바람직한 실시예를 보다 상세하게 설명하고자 한다. 이하, 도면상의 동일한 구성요소에 대해서는 동일한 참조부호를 사용하고 동일한 구성요소에 대해서 중복된 설명은 생략한다.
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. Hereinafter, the same reference numerals are used for the same components in the drawings, and duplicate descriptions of the same components are omitted.

도 1은 본 발명의 일실시예에 따른 영상 부호화 장치를 나타낸 블록도이다. 1 is a block diagram illustrating an image encoding apparatus according to an embodiment of the present invention.

도 1을 참조하면, 영상 부호화 장치(100)는 픽쳐 분할부(105), 예측부(110), 변환부(115), 양자화부(120), 재정렬부(125), 엔트로피 부호화부(130), 역양자화부(135), 역변환부(140), 필터부(145) 및 메모리(150)를 포함할 수 있다.Referring to FIG. 1, the image encoding apparatus 100 may include a picture splitter 105, a predictor 110, a transformer 115, a quantizer 120, a realigner 125, and an entropy encoder 130. , An inverse quantization unit 135, an inverse transform unit 140, a filter unit 145, and a memory 150.

도 1에 나타난 각 구성부들은 영상 부호화 장치에서 서로 다른 특징적인 기능들을 나타내기 위해 독립적으로 도시한 것으로, 각 구성부들이 분리된 하드웨어나 하나의 소프트웨어 구성단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벋어나지 않는 한 본 발명의 권리범위에 포함된다.Each of the components shown in FIG. 1 is shown independently to represent different characteristic functions in the image encoding apparatus, and does not mean that each component is composed of separate hardware or one software configuration unit. In other words, each component is included in each component for convenience of description, and at least two of the components may be combined into one component, or one component may be divided into a plurality of components to perform a function. The integrated and separated embodiments of the components are also included in the scope of the present invention, without departing from the spirit of the invention.

또한, 일부의 구성 요소는 본 발명에서 본질적인 기능을 수행하는 필수적인 구성 요소는 아니고 단지 성능을 향상시키기 위한 선택적 구성 요소일 수 있다. 본 발명은 단지 성능 향상을 위해 사용되는 구성 요소를 제외한 본 발명의 본질을 구현하는데 필수적인 구성부만을 포함하여 구현될 수 있고, 단지 성능 향상을 위해 사용되는 선택적 구성 요소를 제외한 필수 구성 요소만을 포함한 구조도 본 발명의 권리범위에 포함된다.In addition, some of the components are not essential components to perform essential functions in the present invention, but may be optional components only to improve performance. The present invention can be implemented only with components essential for realizing the essence of the present invention, except for the components used for the performance improvement, and can be implemented by only including the essential components except the optional components used for performance improvement Are also included in the scope of the present invention.

픽쳐분할부(105)는 입력된 픽쳐를 적어도 하나의 처리 단위로 분할 할수있다. 이때, 처리 단위는 예측 단위(Prediction Unit: PU)일 수도 있고, 변환 단위(Transform Unit: TU)일 수도 있으며, 부호화단위(Coding Unit: CU)일 수도 있다. 픽쳐 분할부(105)에서는 하나의 픽쳐에 대해 복수의 부호화 단위, 예측 단위 및 변환 단위의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 하나의 부호화 단위, 예측 단위 및 변환 단위 조합을 선택하여 픽쳐를 부호화 할 수 있다. The picture division unit 105 can divide the inputted picture into at least one processing unit. In this case, the processing unit may be a prediction unit (PU), a transform unit (TU), or a coding unit (CU). The picture dividing unit 105 divides one picture into a plurality of coding units, a prediction unit, and a combination of conversion units, and generates a coding unit, a prediction unit, and a conversion unit combination So that the picture can be encoded.

예를 들어, 하나의 픽쳐는 복수개의 부호화 단위로 분할될 수 있다. 픽쳐에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(Quad Tree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있는데 하나의 영상 또는 최대 크기 부호화 단위를 루트로 하여 다른 부호화 단위로 분할되는 부호화 유닛은 분할된 부호화 단위의 개수만큼의 자식 노드를 가지고 분할될 수 있다. 일정한 제한에 따라 더이상 분할되지 않는 부호화 단위는 리프 노드가 된다. 즉, 하나의 코딩 유닛에 대하여 정방형 분할만이 가능하다고 가정하는 경우, 하나의 부호화 단위는 최대 4개의 다른 부호화 단위로 분할될 수 있다.For example, one picture may be divided into a plurality of coding units. In order to divide an encoding unit in a picture, a recursive tree structure such as a quad tree structure can be used. An encoding unit, which is divided into other encoding units with one image or a maximum-size encoding unit as a root, Can be divided by the number of child nodes. An encoding unit that is no longer divided according to certain restrictions becomes a leaf node. That is, when it is assumed that only square division is possible for one coding unit, one coding unit may be split into at most four other coding units.

이하, 본 발명의 실시예에서는 부호화 단위의 의미를 부호화를 하는 단위라는 의미뿐만 아니라 복호화를 하는 단위의 의미로 사용할 수 있다.Hereinafter, in the embodiment of the present invention, the meaning of a coding unit can be used not only in the unit of coding but also in the meaning of a unit of decoding.

예측 단위는 하나의 부호화 단위 내에서 동일한 크기의 적어도 하나의 정사각형 또는 직사각형 등의 형태를 가지고 분할되거나 하나의 부호화 단위 내에서 분할된 예측 단위 중 하나의 예측 단위의 형태가 다른 예측 단위의 형태와 다른 형태를 가지고 분할될 수 있다.The prediction unit may be a prediction unit having a shape of at least one square or a rectangle having the same size in one coding unit or a shape of one prediction unit among the prediction units divided in one coding unit is different from the shape of another prediction unit It can be divided into shapes.

부호화 단위를 기초로 화면 내 예측을 수행하는 예측 단위를 생성시 최소 부호화 단위가 아닌 경우, 복수의 예측 단위(NxN)으로 분할하지 않고 화면 내 예측을 수행할 수 있다.Intra prediction can be performed without dividing into a plurality of prediction units (NxN) when a prediction unit performing intra-frame prediction based on an encoding unit is not the minimum encoding unit at the time of generation.

예측부(110)는화면 간 예측을 수행하는 화면 간 예측부와 화면 내 예측을 수행하는 화면 내 예측부를 포함할 수 있다. 예측 단위에 대해 화면 간 예측을 사용할 것인지 또는 화면 내 예측을 수행할 것인지를 결정하고, 각 예측 방법에 따른 구체적인 정보(예컨대, 화면 내 예측 모드, 움직임 벡터, 참조 픽쳐 등)를 결정할 수 있다. 이때, 예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 다를 수 있다. 예컨대, 예측의 방법과 예측 모드 등은 예측 단위로 결정되고, 예측의 수행은 변환 단위로 수행될 수도 있다. 생성된 예측블록과 원본블록 사이의 잔차값(잔차 블록)은 변환부(115)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 벡터 정보등은 잔차값과 함께 엔트로피 부호화부(130)에서 부호화되어 복호화기에 전달될 수 있다.특정한 부호화 모드를 사용할 경우, 예측부(110)를 통해 예측 블록을 생성하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다The prediction unit 110 may include an inter-picture prediction unit for performing inter-picture prediction and an intra-picture prediction unit for performing intra-picture prediction. It is possible to determine whether to use intra-picture prediction or intra-picture prediction for a prediction unit, and to determine concrete information (for example, intra-picture prediction mode, motion vector, reference picture, etc.) according to each prediction method. At this time, the processing unit in which the prediction is performed may be different from the processing unit in which the prediction method and the concrete contents are determined. For example, the method of prediction, the prediction mode and the like are determined as a prediction unit, and the execution of the prediction may be performed in a conversion unit. The residual value (residual block) between the generated prediction block and the original block may be input to the converter 115. In addition, the prediction mode information, motion vector information, and the like used for the prediction may be encoded by the entropy encoding unit 130 together with the residual value, and then transmitted to the decoder. When using a specific encoding mode, It is also possible to encrypt the original block as it is without generating a block and transmit it to the decoding unit

화면 간 예측부는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐의 정보를 기초로 예측 단위를 예측할 수 있다. 화면 간 예측부는 참조 픽쳐 보간부, 움직임 예측부, 움직임 보상부가 포함할 수 있다. The inter picture prediction unit may predict a prediction unit based on information of at least one picture of a previous picture or a following picture of the current picture. The inter picture prediction unit may include a reference picture interpolation unit, a motion prediction unit, and a motion compensation unit.

참조 픽쳐 보간부에서는 메모리(150)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 휘도 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.In the reference picture interpolating unit, reference picture information is supplied from the memory 150 and pixel information of an integer pixel or less can be generated in the reference picture. In the case of a luminance pixel, a DCT-based interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of quarter pixels. In the case of a color difference signal, a DCT-based 4-tap interpolation filter having a different filter coefficient may be used to generate pixel information of an integer number of pixels or less in units of 1/8 pixel.

움직임 예측부는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 예측을 수행할 수 있다. 움직임 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터값을 가질 수 있다. 움직임 예측부에서는 움직임 예측 방법을 다르게 하여 현재 예측 단위를 예측할 수 있다. 움직임 예측 방법으로 스킵(Skip) 방법, 머지(Merge) 방법, AMVP(Advanced Motion Vector Prediction)방법 등 다양한 방법이 사용될 수 있다.The motion prediction unit can perform motion prediction based on the reference picture interpolated by the reference picture interpolating unit. As a method for calculating a motion vector, various methods such as a full search-based block matching algorithm (FBMA), a three step search (TSS), and a new three-step search algorithm (NTS) may be used. The motion vector may have a motion vector value of 1/2 or 1/4 pixel unit based on the interpolated pixel. The motion prediction unit can predict the current prediction unit by differently performing the motion prediction method. As the motion prediction method, various methods such as a skip method, a merge method, and an AMVP (Advanced Motion Vector Prediction) method can be used.

화면 내 예측부는 현재 픽쳐 내의 화소 정보인 현재 블록 주변의 참조 픽셀정보를 기초로 예측 단위를 생성할 수 있다. 현재 예측 단위의 주변 블록이 화면 간 예측을 수행한 블록이어서, 참조 픽셀이 화면 간 예측을 수행한 픽셀일 경우, 화면 간 예측을 수행한 블록에 포함되는 참조 픽셀을 주변의 화면 내 예측을 수행한 블록의 참조 픽셀 정보로 대체하여 사용할 수 있다. 즉, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀 정보를 가용한 참조 픽셀 중 적어도 하나의 참조 픽셀로 대체하여 사용할 수 있다.The intra prediction unit can generate a prediction unit based on the reference pixel information around the current block which is the pixel information in the current picture. In the case where the neighboring blocks of the current prediction unit are the blocks in which the inter-screen prediction is performed, and the reference pixels are the pixels performing the inter-screen prediction, the intra-picture prediction is performed on the reference pixels included in the block in which the inter- Block reference pixel information. That is, when the reference pixel is not available, the reference pixel information that is not available may be replaced by at least one reference pixel among the available reference pixels.

화면 내 예측에서 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행시 방향성 정보을 사용하지 않는 비방향성 모드를 가질 수 있다. 휘도 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드가 상이할 수 있고, 색차 정보를 예측하기 위해 휘도 정보를 예측한 화면 내 예측 모드 정보 또는 예측된 휘도 신호 정보를 활용할 수 있다.In the intra prediction, the prediction mode may have a directional prediction mode in which reference pixel information is used according to a prediction direction, and a non-directional mode in which direction information is not used in performing prediction. The mode for predicting the luminance information may be different from the mode for predicting the chrominance information, and intra prediction mode information or predicted luminance signal information in which luminance information is predicted can be used to predict the chrominance information.

화면 내 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 화면 내 예측을 수행하지만, 화면 내 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 화면 내 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 NxN 분할을 사용하는 화면 내 예측을 사용할 수 있다.When intra prediction is performed, when the size of the prediction unit is the same as the size of the conversion unit, the intra prediction is performed based on pixels existing on the left side of the prediction unit, pixels existing on the upper left side, Prediction can be performed using the reference pixel based on the conversion unit when the size of the prediction unit and the size of the conversion unit are different when the intra prediction is performed. In addition, intra prediction using NxN division may be used only for a minimum coding unit.

화면 내 예측 방법은 예측 모드에 따라 참조 화소에 AIS(Adaptive Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 화소에 적용되는 AIS 필터의 종류는 상이할 수 있다. 화면 내 예측 방법을 수행하기 위해 현재 예측 단위의 화면 내 예측 모드는 현재 예측 단위의 주변에 존재하는 예측 단위의 화면 내 예측 모드로부터 예측할 수 있다. 주변 예측 단위로부터 예측된 모드 정보를 이용하여 현재 예측 단위의 예측 모드를 예측하는 경우, 현재 예측 단위와 주변 예측 단위의 화면 내 예측 모드가 동일할 경우, 소정의 플래그 정보를 이용하여 현재 예측 단위와 주변 예측 단위의 예측 모드가 동일하다는 정보를 전송할 수 있고, 만약, 현재 예측 단위와 주변 예측 단위의 예측 모드가 상이할 경우, 엔트로피 부호화를 수행하여 현재 블록의 예측 모드 정보를 부호화할 수 있다. In the intra prediction method, an AIS (Adaptive Intra Smoothing) filter can be applied to a reference pixel according to a prediction mode, and a prediction block can be generated. The type of the AIS filter applied to the reference pixel may be different. To perform the intra prediction method, the intra prediction mode of the current prediction unit can be predicted from the intra prediction mode of the prediction unit existing around the current prediction unit. When the prediction mode of the current prediction unit is predicted using the mode information predicted from the peripheral prediction unit and the intra prediction mode of the current prediction unit is the same as the intra prediction mode of the current prediction unit, Information indicating that the prediction mode of the neighbor prediction unit is the same can be transmitted. If the prediction mode of the current prediction unit differs from that of the neighbor prediction unit, the prediction mode information of the current block can be encoded by performing entropy encoding.

또한, 예측부(110)에서 생성된 예측 단위를 기초로 예측을 수행한 예측 단위와 예측 단위의 원본 블록과 차이값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성될 수 있다. 생성된 잔차 블록은 변환부(115)로 입력될 수 있다. 변환부(115)에서는 원본 블록과 예측부(110)를 통해 생성된 예측 단위의 잔차값(residual)정보를 포함한 잔차 블록을 DCT(Discrete Cosine Transform) 또는 DST(Discrete Sine Transform)와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지 DST를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 단위의 화면 내 예측 모드 정보를 기초로 결정할 수 있다. In addition, a residual block including a prediction unit that has been predicted based on the prediction unit generated by the prediction unit 110 and residual information that is a difference value between the original block of the prediction unit and the residual block may be generated. The generated residual block may be input to the conversion unit 115. The transform unit 115 converts the residual block including residual information of the original block and the prediction unit generated by the prediction unit 110 such as a discrete cosine transform (DCT) or a discrete sine transform (DST). Can be converted using Whether to apply DCT or DST to transform the residual block may be determined based on intra prediction mode information of the prediction unit used to generate the residual block.

양자화부(120)는 변환부(115)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(120)에서 산출된 값은 역양자화부(135)와 재정렬부(125)에 제공될 수 있다. The quantization unit 120 may quantize the values converted into the frequency domain by the conversion unit 115. [ The quantization factor may vary depending on the block or the importance of the image. The values calculated by the quantization unit 120 may be provided to the inverse quantization unit 135 and the reorder unit 125.

재정렬부(125)는 양자화된 잔차값에 대해 계수값의 재정렬을 수행할 수 있다.The reordering unit 125 may reorder the coefficient values with respect to the quantized residual values.

재정렬부(125)는 계수 스캐닝(Coefficient Scanning) 방법을 통해 2차원의 블록 형태 계수를 1차원의 벡터 형태로 변경할 수 있다. 예를 들어, 재정렬부(125)에서는 지그-재그 스캔(Zig-Zag Scan)방법을 이용하여 DC 계수부터 고주파수 영역의 계수까지 스캔하여 1차원 벡터 형태로 변경시킬 수 있다. 변환 단위의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔 방법이 아닌 2차원의 블록 형태 계수를 열 방향으로 스캔하는 수직 스캔 방법, 2차원의 블록 형태 계수를 행 방향으로 스캔하는 수평 스캔 방법이 사용될 수 있다. 즉, 변환 단위의 크기 및 화면 내 예측 모드에 따라 지그-재그 스캔, 수직 방향 스캔 및 수평 방향 스캔 중 어떠한 스캔 방법이 사용될지 여부를 결정할 수 있다.The reordering unit 125 may change the two-dimensional block type coefficient to a one-dimensional vector form through a coefficient scanning method. For example, the reordering unit 125 may scan from a DC coefficient to a coefficient of a high frequency region by using a Zig-Zag Scan method and change it into a one-dimensional vector. Depending on the size of the transformation unit and the intra prediction mode, the vertical scan method that scans two-dimensional block shape coefficients in the column direction rather than the zig-zag scan method, and the horizontal scan method that scans the two-dimensional block shape coefficients in the row direction Can be used. That is, it is possible to determine whether any scan method among the jig-zag scan, the vertical scan, and the horizontal scan is used according to the size of the conversion unit and the intra prediction mode.

엔트로피 부호화부(130)는 재정렬부(125)에 의해 산출된 값들을 기초로 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화는 예를 들어, 지수 골롬(Exponential Golomb), CAVLC(Context-Adaptive Variable Length Coding), CABAC(Context-Adaptive Binary Arithmetic Coding)과 같은 다양한 부호화 방법을 사용할 수 있다.The entropy encoding unit 130 may perform entropy encoding based on the values calculated by the reordering unit 125. For entropy encoding, various encoding methods such as Exponential Golomb, Context-Adaptive Variable Length Coding (CAVLC), and Context-Adaptive Binary Arithmetic Coding (CABAC) may be used.

엔트로피 부호화부(130)는 재정렬부(125) 및 예측부(110)로부터 부호화 단위의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 단위 정보 및 전송 단위 정보, 움직임 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 부호화할 수 있다. The entropy encoder 130 receives residual coefficient coefficient information, block type information, prediction mode information, partition unit information, prediction unit information, transmission unit information, and motion vector information of the coding unit from the reordering unit 125 and the prediction unit 110. Various information such as reference frame information, interpolation information of a block, and filtering information may be encoded.

엔트로피 부호화부(130)에서는 재정렬부(125)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다. The entropy encoding unit 130 can entropy-encode the coefficient value of the encoding unit input from the reordering unit 125. [

엔트로피 부호화부(130)에서는 가변 길이 부호화 테이블(Variable Length Coding Table)과 같은 엔트로피 부호화를 수행하기 위한 테이블이 저장될 수 있고 저장된 가변 길이 부호화 테이블을 사용하여 엔트로피 부호화를 수행할 수 있다. 엔트로피 부호화를 수행함에 있어서 테이블에 포함된 일부의 코드 워드(Codeword)에 카운터(Counter)를 이용한 방법 또는 직접 변환(Direct Swapping)방법을 사용하여 해당 정보의 코드 번호에 대한 코드 워드 할당을 변화시킬 수 있다. 예를 들어, 코드 번호와 코드 워드를 매핑하는 테이블에서 적은 비트수의 코드 워드가 할당된 상위 몇 개의 코드 번호의 경우, 카운터를 사용해 코드 번호의 합산된 발생 횟수가 가장 많은 코드 번호에 짧은 길이의 코드 워드를 할당할 수 있도록 적응적으로 코드 워드와 코드 번호를 매핑하는 테이블의 매핑 순서를 바꿀 수 있다. 카운터에서 카운팅된 횟수가 소정의 임계값에 이른 경우, 카운터에 기록된 카운팅 횟수를 반으로 나누어 다시 카운팅을 수행할 수 있다. In the entropy coding unit 130, a table for performing entropy coding such as a variable length coding table may be stored, and entropy coding may be performed using a stored variable length coding table. In performing entropy coding, it is possible to change a codeword allocation for a code number of a corresponding code word by using a method using a counter or a direct swapping method for a part of codewords included in a table have. For example, in a table for mapping a code number and a code word, in the case of a few upper code numbers assigned with a code word of a smaller number of bits, a code number having the largest number of code numbers It is possible to change the mapping order of the table that adaptively maps code words and code numbers so that code words can be assigned. When the counted number of times in the counter reaches a predetermined threshold value, the counter counting can be performed by dividing the counted number recorded in the counter in half.

카운팅을 수행하지 않는 테이블 내의 코드 번호는 직접 변환(Direct Swapping) 방법을 사용하여 코드 번호에 해당하는 정보가 발생할 경우, 바로 위의 코드 번호와 자리를 변환하는 방법을 통해 해당 코드 번호에 할당되는 비트 수를 적게하여 엔트로피 부호화를 수행할 수 있다. The code number in the table that does not perform counting is a bit number assigned to the corresponding code number through the method of converting the code number and the digit directly above when the information corresponding to the code number is generated by using the direct swapping method The entropy encoding can be performed with a smaller number.

역양자화부(135) 및 역변환부(140)에서는 양자화부(120)에서 양자화된 값들을 역양자화하고 변환부(115)에서 변환된 값들을 역변환한다. 역양자화부(135) 및 역변환부(140)에서 생성된 잔차값(Residual)은 예측부(110)에 포함된 움직임 추정부, 움직임 보상부 및 인트라 예측부를 통해서 예측된 예측 단위와 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다. The inverse quantization unit 135 and the inverse transformation unit 140 dequantize the quantized values in the quantization unit 120 and invert the converted values in the conversion unit 115. [ The residual value generated by the inverse quantization unit 135 and the inverse transform unit 140 is combined with the prediction unit predicted through the motion estimation unit, the motion compensation unit and the intra prediction unit included in the prediction unit 110, Reconstructed Block can be created.

필터부(145)는 디블록킹 필터, 오프셋 보정부, ALF(Adaptive Loop Filter)중 적어도 하나를 포함할 수 있다. The filter unit 145 may include at least one of a deblocking filter, an offset correction unit, and an adaptive loop filter (ALF).

디블록킹 필터(145)는 복원된 픽쳐에서 블록간의 경계로 인해 생긴 블록 왜곡을 제거할 수 있다. 디블록킹을 수행할지 여부를 판단하기 위해 블록에 포함된 몇 개의 열 또는 행에 포함된 픽셀을 기초로 현재 블록에 디블록킹 필터 적용할지 여부를 판단할 수 있다. 블록에 디블록킹 필터를 적용하는 경우 필요한 디블록킹 필터링 강도에 따라 강한 필터(Strong Filter) 또는 약한 필터(Weak Filter)를 적용할 수 있다. 또한 디블록킹 필터를 적용함에 있어 수직 필터링 및 수평 필터링을 수행시 수평 방향 필터링 및 수직 방향 필터링이 병행 처리되도록 할 수 있다.The deblocking filter 145 may remove block distortion caused by boundaries between blocks in the reconstructed picture. It may be determined whether to apply a deblocking filter to the current block based on pixels included in a few columns or rows included in the block to determine whether to perform deblocking. When a deblocking filter is applied to a block, a strong filter or a weak filter may be applied according to the deblocking filtering strength required. In applying the deblocking filter, the horizontal filtering and the vertical filtering may be performed in parallel when the vertical filtering and the horizontal filtering are performed.

오프셋 보정부는 디블록킹을 수행한 영상에 대해 픽셀 단위로 원본 영상과의 오프셋을 보정할 수 있다. 특정 픽쳐에 대한 오프셋 보정을 수행하기 위해 영상에 포함된 픽셀을 일정한 수의 영역으로 구분한 후 오프셋을 수행할 영역을 결정하고 해당 영역에 오프셋을 적용하는 방법 또는 각 픽셀의 에지 정보를 고려하여 오프셋을 적용하는 방법을 사용할 수 있다.The offset correction unit may correct the offset of the deblocked image with respect to the original image in units of pixels. In order to perform offset correction for a specific picture, pixels included in an image are divided into a predetermined number of areas, and then an area to be offset is determined and an offset is applied to the area. Alternatively, Can be used.

ALF (Adaptive Loop Filter)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 영상에 포함된 픽셀을 소정의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF를 적용할지 여부에 관련된 정보는 휘도 신호는 부호화 단위(Coding Unit, CU) 별로 전송될 수 있고, 각각의 블록에 따라 적용될 ALF의 크기 및 계수는 달라질 수 있다. ALF는 다양한 형태를 가질 수 있으며, 필터에 그에 따라 포함되는 계수의 갯수도 달라질 수 있다. 이러한 ALF의 필터링 관련 정보(필터 계수 정보, ALF On/Off 정보, 필터 형태 정보)는 비트스트림에서 소정의 파라메터 셋에 포함되어 전송될 수 있다.The ALF (Adaptive Loop Filter) can perform filtering based on a value obtained by comparing the filtered restored image and the original image. After dividing the pixels included in the image into a predetermined group, one filter to be applied to the group may be determined and different filtering may be performed for each group. The information related to whether to apply the ALF may be transmitted for each coding unit (CU), and the size and the coefficient of the ALF to be applied may be changed according to each block. The ALF may have various forms, and the number of coefficients included in the filter may also vary. The filtering-related information (filter coefficient information, ALF On / Off information, filter type information) of the ALF can be transmitted in a predetermined parameter set in the bitstream.

메모리(150)는 필터부(145)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 화면 간 예측을 수행 시 예측부(110)에 제공될 수 있다.
The memory 150 may store the reconstructed block or picture calculated through the filter unit 145 and the reconstructed block or picture stored therein may be provided to the predictor 110 when inter-picture prediction is performed.

도 2는 본 발명의 다른 실시예에 따른 영상 복호화기를 나타낸 블록도이다.2 is a block diagram of an image decoder according to another embodiment of the present invention.

도 2를 참조하면, 영상 복호화기(200)는 엔트로피 복호화부(2110), 재정렬부(215), 역양자화부(220), 역변환부(225), 예측부(230), 필터부(235), 메모리(240)가 포함될 수 있다.2, the image decoder 200 includes an entropy decoding unit 2110, a reordering unit 215, an inverse quantization unit 220, an inverse transform unit 225, a prediction unit 230, a filter unit 235, , And a memory 240 may be included.

영상 부호화기에서 영상 비트스트림이 입력된 경우, 입력된 비트스트림은 영상 부호화기와 반대의 절차로 복호화될 수 있다.When an image bitstream is input in the image encoder, the input bitstream may be decoded in a procedure opposite to that of the image encoder.

엔트로피 복호화부(210)는 영상 부호화기의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 예를 들어, 영상 부호화기에서 엔트로피 부호화를 수행하기 위해 사용된 VLC 테이블은 엔트로피 복호화부에서도 동일한 가변 길이 부호화 테이블로 구현되어 엔트로피 복호화를 수행할 수 있다. 엔트로피 복호화부(210)에서 복호화된 정보 중 예측 블록을 생성하기 위한 정보는 예측부(230)로 제공되고 엔트로피 복호화부에서 엔트로피 복호화를 수행한 잔차값은 재정렬부(215)로 입력될 수 있다. The entropy decoding unit 210 can perform entropy decoding in a procedure opposite to that in which entropy encoding is performed in the entropy encoding unit of the image encoder. For example, a VLC table used for performing entropy encoding in an image coder can be implemented as an entropy decoding table in the same variable-length coding table to perform entropy decoding. Information for generating a prediction block from the information decoded by the entropy decoding unit 210 may be provided to the predicting unit 230 and residual values obtained by performing entropy decoding in the entropy decoding unit may be input to the rearranging unit 215.

엔트로피 복호화부(210)에서도 엔트로피 부호화부와 마찬가지로 카운터(Counter) 또는 직접 변환(Direct Swapping) 방법을 이용해 코드 워드 할당 테이블을 변화시킬 수 있고, 변화된 코드 워드 할당 테이블에 기초하여 엔트로피 복호화를 수행할 수 있다.The entropy decoding unit 210 may change the codeword allocation table using a counter or a direct swapping method as in the case of the entropy coding unit and may perform entropy decoding based on the changed codeword allocation table have.

엔트로피 복호화부(210)에서는 부호화기에서 수행된 화면 내 예측 및 화면 간 예측에 관련된 정보를 복호화할 수 있다. 전술한 바와 같이 영상 부호화기에서 화면 내 예측 및 화면 간 예측을 수행시 소정의 제약이 있는 경우, 이러한 제약을 기초로 한 엔트로피 복호화를 수행해 현재 블록에 대한 화면 내 예측 및 화면 간 예측에 관련된 정보를 제공받을 수 있다. The entropy decoding unit 210 can decode information related to intra-picture prediction and inter-picture prediction performed by the encoder. As described above, when there is a predetermined constraint in performing intra-frame prediction and inter-frame prediction in the image encoder, entropy decoding based on such constraints is performed to provide information related to intra-frame prediction and inter-frame prediction for the current block Can receive.

재정렬부(215)는 엔트로피 복호화부(210)에서 엔트로피 복호화된 비트스트림을 부호화부에서 재정렬한 방법을 기초로 재정렬을 수행할 수 있다. 1차원 벡터 형태로 표현된 계수들을 다시 2차원의 블록 형태의 계수로 복원하여 재정렬할 수 있다. 재정렬부에서는 부호화부에서 수행된 계수 스캐닝에 관련된 정보를 제공받고 해당 부호화부에서 수행된 스캐닝 순서에 기초하여 역으로 스캐닝하는 방법을 통해 재정렬을 수행할 수 있다. The reordering unit 215 can perform reordering based on a method in which the entropy decoding unit 210 rearranges the entropy-decoded bitstreams in the encoding unit. The coefficients represented by the one-dimensional vector form can be rearranged by restoring the coefficients of the two-dimensional block form again. The reordering unit may perform reordering by receiving information related to the coefficient scanning performed by the encoding unit and performing a reverse scanning based on the scanning order performed by the encoding unit.

역양자화부(220)는 부호화기에서 제공된 양자화 파라미터와 재정렬된 블록의 계수값을 기초로 역양자화를 수행할 수 있다. The inverse quantization unit 220 can perform inverse quantization based on the quantization parameters provided by the encoder and the coefficient values of the re-arranged blocks.

역변환부(225)는 영상 부호화기에서 수행한 양자화 결과에 대해 변환부에서 수행한 DCT 및 DST에 대해 역 DCT 및 역 DST를 수행할 수 있다. 역변환은 영상 부호화기에서 결정된 전송 단위를 기초로 수행될 수 있다. 영상 부호화기의 변환부에서는 DCT와 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 영상 복호화기의 역변환부(225)에서는 영상 부호화기의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다. The inverse transform unit 225 may perform inverse DCT and inverse DST on the DCT and DST performed by the transform unit on the quantization result performed by the image encoder. The inverse transform can be performed based on the transmission unit determined by the image encoder. In the transform unit of the image encoder, DCT and DST can be selectively performed according to a plurality of information such as a prediction method, a size and a prediction direction of a current block, and an inverse transform unit 225 of the image decoder performs transform The inverse transform can be performed based on the transformed information.

변환을 수행시 변환 단위가 아닌 부호화 단위를 기준으로 변환을 수행할 수 있다.When performing a conversion, conversion can be performed based on an encoding unit rather than a conversion unit.

예측부(230)는 엔트로피 복호화부(210)에서 제공된 예측 블록 생성 관련 정보와 메모리(240)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다. The prediction unit 230 may generate a prediction block based on the prediction block generation related information provided by the entropy decoding unit 210 and the previously decoded block or picture information provided in the memory 240. [

전술한 바와 같이 영상 부호화기에서의 동작과 동일하게 화면 내 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 동일할 경우, 예측 단위의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 단위에 대한 화면 내 예측을 수행하지만, 화면 내 예측을 수행시 예측 단위의 크기와 변환 단위의 크기가 상이할 경우, 변환 단위를 기초로 한 참조 픽셀을 이용하여 화면 내 예측을 수행할 수 있다. 또한, 최소 부호화 단위에 대해서만 NxN 분할을 사용하는 화면 내 예측을 사용할 수 있다.As described above, when the intra prediction is performed in the same manner as in the image encoder, when the size of the prediction unit and the size of the conversion unit are the same, pixels located on the left side of the prediction unit, pixels located on the upper left side, The intra prediction is performed on the prediction unit on the basis of the existing pixel. However, when the intra prediction is performed, when the size of the prediction unit differs from the size of the conversion unit, Prediction can be performed. In addition, intra prediction using NxN division may be used only for a minimum coding unit.

예측부(230)는 예측 단위 판별부, 화면 간 예측부 및 화면 내 예측부를 포함할 수 있다. 예측 단위 판별부는 엔트로피 복호화부에서 입력되는 예측 단위 정보, 화면 내 예측 방법의 예측 모드 정보, 화면 간 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 단위에서 예측 단위를 구분하고, 예측 단위가 화면 간 예측을 수행하는지 아니면 화면 내 예측을 수행하는지 여부를 판별할 수 있다. 화면 간 예측부는 영상 부호화기에서 제공된 현재 예측 단위의 화면 간 예측에 필요한 정보를 이용해 현재 예측 단위가 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 단위에 대한 화면 간 예측을 수행할 수 있다.The prediction unit 230 may include a prediction unit determination unit, an inter picture prediction unit, and an intra prediction unit. The prediction unit determination unit receives various information such as prediction unit information input from the entropy decoding unit, prediction mode information of the intra prediction method, motion prediction related information of the inter picture prediction method, and separates the prediction unit from the current coding unit. Screen prediction or intra-picture prediction can be discriminated. The inter-picture prediction unit may use information necessary for inter-picture prediction of the current prediction unit provided by the image encoder to predict the current prediction unit based on information included in at least one of the previous picture of the current picture or the following picture including the current prediction unit The inter-picture prediction can be performed.

화면 간 예측을 수행하기 위해 부호화 단위를 기준으로 해당 부호화 단위에 포함된 예측 단위의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다. In order to perform the inter-picture prediction, whether the motion prediction method of the prediction unit included in the coding unit is based on a skip mode, a merge mode, or an AMVP mode Can be determined.

화면 내 예측부는 현재 픽쳐 내의 화소 정보를 기초로 예측 블록을 생성할 수 있다. 예측 단위가 화면 내 예측을 수행한 예측 단위인 경우, 영상 부호화기에서 제공된 예측 단위의 화면 내 예측 모드 정보를 기초로 화면 내 예측을 수행할 수 있다. 화면 내 예측부에는 AIS 필터, 참조 화소 보간부, DC 필터를 포함할 수 있다. AIS 필터는 현재 블록의 참조 화소에 필터링을 수행하는 부분으로써 현재 예측 단위의 예측 모드에 따라 필터의 적용 여부를 결정하여 적용할 수 있다. 영상 부호화기에서 제공된 예측 단위의 예측 모드 및 AIS 필터 정보를 이용하여 현재 블록의 참조 화소에 AIS 필터링을 수행할 수 있다. 현재 블록의 예측 모드가 AIS 필터링을 수행하지 않는 모드일 경우, AIS 필터는 적용되지 않을 수 있다.The intra prediction unit may generate a prediction block based on pixel information in the current picture. If the prediction unit is a prediction unit that performs intra prediction, the intra prediction can be performed based on the intra prediction mode information of the prediction unit provided by the image encoder. The intra-frame prediction unit may include an AIS filter, a reference pixel interpolator, and a DC filter. The AIS filter performs filtering on the reference pixels of the current block and can determine whether to apply the filter according to the prediction mode of the current prediction unit. The AIS filtering can be performed on the reference pixel of the current block using the prediction mode of the prediction unit provided in the image encoder and the AIS filter information. When the prediction mode of the current block is a mode in which AIS filtering is not performed, the AIS filter may not be applied.

참조 화소 보간부는 예측 단위의 예측 모드가 참조 화소를 보간한 화소값을 기초로 화면 내 예측을 수행하는 예측 단위일 경우, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성할 수 있다. 현재 예측 단위의 예측 모드가 참조 화소를 보간하지 않고 예측 블록을 생성하는 예측 모드일 경우 참조 화소는 보간되지 않을 수 있다. DC 필터는 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성할 수 있다. When the prediction mode of the prediction unit is a prediction unit that performs intra prediction based on pixel values obtained by interpolating the reference pixels, the reference pixel interpolator may generate reference pixels having an integer value or less by interpolating the reference pixels. . The reference pixel may not be interpolated in the prediction mode in which the prediction mode of the current prediction unit generates the prediction block without interpolating the reference pixel. The DC filter can generate a prediction block through filtering when the prediction mode of the current block is the DC mode.

복원된 블록 또는 픽쳐는 필터부(235)로 제공될 수 있다. 필터부(235)는 디블록킹 필터, 오프셋 보정부, ALF를 포함할 수 있다.The restored block or picture may be provided to the filter unit 235. The filter unit 235 may include a deblocking filter, an offset correction unit, and an ALF.

영상 부호화기로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 영상 복호화기의 디블록킹 필터에서는 영상 부호화기에서 제공된 디블록킹 필터 관련 정보를 제공받고 영상 복호화기에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. 영상 부호화기에서와 마찬가지로 우선 수직 디블록킹 필터링 및 수평 디블록킹 필터링을 수행하되, 겹치는 부분에 있어서는 수직 디블록킹 및 수평 디블록킹 중 적어도 하나를 수행할 수 있다. 수직 디블록킹 필터링 및 수평 디블록킹 필터링이 겹치는 부분에서 이전에 수행되지 못한 수직 디블록킹 필터링 또는 수평 디블록킹 필터링이 수행될 수 있다. 이러한 디블록킹 필터링 과정을 통해서 디블록킹 필터링의 병행 처리(Parallel Processing)이 가능하다. When information on whether a deblocking filter is applied to a corresponding block or picture from the image encoder or a deblocking filter is applied, information on whether a strong filter or a weak filter is applied can be provided. In the deblocking filter of the video decoder, the deblocking filter related information provided by the video encoder is provided, and the video decoder can perform deblocking filtering for the corresponding block. The vertical deblocking filtering and the horizontal deblocking filtering are performed in the same manner as in the image encoder, and at least one of the vertical deblocking and the horizontal deblocking can be performed in the overlapping portion. Vertical deblocking filtering or horizontal deblocking filtering that has not been performed previously can be performed at the overlapping portions of the vertical deblocking filtering and the horizontal deblocking filtering. Parallel processing of deblocking filtering is possible through the deblocking filtering process.

오프셋 보정부는 부호화시 영상에 적용된 오프셋 보정의 종류 및 오프셋 값정보 등을 기초로 복원된 영상에 오프셋 보정을 수행할 수 있다.The offset correction unit may perform offset correction on the reconstructed image based on the type of offset correction applied to the image and the offset value information during encoding.

ALF는 필터링을 수행 후 복원된 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 부호화기로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 ALF를 적용할 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.The ALF can perform filtering based on the comparison between the reconstructed image and the original image after filtering. The ALF can be applied to the encoding unit based on the ALF application information and the ALF coefficient information provided from the encoder. Such ALF information may be provided in a specific parameter set.

메모리(240)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력부로 제공할 수 있다. The memory 240 may store the reconstructed picture or block to use as a reference picture or reference block, and may provide the reconstructed picture to the output unit.

전술한 바와 같이 이하, 본 발명의 실시예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 단위라는 용어로 사용하지만, 부호화 뿐만 아니라 복호화를 수행하는 단위가 될 수도 있다. 이하, 본 발명의 실시예에 따른 도 3내지 도 8에서 설명하는 두개의 후보 인트라 예측 모드를 이용한 화면 내 예측 모드의 부/복호화 방법은 도 1 및 도 2에서 전술한 각 모듈의 기능에서 맞게 구현될 수 있고 이러한 부호화기 및 복호화기는 본 발명의 권리범위에 포함된다.
As described above, in the embodiment of the present invention, a coding unit is used as a coding unit for convenience of description, but may also be a unit for performing decoding as well as encoding. Hereinafter, an encoding / decoding method of an intra prediction mode using the two candidate intra prediction modes described with reference to FIGS. 3 to 8 according to an embodiment of the present invention is implemented according to the functions of the respective modules described above with reference to FIGS. 1 and 2. And such an encoder and a decoder are included in the scope of the present invention.

도 3은 본 발명의 또 다른 실시예에 따른 공간적인 후보 예측 블록의 명칭을 정의하기 위한 개념도이다. 3 is a conceptual diagram for defining a name of a spatial candidate prediction block according to another embodiment of the present invention.

현재 예측 단위의 좌측 상단에 존재하는 픽셀의 위치를 (x, y), 현재 예측 단위의 폭을 nPSW, 너비를 nPSH라는 변수로 정의한다. 공간적 후보 예측 단위를 표현하기 위한 변수인 MinPuSize는 예측 단위에서 사용할 수 있는 가장 작은 예측 단위의 크기를 나타낸다. (X, y), the width of the current prediction unit is defined as nPSW, and the width is defined as a variable called nPSH. MinPuSize, a variable for representing a spatial candidate prediction unit, indicates the size of the smallest prediction unit that can be used in the prediction unit.

이하, 본 발명의 실시예에서는 (x-1, y) 위치에 존재하는 픽셀을 포함하는 블록을 좌측 상단 블록(300), (x, y-1) 위치에 존재하는 픽셀을 포함하는 블록을 상단 좌측 제1 블록(310), (x-MinPuSize, y-1) 위치에 존재하는 픽셀을 포함하는 블록을 상단 좌측 제2 블록(320)이라는 용어로 정의한다.Hereinafter, in the exemplary embodiment of the present invention, the block including the pixel existing at the position (x-1, y) is the upper left block 300, and the block including the pixel present at the position (x, y-1) is the uppermost. A block including a pixel existing at a left first block 310 and a (x-MinPuSize, y-1) position is defined as a term of the upper left second block 320.

또한, (x+nPSW-MinPuSize, y-1) 위치에 존재하는 픽셀을 포함하는 블록을 상단 우측 제1 블록(330), (x+nPW+1, y-1) 위치에 존재하는 픽셀을 포함하는 블록을 상단 우측 제2 블록(340)이라는 용어로 정의하고 (x-1, y+nPSH-MinPuSize) 위치에 존재하는 픽셀을 포함하는 블록을 좌측 하단 제1 블록(350), (x-1, y+nPSH) 위치에 존재하는 픽셀을 포함하는 블록을 좌측 하단 제2 블록(360)이라는 용어로 정의한다.
Also, the block including the pixel existing at the position (x + nPSW-MinPuSize, y-1) includes the pixel existing at the position of the upper right first block 330 and the (x + nPW + 1, y-1) position. The block to be defined is defined as a term of the upper right second block 340, and a block including a pixel existing at a position (x-1, y + nPSH-MinPuSize) is defined as a lower left first block 350 and (x-1). , a block including a pixel present at a position of y + nPSH) is defined as a term of a lower left second block 360.

도 4는 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.4 is a conceptual diagram illustrating a method of constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.

도 4를 참조하면, 머지 모드에서 후보 블록 리스트는 모든 블록이 가용하다고 가정하는 경우, 첫번째로 좌측 하단 제2 블록(400), 두번째로 상단 우측 제2 블록(410), 세번째로 좌측 하단 제1 블록(420), 네번째로 상단 우측 제1 블록(430), 다섯번째로 상단 좌측 제2 블록(440), 여섯번째로 시간적 후보 예측 블록(450)이 될 수 있다.Referring to FIG. 4, in the merge mode, the candidate block list is the first lower left second block 400, the second upper right second block 410, and the third lower left first when assuming that all blocks are available. Block 420, fourth upper right first block 430, fifth upper left second block 440, and sixth temporal candidate prediction block 450.

머지 후보 블록 리스트를 구현함에 있어서 동일한 움직임 정보를 가진 머지 후보는 가장 높은 우선 순위를 가진 머지 후보만을 제외하고는 머지 후보 블록 리스트에서 제외될 수 있다.In implementing the merge candidate block list, a merge candidate having the same motion information may be excluded from the merge candidate block list except only the merge candidate having the highest priority.

머지 후보 블록 리스트에 포함된 머지 후보는 고정된 수를 가질 수 있다. 예를 들어, 머지 후보 블록 리스트는 고정적으로 5개의 머지 후보를 가질 수 있을 수 있다. 또한, 5개의 머지 후보를 가짐에 있어서, 공간적인 후보 예측 블록의 개수는 일정한 수로 제한될 수 있다. 예를 들어, 머지 후보 리스트가 4개의 공간적인 후보 예측 블록을 포함하는 것이 가능한 경우, 좌측 하단 제2 블록(400), 상단 우측 제2 블록(410), 좌측 하단 제1 블록(420), 상단 우측 제1 블록(430) 중 가용하지 않은 블록이 있다면, 우선 순위 순서로 다섯번째인 상단 좌측 제2 블록(440)이 머지 후보 리스트에서 가용하지 않은 블록을 대체할 수 있다.The merge candidates included in the merge candidate block list may have a fixed number. For example, the merge candidate block list may have five merge candidates fixedly. In addition, in having 5 merge candidates, the number of spatial candidate prediction blocks may be limited to a certain number. For example, if it is possible for the merge candidate list to include four spatial candidate prediction blocks, the bottom left second block 400, the top right second block 410, the bottom left first block 420, and the top If there are blocks that are not available among the right first blocks 430, the upper left second block 440, which is fifth in the order of priority, may replace blocks that are not available in the merge candidate list.

AMVP를 사용하는 경우, 좌측 하단 제2 블록(400)에서 좌측 하단 제1 블록(420) 순서로 블록의 가용성 여부를 판단하여 가용한 첫번째 블록의 움직임 벡터를 후보 예측 움직임 벡터로 사용할 수 있다. 다음으로, 상단 우측 제2 블록(410), 상단 우측 제1 블록(430), 상단 좌측 제2 블록(440) 순서로 블록의 가용성 여부를 판단하여 가용한 첫번째 블록의 움직임 벡터를 후보 예측 움직임 벡터로 선택하고 마지막으로 시간적인 후보 예측 블록의 움직임 벡터를 후보 예측 움직임 벡터로 사용할 수 있다. 산출된 후보 예측 움직임 벡터는 후보 예측 움직임 벡터 리스트에 포함될 수 있고, 후보 예측 움직임 벡터가 3개인 경우, 2개의 후보 예측 움직임 벡터만을 사용할 수 있다.
In the case of using AMVP, the availability of the blocks is determined in the order of the lower left second block 400 from the lower left first block 420 to use the motion vector of the first available block as the candidate prediction motion vector. Next, the motion vector of the first block available is determined by determining whether the blocks are available in the order of the upper right second block 410, the upper right first block 430, and the upper left second block 440. Finally, the motion vector of the temporal candidate prediction block may be used as the candidate prediction motion vector. The calculated candidate prediction motion vectors may be included in the candidate prediction motion vector list, and when there are three candidate prediction motion vectors, only two candidate prediction motion vectors may be used.

도 5는 본 발명의 또 다른 실시예에 따른 머지 후보 리스트를 구현하는 방법을 나타낸 순서도이다.5 is a flowchart illustrating a method of implementing a merge candidate list according to another embodiment of the present invention.

좌측 하단 제2 블록이 가용한 경우, 좌측 하단 제2 블록을 머지 후보 리스트에 삽입한다(단계 S500).If the lower left second block is available, the lower left second block is inserted into the merge candidate list (step S500).

상단 우측 제2 블록이 가용한 경우, 상단 우측 제2 블록을 머지 후보 리스트에 삽입한다(단계 S510).If the upper right second block is available, the upper right second block is inserted into the merge candidate list (step S510).

좌측 하단 제1 블록이 가용한 경우, 좌측 하단 제1 블록을 머지 후보 리스트에 삽입한다(단계 S520).If the lower left first block is available, the lower left first block is inserted into the merge candidate list (step S520).

상단 우측 제1 블록이 가용한 경우, 상단 우측 제1 블록을 머지 후보 리스트에 삽입한다(단계 S530).If the upper right first block is available, the upper right first block is inserted into the merge candidate list (step S530).

상단 좌측 제2 블록이 가용한 경우, 상단 좌측 제2 블록을 머지 후보 리스트에 삽입한다(단계 S540).If the upper left second block is available, the upper left second block is inserted into the merge candidate list (step S540).

시간적 후보 예측 블록()이 가용한 경우, 시간적 후보 예측 블록()을 머지 후보 리스트에 삽입한다(단계 S550).If the temporal candidate prediction block h is available, the temporal candidate prediction block h is inserted into the merge candidate list (step S550).

위와 같은 절차를 통해서 머지 후보 블록 리스트를 구성한 후, 6개의 머지 후보가 모두 가용한 경우, 순차적으로 5개의 머지 후보만을 선택하여 머지 후보 리스트를 생성할 수 있다. 또한, 머지 후보 리스트를 구현함에 있어서 복수의 머지 후보가 동일한 움직임 정보(움직임 벡터, 참조 픽쳐 인덱스 등)를 가지고 있는 경우 가장 우선 순위가 높은 머지 후보만을 머지 후보 블록 리스트에 남겨두고 나머지 동일한 머지 후보는 머지 후보 블록 리스트에서 삭제할 수 있다.After the merge candidate block list is configured through the above procedure, when all six merge candidates are available, the merge candidate list may be generated by selecting only five merge candidates sequentially. In the merge candidate list, when a plurality of merge candidates have the same motion information (motion vector, reference picture index, etc.), only the merge candidate with the highest priority is left in the merge candidate block list, and the remaining same merge candidate is It can be deleted from the merge candidate block list.

도 5에서 전술한 머지 후보 리스트 생성 과정을 통해 일정한 수의 머지 후보를 가지는 리스트가 생성되지 못한다면, 추가적 머지 후보를 생성과정을 수행하여 머지 후보 리스트를 생성할 수 있다.If a list having a certain number of merge candidates is not generated through the merge candidate list generation process described above with reference to FIG. 5, the merge candidate list may be generated by performing an additional merge candidate generation process.

예를 들어, 조합 머지 후보 생성 방법은 기존의 머지 후보 리스트에 포함되어 있는 머지 후보의 움직임 정보를 조합하여 새로운 움직임 정보를 가지는 머지 후보를 생성할 수 있다. 머지 후보 리스트에 포함되어 있는 한방향의 움직임 정보를 제1 움직임 정보라고 하고 다른 방향의 움직임 정보를 제2 움직임 정보라고 한다면, 제1 움직임 정보와 제2 움직임 정보를 조합하여 새로운 움직임 정보를 생성해낼 수 있고, 생성된 새로운 움직임 정보를 머지 후보로써 머지 후보 리스트에 포함시킬 수 있다. 이하, 본 발명의 실시예에서는 이러한 머지 정보 생성 방법을 조합 머지 후보 생성 방법이라고 한다.For example, the combined merge candidate generation method may generate a merge candidate having new motion information by combining motion information of the merge candidate included in the existing merge candidate list. If motion information in one direction included in the merge candidate list is called first motion information and motion information in another direction is called second motion information, new motion information may be generated by combining the first motion information and the second motion information. The generated new motion information may be included in the merge candidate list as the merge candidate. Hereinafter, in the embodiment of the present invention, such merge information generation method is referred to as a combined merge candidate generation method.

스케일링 머지 후보 생성 방법은 기존에 존재하는 움직임 벡터의 방향을 반대로 하여 새로운 움직임 벡터를 생성할 수 있다. 예를 들어, 제1 머지 후보로 A라는 값을 가진 벡터가 머지 후보 리스트에 존재하는 경우, 음수값 A 벡터를 가진 제2 머지 후보를 머지 후보 리스트에 포함시킬 수 있다. 이때 참조 픽쳐 리스트 상에서 기존의 A 벡터가 가리키는 참조 픽쳐가 현재 픽쳐로부터 몇번째 참조 픽쳐인지에 관련된 픽쳐 간격 정보를 기초로 반대 방향으로 동일한 픽쳐 간격을 가지는 참조 픽쳐를 음수값 A 벡터가 가리키는 참조 픽쳐를 결정할 수 있다. 현재 픽쳐를 기준으로 A 벡터가 가리키는 참조 픽쳐와 음수값 A 벡터가 가리키는 참조 픽쳐의 거리가 다를 경우, 스케일링을 통해서 벡터값을 변화시킬 수 있다. 만약 복잡도가 높지 않은 방식으로 구현하려는 경우, 음수값 A 벡터를 취했을 때 현재 픽쳐와 반대편 방향의 참조 픽쳐와의 거리가 동일할 경우, 즉, 스케일링을 수행하지 않는 경우에만 스케일링 머지 후보 생성 방법으로 생성된 머지 후보를 머지 후보 리스트에 포함시킬 수 있다.The scaling merge candidate generation method may generate a new motion vector by reversing the direction of an existing motion vector. For example, when a vector having a value A as the first merge candidate exists in the merge candidate list, the second merge candidate having a negative value A vector may be included in the merge candidate list. In this case, the reference picture pointed by the negative vector A refers to a reference picture having the same picture interval in the opposite direction based on the picture gap information related to the reference picture pointed to by the existing A vector on the reference picture list. You can decide. When the distance between the reference picture indicated by the A vector and the reference picture indicated by the negative A vector is different based on the current picture, the vector value may be changed through scaling. If the complexity is to be implemented in a low complexity manner, the scaling merge candidate generation method is generated only when a negative value A vector has the same distance between the current picture and the reference picture in the opposite direction, that is, no scaling is performed. Merge candidates may be included in the merge candidate list.

또한, 기존에 존재하는 머지 후보 리스트에서 움직임 벡터의 값을 0 벡터로 치환하여 새로운 머지 후보 리스트를 생성할 수 있다. 이러한, 머지 정보 생성 방법을 영벡터 머지 후보 생성 방법이라고 한다. In addition, a new merge candidate list may be generated by replacing a value of a motion vector with a zero vector in an existing merge candidate list. This merge information generation method is called a zero vector merge candidate generation method.

도 5에서 전술한 공간적 후보 예측 블록과 시간적 후보 예측 블록으로 머지 후보 리스트를 구성하는 과정을 통해서 머지 후보 리스트에 포함되는 머지 후보가 전부 채워지지 않는 경우, 추가적인 머지 후보 생성 과정을 통해서 머지 후보 리스트에 포함되는 머지 후보를 생성할 수 있다.
When the merge candidate list included in the merge candidate list is not completely filled through the process of constructing the merge candidate list using the spatial candidate prediction block and the temporal candidate prediction block described above with reference to FIG. Merge candidates to be included may be generated.

도 6은 본 발명의 또 다른 실시예에 따른 AMVP 후보 리스트를 구현하는 방법을 나타낸 순서도이다.6 is a flowchart illustrating a method of implementing an AMVP candidate list according to another embodiment of the present invention.

좌측 하단 제2 블록에서 좌측 하단 제1 블록 순서를 기준으로 판단한 가용한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출한다(단계 S600).A motion vector calculated from the first available block determined based on the order of the lower left first blocks in the lower left second block is calculated as the candidate prediction motion vector (step S600).

상단 우측 제2 블록, 상단 우측 제1 블록, 상단 좌측 제2 블록 순서를 기준으로 판단한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출한다(단계 S610).The motion vector calculated in the first block determined based on the order of the upper right second block, the upper right first block, and the upper left second block is calculated as the candidate prediction motion vector (step S610).

시간적 예측 후보 블록이 가용한 경우, 시간적 예측 후보 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출한다(단계 S620).If the temporal prediction candidate block is available, the motion vector calculated from the temporal prediction candidate block is calculated as the candidate prediction motion vector (step S620).

단게 S600에서 단계 S620을 통해 산출된 후보 예측 움직임 벡터는 후보 예측 움직임 벡터 리스트에 포함될 수 있다. 산출된 후보 예측 움직임 벡터 중 동일한 크기의 벡터가 존재하는 경우 우선 순위가 높은 후보 예측 움직임 벡터만을 제외하고 나머지 후보 예측 움직임 벡터는 후보 예측 움직임 벡터 리스트에서 제거할 수 있다. 전술한 바와 같이 후보 예측 움직임 벡터 리스트에는 2개의 고정된 개수의 후보 예측 움직임 벡터가 사용된다면, 만약. 3개의 후보 예측 움직임 벡터가 후보 예측 움직임 벡터 리스트에 존재한다면 우선 순위 순서로 2개의 후보 예측 움직임 벡터만을 사용할 수 있과, 만약 후보 움직임 벡터의 개수가 2개 미만인 경우, 영벡터를 추가하는 방법을 사용하여 후보 예측 움직임 벡터 리스트를 구현할 수 있다.
In operation S600, the candidate prediction motion vector calculated through step S620 may be included in the candidate prediction motion vector list. When the same sized vector exists among the calculated candidate prediction motion vectors, the remaining candidate prediction motion vectors may be removed from the candidate prediction motion vector list except only the candidate prediction motion vectors having high priority. As described above, if two fixed numbers of candidate prediction motion vectors are used in the candidate prediction motion vector list. If three candidate prediction motion vectors exist in the candidate prediction motion vector list, only two candidate prediction motion vectors may be used in order of priority. If the number of candidate motion vectors is less than two, a method of adding zero vectors may be used. Can be used to implement a candidate predicted motion vector list.

도 7은 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다. 7 is a conceptual diagram illustrating a method of constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.

도 7을 참조하면, 머지 후보 리스트를 구성하기 위하여, 첫번째로 좌측 상단 블록(700), 두번째로 상단 좌측 제1 블록(710), 세번째로 상단 우측 제2 블록(720), 네번째로 좌측 하단 제2 블록(730), 다섯번째로 상단 좌측 제2 블록(740), 여섯번째로 시간적인 후보 예측 블록(750)을 이용하여 머지 후보 블록 리스트를 구성할 수 있다.Referring to FIG. 7, in order to construct a merge candidate list, first, an upper left block 700, a second upper left first block 710, a third upper right second block 720, and a fourth lower left first The merge candidate block list may be constructed using the second block 730, the fifth upper left second block 740, and the sixth temporal candidate prediction block 750.

머지 후보 블록 리스트를 구현시 리스트의 다섯번째인 상단 좌측 제2 블록(740)과 리스트의 여섯번째인 시간적인 후보 예측 블록(750)의 우선 순위를 변경하여 첫번째로 좌측 상단 블록(700), 두번째로 상단 좌측 제1 블록(710), 세번째로 상단 우측 제2 블록(720), 네번째로 좌측 하단 제2 블록(730),다섯번째로 시간적인 후보 예측 블록(750), 여섯번째로 상단 좌측 제2 블록(740)을 이용하여 머지 후보 블록 리스트를 구성할 수 있다.When implementing the merge candidate block list, the priority of the fifth upper left second block 740 of the list and the sixth temporal candidate prediction block 750 of the list is changed to be the first upper left block 700 and the second. Upper left first block 710, third upper right second block 720, fourth lower left second block 730, fifth temporal candidate prediction block 750, sixth upper left first The merge candidate block list may be constructed using the two blocks 740.

전술한 바와 같이 머지 후보 블록 리스트는 고정된 수를 가질 수 있다. 예를 들어, 머지 후보 블록 리스트에 5개의 머지 후보를 가질 수 있을 수 있고, 5개의 머지 후보를 가짐에 있어서, 공간적인 후보 예측 블록의 개수는 일정한 수로 제한될 수 있다.As described above, the merge candidate block list may have a fixed number. For example, five merge candidates may be included in the merge candidate block list, and in the case of five merge candidates, the number of spatial candidate prediction blocks may be limited to a certain number.

또한, 동일한 움직임 정보를 가진 머지 후보 블록은 머지 후보 블록 리스트에서 가장 우선 순위가 높은 머지 후보만을 남기고 제외될 수 있다. 또한, 일정한 개수의 머지 후보를 가진 머지 후보 블록 리스트를 사용하는 경우, 전술한 추가적인 머지 후보 생성 과정을 통해서 머지 후보 블록 리스트에 머지 후보를 포함시킬 수 있다.In addition, the merge candidate block having the same motion information may be excluded leaving only the merge candidate having the highest priority in the merge candidate block list. In addition, when a merge candidate block list having a predetermined number of merge candidates is used, the merge candidates may be included in the merge candidate block list through the above-described additional merge candidate generation process.

또한, 마찬가지로 머지 후보 블록 리스트에 일정 개수의 머지 후보 블록이 존재하지 않는 경우, 전술한 조합 머지 후보 생성 방법, 스케일링 머지 후보 생성 방법, 영벡터 머지 후보 생성 방법을 통해서 추가의 머지 후보 블록을 머지 후보 블록 리스트에 포함시킬 수 있다.Similarly, when a certain number of merge candidate blocks do not exist in the merge candidate block list, the merge candidate blocks may be merge candidates through the combined merge candidate generation method, the scaling merge candidate generation method, and the zero vector merge candidate generation method described above. Can be included in the block list.

AMVP의 경우, 상단에서 하나의 블록을 선택함에 있어서, 상단 우측 제2 블록, 상단 좌측 제1 블록, 상단 좌측 제2 블록 순서로 블록의 가용성을 판단하는 것을 제외하고 전술한 도 4 및 도 5에서와 개시한 방법과 동일한 방법으로 후보 예측 벡터를 산출하여 현재 예측 단위의 예측 움직임 벡터를 산출할 수 있다.
In the case of AMVP, in selecting one block from the top, in the above-described FIGS. 4 and 5 except that the availability of the block is determined in the order of the upper right second block, the upper left first block, and the upper left second block. The predictive motion vector of the current prediction unit may be calculated by calculating the candidate prediction vector in the same manner as described above.

도 8은 본 발명의 또 다른 실시예에 따른 머지 후보 리스트 구성 방법을 나타낸 순서도이다. 8 is a flowchart illustrating a merge candidate list construction method according to another embodiment of the present invention.

도 8을 참조하면, 좌측 상단 블록이 가용한 경우, 좌측 상단 블록을 머지 후보 리스트에 포함시킨다(단계 S800).Referring to FIG. 8, when the upper left block is available, the upper left block is included in the merge candidate list (step S800).

상단 좌측 제1 블록이 가용한 경우, 상단 좌측 제1 블록을 머지 후보 리스트에 포함시킨다(단계 S810).If the upper left first block is available, the upper left first block is included in the merge candidate list (step S810).

상단 우측 제2 블록이 가용한 경우, 상단 우측 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S820).If the upper right second block is available, the upper right second block is included in the merge candidate list (step S820).

좌측 하단 제2 블록이 가용한 경우, 좌측 하단 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S830). If the lower left second block is available, the lower left second block is included in the merge candidate list (step S830).

상단 좌측 제2 블록이 가용한 경우, 상단 좌측 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S840).If the upper left second block is available, the upper left second block is included in the merge candidate list (step S840).

시간적 후보 예측 블록이 가용한 경우, 시간적 후보 예측 블록을 머지 후보 리스트에 포함시킨다(단계 S850).If the temporal candidate prediction block is available, the temporal candidate prediction block is included in the merge candidate list (step S850).

전술한 바와 같이 위와 같은 절차를 통해서 머지 후보 리스트를 구성한 후, 6개가 모두 가용한 경우, 순차적으로 5개의 머지 후보만을 선택하여 머지 후보 리스트를 생성할 수 있다. 또한, 머지 후보 리스트를 구현함에 있어서 복수의 머지 후보가 동일한 움직임 정보(움직임 벡터, 참조 픽쳐 인덱스 등)을 가지고 있다면, 가장 우선 순위가 높은 머지 후보만을 머지 후보 리스트에 남겨두고 나머지 동일한 머지 후보는 머지 리스트에서 삭제할 수 있다. 머지 후보 리스트에 머지 후보의 개수가 부족한 경우, 전술한 추가적인 머지 후보 생성 방법을 통해 머지 후보 리스트에 머지 후보를 추가적으로 포함시킬 수 있다.
As described above, after configuring the merge candidate list through the above procedure, if all six are available, the merge candidate list may be generated by selecting only five merge candidates sequentially. In the merge candidate list, if a plurality of merge candidates have the same motion information (motion vector, reference picture index, etc.), only the highest priority merge candidate is left in the merge candidate list, and the remaining same merge candidate is merged. You can delete it from the list. When the number of merge candidates is insufficient in the merge candidate list, the merge candidate may be additionally included in the merge candidate list through the aforementioned additional merge candidate generation method.

도 9는 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.9 is a conceptual diagram illustrating a method for constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.

도 9를 참조하면, 우선, 첫번째로 좌측 하단 제1 블록(900), 두번째로 좌측 하단 제2 블록(910)을 선택한다. 좌측 하단 제1 블록(900), 좌측 하단 제2 블록(910) 중 하나의 블록이 가용하지 않은 경우, 가용하지 않은 블록을 상단 좌측 제2 블록(940)으로 대체하여 사용할 수 있다. 만약, 좌측 하단 제1 블록(900), 좌측 하단 제2 블록(910)이 모두 가용하지 않은 경우, 상단 좌측 제2 블록(940)으로 좌측 하단 제1 블록(900)을 대체하여 사용할 수 있다.Referring to FIG. 9, first, the left lower first block 900 and the second lower left second block 910 are selected. If one of the lower left first block 900 and the lower left second block 910 is not available, the unavailable block may be replaced with the upper left second block 940. If neither the lower left first block 900 nor the lower left second block 910 is available, the upper left second block 940 may be replaced with the lower left first block 900.

다음으로 첫번째로 상단 우측 제1 블록(920), 두번째로 상단 우측 제2 블록(930)을 선택한다. 상단 우측 제1 블록(920), 상단 우측 제2 블록(930) 중 하나의 블록이 가용하지 않은 경우, 가용하지 않은 블록을 상단 좌측 제2 블록(940)으로 대체하여 사용할 수 있다. 만약, 상단 우측 제1 블록(920), 상단 우측 제2 블록(930)이 모두 가용하지 않은 경우, 상단 좌측 제2 블록(940)으로 상단 우측 제1 블록(920)을 대체하여 사용할 수 있다. 시간적 후보 예측 블록(950)은 가용한 경우, 항상 머지 후보 리스트에 포함될 수 있다. 도 9에서도 마찬가지로 머지 후보 리스트를 구현함에 있어서 복수의 머지 후보가 동일한 움직임 정보(움직임 벡터, 참조 픽쳐 인덱스 등)을 가지고 있다면, 가장 우선 순위가 높은 머지 후보만을 머지 후보 리스트에 남겨두고 나머지 동일한 머지 후보는 머지 리스트에서 삭제할 수 있다. 머지 후보 리스트에 머지 후보의 개수가 부족한 경우, 전술한 추가적인 머지 후보 생성 방법을 통해 머지 후보 리스트에 머지 후보를 추가적으로 포함시킬 수 있다.
Next, the first upper right first block 920 and the second upper right second block 930 are selected first. If one of the upper right first block 920 and the upper right second block 930 is not available, the unavailable block may be replaced with the upper left second block 940. If the upper right first block 920 and the upper right second block 930 are not available, the upper left first block 940 may be replaced with the upper right first block 920. The temporal candidate prediction block 950 may always be included in the merge candidate list when available. Likewise, in the merge candidate list, if a plurality of merge candidates have the same motion information (motion vector, reference picture index, etc.) in FIG. 9, only the merge candidate with the highest priority is left in the merge candidate list and the remaining same merge candidate Can be deleted from the merge list. When the number of merge candidates is insufficient in the merge candidate list, the merge candidate may be additionally included in the merge candidate list through the aforementioned additional merge candidate generation method.

AMVP에서 전술한 도 4 및 도 5에서와 개시한 방법과 동일한 방법으로 후보 예측 벡터를 산출하여 현재 예측 단위의 예측 움직임 벡터를 산출할 수 있다.
In the AMVP, the prediction vector of the current prediction unit may be calculated by calculating the candidate prediction vector in the same manner as described above with reference to FIGS. 4 and 5.

도 10은 본 발명의 또 다른 실시예에 따른 머지 후보 리스트를 구현하는 방법을 나타낸 순서도이다.10 is a flowchart illustrating a method of implementing a merge candidate list according to another embodiment of the present invention.

도 10을 참조하면, 좌측 하단 제1 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 좌측 하단 제1 블록과 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 좌측 하단 제1 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S1000). Referring to FIG. 10, if the lower left first block and the lower left second block are available, they are included in the merge candidate list, and if at least one of the lower left first block and the lower left second block is not available, they are not available. The upper left second block is included in the merge candidate list instead of the unblocked block, and if both are not available, the upper left second block is included in the merge candidate list instead of the lower left first block (step S1000).

상단 우측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상단 우측 제1 블록과 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 좌측 하단 제1 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S1010). If the upper right first block and the upper right second block are available, they are included in the merge candidate list, and if at least one of the upper right first block and the upper right second block is not available, the upper part replaces the unavailable block. If the left second block is included in the merge candidate list and neither is available, the upper left second block is included in the merge candidate list instead of the lower left first block (step S1010).

시간적 후보 예측 블록을 머지 후보 리스트에 포함시킨다(단계 S1020).The temporal candidate prediction block is included in the merge candidate list (step S1020).

머지 후보 리스트를 구현함에 있어서 복수의 머지 후보가 동일한 움직임 정보(움직임 벡터, 참조 픽쳐 인덱스 등)을 가지고 있다면, 가장 우선 순위가 높은 머지 후보만을 머지 후보 리스트에 남겨두고 나머지 동일한 머지 후보는 머지 리스트에서 삭제할 수 있다. 머지 후보 리스트에 머지 후보의 개수가 부족한 경우, 전술한 추가적인 머지 후보 생성 방법을 통해 머지 후보 리스트에 머지 후보를 추가적으로 포함시킬 수 있다.
In implementing the merge candidate list, if a plurality of merge candidates have the same motion information (motion vector, reference picture index, etc.), only the highest priority merge candidate is left in the merge candidate list, and the remaining identical merge candidates are included in the merge list. You can delete it. When the number of merge candidates is insufficient in the merge candidate list, the merge candidate may be additionally included in the merge candidate list through the aforementioned additional merge candidate generation method.

도 11은 본 발명의 또 다른 실시예에 따른 머지 모드와 AMVP에서 화면 간 예측을 위한 후보 블록 리스트를 구성하는 방법을 나타낸 개념도이다.11 is a conceptual diagram illustrating a method for constructing a candidate block list for inter prediction in a merge mode and an AMVP according to another embodiment of the present invention.

도 11을 참조하면, 우선 첫번째로 좌측 상단 블록(1100), 두번째로 좌측 하단 제2 블록(1110)을 선택한다. 만약 좌측 상단 블록(1100)과 좌측 하단 제2 블록(1110)이 가용하지 않을 경우, 가용하지 않은 블록을 상단 좌측 제2 블록(1120)으로 대체할 수 있다. 좌측 상단 블록(1100)과 좌측 하단 제2 블록(1110)이 모두 가용하지 않은 경우, 상단 좌측 제2 블록(1120)은 좌측 상단 블록(1100)을 대체할 수 있다.Referring to FIG. 11, first, an upper left block 1100 and a second lower left second block 1110 are first selected. If the upper left block 1100 and the lower left second block 1110 are not available, the unavailable block may be replaced with the upper left second block 1120. When neither the upper left block 1100 and the lower left second block 1110 are available, the upper left second block 1120 may replace the upper left block 1100.

다음으로 첫번째로 상단 좌측 제1 블록(1130), 두번째로 상단 우측 제2 블록(1140)을 선택한다. 만약 상단 좌측 제1 블록(1130)과 상단 우측 제2 블록(1140)이 가용하지 않을 경우, 가용하지 않은 블록을 상단 좌측 제2 블록(1120)으로 대체할 수 있다. 상단 좌측 제1 블록(1130)과 상단 우측 제2 블록(1140)이 모두 가용하지 않은 경우, 상단 좌측 제2 블록(1120)은 상단 좌측 제1 블록(1130)을 대체할 수 있다. 시간적 후보 예측 블록(1150)은 가용한 경우, 항상 머지 후보 리스트에 포함될 수 있다. Next, the first upper left first block 1130 and the second upper right second block 1140 are selected first. If the upper left first block 1130 and the upper right second block 1140 are not available, the unavailable block may be replaced with the upper left second block 1120. When neither the upper left first block 1130 nor the upper right second block 1140 is available, the upper left second block 1120 may replace the upper left first block 1130. The temporal candidate prediction block 1150 may always be included in the merge candidate list when available.

머지 후보 리스트를 구현함에 있어서 복수의 머지 후보가 동일한 움직임 정보(움직임 벡터, 참조 픽쳐 인덱스 등)을 가지고 있다면, 가장 우선 순위가 높은 머지 후보만을 머지 후보 리스트에 남겨두고 나머지 동일한 머지 후보는 머지 리스트에서 삭제할 수 있다. 머지 후보 리스트에 머지 후보의 개수가 부족한 경우, 전술한 추가적인 머지 후보 생성 방법을 통해 머지 후보 리스트에 머지 후보를 추가적으로 포함시킬 수 있다.In implementing the merge candidate list, if a plurality of merge candidates have the same motion information (motion vector, reference picture index, etc.), only the highest priority merge candidate is left in the merge candidate list, and the remaining identical merge candidates are included in the merge list. You can delete it. When the number of merge candidates is insufficient in the merge candidate list, the merge candidate may be additionally included in the merge candidate list through the aforementioned additional merge candidate generation method.

AMVP의 경우, 상단에서 하나의 블록을 선택함에 있어서, 상단 우측 제2 블록, 상단 좌측 제1 블록, 상단 좌측 제2 블록 순서로 블록의 가용성을 판단하는 것을 제외하고 전술한 도 4 및 도 5에서와 개시한 방법과 동일한 방법으로 후보 예측 벡터를 산출하여 현재 예측 단위의 예측 움직임 벡터를 산출할 수 있다.
In the case of AMVP, in selecting one block from the top, in the above-described FIGS. 4 and 5 except that the availability of the block is determined in the order of the upper right second block, the upper left first block, and the upper left second block. The predictive motion vector of the current prediction unit may be calculated by calculating the candidate prediction vector in the same manner as described above.

도 12는 본 발명의 또 다른 실시예에 따른 머지 모드에서 화면 간 예측을 위한 머지 후보 리스트를 구성하는 방법을 나타낸 순서도이다.12 is a flowchart illustrating a method of constructing a merge candidate list for inter prediction in a merge mode according to another embodiment of the present invention.

도 12를 참조하면, 머지 후보 리스트를 구성하기 위해 좌측 상단 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 좌측 상단 블록과 상기 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 좌측 상단 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S1200).Referring to FIG. 12, when an upper left block and a lower left second block are available to form a merge candidate list, the merge candidate list is included in the merge candidate list, and at least one of the upper left block and the lower left second block is not available. If the upper left second block is included in the merge candidate list instead of the unavailable block, and if neither is available, the upper left second block is included in the merge candidate list instead of the upper left block (step S1200).

상단 좌측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상단 좌측 제1 블록과 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상단 좌측 제1 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시킨다(단계 S1210).If the upper left first block and the upper right second block are available, they are included in the merge candidate list, and if at least one of the upper left first block and the upper right second block is not available, the upper part replaces the unavailable block. If the left second block is included in the merge candidate list and neither is available, the upper left second block is included in the merge candidate list instead of the upper left first block (step S1210).

시간적 후보 예측 블록이 가용한 경우, 머지 후보 리스트에 포함시킨다(단계 S1220).
If the temporal candidate prediction block is available, it is included in the merge candidate list (step S1220).

도 13은 본 발명의 또 다른 실시예에 따른 머지와 AMVP를 사용한 화면 간 예측 방법을 나타낸 순서도이다. 13 is a flowchart illustrating an inter prediction method using merge and AMVP according to another embodiment of the present invention.

도 13을 참조하면, 현재 예측 단위가 머지를 이용하여 화면 간 예측 되었는지 여부를 판단한다(단계 S1300).Referring to FIG. 13, it is determined whether a current prediction unit is predicted between screens using merge (step S1300).

현재 예측 단위에 머지를 이용한 화면 간 예측 방법이 사용되었는지 여부는 머지 플래그 정보를 기초로 산출할 수 있다.Whether the inter prediction method using merge as the current prediction unit is used may be calculated based on merge flag information.

현재 예측 단위가 머지를 이용하여 화면 간 예측 된 경우 머지 후보 리스트를 생성한다(단계 S1310).If the current prediction unit is predicted between the screens using merge, a merge candidate list is generated (step S1310).

머지 후보 리스트를 생성하는 방법은 전술한 도 4에서 도 13의 방법 중 하나가 사용될 수 있다.As the method for generating the merge candidate list, one of the methods of FIG. 4 to FIG. 13 described above may be used.

현재 예측 단위에서 사용된 머지 후보 리스트의 인덱스 정보를 기초로 현재 예측 단위에 예측 블록을 생성한다(단계 S1320).A prediction block is generated in the current prediction unit based on the index information of the merge candidate list used in the current prediction unit (step S1320).

부호화기에서 전송된 머지 후보 인덱스 정보를 기초로 생성된 머지 후보 리스트 중 어떠한 블록의 움직임 예측 정보가 사용되었는지 여부를 판단하여 해당 블록의 움직임 예측 정보를 기초로 현재 예측 단위의 예측 블록을 생성한다.Based on the merge candidate index information transmitted from the encoder, it is determined whether motion prediction information of which block is used in the merge candidate list and generates a prediction block of the current prediction unit based on the motion prediction information of the corresponding block.

현재 예측 단위가 AMVP를 이용하여 화면 간 예측 된 경우 AMVP 후보 리스트를 생성한다(단계 S1330).If the current prediction unit is predicted between screens using AMVP, an AMVP candidate list is generated (step S1330).

AMVP 후보 리스트를 생성하는 방법은 전술한 도 4에서 도 13의 방법 중 하나가 사용될 수 있다.As the method of generating the AMVP candidate list, one of the methods of FIG. 4 to FIG. 13 described above may be used.

현재 예측 단위에서 사용된 AMVP 후보 리스트의 인덱스 정보를 기초로 현재 예측 단위에 예측 블록을 생성한다(단계 S1340).A prediction block is generated in the current prediction unit based on the index information of the AMVP candidate list used in the current prediction unit (step S1340).

부호화기에서 전송된 AMVP 후보 리스트의 인덱스 정보를 기초로 생성된 AMVP후보 리스트 중 어떠한 블록의 움직임 예측 정보가 사용되었는지 여부를 판단하여 해당 블록의 움직임 예측 정보를 기초로 현재 예측 단위의 예측 블록을 생성한다.
Based on the index information of the AMVP candidate list transmitted from the encoder, it is determined whether motion prediction information of which block is used in the AMVP candidate list generated and generates a prediction block of the current prediction unit based on the motion prediction information of the corresponding block. .

이상 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined in the appended claims. It will be possible.

Claims (19)

좌측 하단 제2 블록이 가용한 경우, 상기 좌측 하단 제2 블록을 머지 후보 리스트에 포함하는 단계;
상단 우측 제2 블록이 가용한 경우, 상기 상단 우측 제2 블록을 상기 머지 후보 리스트에 포함하는 단계;
좌측 하단 제1 블록이 가용한 경우, 상기 좌측 하단 제1 블록을 상기 머지 후보 리스트에 포함하는 단계;
상단 우측 제1 블록이 가용한 경우, 상기 상단 우측 제1 블록을 상기 머지 후보 리스트에 포함하는 단계;
상단 좌측 제2 블록이 가용한 경우, 상기 상단 좌측 제2 블록을 상기 머지 후보 리스트에 포함하는 단계; 및
시간적 후보 예측 블록이 가용한 경우, 상기 시간적 후보 예측 블록을 상기 머지 후보 블록 리스트에 포함하는 단계를 포함하는 영상 복호화 방법.
If the lower left second block is available, including the lower left second block in a merge candidate list;
If the upper right second block is available, including the upper right second block in the merge candidate list;
If the lower left first block is available, including the lower left first block in the merge candidate list;
If the upper right first block is available, including the upper right first block in the merge candidate list;
If the upper left second block is available, including the upper left second block in the merge candidate list; And
And if the temporal candidate prediction block is available, including the temporal candidate prediction block in the merge candidate block list.
제1항에 있어서, 상기 머지 후보 블록 리스트는,
고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 이상의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 머지 후보 블록만을 상기 머지 후보 블록 리스트에 포함하는 영상 복호화 방법.
The apparatus of claim 1, wherein the merged candidate block list includes:
If the merge candidate block may include a fixed number of merge candidate blocks and the fixed number of merge candidate blocks is included in the merge candidate block list, only a fixed number of merge candidate blocks may be included in the merge candidate block list based on priority. Image decoding method comprising.
제1항에 있어서, 상기 머지 후보 블록 리스트는,
고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가하는 영상 복호화 방법.
The apparatus of claim 1, wherein the merged candidate block list includes:
If the merge candidate block may include a fixed number of merge candidate blocks and less than the fixed number of merge candidate blocks is included in the merge candidate block list, the merge candidate block list may be further merged based on an additional merge candidate generation method. Video decoding method to add to.
제 3항에 있어서, 상기 추가적인 머지 후보 생성 방법은,
조합 머지 후보 생성 방법, 스케일링 머지 후보 생성 방법 및 영벡터 머지 후보 생성 방법 중 적어도 하나인 영상 복호화 방법.
The method of claim 3, wherein the additional merge candidate generation method,
And at least one of a combined merge candidate generation method, a scaling merge candidate generation method, and a zero vector merge candidate generation method.
좌측 하단 제2 블록에서 좌측 하단 제1 블록 순서를 기준으로 판단한 가용한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계;
상단 우측 제2 블록, 상단 우측 제1 블록, 상단 좌측 제2 블록 순서를 기준으로 판단한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계;
시간적 예측 후보 블록이 가용한 경우, 시간적 예측 후보 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계; 및
산출된 후보 예측 움직임 벡터로 AMVP 리스트를 구성하는 단계를 포함하는 영상 복호화 방법.
Calculating a motion vector calculated from the first available block determined based on the order of the lower left first blocks in the lower left second block as a candidate prediction motion vector;
Calculating a motion vector calculated from the first block determined based on the order of the upper right second block, the upper right first block, and the upper left second block as a candidate prediction motion vector;
If a temporal prediction candidate block is available, calculating a motion vector calculated from the temporal prediction candidate block as a candidate prediction motion vector; And
And constructing an AMVP list using the calculated candidate prediction motion vectors.
제5항에 있어서, 상기 AMVP 리스트는,
고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 이상의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 후보 예측 움직임 벡터만을 상기 AMVP 리스트에 포함하는 영상 복호화 방법.
The method of claim 5, wherein the AMVP list,
When the fixed number of candidate prediction motion vectors may be included in the AMVP list, the fixed number of candidate prediction motion vectors may be included in the AMVP list. The video decoding method.
제5항에 있어서, 상기 AMVP 리스트는,
고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 미만의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 영벡터를 후보 예측 움직임 벡터로 상기 AMVP 리스트에 포함하는 영상 복호화 방법.
The method of claim 5, wherein the AMVP list,
And a zero vector as a candidate prediction motion vector in the AMVP list when the AMVP list includes a fixed number of candidate prediction motion vectors and less than the fixed number of candidate prediction motion vectors is included in the AMVP list.
좌측 상단 블록이 가용한 경우, 상기 좌측 상단 블록을 머지 후보 리스트에 포함시키는 단계;
상단 좌측 제1 블록이 가용한 경우, 상기 상단 좌측 제1 블록을 머지 후보 리스트에 포함시키는 단계;
상단 우측 제2 블록이 가용한 경우, 상기 상단 우측 제2 블록을 머지 후보 리스트에 포함시키는 단계;
좌측 하단 제2 블록이 가용한 경우, 상기 좌측 하단 제2 블록을 머지 후보 리스트에 포함시키는 단계;
상단 좌측 제2 블록이 가용한 경우, 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
시간적 후보 예측 블록이 가용한 경우, 상기 시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함하는 영상 복호화 방법.
If the upper left block is available, including the upper left block in a merge candidate list;
If the upper left first block is available, including the upper left first block in a merge candidate list;
If the upper right second block is available, including the upper right second block in a merge candidate list;
If the lower left second block is available, including the lower left second block in a merge candidate list;
If the upper left second block is available, including the upper left second block in a merge candidate list; And
And if the temporal candidate prediction block is available, including the temporal candidate prediction block in a merge candidate list.
제8항에 있어서, 상기 머지 후보 블록 리스트는,
고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 이상의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 머지 후보 블록만을 상기 머지 후보 블록 리스트에 포함하는 영상 복호화 방법.
The method of claim 8, wherein the merge candidate block list,
If the merge candidate block may include a fixed number of merge candidate blocks and the fixed number of merge candidate blocks is included in the merge candidate block list, only a fixed number of merge candidate blocks may be included in the merge candidate block list based on priority. Image decoding method comprising.
제8항에 있어서, 상기 머지 후보 블록 리스트는,
고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가하는 영상 복호화 방법.
The method of claim 8, wherein the merge candidate block list,
If the merge candidate block may include a fixed number of merge candidate blocks and less than the fixed number of merge candidate blocks is included in the merge candidate block list, the merge candidate block list may be further merged based on an additional merge candidate generation method. Video decoding method to add to.
제 10항에 있어서, 상기 추가적인 머지 후보 생성 방법은,
조합 머지 후보 생성 방법, 스케일링 머지 후보 생성 방법 및 영벡터 머지 후보 생성 방법 중 적어도 하나인 영상 복호화 방법.
The method of claim 10, wherein the additional merge candidate generation method,
And at least one of a combined merge candidate generation method, a scaling merge candidate generation method, and a zero vector merge candidate generation method.
좌측 하단 제2 블록에서 좌측 하단 제1 블록 순서를 기준으로 판단한 가용한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계;
상단 우측 제2 블록, 상단 좌측 제1 블록, 상단 좌측 제2 블록 순서를 기준으로 판단한 첫번째 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계;
시간적 예측 후보 블록이 가용한 경우, 시간적 예측 후보 블록에서 산출된 움직임 벡터를 후보 예측 움직임 벡터로 산출하는 단계; 및
산출된 후보 예측 움직임 벡터로 AMVP 리스트를 구성하는 단계를 포함하는 영상 복호화 방법.
Calculating a motion vector calculated from the first available block determined based on the order of the lower left first blocks in the lower left second block as a candidate prediction motion vector;
Calculating a motion vector calculated from the first block determined based on the order of the upper right second block, the upper left first block, and the upper left second block as a candidate prediction motion vector;
If a temporal prediction candidate block is available, calculating a motion vector calculated from the temporal prediction candidate block as a candidate prediction motion vector; And
And constructing an AMVP list using the calculated candidate prediction motion vectors.
제12항에 있어서, 상기 AMVP 리스트는,
고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 이상의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 우선 순위를 기초로 고정된 개수의 후보 예측 움직임 벡터만을 상기 AMVP 리스트에 포함하는 영상 복호화 방법.
The method of claim 12, wherein the AMVP list,
When the fixed number of candidate prediction motion vectors may be included in the AMVP list, the fixed number of candidate prediction motion vectors may be included in the AMVP list. The video decoding method.
제12항에 있어서, 상기 AMVP 리스트는,
고정된 개수의 후보 예측 움직임 벡터를 포함할 수 있고 상기 고정된 개수 미만의 후보 예측 움직임 벡터가 상기 AMVP 리스트에 포함된 경우, 영벡터를 후보 예측 움직임 벡터로 상기 AMVP 리스트에 포함하는 영상 복호화 방법.
The method of claim 12, wherein the AMVP list,
And a zero vector as a candidate prediction motion vector in the AMVP list when the AMVP list includes a fixed number of candidate prediction motion vectors and less than the fixed number of candidate prediction motion vectors is included in the AMVP list.
좌측 하단 제1 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 상기 좌측 하단 제1 블록과 상기 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 하단 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
상단 우측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상기 상단 우측 제1 블록과 상기 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 하단 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함하는 영상 복호화 방법.
If the lower left first block and the lower left second block are available, they are included in the merge candidate list. If at least one of the lower left first block and the lower left second block is not available, the block is not available. Including the upper left second block in the merge candidate list in place of the lower left first block if the upper left second block is included in the merge candidate list and neither is available; And
If the upper right first block and the upper right second block are available, they are included in the merge candidate list. If at least one of the upper right first block and the upper right second block is not available, the unavailable block is included. Instead including the upper left second block in the merge candidate list and if both are not available, including the upper left second block in the merge candidate list in place of the lower left first block; And
And including the temporal candidate prediction block in the merge candidate list.
좌측 하단 제1 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 상기 좌측 하단 제1 블록과 상기 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 하단 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
상단 우측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상기 상단 우측 제1 블록과 상기 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 하단 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함하는 영상 복호화 방법.
If the lower left first block and the lower left second block are available, they are included in the merge candidate list. If at least one of the lower left first block and the lower left second block is not available, the block is not available. Including the upper left second block in the merge candidate list in place of the lower left first block if the upper left second block is included in the merge candidate list and neither is available; And
If the upper right first block and the upper right second block are available, they are included in the merge candidate list. If at least one of the upper right first block and the upper right second block is not available, the unavailable block is included. Instead including the upper left second block in the merge candidate list and if both are not available, including the upper left second block in the merge candidate list in place of the lower left first block; And
And including the temporal candidate prediction block in the merge candidate list.
제16항에 있어서, 상기 머지 후보 블록 리스트는,
고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가하는 영상 복호화 방법.
The method of claim 16, wherein the merge candidate block list,
If the merge candidate block may include a fixed number of merge candidate blocks and less than the fixed number of merge candidate blocks is included in the merge candidate block list, the merge candidate block list may be further merged based on an additional merge candidate generation method. Video decoding method to add to.
좌측 상단 블록과 좌측 하단 제2 블록이 가용한 경우 머지 후보 리스트에 포함시키고, 상기 좌측 상단 블록과 상기 좌측 하단 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 좌측 상단 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
상단 좌측 제1 블록과 상단 우측 제2 블록이 가용한 경우, 머지 후보 리스트에 포함시키고, 상기 상단 좌측 제1 블록과 상기 상단 우측 제2 블록 중 적어도 하나가 가용하지 않은 경우, 가용하지 않은 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키고 둘 다 가용하지 않은 경우, 상기 상단 좌측 제1 블록을 대신해 상기 상단 좌측 제2 블록을 머지 후보 리스트에 포함시키는 단계; 및
시간적 후보 예측 블록을 머지 후보 리스트에 포함시키는 단계를 포함하는 영상 복호화 방법.
If the upper left block and the lower left second block are available, they are included in the merge candidate list, and if at least one of the upper left block and the lower left second block is not available, the upper left second is substituted for the unavailable block. If the block is included in the merge candidate list and neither is available, including the upper left second block in the merge candidate list in place of the upper left block; And
If the upper left first block and the upper right second block are available, they are included in the merge candidate list. If at least one of the upper left first block and the upper right second block is not available, the unavailable block is included. Instead including the upper left second block in the merge candidate list and if both are not available, including the upper left second block in the merge candidate list in place of the upper left first block; And
And including the temporal candidate prediction block in the merge candidate list.
제18항에 있어서, 상기 머지 후보 블록 리스트는,
고정된 개수의 머지 후보 블록을 포함할 수 있고 상기 고정된 개수 미만의 머지 후보 블록이 상기 머지 후보 블록 리스트에 포함된 경우, 추가적인 머지 후보 생성 방법을 기초로 추가의 머지 후보를 상기 머지 후보 블록 리스트에 추가하는 영상 복호화 방법.
The method of claim 18, wherein the merge candidate block list,
If the merge candidate block may include a fixed number of merge candidate blocks and less than the fixed number of merge candidate blocks is included in the merge candidate block list, the merge candidate block list may be further merged based on an additional merge candidate generation method. Video decoding method to add to.
KR1020120063382A 2011-09-09 2012-06-13 Methods of decision of candidate block on inter prediction and appratuses using the same KR101423648B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20110091785 2011-09-09
KR1020110091785 2011-09-09

Related Child Applications (9)

Application Number Title Priority Date Filing Date
KR1020130125294A Division KR20130139810A (en) 2013-10-21 2013-10-21 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020130125295A Division KR20130139811A (en) 2013-10-21 2013-10-21 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020130125292A Division KR101348566B1 (en) 2013-10-21 2013-10-21 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020130125293A Division KR20130139809A (en) 2013-10-21 2013-10-21 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027846A Division KR101456277B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027850A Division KR20140049528A (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027844A Division KR101458968B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027848A Division KR101457929B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027849A Division KR101457930B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same

Publications (2)

Publication Number Publication Date
KR20130028633A true KR20130028633A (en) 2013-03-19
KR101423648B1 KR101423648B1 (en) 2014-07-28

Family

ID=48179090

Family Applications (9)

Application Number Title Priority Date Filing Date
KR1020120063382A KR101423648B1 (en) 2011-09-09 2012-06-13 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027849A KR101457930B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027844A KR101458968B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027848A KR101457929B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027846A KR101456277B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027850A KR20140049528A (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140096580A KR20140100462A (en) 2011-09-09 2014-07-29 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140147661A KR20140136413A (en) 2011-09-09 2014-10-28 Methods of decision of candidate block on inter prediction and appratuses using the same
KR20140147660A KR20140136412A (en) 2011-09-09 2014-10-28 Methods of decision of candidate block on inter prediction and appratuses using the same

Family Applications After (8)

Application Number Title Priority Date Filing Date
KR1020140027849A KR101457930B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027844A KR101458968B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027848A KR101457929B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027846A KR101456277B1 (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140027850A KR20140049528A (en) 2011-09-09 2014-03-10 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140096580A KR20140100462A (en) 2011-09-09 2014-07-29 Methods of decision of candidate block on inter prediction and appratuses using the same
KR1020140147661A KR20140136413A (en) 2011-09-09 2014-10-28 Methods of decision of candidate block on inter prediction and appratuses using the same
KR20140147660A KR20140136412A (en) 2011-09-09 2014-10-28 Methods of decision of candidate block on inter prediction and appratuses using the same

Country Status (1)

Country Link
KR (9) KR101423648B1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014163468A1 (en) * 2013-04-05 2014-10-09 삼성전자 주식회사 Interlayer video encoding method and apparatus for using view synthesis prediction, and video decoding method and apparatus for using same
WO2014171769A1 (en) * 2013-04-17 2014-10-23 삼성전자 주식회사 Multi-view video encoding method using view synthesis prediction and apparatus therefor, and multi-view video decoding method and apparatus therefor
WO2014175647A1 (en) * 2013-04-23 2014-10-30 삼성전자 주식회사 Multi-viewpoint video encoding method using viewpoint synthesis prediction and apparatus for same, and multi-viewpoint video decoding method and apparatus for same
WO2015142054A1 (en) * 2014-03-19 2015-09-24 주식회사 케이티 Method and apparatus for processing multiview video signals
WO2015142057A1 (en) * 2014-03-21 2015-09-24 주식회사 케이티 Method and apparatus for processing multiview video signals
KR20160139898A (en) * 2015-05-29 2016-12-07 주식회사 칩스앤미디어 Method for scaling a resolution and an apparatus thereof
WO2019054591A1 (en) * 2017-09-13 2019-03-21 삼성전자 주식회사 Apparatus and method for encoding motion vector by using basic motion vector, and decoding apparatus and method
WO2019182312A1 (en) * 2018-03-19 2019-09-26 한국전자통신연구원 Method and apparatus for encoding/decoding image using geometrically modified reference picture
CN112425160A (en) * 2019-02-26 2021-02-26 株式会社 Xris Method for encoding/decoding video signal and apparatus therefor

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10321145B2 (en) 2014-10-07 2019-06-11 Samsung Electronics Co., Ltd. Method and device for encoding or decoding image by means of view merging prediction
WO2017043734A1 (en) * 2015-09-07 2017-03-16 엘지전자(주) Method for processing image on basis of inter prediction mode and device therefor
KR101645365B1 (en) 2016-01-04 2016-08-03 (주)아이즈텍 Emergency calls streetlights using broadband
KR101646065B1 (en) 2016-01-04 2016-08-05 (주)아이즈텍 Cctv street lights using a wireless network
KR101645370B1 (en) 2016-01-04 2016-08-03 (주)아이즈텍 Robust street lamps using a generator
KR102324844B1 (en) * 2016-06-17 2021-11-11 세종대학교산학협력단 A method of decoding a video signal and an apparatus having the same
EP3522532A4 (en) 2016-11-01 2019-08-07 Samsung Electronics Co., Ltd. Encoding method and device therefor, and decoding method and device therefor
KR102435445B1 (en) * 2017-08-29 2022-08-22 세종대학교산학협력단 Method and apparatus for encoding/decoding a video signal
US20200221077A1 (en) * 2017-09-05 2020-07-09 Lg Electronics Inc. Inter prediction mode-based image processing method and apparatus therefor
CN111567045A (en) 2017-10-10 2020-08-21 韩国电子通信研究院 Method and apparatus for using inter prediction information
CN110876058B (en) * 2018-08-30 2021-09-21 华为技术有限公司 Historical candidate list updating method and device
WO2020060312A1 (en) * 2018-09-20 2020-03-26 엘지전자 주식회사 Method and device for processing image signal
SG11202104749RA (en) * 2018-11-08 2021-06-29 Guangdong Oppo Mobile Telecommunications Corp Ltd Image signal encoding/decoding method and apparatus therefor
CN116684635A (en) 2018-12-06 2023-09-01 Lg电子株式会社 Encoding/decoding apparatus and data transmitting apparatus
WO2020130520A1 (en) * 2018-12-16 2020-06-25 엘지전자 주식회사 Method and apparatus for processing video signal by using inter prediction
KR20210082533A (en) 2018-12-21 2021-07-05 삼성전자주식회사 Video decoding method and apparatus, video encoding method and apparatus
US20210288354A1 (en) * 2019-01-10 2021-09-16 Lg Chem, Ltd. Solid Electrolyte Membrane And All-Solid-State Battery Comprising Same
US11611742B2 (en) 2019-01-28 2023-03-21 Apple Inc. Image signal encoding/decoding method and device therefor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4015934B2 (en) * 2002-04-18 2007-11-28 株式会社東芝 Video coding method and apparatus
US7843995B2 (en) 2005-12-19 2010-11-30 Seiko Epson Corporation Temporal and spatial analysis of a video macroblock
KR101246294B1 (en) * 2006-03-03 2013-03-21 삼성전자주식회사 Method of and apparatus for video intraprediction encoding/decoding
JP5215951B2 (en) 2009-07-01 2013-06-19 キヤノン株式会社 Encoding apparatus, control method therefor, and computer program
KR20110071047A (en) * 2009-12-20 2011-06-28 엘지전자 주식회사 A method and an apparatus for decoding a video signal

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014163468A1 (en) * 2013-04-05 2014-10-09 삼성전자 주식회사 Interlayer video encoding method and apparatus for using view synthesis prediction, and video decoding method and apparatus for using same
WO2014171769A1 (en) * 2013-04-17 2014-10-23 삼성전자 주식회사 Multi-view video encoding method using view synthesis prediction and apparatus therefor, and multi-view video decoding method and apparatus therefor
WO2014175647A1 (en) * 2013-04-23 2014-10-30 삼성전자 주식회사 Multi-viewpoint video encoding method using viewpoint synthesis prediction and apparatus for same, and multi-viewpoint video decoding method and apparatus for same
CN108989815B (en) * 2014-03-19 2021-05-04 株式会社Kt Method of generating merge candidate list for multi-view video signal and decoding apparatus
CN108989815B9 (en) * 2014-03-19 2021-06-04 株式会社Kt Method of generating merge candidate list for multi-view video signal and decoding apparatus
CN106105191A (en) * 2014-03-19 2016-11-09 株式会社Kt For the method and apparatus processing multiview video signal
CN108632629B9 (en) * 2014-03-19 2021-06-15 株式会社Kt Method of generating merge candidate list for multi-view video signal and decoding apparatus
CN108632629A (en) * 2014-03-19 2018-10-09 株式会社Kt The method and decoding apparatus for merging candidate list are generated for multiview video signal
CN108683922A (en) * 2014-03-19 2018-10-19 株式会社Kt The method and apparatus that multiview video signal is decoded
CN108965888A (en) * 2014-03-19 2018-12-07 株式会社Kt The method and decoding apparatus for merging candidate list are generated for multiview video signal
CN108989815A (en) * 2014-03-19 2018-12-11 株式会社Kt The method and decoding apparatus for merging candidate list are generated for multiview video signal
WO2015142054A1 (en) * 2014-03-19 2015-09-24 주식회사 케이티 Method and apparatus for processing multiview video signals
US10257531B2 (en) 2014-03-19 2019-04-09 Kt Corporation Method and apparatus for processing multiview video signals based on illumination compensation and inter-view motion candidate
CN108965888B (en) * 2014-03-19 2021-05-04 株式会社Kt Method of generating merge candidate list for multi-view video signal and decoding apparatus
CN108683922B (en) * 2014-03-19 2021-05-04 株式会社Kt Method and apparatus for decoding multi-view video signal
CN108632629B (en) * 2014-03-19 2021-05-04 株式会社Kt Method of generating merge candidate list for multi-view video signal and decoding apparatus
WO2015142057A1 (en) * 2014-03-21 2015-09-24 주식회사 케이티 Method and apparatus for processing multiview video signals
KR20160139898A (en) * 2015-05-29 2016-12-07 주식회사 칩스앤미디어 Method for scaling a resolution and an apparatus thereof
WO2019054591A1 (en) * 2017-09-13 2019-03-21 삼성전자 주식회사 Apparatus and method for encoding motion vector by using basic motion vector, and decoding apparatus and method
US11589070B2 (en) 2017-09-13 2023-02-21 Samsung Electronics Co., Ltd. Apparatus and method for encoding motion vector by using basic motion vector, and decoding apparatus and method
WO2019182312A1 (en) * 2018-03-19 2019-09-26 한국전자통신연구원 Method and apparatus for encoding/decoding image using geometrically modified reference picture
US11343489B2 (en) 2018-03-19 2022-05-24 Electronics And Telecommunications Research Institute Method and apparatus for encoding/decoding image using geometrically modified reference picture
CN112425160A (en) * 2019-02-26 2021-02-26 株式会社 Xris Method for encoding/decoding video signal and apparatus therefor
US11632562B2 (en) 2019-02-26 2023-04-18 Apple Inc. Method for encoding/decoding video signal, and apparatus therefor
CN112425160B (en) * 2019-02-26 2023-05-12 苹果公司 Method for encoding/decoding video signal and apparatus therefor

Also Published As

Publication number Publication date
KR20140049528A (en) 2014-04-25
KR20140053050A (en) 2014-05-07
KR20140053051A (en) 2014-05-07
KR20140049527A (en) 2014-04-25
KR101457930B1 (en) 2014-11-06
KR20140100462A (en) 2014-08-14
KR101456277B1 (en) 2014-11-05
KR101458968B1 (en) 2014-11-07
KR20140136413A (en) 2014-11-28
KR20140136412A (en) 2014-11-28
KR101457929B1 (en) 2014-11-06
KR101423648B1 (en) 2014-07-28
KR20140053052A (en) 2014-05-07

Similar Documents

Publication Publication Date Title
KR101457929B1 (en) Methods of decision of candidate block on inter prediction and appratuses using the same
KR101549910B1 (en) Adaptive transform method based on in-screen rediction and apparatus using the method
KR101857725B1 (en) Method for setting motion vector list and apparatus using same
KR101974952B1 (en) Methods of coding intra prediction mode using two candidate intra prediction modes and apparatuses using the same
KR101802375B1 (en) Methods of derivation of temporal motion vector predictor and appratuses using the same
KR101348566B1 (en) Methods of decision of candidate block on inter prediction and appratuses using the same
KR20130139811A (en) Methods of decision of candidate block on inter prediction and appratuses using the same
KR20130139810A (en) Methods of decision of candidate block on inter prediction and appratuses using the same
KR20130139809A (en) Methods of decision of candidate block on inter prediction and appratuses using the same

Legal Events

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

Payment date: 20170703

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180702

Year of fee payment: 5