KR20130050863A - Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list - Google Patents

Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list Download PDF

Info

Publication number
KR20130050863A
KR20130050863A KR1020120037555A KR20120037555A KR20130050863A KR 20130050863 A KR20130050863 A KR 20130050863A KR 1020120037555 A KR1020120037555 A KR 1020120037555A KR 20120037555 A KR20120037555 A KR 20120037555A KR 20130050863 A KR20130050863 A KR 20130050863A
Authority
KR
South Korea
Prior art keywords
information
reference list
unit
encoding
picture
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
KR1020120037555A
Other languages
Korean (ko)
Inventor
박영오
정승수
김찬열
박정훈
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to US13/672,311 priority Critical patent/US20130114710A1/en
Publication of KR20130050863A publication Critical patent/KR20130050863A/en
Withdrawn legal-status Critical Current

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/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/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures

Landscapes

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

Abstract

본 발명은, B 슬라이스 타입인 영상의 예측부호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, LC 참조리스트에 할당되는 참조영상의 디폴트개수를 픽처마다 설정하고, LC 디폴트개수에 기초하여, LO 참조리스트 및 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 LC 참조리스트를 이용하여 영상을 예측부호화하는 비디오 예측부호화 방법을 개시한다.According to the present invention, a reference is assigned to an LC reference list for an LC reference list including L0 reference list which is list information of a reference picture for predictive encoding of an image having a B slice type and at least one reference picture included in the L1 reference list. A video prediction that sets a default number of pictures for each picture and predicts and encodes the picture using an LC reference list including one or more reference pictures among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number. The coding method is disclosed.

Description

참조리스트를 이용하는 예측을 수반하는 비디오 부호화 방법 및 그 장치, 비디오 복호화 방법 및 그 장치{Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list}Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list}

본 발명은, 비디오 예측과 비디오 예측을 수반하는 비디오 부호화 및 복호화에 관한 것이다. The present invention relates to video encoding and decoding involving video prediction and video prediction.

고해상도 또는 고화질 비디오 컨텐트를 재생, 저장할 수 있는 하드웨어의 개발 및 보급에 따라, 고해상도 또는 고화질 비디오 컨텐트를 효과적으로 부호화하거나 복호화하는 비디오 코덱의 필요성이 증대하고 있다. 기존의 비디오 코덱에 따르면, 비디오는 소정 크기의 매크로블록에 기반하여 제한된 부호화 방식에 따라 부호화되고 있다. Background of the Invention [0002] As the development and dissemination of hardware capable of playing back and storing high-resolution or high-definition video content increases the need for video codecs to effectively encode or decode high-definition or high-definition video content. According to the conventional video codec, video is encoded according to a limited encoding method based on a macroblock of a predetermined size.

비디오 코덱은, 비디오의 영상들이 시간적 또는 공간적으로 서로 상관성이 높다는 특징을 이용하여 예측 기법을 이용하여 데이터량을 저감한다. 예측 기법에 따르면, 주변 영상을 이용하여 현재영상을 예측하기 위하여, 영상 간의 시간적 거리 또는 공간적 거리, 예측오차 등을 이용하여 영상정보가 기록된다. The video codec reduces the amount of data by using a prediction technique by using a feature that images of a video are highly correlated with each other temporally or spatially. According to the prediction technique, in order to predict the current image using the surrounding image, image information is recorded using a temporal or spatial distance between the images, a prediction error, and the like.

본 발명의 일 실시예에 따른 비디오 예측부호화 방법은, B 슬라이스 타입인 영상의 예측부호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 픽처마다 설정하는 단계; 상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하는 단계; 및 상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측부호화하는 단계를 포함한다.In the video prediction encoding method according to an embodiment of the present invention, an LC reference list including L0 reference list which is list information of a reference image for prediction encoding of an image having a B slice type and one or more reference images included in the L1 reference list Setting, for each picture, LC default number information indicating a basic valid number of reference pictures allocated to the LC reference list for the picture; Determining the LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information; And predicting encoding the image of the B slice type using the determined LC reference list.

일 실시예에 따른 상기 LC 디폴트개수 정보를 픽처마다 설정하는 단계는, 슬라이스마다, 상기 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보에 기초하여, 상기 LC 참조리스트에 할당되는 참조영상의 유효개수의 임의변경 여부를 나타내는 LC 액티브개수 변경확인 정보와, 상기 임의변경 후 참조영상의 현재유효개수를 나타내는 LC 액티브개수 정보를 슬라이스마다 설정하는 단계를 포함할 수 있다. The setting of the LC default number information for each picture according to an embodiment may include assigning the LC default number information to the LC reference list based on reference list active number change confirmation information indicating whether the effective number of the reference image is randomly changed for each slice. And setting LC active number change confirmation information indicating whether the effective number of the reference image is randomly changed, and LC active number information indicating the current valid number of the reference image after the random change, for each slice.

일 실시예에 따른 상기 LC 디폴트개수 정보를 픽처마다 설정하는 단계는, 슬라이스마다, 상기 LC 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 LC 변경 관련 정보를 설정하는 단계를 포함할 수 있다. The setting of the LC default number information for each picture according to an embodiment includes setting LC change related information including information on a method of changing a reference image or a reference order of the LC reference list for each slice. can do.

일 실시예에 따른 상기 비디오 예측부호화 방법은, 상기 L0 참조리스트 및 상기 L1 참조리스트의 하나 이상의 참조영상을 이용하여 상기 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보의 전송을 생략할 수 있다. According to an embodiment, the video prediction encoding method may omit transmission of the LC combination confirmation information indicating whether the LC reference list is configured using one or more reference images of the L0 reference list and the L1 reference list. .

일 실시예에 따른 상기 비디오 예측부호화 방법은, 상기 LC 디폴트개수 정보를 현재 픽처에 대한 파라미터들과 함께 전송하는 단계; 상기 LC 액티브개수 정보를 현재 슬라이스에 대한 파라미터들과 함께 전송하는 단계; 및 상기 LC 변경 관련 정보를 현재 슬라이스에 대한 파라미터들과 함께 전송하는 단계를 더 포함할 수 있다. According to an embodiment, the video predictive encoding method includes: transmitting the LC default number information along with parameters for a current picture; Transmitting the LC active number information together with parameters for a current slice; And transmitting the LC change related information together with parameters for the current slice.

본 발명의 일 실시예에 따른 비디오 예측복호화 방법은, B 슬라이스 타입인 영상의 예측복호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 픽처마다 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 판독하는 단계; 상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하는 단계; 및 상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측복호화하는 단계를 포함한다.In the video predictive decoding method according to an embodiment of the present invention, an LC reference list including L0 reference list which is list information of a reference image for predictive decoding of an image having a B slice type and at least one reference image included in the L1 reference list For each picture, reading LC default number information indicating a basic valid number of reference pictures allocated to the LC reference list; Determining the LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information; And predicting and decoding the image of the B slice type using the determined LC reference list.

일 실시예에 따른 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는, 슬라이스마다, 상기 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보에 기초하여, 상기 LC 참조리스트에 할당되는 참조영상의 유효개수의 임의변경 여부를 나타내는 LC 액티브개수 변경확인 정보를 판독하는 단계; 및 상기 판독된 LC 액티브개수 변경확인 정보에 기초하여, 상기 임의변경 후 상기 LC 참조리스트의 참조영상의 현재유효개수를 나타내는 LC 액티브개수 정보를 판독하는 단계를 포함할 수 있다. The step of reading LC default number information for each picture according to an embodiment may include assigning to the LC reference list based on reference list active number change confirmation information indicating whether the effective number of the reference image is randomly changed for each slice. Reading LC active number change confirmation information indicating whether the effective number of reference images is randomly changed; And reading LC active number information indicating a current valid number of reference images of the LC reference list after the random change, based on the read LC active number change confirming information.

일 실시예에 따른 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는, 슬라이스마다 상기 LC 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 LC 변경 관련 정보를 판독하는 단계를 포함할 수 있다. According to an embodiment, reading the LC default number information for each picture may include reading LC change related information including information about a reference image or a reference order of the LC reference list for each slice. Can be.

일 실시예에 따른 상기 LC 참조리스트를 결정하는 단계는, 상기 L0 참조리스트 및 상기 L1 참조리스트의 하나 이상의 참조영상을 이용하여 상기 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보를 판독하지 않고도 상기 LC 참조리스트를 결정할 수 있다. The determining of the LC reference list according to an embodiment may be performed without reading LC combination identification information indicating whether to construct the LC reference list using one or more reference images of the L0 reference list and the L1 reference list. The LC reference list can be determined.

일 실시예에 따른 비디오 예측복호화 방법은, 수신된 비디오스트림으로부터, 현재 픽처에 대한 파라미터들과 함께 상기 LC 디폴트개수 정보를 추출하는 단계; 현재 슬라이스에 대한 파라미터들과 함께 상기 LC 액티브개수 정보를 추출하는 단계; 및 현재 슬라이스에 대한 파라미터들과 함께 상기 LC 변경 관련 정보를 추출하는 단계를 포함할 수 있다. According to an embodiment, a video predictive decoding method includes: extracting, from a received video stream, the LC default number information along with parameters for a current picture; Extracting the LC active number information along with parameters for a current slice; And extracting the LC change related information together with the parameters for the current slice.

본 발명의 일 실시예에 따른 비디오 예측부호화 장치는, B 슬라이스 타입인 영상의 예측부호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 픽처마다 설정하는 LC 관련정보 설정부; 및 상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하여, 상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측부호화하는 예측부호화부를 포함한다According to an embodiment of the present invention, an apparatus for predicting and encoding video includes an LC reference list including an L0 reference list, which is list information of a reference image for predictive encoding of an image having a B slice type, and one or more reference images included in the L1 reference list. An LC-related information setting unit for setting, for each picture, LC default number information indicating a basic valid number of reference pictures allocated to the LC reference list; And determining the LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information, and using the determined LC reference list to determine the B reference list. It includes a prediction coding unit for predicting encoding the image of the slice type

본 발명의 일 실시예에 따른 비디오 예측복호화 장치는, B 슬라이스 타입인 영상의 예측복호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 픽처마다 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 판독하는 LC 관련정보 판독부; 및 상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하여, 상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측복호화하는 예측복호화부를 포함한다. According to an embodiment of the present invention, an apparatus for predicting and decoding video includes an LC reference list including L0 reference list, which is list information of a reference image for predictive decoding of an image having a B slice type, and one or more reference images included in the L1 reference list. An LC related information reading unit for reading LC default number information indicating a basic valid number of reference pictures allocated to the LC reference list for each picture; And determining the LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information, and using the determined LC reference list to determine the B reference list. It includes a prediction decoding unit for predicting and decoding the image of the slice type.

본 발명은, 각 실시예에 따른 비디오 예측부호화 방법을 전산적으로 구현하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체를 포함한다. 본 발명은, 각 실시예에 따른 비디오 예측복호화 방법을 전산적으로 구현하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체를 포함한다. The present invention includes a computer-readable recording medium having a program recorded thereon for implementing the video predictive encoding method according to each embodiment. The present invention includes a computer-readable recording medium having recorded thereon a program for computerically implementing a video predictive decoding method according to each embodiment.

도 1a 와 1b는 일 실시예에 따른 비디오 예측부호화 장치와 비디오 인코더의 블록도를 도시한다.
도 2 는 일 실시예에 따른 비디오 예측복호화 장치와 비디오 디코더의 블록도를 도시한다.
도 3 은 비디오의 픽처 시퀀스의 디스플레이 순서 및 코딩 순서를 도시한다.
도 4 은 도 3의 픽처 시퀀스 중 B 슬라이스인 픽처들의 L0, L1, LC 참조리스트의 관계를 도시한다.
도 5 는 슬라이스마다 설정되는 LC 관련정보의 신택스를 도시한다.
도 6 은 일 실시예에 따른 참조리스트 디폴트개수 정보의 신택스를 도시한다.
도 7 은 일 실시예에 따라 LC 디폴트개수 정보에 따라 설정되는 LC 참조리스트들을 도시한다.
도 8 과 9 은 다양한 실시예에 따른 참조리스트 액티브개수 관련 정보의 신택스들을 도시한다.
도 10 은 일 실시예에 따른 참조리스트 변경 정보의 신택스를 도시한다.
도 11 은 일 실시예에 따른 비디오 예측부호화 방법의 흐름도를 도시한다.
도 12 는 일 실시예에 따른 비디오 예측복호화 방법의 흐름도를 도시한다.
도 13 는 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 부호화 장치의 블록도를 도시한다.
도 14 는 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 복호화 장치의 블록도를 도시한다.
도 15 은 본 발명의 일 실시예에 따른 부호화 단위의 개념을 도시한다.
도 16 는 본 발명의 일 실시예에 따른 부호화 단위에 기초한 영상 부호화부의 블록도를 도시한다.
도 17 는 본 발명의 일 실시예에 따른 부호화 단위에 기초한 영상 복호화부의 블록도를 도시한다.
도 18 는 본 발명의 일 실시예에 따른 심도별 부호화 단위 및 파티션을 도시한다.
도 19 은 본 발명의 일 실시예에 따른, 부호화 단위 및 변환 단위의 관계를 도시한다.
도 20 은 본 발명의 일 실시예에 따라, 심도별 부호화 정보들을 도시한다.
도 21 는 본 발명의 일 실시예에 따른 심도별 부호화 단위를 도시한다.
도 22, 23 및 24는 본 발명의 일 실시예에 따른, 부호화 단위, 예측 단위 및 변환 단위의 관계를 도시한다.
도 25 은 표 1의 부호화 모드 정보에 따른 부호화 단위, 예측 단위 및 변환 단위의 관계를 도시한다.
도 26 는 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 부호화 방법의 흐름도를 도시한다.
도 27 은 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 복호화 방법의 흐름도를 도시한다.
1A and 1B illustrate block diagrams of a video predictor encoding apparatus and a video encoder according to an embodiment.
2 is a block diagram of a video prediction decoding apparatus and a video decoder according to an embodiment.
3 shows a display order and a coding order of a picture sequence of a video.
FIG. 4 illustrates a relationship between L0, L1, and LC reference lists of pictures that are B slices in the picture sequence of FIG. 3.
5 shows syntax of LC related information set for each slice.
6 is a diagram illustrating syntax of reference list default number information according to an embodiment.
7 illustrates LC reference lists set according to LC default number information according to an embodiment.
8 and 9 illustrate syntaxes of reference list active number related information according to various embodiments.
10 is a diagram illustrating syntax of reference list change information, according to an exemplary embodiment.
11 is a flowchart of a video prediction encoding method, according to an embodiment.
12 is a flowchart of a video predictive decoding method according to an embodiment.
13 is a block diagram of a video encoding apparatus involving video prediction based on coding units having a tree structure, according to an embodiment of the present invention.
14 is a block diagram of a video decoding apparatus involving video prediction based on coding units having a tree structure, according to an embodiment of the present invention.
15 illustrates a concept of coding units, according to an embodiment of the present invention.
16 is a block diagram of an image encoder based on coding units, according to an embodiment of the present invention.
17 is a block diagram of an image decoder based on coding units, according to an embodiment of the present invention.
FIG. 18 shows a depth encoding unit and a partition according to an embodiment of the present invention.
19 illustrates a relationship between a coding unit and transformation units, according to an embodiment of the present invention.
20 illustrates encoding information according to depths, according to an embodiment of the present invention.
21 is a diagram of deeper coding units according to depths, according to an embodiment of the present invention.
22, 23, and 24 illustrate a relationship between a coding unit, a prediction unit, and a transformation unit, according to an embodiment of the present invention.
FIG. 25 illustrates a relationship between coding units, prediction units, and transformation units, according to encoding mode information of Table 1. FIG.
26 is a flowchart of a video encoding method based on coding units having a tree structure, according to an embodiment of the present invention.
27 is a flowchart of a video decoding method based on coding units, according to a tree structure, according to an embodiment of the present invention.

이하 도 1a 내지 도 12을 참조하여, 일 실시예에 따라 참조리스트를 이용하여 쌍예측(Bi-Prediction)이 가능한 비디오의 예측 방법 및 그 장치, 비디오 예측부호화 방법 및 장치, 그리고 비디오 예측복호화 방법 및 그 장치가 개시된다.Hereinafter, referring to FIGS. 1A to 12, a method and apparatus for predicting a video capable of bi-prediction using a reference list, a video predictive encoding method and apparatus, and a video predictive decoding method and The apparatus is disclosed.

도 1a 와 1b는 일 실시예에 따른 비디오 예측부호화 장치(10)와 비디오 인코더(15)의 블록도를 도시한다.1A and 1B show block diagrams of a video predictor encoding apparatus 10 and a video encoder 15 according to an embodiment.

일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 관련정보 결정부(12) 및 예측부호화부(14)를 포함한다.The video predictor encoding apparatus 10 according to an embodiment includes an LC related information determiner 12 and a predictor encoder 14.

일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 관련정보 결정부(12) 및 예측부호화부(14)를 총괄적으로 제어하는 중앙 프로세서(미도시)를 포함할 수 있다. 또는, LC 관련정보 결정부(12) 및 예측부호화부(14)가 각각의 자체 프로세서(미도시)에 의해 작동되며, 프로세서(미도시)들간이 상호 유기적으로 작동함에 따라 비디오 예측부호화 장치(10)가 전체적으로 작동될 수도 있다. 또는, 일 실시예에 따른 비디오 예측부호화 장치(10)의 외부 프로세서(미도시)의 제어에 따라, LC 관련정보 결정부(12) 및 예측부호화부(14)가 제어될 수도 있다.The video predictor encoding apparatus 10 according to an embodiment may include a central processor (not shown) which collectively controls the LC related information determiner 12 and the predictor encoder 14. Alternatively, the LC related information determining unit 12 and the predictive encoding unit 14 are operated by their own processors (not shown), and the video predictive encoding apparatus 10 is performed as the processors (not shown) operate organically with each other. ) May be operated as a whole. Alternatively, the LC related information determiner 12 and the predictive encoder 14 may be controlled under the control of an external processor (not shown) of the video predictive encoding apparatus 10 according to an embodiment.

일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 관련정보 결정부(12) 및 예측부호화부(14)의 입출력 데이터가 저장되는 하나 이상의 데이터 저장부(미도시)를 포함할 수 있다. 비디오 예측부호화 장치(10)는, 데이터 저장부(미도시)의 데이터 입출력을 관할하는 메모리 제어부(미도시)를 포함할 수도 있다.The video predictor encoding apparatus 10 according to an embodiment may include one or more data storage units (not shown) in which input / output data of the LC related information determiner 12 and the predictor encoder 14 are stored. The video predictive encoding apparatus 10 may include a memory controller (not shown) that controls data input / output of the data storage unit (not shown).

일 실시예에 따른 비디오 예측부호화 장치(10)는, 비디오의 영상들에 대해 예측을 수행한다. 비디오 예측부호화 장치(10)는, 현재영상과 주변 영상 간의 시간적 거리 또는 공간적 거리, 예측오차(즉 잔차 성분) 등을 나타내는 예측정보를 결정한다. 따라서, 영상의 전체 데이터 대신에 예측정보를 이용하여 영상정보가 기록될 수 있다. The video prediction encoding apparatus 10 according to an embodiment performs prediction on images of a video. The video prediction encoding apparatus 10 determines prediction information indicating a temporal or spatial distance between the current image and the surrounding image, a prediction error (ie, a residual component), and the like. Therefore, the image information may be recorded using the prediction information instead of the entire data of the image.

예측부호화는, 시간적으로 전후 영상을 이용하여 현재영상을 예측하는 인터 예측과, 공간적으로 주변영상을 이용하여 현재영상을 예측하는 인트라 예측을 포함한다. 따라서, 인터 예측에서는 시간적으로 전후 영상이 참조영상으로 이용되고, 인트라 예측에서는 공간적으로 주변영상들이 참조영상으로 이용됨으로써, 현재영상이 예측될 수 있다. 현재영상 및 참조영상은 픽처, 프레임, 필드, 슬라이스 등을 포함하는 영상 데이터 단위일 수 있다.Prediction encoding includes inter prediction that predicts a current image using temporal and backward images, and intra prediction that predicts a current image using spatial surrounding images. Therefore, the inter-prediction image is used as a reference image temporally, and in the intra prediction, the surrounding image is spatially used as the reference image, and thus the current image can be predicted. The current image and the reference image may be image data units including pictures, frames, fields, slices, and the like.

일 실시예에 따른 비디오 예측부호화 장치(10)는, 예측부호화의 빠른 연산을 위해 현재영상을 다수의 블록들로 분할하고, 블록들에 대하여 예측부호화를 수행할 수 있다. 즉, 현재영상이 분할된 다수의 블록들 중 현재블록에 대한 예측부호화를 위해, 참조영상이 분할된 다수의 블록들 중 하나의 블록을 참조할 수 있다. The video predictive encoding apparatus 10 according to an embodiment may divide a current image into a plurality of blocks and perform predictive encoding on the blocks in order to quickly calculate the predictive encoding. That is, for prediction encoding on the current block among the plurality of blocks in which the current image is divided, one block of the plurality of blocks in which the reference image is divided may be referred to.

참조리스트는 L0 참조리스트, L1 참조리스트, LC 참조리스트를 포함할 수 있다. 예를 들어, P 슬라이스 타입인 영상의 전방 예측을 위한 참조리스트는 리스트 0 예측(List 0 prediction)을 위한 L0 참조리스트를 포함할 수 있다. 전방예측, 후방예측, 양방예측 등을 포함하는 쌍예측이 가능한 B 슬라이스 타입인 영상을 위한 참조리스트는, L0 참조리스트에 추가적으로, 리스트 1 예측(List 1 prediction)을 위한 L1 참조리스트를 포함할 수 있다. The reference list may include an L0 reference list, an L1 reference list, and an LC reference list. For example, the reference list for forward prediction of an image having a P slice type may include an L0 reference list for List 0 prediction. The reference list for an image of a B slice type capable of bi-prediction including forward prediction, backward prediction, bidirectional prediction, and the like may include an L1 reference list for List 1 prediction, in addition to the L0 reference list. have.

또한, B 슬라이스의 쌍예측을 위한 참조리스트는, LC 참조리스트를 더 포함할 수 있다. LC 참조리스트는, L0 참조리스트의 참조영상들과 L1 참조리스트의 참조영상들 중 하나 이상의 참조영상으로 구성될 수 있다. In addition, the reference list for pair prediction of the B slice may further include an LC reference list. The LC reference list may include one or more reference pictures of reference pictures of the L0 reference list and reference pictures of the L1 reference list.

L0 참조리스트, L1 참조리스트, LC 참조리스트는 각각 하나 이상의 참조영상을 가리키는 인덱스와, 참조순서 정보를 포함할 수 있다. 참조리스트에 할당되는 참조영상의 기본유효개수는 미리 제한될 수 있다. 하지만, 각 영상마다 필요에 의해 참조영상의 개수나 참조순서가 변경될 수도 있다. 따라서, 비디오 예측부호화 장치(10)는, 참조리스트의 참조영상의 기본유효개수에 대한 정보, 참조영상 개수의 변경에 대한 정보, 참조영상의 변경에 대한 정보 및 참조순서의 변경에 대한 정보 등을 설정할 수 있다.The L0 reference list, L1 reference list, and LC reference list may each include an index indicating one or more reference images and reference order information. The basic valid number of reference pictures allocated to the reference list may be limited in advance. However, the number or reference order of reference images may be changed for each image as necessary. Accordingly, the video predictive encoding apparatus 10 may provide information about the basic valid number of reference images of the reference list, information about the change of the number of reference images, information about the change of the reference image, information about the change of the reference order, and the like. Can be set.

일 실시예에 따른 예측부호화부(14)는, 현재영상의 예측부호화를 위한 참조영상을 결정할 수 있다. 예측부호화부(14)는, B 슬라이스 타입인 현재영상의 참조리스트에 할당된 영상들 중에서 현재 참조할 영상을 결정할 수 있다. 또한 예측부호화부(14)는, 영상의 예측을 위한 적어도 하나의 참조영상을 나타내는 참조정보를 결정할 수 있다. The prediction encoder 14 according to an embodiment may determine a reference image for prediction encoding of the current image. The prediction encoder 14 may determine an image to be currently referenced from among images allocated to the reference list of the current image, which is a B slice type. In addition, the prediction encoder 14 may determine reference information indicating at least one reference image for image prediction.

예측부호화부(14)는, B 슬라이스인 현재영상의 쌍예측(Bi-Prediction)을 위해, 현재영상보다 디스플레이 순서상 이전영상 및 다음영상 중에서 참조영상을 결정할 수 있다. 또한, 예측부호화부(14)는, 현재영상의 코딩 순서보다 이전에 처리되어 복원된 영상들 중에서 참조영상을 결정할 수 있다. 따라서, 예측부호화부(14)는, 이미 코딩된 이전영상 및 다음영상의 블록들과 현재영상의 현재블록과의 유사도를 결정하여, 현재블록과 오차가 가장 적은 블록을 검출한다. 검출된 블록이 참조영상의 참조블록으로 결정될 수 있다. 참조영상을 가리키는 정보, 예를 들어 영상의 번호, 인덱스 등이 참조정보로 결정될 수 있다. 참조영상 중 참조블록을 나타내는 움직임정보 등도 참조정보로서 결정될 수 있다. The prediction encoding unit 14 may determine a reference image among the previous image and the next image in the display order than the current image, for bi-prediction of the current image that is the B slice. In addition, the prediction encoder 14 may determine the reference image among the images processed and reconstructed before the coding order of the current image. Therefore, the prediction encoder 14 determines the similarity between the blocks of the previous image and the next image that are already coded, and the current block of the current image, and detects the block having the least error. The detected block may be determined as a reference block of the reference picture. Information indicating the reference image, for example, the number of the image, the index, etc. may be determined as the reference information. Motion information indicating a reference block among the reference pictures may also be determined as reference information.

인트라 예측을 위해서는, 현재영상과 동일한 영상 내에서 현재영역과 인접하는 주변영역들 중에서 참조영역을 나타내는 인덱스가 참조정보로서 결정될 수도 있다. For intra prediction, an index indicating a reference region among neighboring regions adjacent to the current region in the same image as the current image may be determined as reference information.

예측부호화부(14)는, 현재영상과 참조영상 간의 오차인 예측오차를 결정할 수도 있다.The prediction encoder 14 may determine a prediction error that is an error between the current image and the reference image.

일 실시예에 따른 예측부호화부(14)는, 참조영상과 참조영상의 참조순서를 나타내는 참조리스트를 결정할 수 있다. 예측부호화부(14)는 쌍예측을 위한 참조영상들 중에서 제1 방향 예측을 위한 참조정보를 포함하는 제1 참조리스트와, 제2 방향 예측을 위한 참조정보를 포함하는 제2 참조리스트를 결정할 수 있다. 예를 들어 L0 리스트는 전방 예측을 위한 참조영상에 대한 인덱스를 우선적으로 포함하고, L1 리스트는 후방 예측을 위한 참조영상에 대한 인덱스를 우선적으로 포함할 수 있다. 다만, 반드시 L0 리스트 및 L1 리스트가 각각 전방 예측 및 후방 예측을 위한 참조정보만을 포함하도록 제한되는 것만은 아니다.The prediction encoder 14 according to an embodiment may determine a reference list indicating the reference order of the reference picture and the reference picture. The prediction encoder 14 may determine a first reference list including reference information for first direction prediction and a second reference list including reference information for second direction prediction from among reference images for pair prediction. have. For example, the L0 list may preferentially include an index for a reference picture for forward prediction, and the L1 list may preferentially include an index for a reference picture for backward prediction. However, the L0 list and the L1 list are not necessarily limited to include only reference information for forward prediction and backward prediction, respectively.

또한, LC 리스트는 전방 예측을 위한 참조영상에 대한 인덱스 및 후방 예측을 위한 참조영상에 대한 인덱스를 모두 포함할 수 있다.In addition, the LC list may include both an index for a reference picture for forward prediction and an index for a reference picture for backward prediction.

일 실시예에 따른 예측부호화부(14)는, 각 참조리스트에 할당되는 참조영상들의 참조순서를 결정할 수 있다. 예를 들어, 참조리스트에 할당되는 참조영상들 중에서 현재영상과 디스플레이 순서상 가까운 참조영상을 우선적으로 참조하도록 참조순서가 결정될 수 있다. The prediction encoder 14 according to an embodiment may determine a reference order of reference pictures allocated to each reference list. For example, the reference order may be determined to preferentially refer to a reference picture that is closest to the current picture in display order among reference pictures allocated to the reference list.

일 실시예에 따른 예측부호화부(14)는, 참조리스트에 포함된 영상을 참조하여 예측부호화를 수행함으로써 예측정보를 결정할 수 있다. 예측부호화부(14)는, 참조리스트에 포함된 참조영상의 인덱스 및 참조순서에 기초하여 영상을 참조하여 현재영상에 대해 예측부호화를 수행함으로써, 예측정보를 결정할 수 있다. The prediction encoder 14 according to an embodiment may determine prediction information by performing prediction encoding with reference to an image included in a reference list. The prediction encoding unit 14 may determine prediction information by performing prediction encoding on the current image by referring to the image based on the index and the reference order of the reference image included in the reference list.

예를 들어, 예측부호화부(14)는 L0 참조리스트를 이용하여 P 슬라이스인 현재영상을 예측부호화하거나, L0 참조리스트, L1 참조리스트 및 LC 참조리스트 중 적어도 하나를 이용하여 B 슬라이스인 현재영상을 예측부호화할 수 있다. For example, the prediction encoding unit 14 predictively encodes the current image of the P slice using the L0 reference list, or uses the L0 reference list, the L1 reference list, and the LC reference list to select the current image of the B slice. Predictive encoding is possible.

일 실시예에 따른 예측부호화부(14)는, LC 관련정보 설정부(12)에 의해 설정된 참조리스트 관련정보에 기초하여, 참조리스트에 할당되는 참조영상의 개수 및 참조순서를 결정할 수 있다.The prediction encoder 14 according to an exemplary embodiment may determine the number and reference order of reference images allocated to the reference list based on the reference list related information set by the LC related information setting unit 12.

일 실시예에 따른 LC 관련정보 설정부(12)는, 참조리스트에 할당되는 참조영상 기본유효개수, 개수 변경, 참조영상 변경 및 참조순서 변경 등과 같은 참조리스트 관련정보를 설정할 수 있다. According to an embodiment, the LC related information setting unit 12 may set reference list related information such as a basic valid number of reference images, a number change, a reference image change, and a reference order change.

참조리스트에 할당된 참조영상의 유효개수는, 참조하기에 유효한 영상들의 개수를 의미한다. 참조리스트의 디폴트개수는, 참조리스트에 할당되는 참조영상의 기본유효개수를 나타낸다. LC 관련정보 설정부(12)는, LC 참조리스트에 할당된 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 픽처마다 설정할 수 있다.The effective number of reference pictures allocated to the reference list means the number of pictures valid for reference. The default number of reference lists indicates the basic valid number of reference pictures allocated to the reference list. The LC related information setting unit 12 may set, for each picture, LC default number information indicating the basic valid number of reference pictures allocated to the LC reference list.

일 실시예에 따른 예측부호화부(14)는, B 슬라이스인 현재영상의 참조픽처를 알려주는 참조리스트를 결정할 수 있다.The prediction encoder 14 according to an embodiment may determine a reference list that informs the reference picture of the current image, which is a B slice.

일 실시예에 따른 예측부호화부(14)는, LC 디폴트개수 정보에 기초하여 LC 참조리스트에 할당되는 참조영상의 기본유효개수 이내에서, LO 참조리스트 및 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하도록, LC 참조리스트를 결정할 수 있다. The prediction encoding unit 14 according to an embodiment may include one or more of reference images included in the LO reference list and the L1 reference list within a basic valid number of reference images allocated to the LC reference list based on the LC default number information. The LC reference list may be determined to include the reference picture.

일 실시예에 따른 LC 관련정보 설정부(12)는, L0 참조리스트에 대한 L0 디폴트 개수 및 L1 참조리스트에 대한 L1 디폴트개수 정보 중 적어도 하나와 함께, LC 디폴트개수 정보를 픽처마다 설정할 수도 있다. The LC related information setting unit 12 may set the LC default number information for each picture together with at least one of the L0 default number for the L0 reference list and the L1 default number information for the L1 reference list.

일 실시예에 따른 참조리스트의 참조영상 액티브개수는, 현재영상을 위한 참조영상의 유효개수가 임의로 변경되는 경우에, 참조영상의 현재유효개수를 나타낸다. The active number of reference images of the reference list according to an embodiment indicates the current valid number of reference images when the effective number of reference images for the current image is arbitrarily changed.

일 실시예에 따른 LC 관련정보 설정부(12)는, 슬라이스마다, LC 참조리스트에 할당되는 참조영상의 유효개수의 임의변경 여부를 나타내는 LC 액티브개수 변경확인 정보와, 임의변경 후 참조영상의 유효개수를 나타내는 LC 액티브개수 정보를 설정할 수 있다. According to an embodiment, the LC-related information setting unit 12 includes LC active number change confirmation information indicating whether the effective number of reference images allocated to the LC reference list is randomly changed and validity of the reference image after the random change for each slice. LC active number information indicating the number can be set.

일 실시예에 따른 LC 관련정보 설정부(12)는, 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보에 기초하여, LC 액티브개수 변경확인 정보와 LC 액티브개수 정보를 설정할 수도 있다. According to an embodiment, the LC related information setting unit 12 sets LC active number change confirmation information and LC active number information based on reference list active number change confirmation information indicating whether the effective number of reference images is arbitrarily changed. It may be.

일 실시예에 따른 LC 관련정보 설정부(12)는, 슬라이스마다 참조리스트 액티브개수 변경확인 정보에 기초하여, L0 참조리스트에 대한 L0 액티브개수 정보 및 L1 참조리스트에 대한 L1 액티브개수 정보 중 적어도 하나와 함께, LC 액티브개수 정보를 설정할 수 있다. The LC related information setting unit 12 according to an embodiment may include at least one of L0 active number information for the L0 reference list and L1 active number information for the L1 reference list based on the reference list active number change confirmation information for each slice. In addition, LC active number information can be set.

일 실시예에 따른 참조리스트 변경 관련 정보는, 참조리스트에 할당된 참조영상들의 변경 또는 참조순서의 변경 방식에 대한 정보를 나타낸다. The reference list change related information according to an embodiment indicates information about a method of changing reference images or changing reference sequences assigned to the reference list.

일 실시예에 따른 LC 관련정보 설정부(12)는, 슬라이스마다, LC 참조리스트에 대한 LC 변경 관련 정보를 설정할 수 있다. According to an embodiment, the LC related information setting unit 12 may set LC change related information about an LC reference list for each slice.

일 실시예에 따른 LC 관련정보 설정부(12)는, 슬라이스마다, L0 참조리스트에 대한 L0 변경 관련 정보 및 L1 참조리스트에 대한 L1 변경 관련 정보 중 적어도 하나와 함께, LC 변경 관련 정보를 설정할 수 있다. According to an embodiment, the LC related information setting unit 12 may set LC change related information with at least one of L0 change related information for the L0 reference list and L1 change related information for the L1 reference list for each slice. have.

비디오 예측부호화 장치(10)는, 예측정보 및 참조정보를 출력할 수 있다. 또한 일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 관련정보 설정부(12)에 의해 설정된 LC 관련정보를 포함하여 L0 관련정보 및 L1 관련정보를 출력하거나 전송할 수 있다. The video prediction encoding apparatus 10 may output prediction information and reference information. Also, the video prediction encoding apparatus 10 according to an embodiment may output or transmit L0 related information and L1 related information, including LC related information set by the LC related information setting unit 12.

일 실시예에 따른 비디오 예측부호화 장치(10)는, L0 참조리스트 및 L1 참조리스트에 포함된 하나 이상의 참조영상을 이용하여 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보의 설정 및 전송은 생략할 수 있다. The video prediction encoding apparatus 10 according to an embodiment omits setting and transmission of LC combination confirmation information indicating whether to construct an LC reference list using one or more reference images included in the L0 reference list and the L1 reference list. can do.

일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 디폴트개수 정보를 현재 픽처에 대한 파라미터들과 함께 전송할 수 있다. 일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 액티브개수 정보를 현재 슬라이스에 대한 파라미터들과 함께 전송할 수 있다. 또한, 일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 변경 관련 정보를 현재 슬라이스에 대한 파라미터들과 함께 전송할 수 있다. The video predictive encoding apparatus 10 according to an embodiment may transmit LC default number information along with parameters for the current picture. The video predictive encoding apparatus 10 according to an embodiment may transmit LC active number information along with parameters for the current slice. In addition, the video prediction encoding apparatus 10 according to an embodiment may transmit LC change related information together with parameters for the current slice.

예를 들어 비디오 예측부호화 장치(10)는, LC 디폴트개수 정보를, PPS(Picture Parameter Set)를 통해 픽처마다 시그널링할 수도 있다. 예를 들어 비디오 예측부호화 장치(10)는, LC 액티브개수 정보 및 LC 변경 관련 정보를 SPS(Sequence Parameter Set)를 통해 시퀀스마다 시그널링할 수 있다. For example, the video prediction encoding apparatus 10 may signal LC default number information for each picture through a picture parameter set (PPS). For example, the video prediction encoding apparatus 10 may signal LC active number information and LC change related information for each sequence through a sequence parameter set (SPS).

일 실시예에 따른 예측부호화부(14)는, 영상에 대해 예측을 수행하여, 적어도 하나의 참조영상을 나타내는 참조정보를 결정한다. 예측부(22)는 현재영상에 대해 예측을 수행하여, 현재영상과 참조영상 간의 예측오차를 결정할 수 있다. The prediction encoder 14 according to an embodiment performs prediction on an image to determine reference information indicating at least one reference image. The prediction unit 22 may determine a prediction error between the current image and the reference image by performing prediction on the current image.

비디오 예측부호화 장치(10)는 영상의 전체 데이터 대신에 예측정보를 이용하여 영상을 표현할 수 있으므로, 비디오 데이터량의 절감이 필요한 비디오 압축 부호화를 수행하는 비디오 부호화에 적용될 수 있다. The video prediction encoding apparatus 10 may represent an image by using prediction information instead of the entire data of the image, and thus may be applied to a video encoding that performs video compression encoding that requires a reduction in the amount of video data.

일 실시예에 따른 비디오 예측부호화 장치(10)는, 비디오의 영상을 공간 영역별로 분할한 부호화 단위들에 기초하여 비디오를 부호화하는 비디오 인코더(15)에 포함되거나 연계하여, 비디오 부호화를 위한 예측부호화를 수행할 수 있다. 또한 부호화 단위에 대한 예측부호화를 위해, 부호화 단위는 예측 단위들 및 파티션들로 분할되며, 예측 단위들 및 파티션들을 기초로 예측부호화가 수행될 수 있다.The video prediction encoding apparatus 10 according to an embodiment may be included in or associated with a video encoder 15 that encodes a video based on coding units obtained by dividing an image of a video into spatial regions, and thus may encode the prediction encoding for video encoding. Can be performed. In addition, for prediction encoding on a coding unit, the coding unit may be divided into prediction units and partitions, and prediction encoding may be performed based on the prediction units and partitions.

일 실시예에 따른 부호화 단위는, 고정적으로 결정된 형태의 블록 뿐만 아니라, 일 실시예에 따른 트리 구조에 따른 부호화 단위들을 포함할 수 있다. 일 실시예에 따라, 트리 구조에 따른 부호화 단위들과, 이에 따른 예측 단위들 및 파티션들은, 이하 도 13 내지 도 27을 참조하여 상술될 것이다.The coding unit according to an embodiment may include coding units having a tree structure according to an embodiment, as well as a block of a fixedly determined form. According to an embodiment, coding units having a tree structure, prediction units, and partitions according to the tree structure will be described below with reference to FIGS. 13 to 27.

일 실시예에 따른 비디오 예측부호화 장치(10)는, 영상의 블록, 부호화 단위의 영상데이터에 대하여 예측부호화를 수행하여 참조 영상에 대한 예측오차, 즉 잔차 성분을 출력할 수 있다. 비디오 인코더(15)는 잔차 성분에 대해 변환, 양자화를 양자화된 변환 계수를 생성하고, 변환 계수, 참조정보, 부호화 정보 등의 심볼들에 대해 엔트로피 부호화를 수행하여 비트스트림을 출력할 수 있다. 일 실시예에 따른 비디오 인코더(15)는, LC 관련정보를 포함하여 L0 관련정보 및 L1 관련정보를 포함하는 심볼들을 부호화하여 출력할 수 있다.The video prediction encoding apparatus 10 according to an embodiment may perform prediction encoding on image blocks and image data of a coding unit to output a prediction error, that is, a residual component of a reference image. The video encoder 15 may generate transform coefficients for quantization of transform and quantization of residual components, and perform entropy encoding on symbols such as transform coefficients, reference information, and encoding information, and output a bitstream. The video encoder 15 according to an embodiment may encode and output symbols including L0 related information and L1 related information including LC related information.

비디오 인코더(15)는, 변환 계수에 대하여, 다시 역양자화, 역변환, 예측보상을 거쳐 공간 영역의 영상을 복원하여 루프 필터링을 수행함으로써 복원영상을 생성할 수도 있다. 복원영상은 다음영상의 예측을 위한 참조영상으로써 이용될 수 있다. 즉, 일 실시예에 따른 예측부호화부(14)는 B 슬라이스인 현재 영상에 대한 쌍예측을 위해, L0, L1, LC 참조리스트에 따라, 비디오 인코더(15)에 의해 생성된 복원영상을 참조할 수 있다. 이런 식으로 예측부호화부(14)는 예측부호화를 통해 참조정보 및 예측오차를 결정할 수 있다. The video encoder 15 may generate a reconstructed image by performing loop filtering on the transform coefficient by reconstructing the image of the spatial domain through inverse quantization, inverse transform, and predictive compensation. The reconstructed image may be used as a reference image for prediction of the next image. That is, the prediction encoder 14 according to an embodiment may refer to the reconstructed image generated by the video encoder 15 according to L0, L1, LC reference list, for pair prediction of the current image that is a B slice. Can be. In this way, the prediction encoding unit 14 may determine the reference information and the prediction error through the prediction encoding.

따라서, 비디오 예측부호화 장치(10)를 통한 예측부호화를 거쳐 비디오 인코더(15)의 압축 부호화가 구현될 수 있다. Accordingly, compression encoding of the video encoder 15 may be implemented through prediction encoding through the video prediction encoding apparatus 10.

일 실시예에 따른 비디오 인코더(15)는, 비디오 부호화 결과를 출력하기 위해, 내부에 탑재된 비디오 인코딩 프로세서 또는 외부 비디오 인코딩 프로세서와 연계하여 작동함으로써, 예측부호화를 포함한 비디오 부호화 동작을 수행할 수 있다. 일 실시예에 따른 비디오 인코더(15)의 내부 비디오 인코딩 프로세서는, 별개의 프로세서인 경우를 포함하여, 비디오 예측부호화 장치(10) 또는 중앙 연산 장치, 그래픽 연산 장치가 비디오 인코딩 프로세싱 모듈을 구동함으로써 기본적인 비디오 부호화 동작을 구현하는 경우도 포함할 수도 있다. The video encoder 15 according to an embodiment may operate in conjunction with an internal video encoding processor or an external video encoding processor to output a video encoding result, thereby performing a video encoding operation including prediction encoding. . The internal video encoding processor of the video encoder 15 according to an embodiment includes a case where the video predictive encoding apparatus 10 or the central computing unit or the graphics processing unit drives the video encoding processing module, including a separate processor. It may also include a case of implementing a video encoding operation.

도 2 는 일 실시예에 따른 비디오 예측복호화 장치(20)의 블록도를 도시한다.2 is a block diagram of a video prediction decoding apparatus 20 according to an embodiment.

일 실시예에 따른 비디오 예측부호화 장치(20)는, LC 관련정보 판독부(22) 및 예측복호화부(24)를 포함한다.The video predictive encoding apparatus 20 according to an embodiment includes an LC related information reading unit 22 and a predictive decoding unit 24.

일 실시예에 따른 비디오 예측부호화 장치(10)는, LC 관련정보 판독부(22) 및 예측복호화부(24)를 총괄적으로 제어하는 중앙 프로세서(미도시)를 포함할 수 있다. 또는, LC 관련정보 판독부(22) 및 예측복호화부(24)가 각각의 자체 프로세서(미도시)에 의해 작동되며, 프로세서(미도시)들간이 상호 유기적으로 작동함에 따라 비디오 예측복호화 장치(20)가 전체적으로 작동될 수도 있다. 또는, 일 실시예에 따른 비디오 예측복호화 장치(20)의 외부 프로세서(미도시)의 제어에 따라, LC 관련정보 판독부(22) 및 예측복호화부(24)가 제어될 수도 있다.The video predictive encoding apparatus 10 according to an embodiment may include a central processor (not shown) that collectively controls the LC-related information reader 22 and the predictive decoder 24. Alternatively, the LC related information reading unit 22 and the predictive decoding unit 24 are operated by their own processors (not shown), and the video predictive decoding apparatus 20 is operated as the processors (not shown) operate organically with each other. ) May be operated as a whole. Alternatively, the LC related information reading unit 22 and the predictive decoding unit 24 may be controlled under the control of an external processor (not shown) of the video predictive decoding apparatus 20 according to an embodiment.

일 실시예에 따른 비디오 예측복호화 장치(20)는, LC 관련정보 판독부(22) 및 예측복호화부(24)의 입출력 데이터가 저장되는 하나 이상의 데이터 저장부(미도시)를 포함할 수 있다. 비디오 예측복호화 장치(20)는, 데이터 저장부(미도시)의 데이터 입출력을 관할하는 메모리 제어부(미도시)를 포함할 수도 있다.The video prediction decoding apparatus 20 according to an embodiment may include at least one data storage unit (not shown) in which input / output data of the LC-related information reading unit 22 and the prediction decoding unit 24 are stored. The video predictive decoding apparatus 20 may include a memory controller (not shown) that controls data input / output of the data storage unit (not shown).

일 실시예에 따른 비디오 예측복호화 장치(20)는, 수신된 비트스트림을 파싱하여, 영상의 복호화를 위한 부호화 정보를 추출할 수 있다. 비디오 예측복호화 장치(20)는, 비트스트림을 파싱하여, 영상의 예측을 위한 적어도 하나의 참조영상을 나타내는 참조정보 및 예측오차를 포함하는 예측정보를 추출할 수 있다. The video prediction decoding apparatus 20 according to an embodiment may parse the received bitstream and extract encoding information for decoding an image. The video prediction decoding apparatus 20 may parse the bitstream and extract the prediction information including the reference information and the prediction error indicating at least one reference image for the prediction of the image.

일 실시예에 따른 LC 관련정보 판독부(22)는, 현재영상을 위해 추출된 예측정보에 기초하여, 현재영상과 참조영상 간의 예측오차와 참조정보를 판독할 수 있다. LC 관련정보 판독부(22)는 추출된 부호화 정보로부터, 참조리스트에 관한 정보를 판독할 수 있다. 예를 들어 LC 관련정보 판독부(22)는, L0 관련정보, L1 관련정보 및 LC 관련정보를 판독할 수 있다. The LC related information reading unit 22 according to an exemplary embodiment may read the prediction error and the reference information between the current image and the reference image based on the prediction information extracted for the current image. The LC related information reading unit 22 can read information on the reference list from the extracted encoded information. For example, the LC related information reading unit 22 can read the L0 related information, the L1 related information, and the LC related information.

일 실시예에 따른 비디오 예측복호화 장치(20)가 수신된 비트스트림으로부터 LC 조합 확인 정보를 추출하거나, LC 관련정보 판독부(22)가 LC 조합 확인 정보를 판독할 필요가 없다. The video predictive decoding apparatus 20 according to an embodiment does not need to extract LC combination acknowledgment information from the received bitstream, or the LC related information reading unit 22 does not need to read the LC combination acknowledgment information.

일 실시예에 따른 LC 관련정보 판독부(22)는, LC 관련정보로서, LC 디폴트개수 정보, LC 액티브개수 정보, 및 LC 변경 관련 정보를 판독할 수 있다. 일 실시예에 따른 LC 관련정보 판독부(22)는, 현재 픽처를 위한 LC 디폴트개수 정보에 대한 정보를 판독할 수 있다. 일 실시예에 따른 LC 관련정보 판독부(22)는, 현재 슬라이스를 위한 LC 액티브개수 정보를 판독할 수 있다. 또한, 일 실시예에 따른 LC 관련정보 판독부(22)는, 현재 슬라이스를 위한 LC 변경 관련 정보를 판독할 수 있다. The LC related information reading unit 22 according to an embodiment may read LC default number information, LC active number information, and LC change related information as LC related information. According to an embodiment, the LC related information reading unit 22 may read information about LC default number information for the current picture. According to an embodiment, the LC related information reading unit 22 may read LC active number information for the current slice. Also, the LC related information reader 22 according to an embodiment may read LC change related information for the current slice.

일 실시예에 따른 LC 관련정보 판독부(22)는, 현재 픽처를 위한 파라미터들과 함께 LC 디폴트개수 정보에 대한 정보를 판독할 수 있다. 예를 들어 LC 관련정보 판독부(22)는, 각 픽처를 위해 시그널링된 PPS로부터 LC 디폴트개수 정보를 판독할 수도 있다. According to an embodiment, the LC related information reading unit 22 may read information on the LC default number information along with parameters for the current picture. For example, the LC related information reading unit 22 may read the LC default number information from the PPS signaled for each picture.

일 실시예에 따른 LC 관련정보 판독부(22)는, 현재 슬라이스를 위한 파라미터들과 함께 LC 액티브개수 정보를 판독할 수 있다. 또한, 일 실시예에 따른 LC 관련정보 판독부(22)는, 현재 현재 슬라이스를 위한 LC 변경 관련 정보를 판독할 수 있다. 예를 들어 LC 관련정보 판독부(22)는, 각 시퀀스를 위해 시그널링된 SPS로부터 LC 액티브개수 정보 및 LC 변경 관련 정보를 판독할 수 있다. According to an embodiment, the LC related information reading unit 22 may read LC active number information along with parameters for the current slice. Also, the LC related information reading unit 22 according to an embodiment may read LC change related information for the current current slice. For example, the LC related information reading unit 22 may read LC active number information and LC change related information from the SPS signaled for each sequence.

일 실시예에 따른 LC 관련정보 판독부(22)는, B 슬라이스마다 쌍예측을 위해, LO 참조리스트 및 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 LC 참조리스트를 결정할 수 있다. According to an embodiment, the LC related information reading unit 22 may determine an LC reference list including one or more reference images among LO pictures and reference pictures included in the L1 reference list for pair prediction. .

일 실시예에 따른 LC 관련정보 판독부(22)는, 각 픽처를 위한 LC 디폴트개수 정보로부터, LC 참조리스트에 할당되는 참조영상의 기본유효개수를 판독할 수 있다.The LC related information reading unit 22 according to an exemplary embodiment may read the basic valid number of reference images allocated to the LC reference list from the LC default number information for each picture.

일 실시예에 따른 예측복호화부(24)는, LC 디폴트개수 정보에 기초하여, LO 참조리스트 및 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 LC 참조리스트를 결정할 수 있다. 예측복호화부(24)는, 결정된 LC 참조리스트에 할당된 영상들을 참조하여 B 슬라이스 타입인 영상을 예측복호화할 수 있다. The prediction decoding unit 24 according to an embodiment may determine an LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information. The predictive decoding unit 24 may predictively decode an image having a B slice type by referring to the images allocated to the determined LC reference list.

일 실시예에 따른 LC 관련정보 판독부(22)는, 슬라이스마다, LC 액티브개수 변경확인 정보에 기초하여, 현재영상을 위한 LC 참조리스트에 할당되는 참조영상의 유효개수가 임의변경되는지 여부를 판독할 수 있다. 또한, 일 실시예에 따른 LC 관련정보 판독부(22)는, 슬라이스마다, 참조리스트 액티브개수 변경확인 정보에 기초하여, LC 액티브개수 변경확인 정보를 판독하고, LC 참조리스트에 할당되는 참조영상의 유효개수가 임의변경될 수 있는지 확인할 수도 있다. The LC related information reading unit 22 according to an embodiment reads whether or not the effective number of reference images allocated to the LC reference list for the current image is randomly changed based on the LC active number change confirmation information for each slice. can do. In addition, the LC-related information reading unit 22 according to an embodiment reads LC active-number change confirmation information based on the reference list active-number change confirmation information for each slice, and reads the LC-active-number change confirmation information, You can also check if the valid number can be changed.

예를 들어, 일 실시예에 따른 LC 관련정보 판독부(22)는, 슬라이스마다 참조리스트 액티브개수 변경확인 정보에 기초하여, 현재영상을 위한 참조영상의 유효개수가 임의변경될 수 있는지 판독할 수 있다. LC 관련정보 판독부(22)는, 참조리스트 액티브개수 변경확인 정보를 판독한 결과 참조리스트의 참조영상 개수가 변경된다면, L0 액티브개수 정보, L1 액티브개수 정보 중 적어도 하나와 함께, LC 액티브개수 정보를 판독할 수 있다. For example, the LC related information reading unit 22 according to an embodiment may read whether the effective number of reference images for the current image may be arbitrarily changed based on the reference list active number change confirmation information for each slice. have. If the number of reference images in the reference list is changed as a result of reading the reference list active number change confirmation information, the LC related information reading unit 22 together with at least one of the L0 active number information and the L1 active number information, the LC active number information Can be read.

일 실시예에 따른 LC 관련정보 판독부(22)는, 판독된 LC 액티브개수 변경확인 정보에 기초하여 참조영상의 유효개수가 임의변경될 수 있다면, LC 액티브개수 정보로부터, LC 참조리스트의 참조영상의 유효개수의 임의변경 후에 LC 참조리스트에 할당되는 참조영상의 현재유효개수를 판독할 수 있다.According to an embodiment, the LC related information reading unit 22 may, based on the read LC active number change confirming information, change the valid number of reference images from the LC active number information, from the LC active number information. The current valid number of reference pictures allocated to the LC reference list can be read after a random change of the effective number of.

일 실시예에 따른 LC 관련정보 판독부(22)는, 슬라이스마다, LC 변경 관련 정보로부터, LC 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 판독할 수 있다.The LC-related information reading unit 22 according to an embodiment may read information about a method of changing the reference image or the reference order of the LC reference list from the LC change-related information for each slice.

일 실시예에 따른 LC 관련정보 판독부(22)는, 픽처마다 현재영상을 위한 L0 디폴트 개수 정보 및 L1 디폴트개수 정보 중 적어도 하나와 함께, LC 디폴트개수 정보를 판독할 수 있다. The LC related information reading unit 22 according to an exemplary embodiment may read LC default number information together with at least one of L0 default number information and L1 default number information for the current image for each picture.

일 실시예에 따른 LC 관련정보 판독부(22)는, 슬라이스마다, 현재영상을 위한 L0 변경 관련 정보 및 L1 변경 관련 정보 중 적어도 하나와 함께, LC 변경 관련 정보를 판독할 수 있다. The LC related information reading unit 22 according to an exemplary embodiment may read LC change related information along with at least one of L0 change related information and L1 change related information for the current image for each slice.

일 실시예에 따른 LC 관련정보 판독부(22)가 LC 조합 확인 정보를 판독하지 않고도, 예측복호화부(24)는 L0 참조리스트 및 L1 참조리스트의 참조영상들을 이용하여 LC 참조리스트를 구성할 수 있다.The prediction decoding unit 24 may construct the LC reference list using reference images of the L0 reference list and the L1 reference list without the LC related information reading unit 22 reading the LC combination confirmation information. have.

일 실시예에 따른 예측복호화부(24)는, LC 관련정보 판독부(22)에 의해 판독된 참조정보에 기초하여, B 슬라이스 타입인 영상의 쌍예측을 위한 참조영상 및 참조영상의 참조순서를 포함하는 하나 이상의 참조리스트를 결정할 수 있다. 예를 들어, 예측복호화부(24)는, B 슬라이스 타입인 현재영상의 쌍예측을 위해, L0 참조리스트, L1 참조리스트 및 LC 참조리스트의 각 참조리스트가 가리키는 참조영상을 참조순서에 따라 참조하여 현재영상에 대해 움직임보상을 수행하고, 움직임보상 결과 복원영상을 생성할 수 있다. 예측복호화부(24)에 의해 생성된 복원영상은, 예측복호화의 결과영상으로 출력될 수 있다. 또한 복원영상은 다음영상의 움직임보상을 위한 참조영상으로써 이용될 수도 있다. The predictive decoding unit 24 according to an embodiment of the present invention uses the reference information read by the LC related information reading unit 22 to refer to the reference order of the reference image and the reference image for pair prediction of the image having the B slice type. One or more reference lists may be determined to include. For example, the predictive decoding unit 24 refers to the reference images indicated by the reference lists of the L0 reference list, L1 reference list, and LC reference list according to the reference order, for pair prediction of the current image having the B slice type. Motion compensation may be performed on the current image and a reconstructed image may be generated as a result of the motion compensation. The reconstructed image generated by the predictive decoding unit 24 may be output as a result image of the predictive decoding. The reconstructed image may also be used as a reference image for motion compensation of the next image.

비디오 예측복호화 장치(20)는 영상의 전체 데이터 대신에 예측정보를 이용하여 영상을 복원할 수 있으므로, 비디오 데이터량의 절감이 필요한 비디오 압축 부호화를 수행하는 비디오 복호화에 적용될 수 있다. Since the video prediction decoding apparatus 20 may reconstruct an image using prediction information instead of the entire data of the image, the video prediction decoding apparatus 20 may be applied to video decoding for performing video compression encoding that requires a reduction in the amount of video data.

일 실시예에 따른 비디오 예측복호화 장치(20)는, 비디오의 영상을 다수의 공간 영역으로 분할한 블록 또는 부호화 단위에 기초하여 비디오를 복호화하는 비디오 복호화기에 포함되거나 연계하여, 비디오 복호화를 위한 예측복호화를 수행할 수 있다. 또한 부호화 단위에 대한 예측복호화를 위해, 부호화 단위는 예측 단위들 및 파티션들로 분할되며, 예측 단위들 및 파티션들을 기초로 예측복호화가 수행될 수 있다.The video prediction decoding apparatus 20 according to an embodiment may be included in or associated with a video decoder that decodes a video based on a block or a coding unit that divides an image of the video into a plurality of spatial regions, and thus, predictive decoding for video decoding. Can be performed. In addition, for prediction decoding on a coding unit, the coding unit may be divided into prediction units and partitions, and prediction decoding may be performed based on the prediction units and partitions.

일 실시예에 따른 부호화 단위는, 고정적으로 결정된 형태의 매크로블록 뿐만 아니라, 일 실시예에 따른 트리 구조에 따른 부호화 단위들을 포함할 수 있다. 일 실시예에 따라, 트리 구조에 따른 부호화 단위들과 이에 따른 예측 단위들 및 파티션들은, 이하 도 7 내지 도 19을 참조하여 상술될 것이다.The coding unit according to an embodiment may include not only a fixed macroblock in a fixed form but also coding units having a tree structure according to an embodiment. According to an embodiment, coding units having a tree structure, prediction units and partitions according to the tree structure will be described below with reference to FIGS. 7 to 19.

일 실시예에 따른 비디오 예측복호화 장치(20)는, 비디오의 부호화 결과 생성된 비트스트림을 수신하면, 비트스트림을 파싱하여 부호화 심볼들을 추출할 수 있다. 심볼들에 대해 엔트로피 복호화, 역양자화 및 역변환이 수행하여, 참조 영상에 대한 예측오차가 복원될 수 있다. 예측오차 및 참조정보를 이용한 예측보상을 거쳐 공간 영역의 영상을 복원하고, 복원영상에 대해 루프 필터링을 수행할 수도 있다. 따라서, 비디오 예측복호화 장치(20)를 통한 예측복호화를 거쳐 비디오 디코더의 압축복호화가 구현될 수 있다.When the video prediction decoding apparatus 20 according to an embodiment receives a bitstream generated as a result of encoding video, the video prediction decoding apparatus 20 may parse the bitstream and extract encoded symbols. Entropy decoding, inverse quantization, and inverse transformation may be performed on the symbols so that a prediction error with respect to the reference image may be reconstructed. The image of the spatial region may be reconstructed through the prediction compensation using the prediction error and the reference information, and the loop filtering may be performed on the reconstructed image. Therefore, compression decoding of the video decoder may be implemented through prediction decoding through the video prediction decoding apparatus 20.

일 실시예에 따른 비디오 예측복호화 장치(20)는, 비디오 복호화 결과를 출력하기 위해, 내부에 탑재된 비디오 디코딩 프로세서 또는 외부 비디오 디코딩 프로세서와 연계하여 작동함으로써, 움직임보상을 포함한 비디오 복호화 동작을 수행할 수 있다. 일 실시예에 따른 비디오 예측복호화 장치(20)의 내부 비디오 디코딩 프로세서는, 별개의 프로세서인 경우를 포함하여, 예측복호화부(24) 또는 그래픽 연산 장치가 비디오 디코딩 프로세싱 모듈을 구동함으로써 기본적인 비디오 복호화 동작을 구현하는 경우도 포함할 수도 있다.
The video prediction decoding apparatus 20 according to an embodiment may operate in conjunction with an internal video decoding processor or an external video decoding processor to output a video decoding result, thereby performing a video decoding operation including motion compensation. Can be. The internal video decoding processor of the video predictive decoding apparatus 20 according to an embodiment may include a separate processor, and the basic video decoding operation may be performed by the predictive decoding unit 24 or the graphics computing apparatus driving the video decoding processing module. It may also include the case of implementing.

도 3 은 비디오의 픽처 시퀀스의 디스플레이 순서 및 코딩 순서를 도시한다.3 shows a display order and a coding order of a picture sequence of a video.

픽처 0, 1, 2, 3, 4, 5, 6, 7, 8 의 인덱스는 각 픽처의 디스플레이 순서를 나타낸다. 또한 픽처 0, 1, 2, 3, 4, 5, 6, 7, 8 의 수직 레벨은 각 픽처의 코딩 순서를 나타낸다. 예를 들어, 픽처 0 및 8이 가장 먼저 코딩되고, 다음 순서로 픽처 4가 코딩되고, 그 다음 픽처 2 및 6이 코딩되고, 마지막으로 픽처 1, 3, 5 및 7이 코딩된다. 픽처 0 및 8, 픽처 2 및 6, 그리고 픽처 1, 3, 5, 7과 같이 동일한 레벨의 픽처들 간에는, 디스플레이 순서가 선행하는 픽처들의 코딩 순서가 우선할 수 있다. The indices of pictures 0, 1, 2, 3, 4, 5, 6, 7, and 8 indicate the display order of each picture. In addition, the vertical levels of pictures 0, 1, 2, 3, 4, 5, 6, 7, and 8 indicate the coding order of each picture. For example, pictures 0 and 8 are coded first, picture 4 is coded in the following order, then pictures 2 and 6 are coded, and picture 1, 3, 5 and 7 are finally coded. Between pictures of the same level, such as pictures 0 and 8, pictures 2 and 6, and pictures 1, 3, 5, and 7, the coding order of pictures preceding the display order may take precedence.

도 4 는 도 3의 픽처 시퀀스 중 B 슬라이스 타입인 픽처들의 L0, L1, LC 참조리스트의 관계를 도시한다.FIG. 4 illustrates a relationship between L0, L1, and LC reference lists of pictures having a B slice type in the picture sequence of FIG. 3.

픽처 0, 1, 2, 3, 4, 5, 6, 7, 8은 8개의 픽처들로 구성된 GOP (Group of Pictures) 단위의 픽처들이다. 예를 들어 픽처 0 또는 8 이 I 슬라이스들인 경우, 첫 I 슬라이스 타입인 픽처 0를 포함하면서, 다음 I 슬라이스 타입인 픽처 8 이전의 픽처들의 그룹인, 픽처 0, 1, 2, 3, 4, 5, 6, 7이 하나의 GOP를 구성할 수 있다. Pictures 0, 1, 2, 3, 4, 5, 6, 7, and 8 are pictures of a GOP (Group of Pictures) unit consisting of eight pictures. For example, if picture 0 or 8 is I slices, picture 0, 1, 2, 3, 4, 5, which is a group of pictures before picture 8 of the next I slice type, including picture 0 of the first I slice type , 6, and 7 may constitute one GOP.

B 슬라이스 타입인 픽처는 최대 4개의 영상을 참조할 수 있고, L0, L1 참조리스트는 각각 최대 2개의 참조영상들을 포함할 수 있다. A picture having a B slice type may refer to up to four pictures, and the L0 and L1 reference lists may include up to two reference pictures, respectively.

도표(40)에서 POC 열에는, 디코딩 순서에 따라 현재픽처의 인덱스를 나열되어 있다. 도표(40)의 L0, L1, LC 열에는 각각, 현재픽처를 위한 L0, L1, LC 참조리스트에 할당된 참조영상들의 인덱스를 나열된다.In the table 40, the POC column lists the index of the current picture in decoding order. In the L0, L1 and LC columns of the table 40, the indices of the reference pictures allocated to the L0, L1 and LC reference lists for the current picture are listed, respectively.

원칙적으로, L0 참조리스트(L1 참조리스트)에, 현재픽처보다 먼저 코딩된 영상들 중에서 현재픽처보다 인덱스가 선행(후행)하는 영상들이 참조영상으로서 할당될 수 있다. 또한, 현재픽처보다 인덱스가 선행(후행)하는 영상들 중에서 현재픽처에 가까운 순서로 참조영상의 참조순서가 결정될 수 있다. In principle, among the pictures coded before the current picture, the pictures that have a leading index (following) from the current picture may be allocated as the reference picture to the L0 reference list (L1 reference list). In addition, the reference order of the reference picture may be determined in the order of closer to the current picture among the pictures that have an index (first) following the current picture.

픽처 6을 예로 들어 설명하면, 픽처 6보다 먼저 코딩된 영상들은 픽처 0, 2, 4, 8이므로, 먼저 코딩된 영상들 중 픽처 6보다 선행하면서 가까운 순서대로 픽처 4 및 2가 픽처 6의 L0 참조리스트에 할당될 수 있다. Taking picture 6 as an example, pictures coded before picture 6 are pictures 0, 2, 4, and 8, so that pictures 4 and 2 refer to L0 of picture 6 in order of precedence and closest to picture 6 of the first coded pictures. Can be assigned to a list.

예외적으로, 현재픽처보다 먼저 코딩된 영상들 중에서 현재픽처보다 인덱스가 선행(후행)하는 영상이 2개보다 적은 경우에, 먼저 코딩된 영상들 중에서 후행(선행)하는 영상들 중에서 현재픽처의 디스플레이 순서에 가장 가까운 픽처가, L0 참조리스트(L1 참조리스트)의 참조영상으로 채택될 수 있다. Exceptionally, when there are less than two pictures that are indexed before the current picture among the pictures coded before the current picture, the display order of the current picture among the pictures that are trailing (preceding) among the first coded pictures. The picture closest to may be adopted as the reference picture of the L0 reference list (L1 reference list).

픽처 4를 예로 들어 설명하면, 픽처 4보다 먼저 코딩된 영상들은 픽처 0 및 8이지만, 픽처 4보다 선행하는 영상은 픽처 0 뿐이므로, 픽처 4의 L0 참조리스트는 선행하는 픽처 0 뿐만 아니라 후행하는 픽처 8도 포함할 수 있다. 마찬가지로, 픽처 4의 L1 참조리스트는, 후행하는 픽처 8 뿐만 아니라 선행하는 픽처 0도 포함할 수 있다. Taking picture 4 as an example, since pictures coded before picture 4 are pictures 0 and 8, but pictures preceding picture 4 are only picture 0, the L0 reference list of picture 4 is not only the preceding picture 0 but also the following picture. 8 may also be included. Similarly, the L1 reference list of picture 4 may include not only the following picture 8 but also the preceding picture 0.

픽처 6을 예로 들어 설명하면, 픽처 6보다 먼저 코딩된 영상들은 픽처 0, 2, 4, 8이지만, 픽처 6보다 후행하는 영상은 픽처 0 뿐이므로, 픽처 6의 L1 참조리스트는 후행하는 픽처 8 뿐만 아니라, 픽처 6에 선행하면서 가까운 픽처 4도 포함할 수 있다. Taking picture 6 as an example, pictures coded before picture 6 are pictures 0, 2, 4, and 8, but since picture following picture 6 is only picture 0, the L1 reference list of picture 6 is not only picture 8 that follows. In addition, it may also include the close picture 4 preceding the picture 6.

LC 참조리스트는, L0 참조리스트의 참조영상과 L1 참조리스트의 참조영상의 조합으로 구성될 수 있다. 따라서, L0 참조리스트의 참조영상의 개수(N_L0), L1 참조리스트의 참조영상의 개수(N_L1), LC 참조리스트의 참조영상의 개수(N_LC)의 관계는 아래 관계식 (A)와 같이 결정될 수 있다. The LC reference list may consist of a combination of the reference picture of the L0 reference list and the reference picture of the L1 reference list. Therefore, the relationship between the number of reference images (N_L0) of the L0 reference list, the number of reference images (N_L1) of the L1 reference list, and the number of reference images (N_LC) of the LC reference list may be determined as shown in relation (A) below. .

관계식 (A): N_LC = [0, (N_L0 + N_L1)]Relation (A): N_LC = [0, (N_L0 + N_L1)]

즉, LC 참조리스트의 참조영상의 개수(N_LC)는 0 이상이고, L0 참조리스트의 참조영상의 개수(N_L0)와 L1 참조리스트의 참조영상의 개수(N_L1)의 합보다 적거나 같을 수 있다.That is, the number N_LC of reference images of the LC reference list may be equal to or greater than zero, and may be less than or equal to the sum of the number N_L0 of reference images of the L0 reference list and the number N_L1 of reference images of the L1 reference list.

도표 400을 예로 들어 설명하면, LC 참조리스트는 최대 4개의 참조영상을 포함할 수 있지만, 픽처 8, 4, 2, 6, 1 및 7 은 L0 참조리스트 및 L1 참조리스트의 일부 참조영상이 중복됨에 따라, L0 참조리스트 및 L1 참조리스트의 참조영상들이 조합하더라도, LC 참조리스트의 참조영상이 4개보다 적게 결정될 수 있다. Referring to Table 400 as an example, the LC reference list may include up to four reference images, but the pictures 8, 4, 2, 6, 1, and 7 overlap some reference images of the L0 reference list and the L1 reference list. Accordingly, even if the reference pictures of the L0 reference list and the L1 reference list are combined, fewer than four reference pictures of the LC reference list may be determined.

따라서, LC 참조리스트의 참조영상 및 참조영상의 개수는 L0 참조리스트 및 L1 참조리스트에 할당된 참조영상들의 상태에 의존적으로 결정될 수 있다. Accordingly, the number of reference pictures and reference pictures of the LC reference list may be determined depending on the state of reference pictures allocated to the L0 reference list and the L1 reference list.

일 실시예에 따른 비디오 예측부호화 장치(10)는 L0 관련정보, L1 관련정보 및 LC 관련정보를 전송할 수 있다. 일 실시예에 따른 비디오 예측복호화 장치(20)는, 수신된 비트스트림으로부터 추출한 부호화 정보들을 신택스에 따라 판독하며, 신택스에 따라 L0 관련정보, L1 관련정보 및 LC 관련정보도 판독할 수 있다. 이하 도 5 내지 10은 일 실시예에 따른 L0 관련정보, L1 관련정보 및 LC 관련정보의 신택스들을 도시한다.The video predictive encoding apparatus 10 according to an embodiment may transmit L0 related information, L1 related information, and LC related information. The video prediction decoding apparatus 20 according to an embodiment may read encoded information extracted from the received bitstream according to syntax, and may also read L0 related information, L1 related information, and LC related information according to the syntax. 5 through 10 illustrate syntaxes of L0 related information, L1 related information, and LC related information, according to an exemplary embodiment.

도 5 는 슬라이스마다 설정되는 LC 관련정보의 신택스를 도시한다.5 shows syntax of LC related information set for each slice.

슬라이스 헤더(slice_header(), 50)는 매 슬라이스마다 설정되며, 각 슬라이스 헤더(50)는, 현재 슬라이스의 부호화/복호화를 위해 필요한 각종 정보를 포함할 수 있다. 따라서, 슬라이스 헤더(50)에 수록된 각종 정보는 현재 슬라이스에 대해 설정된 정보들이다. 예를 들어, 슬라이스 헤더(50)은, LC 관련 정보(ref_pic_list_combination(), 51)를 포함할 수 있다. 슬라이스 헤더(50) 중 LC 관련 정보(51)는 현재 슬라이스를 위한 LC참조리스트와 관련하여 설정된 정보일 수 있다. The slice header (slice_header ()) 50 is set for each slice, and each slice header 50 may include various pieces of information necessary for encoding / decoding a current slice. Therefore, the various types of information included in the slice header 50 are information set for the current slice. For example, the slice header 50 may include LC related information (ref_pic_list_combination (), 51). The LC related information 51 in the slice header 50 may be information set in association with an LC reference list for the current slice.

LC 관련 정보(51)는, LC 조합 확인 정보(ref_pic_list_combination_flag, 53), LC 액티브개수 정보(num_ref_idx lc_active_minus1, 55), LC 변경 관련 정보를 포함한다. 일 실시예에 따른 LC 변경 관련 정보는, LC 변경 확인 정보(ref_pic_list_modification_flag_lc, 57), L0/L1 영상 확인 정보(pic_from_list_0_flag, 58), 현재 인덱스 정보(ref_idx_list_curr, 59) 등을 포함할 수 있다. The LC related information 51 includes LC combination confirmation information (ref_pic_list_combination_flag) 53, LC active number information (num_ref_idx lc_active_minus1, 55), and LC change related information. The LC change related information according to an embodiment may include LC change confirmation information (ref_pic_list_modification_flag_lc, 57), L0 / L1 image identification information (pic_from_list_0_flag, 58), current index information (ref_idx_list_curr, 59), and the like.

예를 들어, LC 조합 확인 정보(53)에 기초하여 L0/L1 참조리스트의 참조영상들을 조합하여 LC 참조리스트가 구성된다고 판단되면, LC 액티브개수 정보(55)가 나타내는 LC 참조리스트에 할당된 참조영상의 현재유효개수가 판독될 수 있다. For example, if it is determined that the LC reference list is formed by combining the reference images of the L0 / L1 reference list based on the LC combination confirmation information 53, the reference assigned to the LC reference list indicated by the LC active number information 55 The current valid number of images can be read.

LC 변경 확인 정보(57)에 따라 LC 참조리스트가 변경되는 경우, LC 참조리스트에 포함될 하나 이상의 참조영상이 새롭게 할당될 수 있다. 즉, LC 액티브개수 정보(55)가 나타내는 LC 참조리스트에 할당된 참조영상의 현재유효개수와 동일한 개수만큼의 참조영상들이 새롭게 할당될 수 있다. 새롭게 할당된 각각의 참조영상마다, L0/L1 영상 확인 정보(58)에 기초하여 원래 L0참조리스트 또는 L1 참조리스트의 참조영상인지 확인되고, 현재 인덱스 정보(59)에 기초하여 원래 참조리스트에서의 인덱스가 확인될 수 있다.When the LC reference list is changed according to the LC change confirmation information 57, one or more reference images to be included in the LC reference list may be newly allocated. That is, as many reference pictures as the current valid number of reference pictures allocated to the LC reference list indicated by the LC active number information 55 may be newly allocated. For each newly allocated reference image, it is confirmed whether it is a reference image of the original L0 reference list or L1 reference list based on the L0 / L1 image identification information 58, and on the original reference list based on the current index information 59. The index can be verified.

따라서, 도 5의 경우, LC 관련 정보(51)가 슬라이스 헤더(50)에 포함되어 있다면, 매 슬라이스마다 LC 조합 확인 정보(53)가 전송/판독된다. 또한, L0/L1 관련 정보와는 별개로, 슬라이스마다 전송/판독된 LC 조합 확인 정보(53)에 따라 L0/L1 참조리스트의 참조영상들을 조합하여 LC 참조리스트가 구성된다면, LC 액티브개수 정보(55), LC 변경 관련 정보가 전송/판독된다. Thus, in the case of FIG. 5, if LC related information 51 is included in slice header 50, LC combination confirmation information 53 is transmitted / read for every slice. Also, apart from the L0 / L1 related information, if the LC reference list is formed by combining the reference images of the L0 / L1 reference list according to the LC combination confirmation information 53 transmitted / read per slice, the LC active number information ( 55) LC change related information is transmitted / read.

도 6 은 일 실시예에 따른 참조리스트 디폴트개수 정보의 신택스를 도시한다.6 is a diagram illustrating syntax of reference list default number information according to an embodiment.

일 실시예에 따른 PPS 정보(pic_parameter_set_rbsp( ), 60)은, L0 디폴트개수 정보(num_ref_idx_l0_default_active_minus1, 61), L1 디폴트개수 정보(num_ref_idx_l1_default_active_minus1, 63) 및 LC 디폴트개수 정보(num_ref_idx_lc_default_active_minus1, 65)를 포함할 수 있다.PPS information pic_parameter_set_rbsp () 60 according to an embodiment may include L0 default number information (num_ref_idx_l0_default_active_minus1, 61), L1 default number information (num_ref_idx_l1_default_active_minus1, 63), and LC default number information (num_ref_idactive_min_default_min_default_min) .

따라서, 매 픽처마다 L0 참조리스트, L1 참조리스트에 대한 기본유효개수와 함께, LC 참조리스트에 대한 기본유효개수가 설정될 수 있다. 또한 매 픽처에 대한 PPS 정보(60)마다, 각 픽처에 대한 LC 디폴트개수 정보가 수록되어 전송될 수 있다. 또한, 수신된 비디오 스트림으로부터 추출되는 PPS 정보(60)마다 LC 디폴트개수 정보를 포함하므로, 각 픽처에 대한 PPS 정보(60)로부터 현재 픽처에 대한 LC 디폴트개수 정보가 판독될 수 있다. 따라서, 매 픽처마다 L0 디폴트개수 정보, L1 디폴트개수 정보와 함께 LC 디폴트개수 정보가 판독되어, L0 참조리스트, L1 참조리스트에 대한 기본유효개수와 함께 LC 참조리스트에 대한 기본유효개수가 결정될 수 있다. Therefore, the basic validity number for the LC reference list can be set with the L0 reference list and the L1 reference list for every picture. In addition, for each PPS information 60 for each picture, the LC default number information for each picture may be stored and transmitted. In addition, since the PPS information 60 extracted from the received video stream includes LC default number information, the LC default number information for the current picture can be read from the PPS information 60 for each picture. Accordingly, the LC default number information is read with L0 default number information and L1 default number information for each picture, so that the basic valid number for the LC reference list together with the basic valid number for the L0 reference list and L1 reference list can be determined. .

또한, 도 5에서는 슬라이스마다 LC 조합 확인 정보(ref_pic_list_combination_flag, 53)가 설정되어 전송/판독되었지만, 도 6에서는, 매 픽처마다 LC 디폴트개수 정보(65)가 설정된다는 점에서 이미 LC 참조리스트의 구성이 암시될 수 있다. 따라서, 일 실시예에 따라 픽처마다 LC 디폴트개수 정보(65)가 설정됨에 따라 슬라이스마다 LC 조합 확인 정보(53)가 전송되어 판독될 필요가 없다. In addition, although LC combination confirmation information (ref_pic_list_combination_flag, 53) is set and transmitted / read in each slice in FIG. 5, in FIG. May be implied. Therefore, as the LC default number information 65 is set for each picture according to an embodiment, the LC combination confirmation information 53 does not need to be transmitted and read for each slice.

도 7 은 일 실시예에 따라 LC 디폴트개수 정보에 따라 설정되는 LC 참조리스트들을 도시한다.7 illustrates LC reference lists set according to LC default number information according to an embodiment.

일 실시예에 따른 LC 디폴트개수 정보(num_ref_idx_lc_default_active)는, LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타낼 수 있다. The LC default number information num_ref_idx_lc_default_active according to an embodiment may indicate a basic valid number of reference pictures allocated to the LC reference list.

제1 도표(70) 및 제2 도표(75)는, 각각 LC 디폴트개수 정보(num_ref_idx_lc_default_active)가 다른 값으로 설정될 때, LC 참조리스트에 할당되는 참조영상의 기본유효개수의 변동 결과를 도시한다. The first chart 70 and the second chart 75 show the result of variation of the default effective number of reference pictures allocated to the LC reference list when the LC default number information (num_ref_idx_lc_default_active) is set to a different value, respectively.

도 4에서 참조된 도표(40)과 유사하게, 제1 도표(70) 및 제2 도표(75)의 POC 열에는, 디코딩 순서에 따라 현재픽처의 인덱스를 나열되어 있다. 제1 도표(70) 및 제2 도표(75)의 L0, L1, LC 열은 각각, 현재픽처를 위한 L0, L1, LC 참조리스트에 할당된 참조영상들의 인덱스를 나타낸다. Similar to the chart 40 referenced in FIG. 4, the POC columns of the first chart 70 and the second chart 75 list the index of the current picture in decoding order. The L0, L1 and LC columns of the first and second charts 70 and 75 represent the indices of reference pictures allocated to the L0, L1 and LC reference lists for the current picture, respectively.

예를 들어, 제1 도표(70)는 LC 디폴트개수 정보(num_ref_idx_lc_default_active)가 0으로 설정되는 경우, L0, L1, LC 참조리스트의 참조영상들을 도시한다. 일 실시예에 따른 LC 디폴트개수 정보(num_ref_idx_lc_default_active)가 0으로 설정되는 경우, LC 참조리스트를 위한 참조영상의 기본유효개수가 별도로 설정되지 않으며, L0 참조리스트 및 L1 참조리스트의 상태에 따라 자동적으로 LC 참조리스트의 기본유효개수가 결정될 수 있다. 따라서 제1 도표(70)에서, LC 참조리스트는, 각 현재픽처에 대한 LC 참조리스트는, L0 참조리스트 및 L1 참조리스트의 모든 참조영상들의 조합을 포함할 수 있다. For example, when the LC default number information (num_ref_idx_lc_default_active) is set to 0, the first table 70 shows reference images of L0, L1, and LC reference list. When the LC default number information (num_ref_idx_lc_default_active) is set to 0 according to an embodiment, the default valid number of reference images for the LC reference list is not set separately and is automatically set according to the states of the L0 reference list and the L1 reference list. The base validity number of the reference list can be determined. Therefore, in the first table 70, the LC reference list, the LC reference list for each current picture may include a combination of all reference pictures of the L0 reference list and the L1 reference list.

예를 들어, 제2 도표(75)는 LC 디폴트개수 정보(num_ref_idx_lc_default_active)가 2으로 설정되는 경우, L0, L1, LC 참조리스트의 참조영상들을 도시한다. 일 실시예에 따른 LC 디폴트개수 정보(num_ref_idx_lc_default_active)가 0 이외의 값으로 설정되는 경우, LC 참조리스트를 위한 참조영상의 기본유효개수는 LC 디폴트개수 정보의 값으로 결정될 수 있다. 따라서, 제2 도표(75)에서 LC 참조리스트를 위한 참조영상의 기본유효개수가 2개로 결정되므로, 현재픽처에 대한 LC 참조리스트는, L0 참조리스트 및 L1 참조리스트의 모든 참조영상들 중에서 현재픽처에 가까운 두개의 참조영상들만을 포함할 수 있다. For example, when the LC default number information (num_ref_idx_lc_default_active) is set to 2, the second diagram 75 shows reference images of L0, L1, and LC reference list. When the LC default number information (num_ref_idx_lc_default_active) is set to a value other than 0, the basic valid number of reference images for the LC reference list may be determined as the value of the LC default number information. Therefore, since the basic valid number of reference pictures for the LC reference list in the second table 75 is determined to be two, the LC reference list for the current picture is the current picture among all reference pictures of the L0 reference list and the L1 reference list. Only two reference images close to may be included.

또한 앞서 도 6를 참조하여, PPS 정보(80, 90, 150)에, L0/L1/LC 참조리스트에 대한 각각의 디폴트개수 정보가 수록되는 실시예가 제안되었지만, 본 발명의 특징은 이에 한정되어 해석되어서는 아니된다. 예를 들어, 다른 실시예에 따른 L0/L1/LC 참조리스트에 대한 디폴트개수 정보는 SPS(Sequence Parameter Set) 정보, APS(Adaptation Parameter Set) 정보, 임의의 파라미터 세트, 슬라이스 헤더 또는 시퀀스 헤더(Sequence Header) 등에 수록될 수 있다. Also, with reference to FIG. 6, an embodiment in which the default number information of each of the L0 / L1 / LC reference lists is included in the PPS information 80, 90, and 150 has been proposed, but the features of the present invention are limited thereto. It should not be. For example, the default number information for the L0 / L1 / LC reference list according to another embodiment may include sequence parameter set (SPS) information, adaptation parameter set (APS) information, arbitrary parameter set, slice header, or sequence header (Sequence). Header) or the like.

따라서, 다른 실시예에 따른 L0/L1/LC 참조리스트에 대한 디폴트개수 정보는, 시퀀스 파라미터들, 어댑테이션 파라미터들 또는 임의의 파라미터들과 함께 전송/판독될 수 있다. 다른 실시예에 따른 L0/L1/LC 참조리스트에 대한 디폴트개수 정보는, 매 슬라이스마다 설정되어 각 슬라이스에 대한 각종 파라미터들과 함께 전송/판독되거나, 매 시퀀스마다 설정되어 각 시퀀스에 대한 각종 파라미터들과 함께 전송/판독될 수 있다. Accordingly, the default number information for the L0 / L1 / LC reference list according to another embodiment may be transmitted / read along with sequence parameters, adaptation parameters or arbitrary parameters. The default number information for the L0 / L1 / LC reference list according to another embodiment may be set for each slice to be transmitted / read with various parameters for each slice, or set for each sequence for various parameters for each sequence. Can be transmitted / read together.

도 8 과 9 은 다양한 실시예에 따른 참조리스트 액티브개수 관련 정보의 신택스들을 도시한다.8 and 9 illustrate syntaxes of reference list active number related information according to various embodiments.

도 8 및 9에서, 슬라이스 헤더(slice_header(), 80 및 90)는 각각 L0 액티브개수 관련 정보, L1 액티브개수 관련정보 및 LC 액티브개수 관련 정보를 포함하고 있다. 8 and 9, the slice headers (slice_header (), 80, and 90) include L0 active number related information, L1 active number related information, and LC active number related information, respectively.

도 8의 슬라이스 헤더(90)부터 구체적으로 보면, 현재 슬라이스가 P 또는 B 슬라이스 타입인 경우, L0 액티브개수 관련 정보, L1 액티브개수 관련정보가 판독될 수 있다. Specifically, starting from the slice header 90 of FIG. 8, when the current slice is a P or B slice type, the L0 active number related information and the L1 active number related information may be read.

먼저 참조리스트 액티브개수 변경확인 정보(num_ref_idx_active_override_flag, 81)가 판독될 수 있다. 참조리스트 액티브개수 변경확인 정보(81)에 기초하여, 참조리스트의 참조영상의 유효개수가 임의변경될지 여부가 결정될 수 있다. First, the reference list active number change confirmation information num_ref_idx_active_override_flag 81 may be read. Based on the reference list active number change confirmation information 81, it may be determined whether the effective number of reference images of the reference list is changed randomly.

참조리스트 액티브개수 변경확인 정보(81)에 기초하여 참조리스트의 참조영상의 유효개수가 임의변경된다고 판단되면, L0 액티브개수 정보(num_ref_idx_l0_active_minus1, 83)가 판독될 수 있다. L0 액티브개수 정보(83)에 기초하여 L0 참조리스트에 할당되는 참조영상의 현재유효개수가 결정될 수 있다. When it is determined that the valid number of reference images of the reference list is randomly changed based on the reference list active number change confirmation information 81, the L0 active number information (num_ref_idx_l0_active_minus1, 83) can be read. Based on the L0 active number information 83, the current valid number of reference images allocated to the L0 reference list may be determined.

앞서 참조리스트의 참조영상의 유효개수가 임의변경된다고 판단되고, 현재 슬라이스가 B 슬라이스 타입인 경우, L1 액티브개수 정보(num_ref_idx_l1_active_minus1, 85)가 판독될 수 있다. L1 액티브개수 정보(85)에 기초하여 L1 참조리스트에 할당되는 참조영상의 현재유효개수가 결정될 수 있다. If it is determined that the effective number of reference images of the reference list has been arbitrarily changed, and the current slice is a B slice type, the L1 active number information (num_ref_idx_l1_active_minus1, 85) may be read. The current valid number of reference pictures allocated to the L1 reference list may be determined based on the L1 active number information 85.

또한, 앞서 L0 액티브개수 관련 정보, L1 액티브개수 관련 정보와 별개로, 현재 슬라이스가 B 슬라이스 타입인 경우, LC 액티브개수 관련 정보가 판독될 수 있다. 먼저 LC 액티브개수 변경확인 정보(num_ref_idx_lc_active_override_flag, 87)가 판독될 수 있다. LC 액티브개수 변경확인 정보(81)에 기초하여, LC 참조리스트의 참조영상의 유효개수가 임의변경될지 여부가 결정될 수 있다. In addition, separately from the L0 active number related information and the L1 active number related information, when the current slice is a B slice type, the LC active number related information may be read. First, LC active number change confirmation information (num_ref_idx_lc_active_override_flag) 87 may be read. Based on the LC active number change confirming information 81, it may be determined whether or not the effective number of reference images of the LC reference list is changed randomly.

LC 액티브개수 변경확인 정보(81)에 기초하여, LC 참조리스트의 참조영상의 유효개수가 임의변경된다고 판단되면, LC 액티브개수 정보(num_ref_idx_lC_active_minus1, 89)가 판독될 수 있다. LC 액티브개수 정보(89)에 기초하여 LC 참조리스트에 할당되는 참조영상의 현재유효개수가 결정될 수 있다. Based on the LC active number change confirming information 81, if it is determined that the valid number of reference images of the LC reference list is arbitrarily changed, the LC active number information (num_ref_idx_lC_active_minus1, 89) can be read. The current valid number of reference pictures allocated to the LC reference list may be determined based on the LC active number information 89.

다음으로 도 9의 슬라이스 헤더(90)를 구체적으로 보면, 현재 슬라이스가 P 또는 B 슬라이스 타입인 경우, 참조리스트 액티브개수 변경확인 정보(num_ref_idx_active_override_flag, 91)가 판독될 수 있다. 참조리스트 액티브개수 변경확인 정보(91)에 기초하여 참조리스트의 참조영상의 유효개수가 임의변경된다고 판단되면, L0 액티브개수 정보(num_ref_idx_l0_active_minus1, 93)가 판독되어 L0 참조리스트에 할당되는 참조영상의 현재유효개수가 결정될 수 있다. Next, referring to the slice header 90 of FIG. 9 in detail, when the current slice is a P or B slice type, reference list active number change confirmation information (num_ref_idx_active_override_flag) 91 may be read. If it is determined that the valid number of reference images of the reference list is randomly changed based on the reference list active number change confirmation information 91, the L0 active number information (num_ref_idx_l0_active_minus1, 93) is read and the current number of the reference images allocated to the L0 reference list is read. The effective number can be determined.

또한, 참조리스트의 참조영상의 유효개수가 임의변경된다고 판단되고 현재 슬라이스가 B 슬라이스 타입인 경우, L1 액티브개수 정보(num_ref_idx_l1_active_minus1, 95)와 LC 액티브개수 정보(num_ref_idx_lc_active_minus1, 97)가 함께 판독될 수 있다. L1 액티브개수 정보(95)에 기초하여 L1 참조리스트에 할당되는 참조영상의 현재유효개수가 결정되고, LC 액티브개수 정보(97)에 기초하여 LC 참조리스트에 할당되는 참조영상의 현재유효개수가 결정될 수 있다. In addition, when it is determined that the effective number of reference images of the reference list is randomly changed and the current slice is a B slice type, the L1 active number information (num_ref_idx_l1_active_minus1, 95) and the LC active number information (num_ref_idx_lc_active_minus1, 97) may be read together. . The current valid number of reference images allocated to the L1 reference list is determined based on the L1 active number information 95, and the current valid number of reference images allocated to the LC reference list is determined based on the LC active number information 97. Can be.

따라서, 도 8 및 9의 경우, 슬라이스마다 L0/L1/LC 참조리스트에 대한 액티브개수 관련 정보가 설정될 수 있다. 또한, 도 5에서 기술된 실시예에서는, L0/L1 참조리스트에 대한 액티브개수 관련 정보와는 별개로, LC 액티브개수 정보(55)가 슬라이스마다 전송/판독된데 반해, 도 8 및 9의 실시예들에서는, 슬라이스 헤더(80 및 90)에 L0/L1 참조리스트에 대한 액티브개수 관련 정보(81, 83, 85, 91, 93, 95)와 함께, LC 참조리스트에 대한 액티브개수 관련정보(87, 89, 97)가 전송/판독될 수 있다. Therefore, in the case of FIGS. 8 and 9, active number related information about the L0 / L1 / LC reference list may be set for each slice. In addition, in the embodiment described in FIG. 5, the LC active number information 55 is transmitted / read per slice separately from the active number related information for the L0 / L1 reference list. In the examples, the active count related information 87 for the LC reference list, together with the active count related information 81, 83, 85, 91, 93, 95 for the L0 / L1 reference list in the slice headers 80 and 90 , 89, 97 may be transmitted / read.

도 8 및 9를 참조하여 개시된 일 실시예에 따른 LC 액티브개수 정보(89, 97)는, LC 참조리스트의 현재유효개수를 직접 나타낼 수 있다. 또한 다른 실시예에 따른 LC 액티브개수 정보는, L0 참조리스트의 현재유효개수에 대한 차분, L1 참조리스트의 현재유효개수에 대한 차분, 또는 L0 참조리스트와 L1 참조리스트의 현재유효개수의 합에 대한 차분을 나타낼 수도 있다. The LC active number information 89 and 97 according to the embodiment disclosed with reference to FIGS. 8 and 9 may directly indicate the current valid number of the LC reference list. Also, the LC active number information according to another embodiment may include a difference of the current valid number of the L0 reference list, the difference of the current valid number of the L1 reference list, or the sum of the current valid number of the L0 reference list and the L1 reference list. It can also represent differences.

도 10 은 일 실시예에 따른 참조리스트 변경 정보의 신택스를 도시한다.10 is a diagram illustrating syntax of reference list change information, according to an exemplary embodiment.

도 10에서, 슬라이스 헤더(slice_header(), 150)는 참조리스트 변경 관련 정보(ref_pic_list_modification(), 151)를 포함하고 있다. In FIG. 10, the slice header slice_header () 150 includes reference list change related information ref_pic_list_modification () 151.

일 실시예에 따른 참조리스트 변경 관련 정보(151)는, 현재 슬라이스에 대한 L0 변경 관련 정보, L1 변경 관련 정보, 및 LC 변경 관련 정보를 포함할 수 있다. The reference list change related information 151 according to an embodiment may include L0 change related information, L1 change related information, and LC change related information about the current slice.

먼저 현재 슬라이스가 P 또는 B 슬라이스 타입인 경우, L0 변경확인 정보(ref_pic_list_modification_flag_l0, 153)가 판독될 수 있다. L0 변경확인 정보(153)에 기초하여, L0 참조리스트의 참조영상이 변경될지 여부가 결정될 수 있다. First, when the current slice is a P or B slice type, the L0 modification confirmation information ref_pic_list_modification_flag_10 and 153 may be read. Based on the L0 change confirmation information 153, it may be determined whether the reference picture of the L0 reference list is to be changed.

L0 변경확인 정보(153)에 기초하여 L0 참조리스트의 참조영상이 변경된다고 판단되면, 참조영상 변경 동작 정보(modification_of_pic_nums_idc, 155)가 판독될 수 있다. 참조영상 변경 동작 정보(155)에 기초하여 참조영상 번호 차분 정보(abs_diff_pic_num_minus1, 157) 또는 롱텀 참조영상 번호 정보(long_term_pic_num, 159)가 결정될 수 있다. When it is determined that the reference picture of the L0 reference list is changed based on the L0 change confirmation information 153, the reference picture change operation information modification_of_pic_nums_idc 155 may be read. Reference image number difference information (abs_diff_pic_num_minus1, 157) or long term reference image number information (long_term_pic_num, 159) may be determined based on the reference image change operation information 155.

다음, 현재 슬라이스가 B 슬라이스 타입인 경우, L1 변경확인 정보(ref_pic_list_modification_flag_l1, 161)가 판독될 수 있다. L1 변경확인 정보(161)에 기초하여, L1 참조리스트의 참조영상이 변경될지 여부가 결정될 수 있다. L1 변경확인 정보(161)에 기초하여 L1 참조리스트의 참조영상이 변경된다고 판단되면, 참조영상 변경 동작 정보(modification_of_pic_nums_idc, 163)가 판독될 수 있다. 참조영상 변경 동작 정보(163)에 기초하여 참조영상 번호 차분 정보(abs_diff_pic_num_minus1, 165) 또는 롱텀 참조영상 번호 정보(long_term_pic_num, 167)가 결정될 수 있다. Next, when the current slice is a B slice type, the L1 modification confirmation information ref_pic_list_modification_flag_l1 and 161 may be read. Based on the L1 change confirmation information 161, it may be determined whether the reference picture of the L1 reference list is to be changed. When it is determined that the reference picture of the L1 reference list is changed based on the L1 change confirmation information 161, the reference picture change operation information modification_of_pic_nums_idc 163 may be read. Reference image number difference information (abs_diff_pic_num_minus1, 165) or long term reference image number information (long_term_pic_num, 167) may be determined based on the reference image change operation information 163.

참조영상 번호 차분 정보(abs_diff_pic_num_minus1, 157, 165)는, 현재 참조리스트의 현재 인덱스로 할당될 참조영상의 영상번호와 참조영상번호의 예측값 간의 차분값을 나타낸다. 롱텀 참조영상 번호 정보(long_term_pic_num, 159, 167)는 현재 참조리스트의 현재 인덱스로 할당될 롱텀영상의 번호를 나타낸다. 롱텀영상은 참조프레임들 또는 참조필드들일 수 있으며, 롱텀 참조영상 번호 정보(159)는 참조프레임들 중 하나 또는 참조필드들 중 하나를 가리킬 수 있다. The reference picture number difference information (abs_diff_pic_num_minus1, 157, 165) indicates a difference value between the video number of the reference picture to be allocated to the current index of the current reference list and the predicted value of the reference picture number. The long term reference picture number information (long_term_pic_num, 159, 167) indicates the number of the long term picture to be allocated to the current index of the current reference list. The long term image may be reference frames or reference fields, and the long term reference image number information 159 may indicate one of the reference frames or one of the reference fields.

따라서, 참조영상 변경 동작 정보(155, 163)에 기초하여 참조영상 번호 차분 정보(157, 165) 또는 롱텀 참조영상 번호 정보(159, 167)를 이용하여 현재 참조리스트에 할당될 참조영상의 번호가 결정될 수 있다. 현재 참조리스트의 현재 인덱스에 이동되어 할당될 참조영상이 변경됨에 따라 참조영상이 바뀌거나 참조순서가 변경될 수 있다. Therefore, based on the reference image change operation information 155 and 163, the number of the reference image to be allocated to the current reference list is determined using the reference image number difference information 157 and 165 or the long term reference image number information 159 and 167. Can be determined. As the reference picture to be allocated by being moved to the current index of the current reference list is changed, the reference picture may be changed or the reference order may be changed.

앞서 현재 슬라이스가 B 슬라이스 타입인 경우, LC 변경 확인 정보(ref_pic_list_modification_flag_lc, 169)가 판독될 수 있다. LC 변경 확인 정보(169)에 따라 LC 참조리스트가 변경된다고 판단되는 경우, LC 참조리스트에 할당될 각각의 참조영상마다, L0/L1 영상 확인 정보(pic_from_list_0_flag, 171) 및 현재 인덱스 정보(ref_idx_list_curr, 173)가 판독될 수 있다. L0/L1 영상 확인 정보(171)에 기초하여 현재 할당될 참조영상이 원래 L0 참조리스트 또는 L1 참조리스트의 참조영상인지 확인되고, 현재 인덱스 정보(173)에 기초하여 원래 참조리스트에서 현재 할당될 참조영상의 인덱스가 확인될 수 있다.When the current slice is a B slice type, LC change confirmation information (ref_pic_list_modification_flag_lc) 169 may be read. When it is determined that the LC reference list is changed according to the LC change confirmation information 169, for each reference image to be allocated to the LC reference list, L0 / L1 image identification information (pic_from_list_0_flag, 171) and current index information (ref_idx_list_curr, 173). ) Can be read. Based on the L0 / L1 image identification information 171, it is confirmed whether the reference image to be allocated currently is a reference image of the original L0 reference list or the L1 reference list, and the reference to be currently assigned in the original reference list based on the current index information 173. The index of the image can be confirmed.

따라서, 현재 LC 참조리스트의 현재 인덱스에 이동되어 할당될 참조영상이, 다시 L0 참조리스트 또는 L1 참조리스트의 참조영상들 중에서 결정되기는 하나, 다른 참조영상으로 변경되거나 참조영상의 참조순서가 변경될 수도 있다.Accordingly, although the reference picture to be moved and allocated to the current index of the current LC reference list is again determined among the reference pictures of the L0 reference list or the L1 reference list, the reference picture may be changed to another reference picture or the reference order of the reference picture may be changed. have.

따라서, 도 10의 경우, 슬라이스마다 L0/L1/LC 참조리스트에 대한 참조영상의 변경 관련 정보가 설정될 수 있다. 또한, 도 5에서 기술된 실시예에서는, L0/L1 참조리스트에 대한 참조영상 변경과 관련된 정보와는 별개로, LC 변경 관련 정보(57, 58, 59)가 슬라이스마다 전송/판독된데 반해, 도 10의 실시예들에서는, 슬라이스 헤더(150)에 L0/L1 참조리스트에 대한 참조영상 변경과 관련된 정보(153, 155, 157, 159, 161, 163, 165, 167)와 함께, LC 참조리스트에 대한 참조영상 변경과 관련된 정보(169, 171, 173)가 전송/판독될 수 있다. Accordingly, in the case of FIG. 10, change related information of a reference picture with respect to the L0 / L1 / LC reference list may be set for each slice. In addition, in the embodiment described in FIG. 5, the LC change related information 57, 58, 59 is transmitted / read per slice separately from the information related to the reference image change for the L0 / L1 reference list. In the embodiments of FIG. 10, the LC reference list along with information 153, 155, 157, 159, 161, 163, 165, and 167 related to the reference image change for the L0 / L1 reference list in the slice header 150 Information (169, 171, 173) related to the change of the reference image with respect to can be transmitted / read.

또한 앞서 도 8, 9, 10를 참조하여, 슬라이스 헤더(80, 90, 150)에, L0/L1/LC 참조리스트에 대한 액티브개수 관련 정보 및 변경 관련 정보가 수록되는 다양한 실시예들이 제안되었지만, 본 발명의 특징은 이에 한정되어 해석되어서는 아니된다. 예를 들어, 다른 실시예에 따른 L0/L1/LC 참조리스트에 대한 액티브개수 관련 정보 및 변경 관련 정보는 APS(Adaptation Parameter Set) 정보 또는 임의의 파라미터 세트, 시퀀스 헤더(Sequence Header) 등에 수록될 수 있다. In addition, various embodiments in which the active header related information and the change related information of the L0 / L1 / LC reference list are described in the slice headers 80, 90, and 150 with reference to FIGS. Features of the present invention should not be interpreted as being limited thereto. For example, the active number related information and the change related information for the L0 / L1 / LC reference list according to another embodiment may be included in the adaptation parameter set (APS) information or any parameter set, sequence header, and the like. have.

따라서, 다른 실시예에 따른 L0/L1/LC 참조리스트에 대한 액티브개수 관련 정보 및 변경 관련 정보는, 어댑테이션 파라미터들 또는 임의의 파라미터들과 함께 전송/판독될 수 있다. 다른 실시예에 따른 L0/L1/LC 참조리스트에 대한 액티브개수 관련 정보 및 변경 관련 정보는, 매 시퀀스마다 설정되어 각 시퀀스에 대한 각종 파라미터들과 함께 전송/판독될 수 있다. Accordingly, the active number related information and the change related information for the L0 / L1 / LC reference list according to another embodiment may be transmitted / read along with the adaptation parameters or any parameters. Active number related information and change related information for the L0 / L1 / LC reference list according to another embodiment may be set for each sequence and transmitted / read together with various parameters for each sequence.

도 11 은 일 실시예에 따른 비디오 예측부호화 방법의 흐름도를 도시한다.11 is a flowchart of a video prediction encoding method, according to an embodiment.

단게 111에서, B 슬라이스 타입인 영상의 예측부호화를 위한 LC 참조리스트를 위해, LC 디폴트개수 정보를 픽처마다 설정될 수 있다. 또한, 픽처마다, L0 디폴트 개수 정보 및 L1 디폴트개수 정보 중 적어도 하나와 함께, LC 디폴트개수 정보가 설정될 수 있다. In step 111, LC default number information may be set for each picture for an LC reference list for predictive encoding of an image having a B slice type. In addition, for each picture, the LC default number information may be set together with at least one of the L0 default number information and the L1 default number information.

단계 112에서, LC 디폴트개수 정보에 기초하여, LO 참조리스트 및 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 LC 참조리스트가 결정될 수 있다. In operation 112, an LC reference list including one or more reference images among the reference pictures included in the LO reference list and the L1 reference list may be determined based on the LC default number information.

단계 113에서, 단계 112에서 결정된 LC 참조리스트를 이용하여 B 슬라이스 타입인 영상이 예측부호화될 수 있다. In operation 113, the B slice type image may be predictively encoded using the LC reference list determined in operation 112.

일 실시예에 따른 비디오 예측부호화 방법은, L0 참조리스트 및 L1 참조리스트의 하나 이상의 참조영상을 이용하여 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보의 설정을, 생략할 수 있다. According to an embodiment, the video predictive encoding method may omit setting of the LC combination confirmation information indicating whether the LC reference list is configured using one or more reference images of the L0 reference list and the L1 reference list.

단계 111에서 설정되는 픽처마다 LC 디폴트개수 정보 이외에도, 슬라이스마다 LC 액티브개수 관련 정보가 설정될 수 있다. In addition to the LC default number information for each picture set in step 111, LC active number related information may be set for each slice.

일 실시예에 따라, 슬라이스마다, 참조리스트 액티브개수 변경확인 정보에 기초하여, LC 액티브개수 변경확인 정보와 LC 액티브개수 정보를 설정될 수 있다. 또한, 슬라이스마다, 참조리스트 액티브개수 변경확인 정보에 기초하여, L0 액티브개수 정보 및 L1 액티브개수 정보 중 적어도 하나와 함께, LC 액티브개수 정보가 설정될 수 있다. According to one embodiment, for each slice, based on the reference list active number change confirmation information, the LC active number change confirmation information and the LC active number information may be set. Further, for each slice, LC active number information may be set together with at least one of L0 active number information and L1 active number information based on the reference list active number change confirmation information.

일 실시예에 따라, 슬라이스마다 LC 변경 관련 정보가 설정될 수도 있다. 또한, 슬라이스마다, L0 변경 관련 정보 및 L1 변경 관련 정보 중 적어도 하나와 함께, LC 변경 관련 정보가 슬라이스마다 설정될 수 있다. According to an embodiment, LC change related information may be set for each slice. In addition, for each slice, along with at least one of the L0 change related information and the L1 change related information, the LC change related information may be set for each slice.

일 실시예에 따라 현재 픽처에 대하여 설정된 LC 디폴트개수 정보가 현재 픽처에 대한 파라미터들과 함께 전송될 수 있다. 또한, 일 실시예에 따라 현재 슬라이스에 대해 설정된 LC 액티브개수 정보는 현재 슬라이스에 대한 파라미터들과 함께 전송될 수 있다. 일 실시예에 따라 현재 픽처에 대해 설정된 LC 변경 관련 정보는 현재 슬라이스에 대한 파라미터들과 함께 전송될 수 있다. According to an embodiment, the LC default number information set for the current picture may be transmitted together with the parameters for the current picture. In addition, according to an embodiment, the LC active number information set for the current slice may be transmitted together with the parameters for the current slice. According to an embodiment, the LC change related information set for the current picture may be transmitted together with the parameters for the current slice.

도 12 는 일 실시예에 따른 비디오 예측복호화 방법의 흐름도를 도시한다.12 is a flowchart of a video predictive decoding method according to an embodiment.

단계 121에서, B 슬라이스의 예측부호화를 위한 LC 참조리스트를 위해, 픽처마다 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보가 판독될 수 있다. 일 실시예에 따른 비디오 예측복호화 방법이 비디오스트림을 수신하면, 비디오스트림으로부터 현재 픽처에 대한 파라미터들과 함께 LC 디폴트개수 정보를 추출하여 판독할 수 있다. 일 실시예에 따라, L0 디폴트 개수 정보 및 L1 디폴트개수 정보 중 적어도 하나와 함께, LC 디폴트개수 정보가 픽처마다 판독될 수 있다.In operation 121, LC default number information indicating a basic valid number of reference pictures allocated to the LC reference list for each picture may be read for the LC reference list for predictive encoding of the B slice. When the video prediction decoding method according to an embodiment receives the video stream, the LC default number information together with the parameters for the current picture may be extracted and read from the video stream. According to an embodiment, the LC default number information may be read for each picture together with at least one of the L0 default number information and the L1 default number information.

단계 122에서, LC 디폴트개수 정보에 기초하여, LO 참조리스트 및 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 LC 참조리스트가 결정될 수 있다. In operation 122, an LC reference list including one or more reference images among the reference pictures included in the LO reference list and the L1 reference list may be determined based on the LC default number information.

단계 123에서, 단계 122에서 결정된 LC 참조리스트를 이용하여 B 슬라이스가 예측복호화될 수 있다. In step 123, the B slice may be predictively decoded using the LC reference list determined in step 122.

일 실시예에 따른 비디오 예측복호화 방법은, L0 참조리스트 및 L1 참조리스트의 하나 이상의 참조영상을 이용하여 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보를 판독하지 않고도, LC 참조리스트를 결정할 수 있다.According to an embodiment, the video predictive decoding method may determine an LC reference list without reading LC combination confirmation information indicating whether to construct an LC reference list using one or more reference images of the L0 reference list and the L1 reference list. have.

단계 121에서 판독되는 LC 디폴트개수 정보 이외에도, 슬라이스마다, LC 액티브 변경 관련 정보가 판독될 수 있다. 수신된 비디오스트림으로부터, 현재 슬라이스에 대한 파라미터들과 함께 LC 액티브개수 정보가 추출되어 판독될 수 있다. 또한 일 실시예에 따라, 참조리스트 액티브개수 변경확인 정보에 기초하여 LC 액티브개수 변경확인 정보가 판독될 수 있다. 또한, LC 액티브개수 변경확인 정보에 기초하여, LC 액티브개수 정보가 판독될 수 있다. In addition to the LC default number information read in step 121, LC active change related information can be read for each slice. From the received videostream, LC active count information along with parameters for the current slice can be extracted and read. Further, according to an embodiment, the LC active number change confirmation information may be read based on the reference list active number change confirmation information. Further, based on the LC active number change confirming information, LC active number information can be read.

일 실시예에 따라 슬라이스마다, 참조리스트 액티브개수 변경확인 정보가 판독되고, 참조리스트 액티브개수 변경확인 정보에 기초하여, L0 액티브개수 정보, L1 액티브개수 정보 중 적어도 하나와 함께, LC 액티브개수 정보가 판독될 수 있다. According to one embodiment, for each slice, the reference list active number change confirmation information is read, and based on the reference list active number change confirmation information, the LC active number information is combined with at least one of the L0 active number information and the L1 active number information. Can be read.

단계 121에서 판독되는 LC 디폴트개수 정보 이외에도, 슬라이스마다 LC 변경 관련 정보가 판독될 수 있다. 일 실시예에 따라 수신된 비디오스트림으로부터, 현재 슬라이스에 대한 파라미터들과 함께 LC 변경 관련 정보가 추출되어 판독될 수 있다. 일 실시예에 따라, 슬라이스마다, L0 변경 관련 정보 및 L1 변경 관련 정보 중 적어도 하나와 함께, LC 변경 관련 정보가 판독될 수 있다. In addition to the LC default number information read in step 121, LC change related information may be read for each slice. According to an embodiment, LC change related information together with parameters for the current slice may be extracted and read from the received videostream. According to one embodiment, LC change related information may be read per slice, with at least one of L0 change related information and L1 change related information.

이하, 도 13 내지 27을 참조하여 트리 구조에 따른 부호화 단위들을 기초로 예측 단위 및 파티션에 대해 예측부호화를 수행하는 비디오 부호화 방법 및 장치, 그리고 예측복호화를 수행하는 비디오 복호화 방법 및 장치가 상술된다.Hereinafter, a video encoding method and apparatus for performing prediction encoding on a prediction unit and a partition based on coding units having a tree structure, and a video decoding method and apparatus for performing prediction decoding will be described with reference to FIGS. 13 to 27.

도 13 는 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 부호화 장치의 블록도를 도시한다.13 is a block diagram of a video encoding apparatus involving video prediction based on coding units having a tree structure, according to an embodiment of the present invention.

일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 부호화 장치(100)는 최대 부호화 단위 분할부(110), 부호화 단위 결정부(120) 및 출력부(130)를 포함한다. 이하 설명의 편의를 위해, 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 부호화 장치(100)는 '비디오 부호화 장치(100)'로 축약하여 지칭한다.According to an embodiment, the video encoding apparatus 100 including video prediction based on coding units having a tree structure may include a maximum coding unit splitter 110, a coding unit determiner 120, and an outputter 130. . For convenience of description below, the video encoding apparatus 100 that includes video prediction based on coding units having a tree structure, according to an embodiment, is abbreviated as “video encoding apparatus 100”.

최대 부호화 단위 분할부(110)는 영상의 현재 픽처를 위한 최대 크기의 부호화 단위인 최대 부호화 단위에 기반하여 현재 픽처를 구획할 수 있다. 현재 픽처가 최대 부호화 단위보다 크다면, 현재 픽처의 영상 데이터는 적어도 하나의 최대 부호화 단위로 분할될 수 있다. 일 실시예에 따른 최대 부호화 단위는 크기 32x32, 64x64, 128x128, 256x256 등의 데이터 단위로, 가로 및 세로 크기가 2의 자승인 정사각형의 데이터 단위일 수 있다. 영상 데이터는 적어도 하나의 최대 부호화 단위별로 부호화 단위 결정부(120)로 출력될 수 있다.The maximum coding unit division unit 110 may divide a current picture based on a maximum coding unit which is a coding unit of a maximum size for a current picture of an image. If the current picture is larger than the maximum encoding unit, the image data of the current picture may be divided into at least one maximum encoding unit. The maximum encoding unit according to an exemplary embodiment may be a data unit of size 32x32, 64x64, 128x128, 256x256, or the like, and a data unit of a character approval square whose width and height are two. The image data may be output to the coding unit determiner 120 for at least one maximum coding unit.

일 실시예에 따른 부호화 단위는 최대 크기 및 심도로 특징지어질 수 있다. 심도란 최대 부호화 단위로부터 부호화 단위가 공간적으로 분할한 횟수를 나타내며, 심도가 깊어질수록 심도별 부호화 단위는 최대 부호화 단위로부터 최소 부호화 단위까지 분할될 수 있다. 최대 부호화 단위의 심도가 최상위 심도이며 최소 부호화 단위가 최하위 부호화 단위로 정의될 수 있다. 최대 부호화 단위는 심도가 깊어짐에 따라 심도별 부호화 단위의 크기는 감소하므로, 상위 심도의 부호화 단위는 복수 개의 하위 심도의 부호화 단위를 포함할 수 있다.The coding unit according to an embodiment may be characterized by a maximum size and depth. The depth indicates the number of times the coding unit is spatially divided from the maximum coding unit. As the depth increases, the depth coding unit can be divided from the maximum coding unit to the minimum coding unit. The depth of the largest coding unit is the highest depth and the minimum coding unit may be defined as the lowest coding unit. As the maximum coding unit decreases as the depth increases, the size of the coding unit for each depth decreases, and thus, the coding unit of the higher depth may include coding units of a plurality of lower depths.

전술한 바와 같이 부호화 단위의 최대 크기에 따라, 현재 픽처의 영상 데이터를 최대 부호화 단위로 분할하며, 각각의 최대 부호화 단위는 심도별로 분할되는 부호화 단위들을 포함할 수 있다. 일 실시예에 따른 최대 부호화 단위는 심도별로 분할되므로, 최대 부호화 단위에 포함된 공간 영역(spatial domain)의 영상 데이터가 심도에 따라 계층적으로 분류될 수 있다. As described above, the image data of the current picture may be divided into maximum coding units according to the maximum size of the coding unit, and each maximum coding unit may include coding units divided by depths. Since the maximum coding unit is divided according to depths, image data of a spatial domain included in the maximum coding unit may be hierarchically classified according to depths.

최대 부호화 단위의 높이 및 너비를 계층적으로 분할할 수 있는 총 횟수를 제한하는 최대 심도 및 부호화 단위의 최대 크기가 미리 설정되어 있을 수 있다.The maximum depth and the maximum size of the coding unit that limit the total number of times of hierarchically dividing the height and the width of the maximum coding unit may be preset.

부호화 단위 결정부(120)는, 심도마다 최대 부호화 단위의 영역이 분할된 적어도 하나의 분할 영역을 부호화하여, 적어도 하나의 분할 영역 별로 최종 부호화 결과가 출력될 심도를 결정한다. 즉 부호화 단위 결정부(120)는, 현재 픽처의 최대 부호화 단위마다 심도별 부호화 단위로 영상 데이터를 부호화하여 가장 작은 부호화 오차가 발생하는 심도를 선택하여 부호화 심도로 결정한다. 결정된 부호화 심도 및 최대 부호화 단위별 영상 데이터는 출력부(130)로 출력된다.The encoding unit determination unit 120 encodes at least one divided area in which the area of the maximum encoding unit is divided for each depth, and determines the depth at which the final encoding result is output for each of at least one of the divided areas. That is, the coding unit determination unit 120 selects the depth at which the smallest coding error occurs, and determines the coding depth as the coding depth by coding the image data in units of coding per depth for each maximum coding unit of the current picture. The determined coded depth and the image data for each maximum coding unit are output to the outputter 130.

최대 부호화 단위 내의 영상 데이터는 최대 심도 이하의 적어도 하나의 심도에 따라 심도별 부호화 단위에 기반하여 부호화되고, 각각의 심도별 부호화 단위에 기반한 부호화 결과가 비교된다. 심도별 부호화 단위의 부호화 오차의 비교 결과 부호화 오차가 가장 작은 심도가 선택될 수 있다. 각각의 최대화 부호화 단위마다 적어도 하나의 부호화 심도가 결정될 수 있다. Image data in the largest coding unit is encoded based on coding units according to depths according to at least one depth less than or equal to the maximum depth, and encoding results based on the coding units for each depth are compared. As a result of comparing the encoding error of the coding units according to depths, a depth having the smallest encoding error may be selected. At least one coding depth may be determined for each maximum coding unit.

최대 부호화 단위의 크기는 심도가 깊어짐에 따라 부호화 단위가 계층적으로 분할되어 분할되며 부호화 단위의 개수는 증가한다. 또한, 하나의 최대 부호화 단위에 포함되는 동일한 심도의 부호화 단위들이라 하더라도, 각각의 데이터에 대한 부호화 오차를 측정하고 하위 심도로의 분할 여부가 결정된다. 따라서, 하나의 최대 부호화 단위에 포함되는 데이터라 하더라도 위치에 따라 심도별 부호화 오차가 다르므로 위치에 따라 부호화 심도가 달리 결정될 수 있다. 따라서, 하나의 최대 부호화 단위에 대해 부호화 심도가 하나 이상 설정될 수 있으며, 최대 부호화 단위의 데이터는 하나 이상의 부호화 심도의 부호화 단위에 따라 구획될 수 있다.As the depth of the maximum coding unit increases, the coding unit is divided into hierarchically and the number of coding units increases. In addition, even in the case of coding units having the same depth included in one largest coding unit, a coding error of each data is measured, and whether or not division into a lower depth is determined. Therefore, even in the data included in one largest coding unit, since the encoding error for each depth is different according to the position, the coding depth may be differently determined according to the position. Accordingly, one or more coding depths may be set for one maximum coding unit, and data of the maximum coding unit may be partitioned according to coding units of one or more coding depths.

따라서, 일 실시예에 따른 부호화 단위 결정부(120)는, 현재 최대 부호화 단위에 포함되는 트리 구조에 따른 부호화 단위들이 결정될 수 있다. 일 실시예에 따른 '트리 구조에 따른 부호화 단위들'은, 현재 최대 부호화 단위에 포함되는 모든 심도별 부호화 단위들 중, 부호화 심도로 결정된 심도의 부호화 단위들을 포함한다. 부호화 심도의 부호화 단위는, 최대 부호화 단위 내에서 동일 영역에서는 심도에 따라 계층적으로 결정되고, 다른 영역들에 대해서는 독립적으로 결정될 수 있다. 마찬가지로, 현재 영역에 대한 부호화 심도는, 다른 영역에 대한 부호화 심도와 독립적으로 결정될 수 있다. Therefore, the encoding unit determiner 120 according to the embodiment can determine encoding units according to the tree structure included in the current maximum encoding unit. The 'encoding units according to the tree structure' according to an exemplary embodiment includes encoding units of depth determined by the encoding depth, among all depth encoding units included in the current maximum encoding unit. The coding unit of coding depth can be hierarchically determined in depth in the same coding area within the maximum coding unit, and independently determined in other areas. Similarly, the coding depth for the current area can be determined independently of the coding depth for the other area.

일 실시예에 따른 최대 심도는 최대 부호화 단위로부터 최소 부호화 단위까지의 분할 횟수와 관련된 지표이다. 일 실시예에 따른 제 1 최대 심도는, 최대 부호화 단위로부터 최소 부호화 단위까지의 총 분할 횟수를 나타낼 수 있다. 일 실시예에 따른 제 2 최대 심도는 최대 부호화 단위로부터 최소 부호화 단위까지의 심도 레벨의 총 개수를 나타낼 수 있다. 예를 들어, 최대 부호화 단위의 심도가 0이라고 할 때, 최대 부호화 단위가 1회 분할된 부호화 단위의 심도는 1로 설정되고, 2회 분할된 부호화 단위의 심도가 2로 설정될 수 있다. 이 경우, 최대 부호화 단위로부터 4회 분할된 부호화 단위가 최소 부호화 단위라면, 심도 0, 1, 2, 3 및 4의 심도 레벨이 존재하므로 제 1 최대 심도는 4, 제 2 최대 심도는 5로 설정될 수 있다.The maximum depth according to one embodiment is an index related to the number of divisions from the maximum encoding unit to the minimum encoding unit. The first maximum depth according to an exemplary embodiment may indicate the total number of division from the maximum encoding unit to the minimum encoding unit. The second maximum depth according to an exemplary embodiment may represent the total number of depth levels from the maximum encoding unit to the minimum encoding unit. For example, when the depth of the maximum encoding unit is 0, the depth of the encoding unit in which the maximum encoding unit is divided once may be set to 1, and the depth of the encoding unit that is divided twice may be set to 2. In this case, if the coding unit divided four times from the maximum coding unit is the minimum coding unit, since the depth levels of depth 0, 1, 2, 3 and 4 exist, the first maximum depth is set to 4 and the second maximum depth is set to 5 .

최대 부호화 단위의 예측부호화 및 변환이 수행될 수 있다. 예측부호화 및 변환도 마찬가지로, 최대 부호화 단위마다, 최대 심도 이하의 심도마다 심도별 부호화 단위를 기반으로 수행된다. Prediction encoding and transformation of the largest coding unit may be performed. Similarly, prediction encoding and transformation are performed based on depth-wise coding units for each maximum coding unit and for each depth below the maximum depth.

최대 부호화 단위가 심도별로 분할될 때마다 심도별 부호화 단위의 개수가 증가하므로, 심도가 깊어짐에 따라 생성되는 모든 심도별 부호화 단위에 대해 예측부호화 및 변환을 포함한 부호화가 수행되어야 한다. 이하 설명의 편의를 위해 적어도 하나의 최대 부호화 단위 중 현재 심도의 부호화 단위를 기반으로 예측부호화 및 변환을 설명하겠다.Since the number of coding units for each depth increases each time the maximum coding unit is divided for each depth, encoding including prediction encoding and transformation should be performed on all the coding units for each depth generated as the depth deepens. For convenience of explanation, prediction encoding and transformation will be described based on coding units of a current depth among at least one maximum coding unit.

일 실시예에 따른 비디오 부호화 장치(100)는, 영상 데이터의 부호화를 위한 데이터 단위의 크기 또는 형태를 다양하게 선택할 수 있다. 영상 데이터의 부호화를 위해서는 예측부호화, 변환, 엔트로피 부호화 등의 단계를 거치는데, 모든 단계에 걸쳐서 동일한 데이터 단위가 사용될 수도 있으며, 단계별로 데이터 단위가 변경될 수도 있다.The video encoding apparatus 100 according to an exemplary embodiment may select various sizes or types of data units for encoding image data. Precoding encoding, transformation, and entropy encoding are performed to encode the image data. The same data unit may be used in all stages, or the data unit may be changed in stages.

예를 들어 비디오 부호화 장치(100)는, 영상 데이터의 부호화를 위한 부호화 단위 뿐만 아니라, 부호화 단위의 영상 데이터의 예측부호화를 수행하기 위해, 부호화 단위와 다른 데이터 단위를 선택할 수 있다. For example, the video encoding apparatus 100 may select not only a coding unit for encoding the image data but also a data unit different from the coding unit in order to perform prediction encoding on the image data of the coding unit.

최대 부호화 단위의 예측부호화를 위해서는, 일 실시예에 따른 부호화 심도의 부호화 단위, 즉 더 이상한 분할되지 않는 부호화 단위를 기반으로 예측부호화가 수행될 수 있다. 이하, 예측부호화의 기반이 되는 더 이상한 분할되지 않는 부호화 단위를 '예측 단위'라고 지칭한다. 예측 단위가 분할된 파티션은, 예측 단위 및 예측 단위의 높이 및 너비 중 적어도 하나가 분할된 데이터 단위를 포함할 수 있다. 파티션은 부호화 단위의 예측 단위가 분할된 형태의 데이터 단위이고, 예측 단위는 부호화 단위와 동일한 크기의 파티션일 수 있다. For prediction encoding of the largest coding unit, prediction encoding may be performed based on a coding unit of a coding depth, that is, a more strange undivided coding unit, according to an embodiment. Hereinafter, a more strange undivided coding unit on which prediction encoding is based is referred to as a 'prediction unit'. The partition in which the prediction unit is divided may include a data unit in which at least one of the height and the width of the prediction unit and the prediction unit is divided. A partition is a data unit in which a prediction unit of a coding unit is divided, and a prediction unit may be a partition having the same size as a coding unit.

예를 들어, 크기 2Nx2N(단, N은 양의 정수)의 부호화 단위가 더 이상 분할되지 않는 경우, 크기 2Nx2N의 예측 단위가 되며, 파티션의 크기는 2Nx2N, 2NxN, Nx2N, NxN 등일 수 있다. 일 실시예에 따른 파티션 타입은 예측 단위의 높이 또는 너비가 대칭적 비율로 분할된 대칭적 파티션들뿐만 아니라, 1:n 또는 n:1과 같이 비대칭적 비율로 분할된 파티션들, 기하학적인 형태로 분할된 파티션들, 임의적 형태의 파티션들 등을 선택적으로 포함할 수도 있다.For example, if the encoding unit of size 2Nx2N (where N is a positive integer) is not further divided, it is a prediction unit of size 2Nx2N, and the size of the partition may be 2Nx2N, 2NxN, Nx2N, NxN, and the like. According to an embodiment, the partition type includes not only symmetric partitions in which the height or width of the prediction unit is divided by a symmetrical ratio, but also partitions divided in an asymmetrical ratio, such as 1: n or n: 1, by a geometric form. It may optionally include partitioned partitions, arbitrary types of partitions, and the like.

예측 단위의 예측 모드는, 인트라 모드, 인터 모드 및 스킵 모드 중 적어도 하나일 수 있다. 예를 들어 인트라 모드 및 인터 모드는, 2Nx2N, 2NxN, Nx2N, NxN 크기의 파티션에 대해서 수행될 수 있다. 또한, 스킵 모드는 2Nx2N 크기의 파티션에 대해서만 수행될 수 있다. 부호화 단위 이내의 하나의 예측 단위마다 독립적으로 부호화가 수행되어 부호화 오차가 가장 작은 예측 모드가 선택될 수 있다.The prediction mode of the prediction unit may be at least one of an intra mode, an inter mode, and a skip mode. For example, the intra mode and the inter mode may be performed for partitions having sizes of 2N × 2N, 2N × N, N × 2N, and N × N. In addition, the skip mode can be performed only for a partition of 2Nx2N size. The encoding may be performed independently for each prediction unit within the coding unit to select a prediction mode having the smallest encoding error.

또한, 일 실시예에 따른 비디오 부호화 장치(100)는, 영상 데이터의 부호화를 위한 부호화 단위 뿐만 아니라, 부호화 단위와 다른 데이터 단위를 기반으로 부호화 단위의 영상 데이터의 변환을 수행할 수 있다. 부호화 단위의 변환을 위해서는, 부호화 단위보다 작거나 같은 크기의 변환 단위를 기반으로 변환이 수행될 수 있다. 예를 들어 변환 단위는, 인트라 모드를 위한 데이터 단위 및 인터 모드를 위한 변환 단위를 포함할 수 있다. In addition, the video encoding apparatus 100 according to an exemplary embodiment may perform conversion of image data of an encoding unit based on not only an encoding unit for encoding image data but also a data unit different from the encoding unit. For conversion of a coding unit, the conversion may be performed based on a conversion unit having a size smaller than or equal to the coding unit. For example, the conversion unit may include a data unit for the intra mode and a conversion unit for the inter mode.

일 실시예에 따른 트리 구조에 따른 부호화 단위와 유사한 방식으로, 부호화 단위 내의 변환 단위도 재귀적으로 더 작은 크기의 변환 단위로 분할되면서, 부호화 단위의 레지듀얼 데이터가 변환 심도에 따라 트리 구조에 따른 변환 단위에 따라 구획될 수 있다. The conversion unit in the encoding unit is also recursively divided into smaller conversion units in a similar manner to the encoding unit according to the tree structure according to the embodiment, And can be partitioned according to the conversion unit.

일 실시예에 따른 변환 단위에 대해서도, 부호화 단위의 높이 및 너비가 분할하여 변환 단위에 이르기까지의 분할 횟수를 나타내는 변환 심도가 설정될 수 있다. 예를 들어, 크기 2Nx2N의 현재 부호화 단위의 변환 단위의 크기가 2Nx2N이라면 변환 심도 0, 변환 단위의 크기가 NxN이라면 변환 심도 1, 변환 단위의 크기가 N/2xN/2이라면 변환 심도 2로 설정될 수 있다. 즉, 변환 단위에 대해서도 변환 심도에 따라 트리 구조에 따른 변환 단위가 설정될 수 있다.For a conversion unit according to one embodiment, a conversion depth indicating the number of times of division until the conversion unit is divided by the height and width of the encoding unit can be set. For example, if the size of the conversion unit of the current encoding unit of size 2Nx2N is 2Nx2N, the conversion depth is set to 0 if the conversion depth is 0, if the conversion unit size is NxN, and if the conversion unit size is N / 2xN / 2, . That is, a conversion unit according to the tree structure can be set for the conversion unit according to the conversion depth.

부호화 심도별 부호화 정보는, 부호화 심도 뿐만 아니라 예측 관련 정보 및 변환 관련 정보가 필요하다. 따라서, 부호화 단위 결정부(120)는 최소 부호화 오차를 발생시킨 부호화 심도 뿐만 아니라, 예측 단위를 파티션으로 분할한 파티션 타입, 예측 단위별 예측 모드, 변환을 위한 변환 단위의 크기 등을 결정할 수 있다.The coding information according to the coding depth needs not only the coding depth but also prediction related information and conversion related information. Therefore, the coding unit determination unit 120 can determine not only the coding depth at which the minimum coding error is generated, but also the partition type in which the prediction unit is divided into partitions, the prediction mode for each prediction unit, and the size of the conversion unit for conversion.

일 실시예에 따른 최대 부호화 단위의 트리 구조에 따른 부호화 단위 및 예측단위/파티션, 및 변환 단위의 결정 방식에 대해서는, 도 9 내지 19을 참조하여 상세히 후술한다.A method of determining a coding unit, a prediction unit / partition, and a transformation unit according to a tree structure of a maximum coding unit according to an embodiment will be described in detail with reference to FIGS. 9 to 19.

부호화 단위 결정부(120)는 심도별 부호화 단위의 부호화 오차를 라그랑지 곱(Lagrangian Multiplier) 기반의 율-왜곡 최적화 기법(Rate-Distortion Optimization)을 이용하여 측정할 수 있다.The encoding unit determination unit 120 may measure the encoding error of the depth-dependent encoding unit using a Lagrangian Multiplier-based rate-distortion optimization technique.

출력부(130)는, 부호화 단위 결정부(120)에서 결정된 적어도 하나의 부호화 심도에 기초하여 부호화된 최대 부호화 단위의 영상 데이터 및 심도별 부호화 모드에 관한 정보를 비트스트림 형태로 출력한다. The output unit 130 outputs, in the form of a bit stream, video data of the maximum encoding unit encoded based on at least one encoding depth determined by the encoding unit determination unit 120 and information on the depth encoding mode.

부호화된 영상 데이터는 영상의 레지듀얼 데이터의 부호화 결과일 수 있다.The encoded image data may be a result of encoding residual data of the image.

심도별 부호화 모드에 관한 정보는, 부호화 심도 정보, 예측 단위의 파티션 타입 정보, 예측 모드 정보, 변환 단위의 크기 정보 등을 포함할 수 있다.The information on the depth-dependent coding mode may include coding depth information, partition type information of a prediction unit, prediction mode information, size information of a conversion unit, and the like.

부호화 심도 정보는, 현재 심도로 부호화하지 않고 하위 심도의 부호화 단위로 부호화할지 여부를 나타내는 심도별 분할 정보를 이용하여 정의될 수 있다. 현재 부호화 단위의 현재 심도가 부호화 심도라면, 현재 부호화 단위는 현재 심도의 부호화 단위로 부호화되므로 현재 심도의 분할 정보는 더 이상 하위 심도로 분할되지 않도록 정의될 수 있다. 반대로, 현재 부호화 단위의 현재 심도가 부호화 심도가 아니라면 하위 심도의 부호화 단위를 이용한 부호화를 시도해보아야 하므로, 현재 심도의 분할 정보는 하위 심도의 부호화 단위로 분할되도록 정의될 수 있다.The coded depth information may be defined using depth-specific segmentation information indicating whether to encode to a coding unit of a lower depth without encoding to the current depth. If the current depth of the current coding unit is a coding depth, since the current coding unit is encoded in a coding unit of the current depth, split information of the current depth may be defined so that it is no longer divided into lower depths. On the contrary, if the current depth of the current coding unit is not the coding depth, encoding should be attempted using the coding unit of the lower depth, and thus split information of the current depth may be defined to be divided into coding units of the lower depth.

현재 심도가 부호화 심도가 아니라면, 하위 심도의 부호화 단위로 분할된 부호화 단위에 대해 부호화가 수행된다. 현재 심도의 부호화 단위 내에 하위 심도의 부호화 단위가 하나 이상 존재하므로, 각각의 하위 심도의 부호화 단위마다 반복적으로 부호화가 수행되어, 동일한 심도의 부호화 단위마다 재귀적(recursive) 부호화가 수행될 수 있다.If the current depth is not the coded depth, encoding is performed on the coding unit divided into the coding units of the lower depth. Since at least one coding unit of a lower depth exists in the coding unit of the current depth, encoding may be repeatedly performed for each coding unit of each lower depth, and recursive coding may be performed for each coding unit of the same depth.

하나의 최대 부호화 단위 안에 트리 구조의 부호화 단위들이 결정되며 부호화 심도의 부호화 단위마다 적어도 하나의 부호화 모드에 관한 정보가 결정되어야 하므로, 하나의 최대 부호화 단위에 대해서는 적어도 하나의 부호화 모드에 관한 정보가 결정될 수 있다. 또한, 최대 부호화 단위의 데이터는 심도에 따라 계층적으로 구획되어 위치 별로 부호화 심도가 다를 수 있으므로, 데이터에 대해 부호화 심도 및 부호화 모드에 관한 정보가 설정될 수 있다.Since the coding units of the tree structure are determined in one maximum coding unit and information on at least one coding mode is determined for each coding unit of coding depth, information on at least one coding mode is determined for one maximum coding unit . Since the data of the maximum encoding unit is hierarchically divided according to the depth and the depth of encoding may be different for each position, information on the encoding depth and the encoding mode may be set for the data.

따라서, 일 실시예에 따른 출력부(130)는, 최대 부호화 단위에 포함되어 있는 부호화 단위, 예측 단위 및 최소 단위 중 적어도 하나에 대해, 해당 부호화 심도 및 부호화 모드에 대한 부호화 정보를 할당될 수 있다. Accordingly, the output unit 130 according to the embodiment can allocate encoding depths and encoding information for the encoding mode to at least one of the encoding unit, the prediction unit, and the minimum unit included in the maximum encoding unit .

일 실시예에 따른 최소 단위는, 최하위 부호화 심도인 최소 부호화 단위가 4분할된 크기의 정사각형의 데이터 단위이다. 일 실시예에 따른 최소 단위는, 최대 부호화 단위에 포함되는 모든 부호화 단위, 예측 단위, 파티션 단위 및 변환 단위 내에 포함될 수 있는 최대 크기의 정사각 데이터 단위일 수 있다.The minimum unit according to an exemplary embodiment is a square data unit having a minimum coding unit having the lowest coding depth divided into quadrants. The minimum unit according to an exemplary embodiment may be a maximum size square data unit that can be included in all coding units, prediction units, partition units, and conversion units included in the maximum coding unit.

예를 들어 출력부(130)를 통해 출력되는 부호화 정보는, 심도별 부호화 단위별 부호화 정보와 예측 단위별 부호화 정보로 분류될 수 있다. 심도별 부호화 단위별 부호화 정보는, 예측 모드 정보, 파티션 크기 정보를 포함할 수 있다. 예측 단위별로 전송되는 부호화 정보는 인터 모드의 추정 방향에 관한 정보, 인터 모드의 참조 영상 인덱스에 관한 정보, 움직임 벡터에 관한 정보, 인트라 모드의 크로마 성분에 관한 정보, 인트라 모드의 보간 방식에 관한 정보 등을 포함할 수 있다. For example, the encoding information output through the output unit 130 may be classified into encoding information per depth unit and encoding information per prediction unit. The encoding information for each depth coding unit may include prediction mode information and partition size information. The encoding information to be transmitted for each prediction unit includes information about the estimation direction of the inter mode, information about the reference picture index of the inter mode, information on the motion vector, information on the chroma component of the intra mode, information on the interpolation mode of the intra mode And the like.

픽처, 슬라이스 또는 GOP별로 정의되는 부호화 단위의 최대 크기에 관한 정보 및 최대 심도에 관한 정보는 비트스트림의 헤더, 시퀀스 파라미터 세트 또는 픽처 파라미터 세트 등에 삽입될 수 있다. Information on the maximum size of a coding unit defined for each picture, slice or GOP, and information on the maximum depth can be inserted into a header, a sequence parameter set, or a picture parameter set of a bitstream.

또한 현재 비디오에 대해 허용되는 변환 단위의 최대 크기에 관한 정보 및 변환 단위의 최소 크기에 관한 정보도, 비트스트림의 헤더, 시퀀스 파라미터 세트 또는 픽처 파라미터 세트 등을 통해 출력될 수 있다. 출력부(130)는, 도 1 내지 6을 참조하여 전술한 예측과 관련된 참조정보, 예측정보, 단일방향예측 정보, 제4 슬라이스타입을 포함하는 슬라이스 타입 정보 등을 부호화하여 출력할 수 있다. Information on the maximum size of the conversion unit allowed for the current video and information on the minimum size of the conversion unit can also be output through a header, a sequence parameter set, or a picture parameter set or the like of the bit stream. The output unit 130 may encode and output reference information, prediction information, unidirectional prediction information, slice type information including a fourth slice type, etc. related to the prediction described above with reference to FIGS. 1 to 6.

비디오 부호화 장치(100)의 가장 간단한 형태의 실시예에 따르면, 심도별 부호화 단위는 한 계층 상위 심도의 부호화 단위의 높이 및 너비를 반분한 크기의 부호화 단위이다. 즉, 현재 심도의 부호화 단위의 크기가 2Nx2N이라면, 하위 심도의 부호화 단위의 크기는 NxN 이다. 또한, 2Nx2N 크기의 현재 부호화 단위는 NxN 크기의 하위 심도 부호화 단위를 최대 4개 포함할 수 있다.According to an embodiment of the simplest form of the video encoding apparatus 100, a coding unit according to depths is a coding unit having a size in which a height and a width of a coding unit of one layer higher depth are divided by half. That is, if the size of the coding unit of the current depth is 2Nx2N, the size of the coding unit of the lower depth is NxN. In addition, the current coding unit having a size of 2N × 2N may include up to four lower depth coding units having a size of N × N.

따라서, 비디오 부호화 장치(100)는 현재 픽처의 특성을 고려하여 결정된 최대 부호화 단위의 크기 및 최대 심도를 기반으로, 각각의 최대 부호화 단위마다 최적의 형태 및 크기의 부호화 단위를 결정하여 트리 구조에 따른 부호화 단위들을 구성할 수 있다. 또한, 각각의 최대 부호화 단위마다 다양한 예측 모드, 변환 방식 등으로 부호화할 수 있으므로, 다양한 영상 크기의 부호화 단위의 영상 특성을 고려하여 최적의 부호화 모드가 결정될 수 있다.Therefore, the video encoding apparatus 100 determines the encoding unit of the optimal shape and size for each maximum encoding unit based on the size and the maximum depth of the maximum encoding unit determined in consideration of the characteristics of the current picture, Encoding units can be configured. In addition, since each encoding unit can be encoded by various prediction modes, conversion methods, and the like, an optimal encoding mode can be determined in consideration of image characteristics of encoding units of various image sizes.

따라서, 영상의 해상도가 매우 높거나 데이터량이 매우 큰 영상을 기존 매크로블록 단위로 부호화한다면, 픽처당 매크로블록의 수가 과도하게 많아진다. 이에 따라, 매크로블록마다 생성되는 압축 정보도 많아지므로 압축 정보의 전송 부담이 커지고 데이터 압축 효율이 감소하는 경향이 있다. 따라서, 일 실시예에 따른 비디오 부호화 장치는, 영상의 크기를 고려하여 부호화 단위의 최대 크기를 증가시키면서, 영상 특성을 고려하여 부호화 단위를 조절할 수 있으므로, 영상 압축 효율이 증대될 수 있다.Therefore, if an image having a very high image resolution or a very large data amount is encoded in units of existing macroblocks, the number of macroblocks per picture becomes excessively large. This increases the amount of compression information generated for each macroblock, so that the burden of transmission of compressed information increases and the data compression efficiency tends to decrease. Therefore, the video encoding apparatus according to an embodiment can increase the maximum size of the encoding unit in consideration of the image size, and adjust the encoding unit in consideration of the image characteristic, so that the image compression efficiency can be increased.

도 13의 비디오 부호화 장치(100)는, 도 1a 및 1a을 참조하여 전술한 비디오 예측부호화 장치(10)의 예측부호화 동작을 수행할 수 있다. The video encoding apparatus 100 of FIG. 13 may perform the prediction encoding operation of the video prediction encoding apparatus 10 described above with reference to FIGS. 1A and 1A.

부호화 단위 결정부(120)는, 비디오 예측부호화 장치(10)의 예측부호화부(14)의 동작을 수행할 수 있다. 즉, 예측부호화부(14)의 예측 및 보상동작이, 현재영상이 분할된 계층적 구조의 부호화 단위들 중에서, 부호화 단위마다 포함된 예측 단위 및 파티션을 기초로 수행될 수 있다. 특히, B 슬라이스 타입의 파티션의 쌍예측을 위해, L0/L1/LC 참조리스트를 이용하여 참조영상을 결정할 수 있다. 일 실시예에 따른 B 슬라이스 타입의 쌍예측 중 단일방향 예측은, L0/L1/LC 참조리스트 중 하나의 참조순서를 따라 참조영상을 이용하여 수행됨은 전술한 바와 같다. The coding unit determiner 120 may perform an operation of the prediction encoder 14 of the video predictor encoding apparatus 10. That is, the prediction and compensation operation of the prediction encoder 14 may be performed based on the prediction unit and the partition included in each coding unit among the coding units of the hierarchical structure in which the current image is divided. In particular, for pair prediction of a partition of a B slice type, a reference picture may be determined using a L0 / L1 / LC reference list. As described above, unidirectional prediction of the B-slice type pair prediction according to an embodiment is performed using a reference image according to a reference order of one of the L0 / L1 / LC reference lists.

부호화 단위 결정부(120)는, L0/L1/LC 참조리스트가 가리키는 참조영상을 해당 참조순서에 따라 참조하여 현재 파티션에 대해 예측부호화를 수행하여, 현재 파티션의 예측오차를 결정할 수 있다. 또한, 부호화 단위 결정부(120)는, 현재 파티션의 예측오차의 움직임보상을 위해 L0/L1/LC 참조리스트가 가리키는 쌍예측을 위한 참조영상을 해당 참조순서에 따라 참조하여 예측영역을 복원할 수 있다. 이런식으로 결정된 부호화 심도의 부호화 단위들이 일 실시예에 따른 트리 구조의 부호화 단위를 구성할 수 있다. The coding unit determiner 120 may determine the prediction error of the current partition by performing prediction encoding on the current partition by referring to the reference image indicated by the L0 / L1 / LC reference list according to the corresponding reference order. In addition, the coding unit determiner 120 may reconstruct the prediction region by referring to the reference image for pair prediction indicated by the L0 / L1 / LC reference list according to the corresponding reference order for motion compensation of the prediction error of the current partition. have. Coding units of the coded depth determined in this manner may constitute a coding unit having a tree structure according to an embodiment.

비디오 부호화 장치(100)의 출력부(130)는 비디오 예측부호화 장치(10)의 출력 동작을 수행할 수 있다. 즉, 출력부(130)는, 최대 부호화 단위마다, 트리 구조에 따른 부호화 단위들별로, 일 실시예에 따른 쌍예측 및 단일방향 예측에 의해 생성된 예측오차의 양자화된 변환계수를 출력할 수 있다. The output unit 130 of the video encoding apparatus 100 may perform an output operation of the video prediction encoding apparatus 10. That is, the output unit 130 may output the quantized transform coefficients of the prediction error generated by the bi-prediction and the unidirectional prediction according to one embodiment, for each coding unit having a tree structure, for each maximum coding unit. .

출력부(130)는, 트리 구조에 따른 부호화 단위들의 부호화 심도 및 부호화 모드에 대한 정보를 부호화하여 출력할 수 있다. 부호화 모드에 대한 정보는 일 실시예에 따른 예측부호화에 의해 결정된 참조정보, 예측모드 정보를 포함할 수 있다. 참조정보는 참조영상을 나타내는 인덱스, 참조블록을 가리키는 움직임정보 등을 포함할 수 있다. The output unit 130 may encode and output information about a coded depth and a coding mode of coding units having a tree structure. The information about the encoding mode may include reference information and prediction mode information determined by prediction encoding according to an embodiment. The reference information may include an index indicating a reference picture, motion information indicating a reference block, and the like.

출력부(130)는, 일 실시예에 따른 B 슬라이스타입의 쌍예측에 관한 예측모드정보로서, 참조리스트 관련 정보를 부호화할 수도 있다. 예를 들어, LC 관련정보 설정부(12)가 설정한 L0/L1/LC 디폴트개수 정보, L0/L1/LC 액티브개수 관련 정보, L0/L1/LC 변경 관련 정보 등이 예측모드 정보로서 부호화되어 출력될 수 있다. The output unit 130 may encode reference list related information as prediction mode information about pair prediction of a B slice type, according to an exemplary embodiment. For example, the L0 / L1 / LC default number information, L0 / L1 / LC active number information, L0 / L1 / LC change related information, etc. set by the LC related information setting unit 12 are encoded as prediction mode information. Can be output.

일 실시예에 따른 쌍예측를 위한 참조리스트 관련 정보는, 현재 파티션을 포함하는 슬라이스마다, 또는 시퀀스마다 또는 픽처마다 부호화될 수 있다.Reference list related information for pair prediction according to an embodiment may be encoded for each slice including the current partition, for each sequence, or for each picture.

도 14 는 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 복호화 장치의 블록도를 도시한다.14 is a block diagram of a video decoding apparatus involving video prediction based on coding units having a tree structure, according to an embodiment of the present invention.

일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 복호화 장치(200)는 수신부(210), 영상 데이터 및 부호화 정보 추출부(220) 및 영상 데이터 복호화부(230)를 포함한다. 이하 설명의 편의를 위해, 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 예측을 수반하는 비디오 복호화 장치(200)는 '비디오 복호화 장치(200)'로 축약하여 지칭한다.A video decoding apparatus 200 including video prediction based on a coding unit according to an exemplary embodiment includes a receiving unit 210, a video data and coding information extracting unit 220, and a video data decoding unit 230 do. For convenience of explanation, a video decoding apparatus 200 that accompanies video prediction based on a coding unit according to an exemplary embodiment is referred to as a 'video decoding apparatus 200' in short.

일 실시예에 따른 비디오 복호화 장치(200)의 복호화 동작을 위한 부호화 단위, 심도, 예측 단위, 변환 단위, 각종 부호화 모드에 관한 정보 등 각종 용어의 정의는, 도 13 및 비디오 부호화 장치(100)를 참조하여 전술한 바와 동일하다. Definition of various terms such as a coding unit, a depth, a prediction unit, a transformation unit, and information about various encoding modes for a decoding operation of the video decoding apparatus 200 according to an embodiment may be described with reference to FIG. 13 and the video encoding apparatus 100. Same as described above with reference.

수신부(210)는 부호화된 비디오에 대한 비트스트림을 수신하여 파싱한다. 영상 데이터 및 부호화 정보 추출부(220)는 파싱된 비트스트림으로부터 최대 부호화 단위별로 트리 구조에 따른 부호화 단위들에 따라 부호화 단위마다 부호화된 영상 데이터를 추출하여 영상 데이터 복호화부(230)로 출력한다. 영상 데이터 및 부호화 정보 추출부(220)는 현재 픽처에 대한 헤더, 시퀀스 파라미터 세트 또는 픽처 파라미터 세트로부터 현재 픽처의 부호화 단위의 최대 크기에 관한 정보를 추출할 수 있다. The receiving unit 210 receives and parses the bitstream of the encoded video. The image data and encoding information extracting unit 220 extracts image data encoded for each encoding unit according to the encoding units according to the tree structure according to the maximum encoding unit from the parsed bit stream and outputs the extracted image data to the image data decoding unit 230. The image data and encoding information extraction unit 220 can extract information on the maximum size of the encoding unit of the current picture from the header, sequence parameter set, or picture parameter set for the current picture.

또한, 영상 데이터 및 부호화 정보 추출부(220)는 파싱된 비트스트림으로부터 최대 부호화 단위별로 트리 구조에 따른 부호화 단위들에 대한 부호화 심도 및 부호화 모드에 관한 정보를 추출한다. 추출된 부호화 심도 및 부호화 모드에 관한 정보는 영상 데이터 복호화부(230)로 출력된다. 즉, 비트열의 영상 데이터를 최대 부호화 단위로 분할하여, 영상 데이터 복호화부(230)가 최대 부호화 단위마다 영상 데이터를 복호화하도록 할 수 있다. Also, the image data and encoding information extracting unit 220 extracts information on the encoding depth and the encoding mode for the encoding units according to the tree structure for each maximum encoding unit from the parsed bit stream. The extracted information about the coded depth and the coding mode is output to the image data decoder 230. That is, the image data of the bit string may be divided into maximum coding units so that the image data decoder 230 may decode the image data for each maximum coding unit.

최대 부호화 단위별 부호화 심도 및 부호화 모드에 관한 정보는, 하나 이상의 부호화 심도 정보에 대해 설정될 수 있으며, 부호화 심도별 부호화 모드에 관한 정보는, 해당 부호화 단위의 파티션 타입 정보, 예측 모드 정보 및 변환 단위의 크기 정보 등을 포함할 수 있다. 또한, 부호화 심도 정보로서, 심도별 분할 정보가 추출될 수도 있다. Information on the coding depth and coding mode per coding unit can be set for one or more coding depth information, and the information on the coding mode for each coding depth is divided into partition type information of the coding unit, prediction mode information, The size information of the image data, and the like. In addition, as the encoding depth information, depth-based segmentation information may be extracted.

영상 데이터 및 부호화 정보 추출부(220)가 추출한 최대 부호화 단위별 부호화 심도 및 부호화 모드에 관한 정보는, 일 실시예에 따른 비디오 부호화 장치(100)와 같이 부호화단에서, 최대 부호화 단위별 심도별 부호화 단위마다 반복적으로 부호화를 수행하여 최소 부호화 오차를 발생시키는 것으로 결정된 부호화 심도 및 부호화 모드에 관한 정보이다. 따라서, 비디오 복호화 장치(200)는 최소 부호화 오차를 발생시키는 부호화 방식에 따라 데이터를 복호화하여 영상을 복원할 수 있다.The information about the coded depth and the encoding mode according to the maximum coding units extracted by the image data and the encoding information extractor 220 may be encoded according to the depth according to the maximum coding unit, as in the video encoding apparatus 100 according to an embodiment. Information about a coded depth and an encoding mode determined to repeatedly perform encoding for each unit to generate a minimum encoding error. Therefore, the video decoding apparatus 200 may reconstruct an image by decoding data according to an encoding method that generates a minimum encoding error.

일 실시예에 따른 부호화 심도 및 부호화 모드에 대한 부호화 정보는, 해당 부호화 단위, 예측 단위 및 최소 단위 중 소정 데이터 단위에 대해 할당되어 있을 수 있으므로, 영상 데이터 및 부호화 정보 추출부(220)는 소정 데이터 단위별로 부호화 심도 및 부호화 모드에 관한 정보를 추출할 수 있다. 소정 데이터 단위별로, 해당 최대 부호화 단위의 부호화 심도 및 부호화 모드에 관한 정보가 기록되어 있다면, 동일한 부호화 심도 및 부호화 모드에 관한 정보를 갖고 있는 소정 데이터 단위들은 동일한 최대 부호화 단위에 포함되는 데이터 단위로 유추될 수 있다. The encoding information for the encoding depth and the encoding mode according to the embodiment may be allocated for a predetermined data unit among the encoding unit, the prediction unit and the minimum unit. Therefore, the image data and the encoding information extracting unit 220 may extract predetermined data Information on the coding depth and coding mode can be extracted for each unit. If the information about the coded depth and the coding mode of the maximum coding unit is recorded for each of the predetermined data units, the predetermined data units having the information about the same coded depth and the coding mode are inferred as data units included in the same maximum coding unit. Can be.

영상 데이터 복호화부(230)는 최대 부호화 단위별 부호화 심도 및 부호화 모드에 관한 정보에 기초하여 각각의 최대 부호화 단위의 영상 데이터를 복호화하여 현재 픽처를 복원한다. 즉 영상 데이터 복호화부(230)는, 최대 부호화 단위에 포함되는 트리 구조에 따른 부호화 단위들 가운데 각각의 부호화 단위마다, 판독된 파티션 타입, 예측 모드, 변환 단위에 기초하여 부호화된 영상 데이터를 복호화할 수 있다. 복호화 과정은 인트라 예측 및 움직임 보상을 포함하는 예측 과정, 및 역변환 과정을 포함할 수 있다.The image data decoder 230 reconstructs the current picture by decoding image data of each maximum coding unit based on the information about the coded depth and the encoding mode for each maximum coding unit. That is, the image data decoding unit 230 decodes the image data encoded based on the read partition type, the prediction mode, and the conversion unit for each coding unit among the coding units according to the tree structure included in the maximum coding unit . The decoding process may include a prediction process including intra prediction and motion compensation, and an inverse process.

영상 데이터 복호화부(230)는, 부호화 심도별 부호화 단위의 예측 단위의 파티션 타입 정보 및 예측 모드 정보에 기초하여, 부호화 단위마다 각각의 파티션 및 예측 모드에 따라 인트라 예측 또는 움직임 보상을 수행할 수 있다.The image data decoding unit 230 may perform intra prediction or motion compensation according to each partition and prediction mode for each coding unit based on partition type information and prediction mode information of a prediction unit of each coding depth .

또한, 영상 데이터 복호화부(230)는, 최대 부호화 단위별 역변환을 위해, 부호화 단위별로 트리 구조에 따른 변환 단위 정보를 판독하여, 부호화 단위마다 변환 단위에 기초한 역변환을 수행할 수 있다. 역변환을 통해, 부호화 단위의 공간 영역의 화소값이 복원할 수 있다. In addition, the image data decoding unit 230 may read the conversion unit information according to the tree structure for each encoding unit for inverse conversion according to the maximum encoding unit, and perform inverse conversion based on the conversion unit for each encoding unit. Through the inverse transformation, the pixel value of the spatial domain of the encoding unit can be restored.

영상 데이터 복호화부(230)는 심도별 분할 정보를 이용하여 현재 최대 부호화 단위의 부호화 심도를 결정할 수 있다. 만약, 분할 정보가 현재 심도에서 더 이상 분할되지 않음을 나타내고 있다면 현재 심도가 부호화 심도이다. 따라서, 영상 데이터 복호화부(230)는 현재 최대 부호화 단위의 영상 데이터에 대해 현재 심도의 부호화 단위를 예측 단위의 파티션 타입, 예측 모드 및 변환 단위 크기 정보를 이용하여 복호화할 수 있다. The image data decoding unit 230 can determine the coding depth of the current maximum coding unit using the division information by depth. If the division information indicates that it is no longer divided at the current depth, then the current depth is the depth of the encoding. Therefore, the image data decoder 230 may decode the coding unit of the current depth using the partition type, the prediction mode, and the transformation unit size information of the prediction unit with respect to the image data of the current maximum coding unit.

즉, 부호화 단위, 예측 단위 및 최소 단위 중 소정 데이터 단위에 대해 설정되어 있는 부호화 정보를 관찰하여, 동일한 분할 정보를 포함한 부호화 정보를 보유하고 있는 데이터 단위가 모여, 영상 데이터 복호화부(230)에 의해 동일한 부호화 모드로 복호화할 하나의 데이터 단위로 간주될 수 있다. 이런 식으로 결정된 부호화 단위마다 부호화 모드에 대한 정보를 획득하여 현재 부호화 단위의 복호화가 수행될 수 있다. In other words, the encoding information set for the predetermined unit of data among the encoding unit, the prediction unit and the minimum unit is observed, and the data units holding the encoding information including the same division information are collected, and the image data decoding unit 230 It can be regarded as one data unit to be decoded in the same encoding mode. Information on the encoding mode can be obtained for each encoding unit determined in this manner, and decoding of the current encoding unit can be performed.

또한, 도 14의 비디오 복호화 장치(200)는, 도 2을 참조하여 전술한 비디오 예측복호화 장치(20)의 예측복호화 동작을 수행할 수 있다. In addition, the video decoding apparatus 200 of FIG. 14 may perform the prediction decoding operation of the video prediction decoding apparatus 20 described above with reference to FIG. 2.

일 실시예에 따른 영상 데이터 및 부호화 정보 추출부(220)는, 파싱된 비트스트림으로부터, 트리 구조에 따른 부호화 단위들마다, 일 실시예에 따른 예측에 의해 생성된 예측오차의 양자화된 변환계수를 추출할 수 있다. The image data and encoding information extractor 220 according to an embodiment may include a quantized transform coefficient of a prediction error generated by prediction according to an embodiment, for each coding unit having a tree structure, from the parsed bitstream. Can be extracted.

또한 영상 데이터 및 부호화 정보 추출부(220)는, 파싱된 비트스트림으로부터, 트리 구조에 따른 부호화 단위들에 대한 부호화 심도 및 부호화 모드에 대한 정보를 추출하면서, 일 실시예에 따른 예측모드정보를 추출할 수 있다. 영상 데이터 및 부호화 정보 추출부(220)는 부호화 모드에 대한 정보 중에서 일 실시예에 따른 예측부호화에 의해 결정된 참조정보, 예측모드 정보를 추출할 수도 있다. 참조정보로부터는 참조영상을 나타내는 인덱스, 참조블록을 가리키는 움직임정보 등이 추출될 수 있다. Also, the image data and encoding information extractor 220 extracts prediction mode information according to an embodiment while extracting information about a coded depth and an encoding mode for the coding units having a tree structure, from the parsed bitstream. can do. The image data and encoding information extractor 220 may extract reference information and prediction mode information determined by prediction encoding according to an embodiment of the encoding mode information. From the reference information, an index indicating a reference picture, motion information indicating a reference block, and the like may be extracted.

영상 데이터 및 부호화 정보 추출부(220)는, 일 실시예에 따른 B 슬라이스타입의 쌍예측에 관한 예측모드정보로부터, 참조리스트 관련 정보를 추출할 수도 있다. 예를 들어, LC 관련정보 판독부(12)가 판독하는 L0/L1/LC 디폴트개수 정보, L0/L1/LC 액티브개수 관련 정보, L0/L1/LC 변경 관련 정보 등이, 영상 데이터 및 부호화 정보 추출부(220)에 의해 예측모드 정보로서 추출될 수 있다. 일 실시예에 따른 쌍예측 및 단일방향 예측에 의해 결정된 예측모드정보는, 현재 파티션을 포함하는 슬라이스마다, 또는 시퀀스마다. 또는 픽처마다 별도로 추출될 수 있다.The image data and encoding information extractor 220 may extract reference list related information from prediction mode information regarding pair prediction of a B slice type, according to an exemplary embodiment. For example, the L0 / L1 / LC default number information, the L0 / L1 / LC active number information, the L0 / L1 / LC change information, and the like, which are read by the LC-related information reading unit 12, are the video data and the encoding information. The extraction unit 220 may extract the prediction mode information. Prediction mode information determined by bi-prediction and unidirectional prediction according to an embodiment is for each slice or per sequence including the current partition. Or it may be extracted separately for each picture.

비디오 복호화 장치(200)의 영상 데이터 복호화부(230)는, 비디오 예측복호화 장치(20)의 예측복호화부(24)의 동작을 수행할 수 있다. The image data decoder 230 of the video decoding apparatus 200 may perform an operation of the prediction decoder 24 of the video predictive decoding apparatus 20.

영상 데이터 복호화부(230)는, 부호화 심도 및 부호화 모드에 대한 정보를 이용하여, 트리구조의 부호화 단위들을 결정하고, 부호화 단위마다의 파티션들을 결정할 수 있다. 영상 데이터 복호화부(230)는, 현재영상의 트리구조의 부호화 단위들마다, 부호화된 영상 데이터에 대해 역양자화, 역변환을 포함하는 복호화 과정을 거쳐, 부호화 단위의 예측오차를 복원할 수 있다. The image data decoder 230 may determine coding units having a tree structure and determine partitions for each coding unit by using information about a coded depth and an encoding mode. The image data decoder 230 may reconstruct the prediction error of the coding unit by performing a decoding process including inverse quantization and inverse transformation on the encoded image data for each coding unit of the tree structure of the current image.

영상 데이터 복호화부(230)는, 트리구조의 부호화 단위마다 포함된 파티션을 기초로, 예측오차에 대해 예측복호화를 수행할 수 있다. 특히 쌍예측이 가능한 B 슬라이스 타입의 파티션에 대한 예측복호화는, L0/L1/LC 참조리스트가 가리키는 참조영상을 이용하여 수행될 수 있다. 영상 데이터 복호화부(230)는, L0/L1/LC 참조리스트가 가리키는 참조영상을 해당 참조순서에 따라 참조하여 현재 파티션의 예측영역을 복원할 수 있다. The image data decoder 230 may perform prediction decoding on the prediction error based on partitions included for each coding unit of the tree structure. In particular, prediction decoding on a partition of a B slice type capable of pair prediction may be performed using a reference image indicated by the L0 / L1 / LC reference list. The image data decoder 230 may reconstruct the prediction region of the current partition by referring to the reference image indicated by the L0 / L1 / LC reference list in a corresponding reference order.

이에 따라, 영상 데이터 복호화부(230)는 최대 부호화 단위마다, 트리구조의 부호화 단위의 파티션별로 예측복호화를 수행함으로서, 현재영상의 복원영상을 생성할 수 있다.Accordingly, the image data decoder 230 may generate a reconstructed image of the current image by performing prediction decoding on each partition of the coding unit having a tree structure for each maximum coding unit.

결국, 비디오 복호화 장치(200)는, 부호화 과정에서 최대 부호화 단위마다 재귀적으로 부호화를 수행하여 최소 부호화 오차를 발생시킨 부호화 단위에 대한 정보를 획득하여, 현재 픽처에 대한 복호화에 이용할 수 있다. 즉, 최대 부호화 단위마다 최적 부호화 단위로 결정된 트리 구조에 따른 부호화 단위들의 부호화된 영상 데이터의 복호화가 가능해진다.As a result, the video decoding apparatus 200 can recursively perform encoding for each maximum encoding unit in the encoding process, obtain information on the encoding unit that has generated the minimum encoding error, and use the encoded information for decoding the current picture. That is, it is possible to decode the encoded image data of the encoding units according to the tree structure determined as the optimal encoding unit for each maximum encoding unit.

따라서, 높은 해상도의 영상 또는 데이터량이 과도하게 많은 영상이라도 부호화단으로부터 전송된 최적 부호화 모드에 관한 정보를 이용하여, 영상의 특성에 적응적으로 결정된 부호화 단위의 크기 및 부호화 모드에 따라 효율적으로 영상 데이터를 복호화하여 복원할 수 있다.Therefore, even if a high resolution image or an excessively large amount of data is used, the image data can be efficiently used according to the coding unit size and the encoding mode that are adaptively determined according to the characteristics of the image by using the information about the optimum encoding mode transmitted from the encoding end. Can be decoded and restored.

도 15 은 본 발명의 일 실시예에 따른 부호화 단위의 개념을 도시한다.15 illustrates a concept of coding units, according to an embodiment of the present invention.

부호화 단위의 예는, 부호화 단위의 크기는 너비x높이로 표현되며, 크기 64x64인 부호화 단위부터, 32x32, 16x16, 8x8를 포함할 수 있다. 크기 64x64의 부호화 단위는 크기 64x64, 64x32, 32x64, 32x32의 파티션들로 분할될 수 있고, 크기 32x32의 부호화 단위는 크기 32x32, 32x16, 16x32, 16x16의 파티션들로, 크기 16x16의 부호화 단위는 크기 16x16, 16x8, 8x16, 8x8의 파티션들로, 크기 8x8의 부호화 단위는 크기 8x8, 8x4, 4x8, 4x4의 파티션들로 분할될 수 있다.An example of an encoding unit is that the size of an encoding unit is represented by a width x height, and may include 32x32, 16x16, and 8x8 from an encoding unit having a size of 64x64. The encoding unit of size 64x64 can be divided into the partitions of size 64x64, 64x32, 32x64, 32x32, and the encoding unit of size 32x32 is the partitions of size 32x32, 32x16, 16x32, 16x16 and the encoding unit of size 16x16 is the size of 16x16 , 16x8, 8x16, and 8x8, and a size 8x8 encoding unit can be divided into partitions of size 8x8, 8x4, 4x8, and 4x4.

비디오 데이터(310)에 대해서는, 해상도는 1920x1080, 부호화 단위의 최대 크기는 64, 최대 심도가 2로 설정되어 있다. 비디오 데이터(320)에 대해서는, 해상도는 1920x1080, 부호화 단위의 최대 크기는 64, 최대 심도가 3로 설정되어 있다. 비디오 데이터(330)에 대해서는, 해상도는 352x288, 부호화 단위의 최대 크기는 16, 최대 심도가 1로 설정되어 있다. 도 9에 도시된 최대 심도는, 최대 부호화 단위로부터 최소 부호화 단위까지의 총 분할 횟수를 나타낸다.With respect to the video data 310, the resolution is set to 1920 x 1080, the maximum size of the encoding unit is set to 64, and the maximum depth is set to 2. For the video data 320, the resolution is set to 1920x1080, the maximum size of the coding unit is 64, and the maximum depth is 3. With respect to the video data 330, the resolution is set to 352 x 288, the maximum size of the encoding unit is set to 16, and the maximum depth is set to 1. The maximum depth illustrated in FIG. 9 represents the total number of divisions from the maximum coding unit to the minimum coding unit.

해상도가 높거나 데이터량이 많은 경우 부호화 효율의 향상 뿐만 아니라 영상 특성을 정확히 반형하기 위해 부호화 사이즈의 최대 크기가 상대적으로 큰 것이 바람직하다. 따라서, 비디오 데이터(330)에 비해, 해상도가 높은 비디오 데이터(310, 320)는 부호화 사이즈의 최대 크기가 64로 선택될 수 있다.It is preferable that the maximum size of the coding size is relatively large in order to improve the coding efficiency as well as to accurately characterize the image characteristics when the resolution or the data amount is large. Accordingly, the video data 310 or 320 having a higher resolution than the video data 330 may be selected to have a maximum size of 64.

비디오 데이터(310)의 최대 심도는 2이므로, 비디오 데이터(310)의 부호화 단위(315)는 장축 크기가 64인 최대 부호화 단위로부터, 2회 분할하며 심도가 두 계층 깊어져서 장축 크기가 32, 16인 부호화 단위들까지 포함할 수 있다. 반면, 비디오 데이터(330)의 최대 심도는 1이므로, 비디오 데이터(330)의 부호화 단위(335)는 장축 크기가 16인 부호화 단위들로부터, 1회 분할하며 심도가 한 계층 깊어져서 장축 크기가 8인 부호화 단위들까지 포함할 수 있다. Since the maximum depth of the video data 310 is 2, the encoding unit 315 of the video data 310 is divided into two from the maximum encoding unit having the major axis size of 64, and the depths are deepened by two layers, Encoding units. On the other hand, since the maximum depth of the video data 330 is 1, the encoding unit 335 of the video data 330 divides the encoding unit 335 having a long axis size of 16 by one time, Encoding units.

비디오 데이터(320)의 최대 심도는 3이므로, 비디오 데이터(320)의 부호화 단위(325)는 장축 크기가 64인 최대 부호화 단위로부터, 3회 분할하며 심도가 세 계층 깊어져서 장축 크기가 32, 16, 8인 부호화 단위들까지 포함할 수 있다. 심도가 깊어질수록 세부 정보의 표현능력이 향상될 수 있다.Since the maximum depth of the video data 320 is 3, the encoding unit 325 of the video data 320 divides the encoding unit 325 from the maximum encoding unit having the major axis size of 64 to 3 times, , 8 encoding units can be included. As the depth increases, the expressive power of the detailed information may be improved.

도 16 는 본 발명의 일 실시예에 따른 부호화 단위에 기초한 영상 부호화부의 블록도를 도시한다.16 is a block diagram of an image encoding unit based on an encoding unit according to an embodiment of the present invention.

일 실시예에 따른 영상 부호화부(400)는, 비디오 부호화 장치(100)의 부호화 단위 결정부(120)에서 영상 데이터를 부호화하는데 거치는 작업들을 포함한다. 즉, 인트라 예측부(410)는 현재 프레임(405) 중 인트라 모드의 부호화 단위에 대해 인트라 예측을 수행하고, 움직임 추정부(420) 및 움직임 보상부(425)는 인터 모드의 현재 프레임(405) 및 참조 프레임(495)을 이용하여 인터 추정 및 움직임 보상을 수행한다.The image encoding unit 400 according to an exemplary embodiment includes operations to encode image data in the encoding unit determination unit 120 of the video encoding device 100. [ That is, the intraprediction unit 410 performs intraprediction on the intra-mode encoding unit of the current frame 405, and the motion estimation unit 420 and the motion compensation unit 425 perform intraprediction on the current frame 405 of the inter- And a reference frame 495, as shown in FIG.

인트라 예측부(410), 움직임 추정부(420) 및 움직임 보상부(425)로부터 출력된 데이터는 변환부(430) 및 양자화부(440)를 거쳐 양자화된 변환 계수로 출력된다. 양자화된 변환 계수는 역양자화부(460), 역변환부(470)을 통해 공간 영역의 데이터로 복원되고, 복원된 공간 영역의 데이터는 디블로킹부(480) 및 루프 필터링부(490)를 거쳐 후처리되어 참조 프레임(495)으로 출력된다. 양자화된 변환 계수는 엔트로피 부호화부(450)를 거쳐 비트스트림(455)으로 출력될 수 있다.The data output from the intraprediction unit 410, the motion estimation unit 420 and the motion compensation unit 425 are output as quantized transform coefficients through the transform unit 430 and the quantization unit 440. The quantized transform coefficients are restored to the data of the spatial domain through the inverse quantizer 460 and the inverse transformer 470, and the recovered data of the spatial domain is passed through the deblocking block 480 and the loop filtering unit 490. Processed and output to the reference frame 495. The quantized transform coefficients may be output to the bitstream 455 via the entropy encoder 450.

일 실시예에 따른 비디오 부호화 장치(100)에 적용되기 위해서는, 영상 부호화부(400)의 구성 요소들인 인트라 예측부(410), 움직임 추정부(420), 움직임 보상부(425), 변환부(430), 양자화부(440), 엔트로피 부호화부(450), 역양자화부(460), 역변환부(470), 디블로킹부(480) 및 루프 필터링부(490)가 모두, 최대 부호화 단위마다 최대 심도를 고려하여 트리 구조에 따른 부호화 단위들 중 각각의 부호화 단위에 기반한 작업을 수행하여야 한다. In order to be applied to the video encoding apparatus 100 according to an exemplary embodiment, the intra predictor 410, the motion estimator 420, the motion compensator 425, and the transform unit may be components of the image encoder 400. 430, quantizer 440, entropy encoder 450, inverse quantizer 460, inverse transform unit 470, deblocking unit 480, and loop filtering unit 490 are all maximum for each largest coding unit. In consideration of the depth, a task based on each coding unit among the coding units having a tree structure should be performed.

특히, 인트라 예측부(410), 움직임 추정부(420) 및 움직임 보상부(425)는 현재 최대 부호화 단위의 최대 크기 및 최대 심도를 고려하여 트리 구조에 따른 부호화 단위들 중 각각의 부호화 단위의 파티션 및 예측 모드를 결정하며, 변환부(430)는 트리 구조에 따른 부호화 단위들 중 각각의 부호화 단위 내의 변환 단위의 크기를 결정하여야 한다. In particular, the intra prediction unit 410, the motion estimation unit 420, and the motion compensation unit 425 compute the maximum size and the maximum depth of the current maximum encoding unit, And the prediction mode, and the conversion unit 430 determines the size of the conversion unit in each coding unit among the coding units according to the tree structure.

움직임 추정부(420) 및 움직임 보상부(425)는 쌍예측이 가능한 B 슬라이스 타입의 참조영상을 결정하기 위해, L0/L1/LC 참조리스트를 결정할 수 있다. 픽처마다 설정된 LC 참조리스트의 기본유효개수를 이용하여, L0 참조리스트 및 L1 참조리스트의 참조영상들을 이용하여 LC 참조리스트가 구성될 수 있다. 또한, 슬라이스 또는 픽처마다 L0/L1/LC 참조리스트의 참조영상의 유효개수가 임의변경되거나, L0/L1/LC 참조리스트의 참조영상 또는 참조순서가 변경될 수 있다. 이 경우, 움직임 추정부(420)는변경된 L0/L1/LC 참조리스트에 따라 참조영상을 해당 참조순서에 따라 이용하여 현재영상에 대해 예측을 수행하여 예측오차를 결정할 수 있다. 유사하게, 움직임 보상부(425)는 변경된 L0/L1/LC 참조리스트에 따라 참조영상을 해당 참조순서에 따라 이용하여 현재영상의 예측오차에 대해 보상을 수행하여 복원영상을 생성할 수 있다. The motion estimator 420 and the motion compensator 425 may determine a L0 / L1 / LC reference list in order to determine a B slice type reference image capable of pair prediction. The LC reference list may be constructed using the reference pictures of the L0 reference list and the L1 reference list by using the basic validity number of the LC reference list set for each picture. In addition, the effective number of reference pictures of the L0 / L1 / LC reference list may be arbitrarily changed for each slice or picture, or the reference picture or reference order of the L0 / L1 / LC reference list may be changed. In this case, the motion estimator 420 may determine the prediction error by performing prediction on the current image using the reference image according to the changed L0 / L1 / LC reference list in the corresponding reference order. Similarly, the motion compensator 425 may generate a reconstructed image by compensating for a prediction error of the current image by using the reference image according to the changed L0 / L1 / LC reference list in the corresponding reference order.

도 17 는 본 발명의 일 실시예에 따른 부호화 단위에 기초한 영상 복호화부의 블록도를 도시한다.17 is a block diagram of an image decoder based on coding units, according to an embodiment of the present invention.

비트스트림(505)이 파싱부(510)를 거쳐 복호화 대상인 부호화된 영상 데이터 및 복호화를 위해 필요한 부호화에 관한 정보가 파싱된다. 부호화된 영상 데이터는 엔트로피 복호화부(520) 및 역양자화부(530)를 거쳐 역양자화된 데이터로 출력되고, 역변환부(540)를 거쳐 공간 영역의 영상 데이터가 복원된다. The bitstream 505 passes through the parsing unit 510 and the encoded image data to be decoded and the encoding-related information necessary for decoding are parsed. The encoded image data is output as inverse quantized data through the entropy decoding unit 520 and the inverse quantization unit 530, and the image data in the spatial domain is restored via the inverse transform unit 540.

공간 영역의 영상 데이터에 대해서, 인트라 예측부(550)는 인트라 모드의 부호화 단위에 대해 인트라 예측을 수행하고, 움직임 보상부(560)는 참조 프레임(585)를 함께 이용하여 인터 모드의 부호화 단위에 대해 움직임 보상을 수행한다.For the image data of the spatial domain, the intra prediction unit 550 performs intra prediction on the coding unit of the intra mode, and the motion compensator 560 uses the reference frame 585 together to apply the coding unit of the inter mode. Perform motion compensation for the

인트라 예측부(550) 및 움직임 보상부(560)를 거친 공간 영역의 데이터는 디블로킹부(570) 및 루프 필터링부(580)를 거쳐 후처리되어 복원 프레임(595)으로 출력될 수 있다. 또한, 디블로킹부(570) 및 루프 필터링부(580)를 거쳐 후처리된 데이터는 참조 프레임(585)으로서 출력될 수 있다.Data in the spatial domain that has passed through the intra predictor 550 and the motion compensator 560 may be post-processed through the deblocking unit 570 and the loop filtering unit 580 to be output to the reconstructed frame 595. Further, the post-processed data via deblocking unit 570 and loop filtering unit 580 may be output as reference frame 585.

비디오 복호화 장치(200)의 영상 데이터 복호화부(230)에서 영상 데이터를 복호화하기 위해, 일 실시예에 따른 영상 복호화부(500)의 파싱부(510) 이후의 단계별 작업들이 수행될 수 있다.In order to decode the image data in the image data decoder 230 of the video decoding apparatus 200, step-by-step operations after the parser 510 of the image decoder 500 according to an embodiment may be performed.

일 실시예에 따른 비디오 복호화 장치(200)에 적용되기 위해서는, 영상 복호화부(500)의 구성 요소들인 파싱부(510), 엔트로피 복호화부(520), 역양자화부(530), 역변환부(540), 인트라 예측부(550), 움직임 보상부(560), 디블로킹부(570) 및 루프 필터링부(580)가 모두, 최대 부호화 단위마다 트리 구조에 따른 부호화 단위들에 기반하여 작업을 수행하여야 한다. In order to be applied to the video decoding apparatus 200 according to an embodiment, the parser 510, the entropy decoder 520, the inverse quantizer 530, and the inverse transform unit 540, which are components of the image decoder 500, may be used. ), The intra predictor 550, the motion compensator 560, the deblocking unit 570, and the loop filtering unit 580 must all perform operations based on coding units having a tree structure for each maximum coding unit. do.

특히, 인트라 예측부(550), 움직임 보상부(560)는 트리 구조에 따른 부호화 단위들 각각마다 파티션 및 예측 모드를 결정하며, 역변환부(540)는 부호화 단위마다 변환 단위의 크기를 결정하여야 한다.In particular, the intraprediction unit 550 and the motion compensation unit 560 determine the partition and prediction mode for each coding unit according to the tree structure, and the inverse transform unit 540 determines the size of the conversion unit for each coding unit .

움직임 보상부(560)는 쌍예측이 가능한 B 슬라이스 타입의 참조영상을 결정하기 위해, L0/L1/LC 참조리스트를 결정할 수 있다. 픽처마다 설정된 LC 참조리스트의 기본유효개수를 이용하여, L0 참조리스트 및 L1 참조리스트의 참조영상들을 이용하여 LC 참조리스트가 구성될 수 있다. 또한, 슬라이스 또는 픽처마다 L0/L1/LC 참조리스트의 참조영상의 유효개수가 임의변경되거나, L0/L1/LC 참조리스트의 참조영상 또는 참조순서가 변경될 수 있다. 이 경우, 움직임 보상부(560)는 변경된 L0/L1/LC 참조리스트에 따라 참조영상을 해당 참조순서에 따라 이용하여 현재영상의 예측오차에 대해 보상을 수행하여 복원영상을 생성할 수 있다. The motion compensator 560 may determine a L0 / L1 / LC reference list to determine a reference image of a B slice type capable of pair prediction. The LC reference list may be constructed using the reference pictures of the L0 reference list and the L1 reference list by using the basic validity number of the LC reference list set for each picture. In addition, the effective number of reference pictures of the L0 / L1 / LC reference list may be arbitrarily changed for each slice or picture, or the reference picture or reference order of the L0 / L1 / LC reference list may be changed. In this case, the motion compensator 560 may generate a reconstructed image by compensating for the prediction error of the current image by using the reference image according to the changed L0 / L1 / LC reference list in the corresponding reference order.

도 18 는 본 발명의 일 실시예에 따른 심도별 부호화 단위 및 파티션을 도시한다.18 is a diagram of deeper coding units according to depths, and partitions, according to an embodiment of the present invention.

일 실시예에 따른 비디오 부호화 장치(100) 및 일 실시예에 따른 비디오 복호화 장치(200)는 영상 특성을 고려하기 위해 계층적인 부호화 단위를 사용한다. 부호화 단위의 최대 높이 및 너비, 최대 심도는 영상의 특성에 따라 적응적으로 결정될 수도 있으며, 사용자의 요구에 따라 다양하게 설정될 수도 있다. 미리 설정된 부호화 단위의 최대 크기에 따라, 심도별 부호화 단위의 크기가 결정될 수 있다.The video encoding apparatus 100 according to an embodiment and the video decoding apparatus 200 according to an embodiment use hierarchical coding units to consider image characteristics. The maximum height, width, and maximum depth of the coding unit may be adaptively determined according to the characteristics of the image, and may be variously set according to a user's request. According to the maximum size of the preset coding unit, the size of the coding unit for each depth may be determined.

일 실시예에 따른 부호화 단위의 계층 구조(600)는 부호화 단위의 최대 높이 및 너비가 64이며, 최대 심도가 4인 경우를 도시하고 있다. 이 때, 최대 심도는 최대 부호화 단위로부터 최소 부호화 단위까지의 총 분할 횟수를 나타낸다. 일 실시예에 따른 부호화 단위의 계층 구조(600)의 세로축을 따라서 심도가 깊어지므로 심도별 부호화 단위의 높이 및 너비가 각각 분할한다. 또한, 부호화 단위의 계층 구조(600)의 가로축을 따라, 각각의 심도별 부호화 단위의 예측부호화의 기반이 되는 예측 단위 및 파티션이 도시되어 있다.The hierarchical structure 600 of the encoding unit according to an embodiment shows a case where the maximum height and width of the encoding unit is 64 and the maximum depth is 4. In this case, the maximum depth indicates the total number of division from the maximum encoding unit to the minimum encoding unit. Since the depth deepens along the vertical axis of the hierarchical structure 600 of the coding unit according to an embodiment, the height and the width of the coding unit for each depth are divided. Also, a prediction unit and a partition on which the prediction encoding of each deeper coding unit is based on the horizontal axis of the hierarchical structure 600 of the coding unit are shown.

즉, 부호화 단위(610)는 부호화 단위의 계층 구조(600) 중 최대 부호화 단위로서 심도가 0이며, 부호화 단위의 크기, 즉 높이 및 너비가 64x64이다. 세로축을 따라 심도가 깊어지며, 크기 32x32인 심도 1의 부호화 단위(620), 크기 16x16인 심도 2의 부호화 단위(630), 크기 8x8인 심도 3의 부호화 단위(640), 크기 4x4인 심도 4의 부호화 단위(650)가 존재한다. 크기 4x4인 심도 4의 부호화 단위(650)는 최소 부호화 단위이다.That is, the coding unit 610 has a depth of 0 as the largest coding unit of the hierarchical structure 600 of the coding unit, and the size, ie, the height and width, of the coding unit is 64x64. A depth-1 encoding unit 620 having a size of 32x32, a depth-2 encoding unit 620 having a size 16x16, a depth-3 encoding unit 640 having a size 8x8, a depth 4x4 having a size 4x4, There is an encoding unit 650. An encoding unit 650 of depth 4 of size 4x4 is the minimum encoding unit.

각각의 심도별로 가로축을 따라, 부호화 단위의 예측 단위 및 파티션들이 배열된다. 즉, 심도 0의 크기 64x64의 부호화 단위(610)가 예측 단위라면, 예측 단위는 크기 64x64의 부호화 단위(610)에 포함되는 크기 64x64의 파티션(610), 크기 64x32의 파티션들(612), 크기 32x64의 파티션들(614), 크기 32x32의 파티션들(616)로 분할될 수 있다. Prediction units and partitions of coding units are arranged along the horizontal axis for each depth. That is, if the encoding unit 610 having a depth 0 size of 64x64 is a prediction unit, the prediction unit is a partition 610 having a size of 64x64, a partition 612 having a size 64x32, 32x64 partitions 614, and size 32x32 partitions 616. [

마찬가지로, 심도 1의 크기 32x32의 부호화 단위(620)의 예측 단위는, 크기 32x32의 부호화 단위(620)에 포함되는 크기 32x32의 파티션(620), 크기 32x16의 파티션들(622), 크기 16x32의 파티션들(624), 크기 16x16의 파티션들(626)로 분할될 수 있다. Likewise, the prediction unit of the 32x32 coding unit 620 having the depth 1 is the partition 620 of the size 32x32, the partitions 622 of the size 32x16, the partition 622 of the size 16x32 included in the coding unit 620 of the size 32x32, And a partition 626 of size 16x16.

마찬가지로, 심도 2의 크기 16x16의 부호화 단위(630)의 예측 단위는, 크기 16x16의 부호화 단위(630)에 포함되는 크기 16x16의 파티션(630), 크기 16x8의 파티션들(632), 크기 8x16의 파티션들(634), 크기 8x8의 파티션들(636)로 분할될 수 있다. Similarly, the prediction unit of the coding unit 630 of size 16x16 having a depth of 2 includes a partition 630 of size 16x16, partitions 632 of size 16x8, and a partition of size 8x16 included in the coding unit 630 of size 16x16. 634, partitions 636 of size 8x8.

마찬가지로, 심도 3의 크기 8x8의 부호화 단위(640)의 예측 단위는, 크기 8x8의 부호화 단위(640)에 포함되는 크기 8x8의 파티션(640), 크기 8x4의 파티션들(642), 크기 4x8의 파티션들(644), 크기 4x4의 파티션들(646)로 분할될 수 있다. Likewise, the prediction unit of the 8x8 encoding unit 640 of depth 3 is a partition 640 of size 8x8, partitions 642 of size 8x4, partitions 642 of size 4x8 included in the encoding unit 640 of size 8x8, 644, and a partition 646 of size 4x4.

마지막으로, 심도 4의 크기 4x4의 부호화 단위(650)는 최소 부호화 단위이며 최하위 심도의 부호화 단위이고, 해당 예측 단위도 크기 4x4의 파티션(650)으로만 설정될 수 있다.Finally, the coding unit 650 of size 4x4 having a depth of 4 is the minimum coding unit and the coding unit of the lowest depth, and the corresponding prediction unit may also be set only as the partition 650 having a size of 4x4.

일 실시예에 따른 비디오 부호화 장치(100)의 부호화 단위 결정부(120)는, 최대 부호화 단위(610)의 부호화 심도를 결정하기 위해, 최대 부호화 단위(610)에 포함되는 각각의 심도의 부호화 단위마다 부호화를 수행하여야 한다. The coding unit determiner 120 of the video encoding apparatus 100 according to an exemplary embodiment may determine a coding depth of the maximum coding unit 610. The coding unit of each depth included in the maximum coding unit 610. Encoding must be performed every time.

동일한 범위 및 크기의 데이터를 포함하기 위한 심도별 부호화 단위의 개수는, 심도가 깊어질수록 심도별 부호화 단위의 개수도 증가한다. 예를 들어, 심도 1의 부호화 단위 한 개가 포함하는 데이터에 대해서, 심도 2의 부호화 단위는 네 개가 필요하다. 따라서, 동일한 데이터의 부호화 결과를 심도별로 비교하기 위해서, 한 개의 심도 1의 부호화 단위 및 네 개의 심도 2의 부호화 단위를 이용하여 각각 부호화되어야 한다.The number of deeper coding units according to depths for including data having the same range and size increases as the depth increases. For example, four coding units of depth 2 are required for data included in one coding unit of depth 1. Therefore, in order to compare the encoding results of the same data for each depth, each of the coding units having one depth 1 and four coding units having four depths 2 should be encoded.

각각의 심도별 부호화를 위해서는, 부호화 단위의 계층 구조(600)의 가로축을 따라, 심도별 부호화 단위의 예측 단위들마다 부호화를 수행하여, 해당 심도에서 가장 작은 부호화 오차인 대표 부호화 오차가 선택될 수다. 또한, 부호화 단위의 계층 구조(600)의 세로축을 따라 심도가 깊어지며, 각각의 심도마다 부호화를 수행하여, 심도별 대표 부호화 오차를 비교하여 최소 부호화 오차가 검색될 수 있다. 최대 부호화 단위(610) 중 최소 부호화 오차가 발생하는 심도 및 파티션이 최대 부호화 단위(610)의 부호화 심도 및 파티션 타입으로 선택될 수 있다. For each depth coding, encoding may be performed for each prediction unit of a coding unit according to depths along a horizontal axis of the hierarchical structure 600 of the coding unit, and a representative coding error, which is the smallest coding error at a corresponding depth, may be selected. . In addition, a depth deeper along the vertical axis of the hierarchical structure 600 of the coding unit, the encoding may be performed for each depth, and the minimum coding error may be searched by comparing the representative coding error for each depth. The depth and partition at which the minimum coding error occurs among the maximum coding units 610 can be selected as the coding depth and the partition type of the maximum coding unit 610. [

도 19 은 본 발명의 일 실시예에 따른, 부호화 단위 및 변환 단위의 관계를 도시한다.19 illustrates a relationship between a coding unit and transformation units, according to an embodiment of the present invention.

일 실시예에 따른 비디오 부호화 장치(100) 또는 일 실시예에 따른 비디오 복호화 장치(200)는, 최대 부호화 단위마다 최대 부호화 단위보다 작거나 같은 크기의 부호화 단위로 영상을 부호화하거나 복호화한다. 부호화 과정 중 변환을 위한 변환 단위의 크기는 각각의 부호화 단위보다 크지 않은 데이터 단위를 기반으로 선택될 수 있다.The video encoding apparatus 100 according to an embodiment or the video decoding apparatus 200 according to an embodiment encodes or decodes an image in coding units having a size smaller than or equal to the maximum coding unit for each maximum coding unit. The size of the conversion unit for conversion during the encoding process can be selected based on a data unit that is not larger than each encoding unit.

예를 들어, 일 실시예에 따른 비디오 부호화 장치(100) 또는 일 실시예에 따른 비디오 복호화 장치(200)에서, 현재 부호화 단위(710)가 64x64 크기일 때, 32x32 크기의 변환 단위(720)를 이용하여 변환이 수행될 수 있다. For example, in the video encoding apparatus 100 or the video encoding apparatus 200 according to an embodiment, when the current encoding unit 710 is 64x64 size, the 32x32 conversion unit 720 The conversion can be performed.

또한, 64x64 크기의 부호화 단위(710)의 데이터를 64x64 크기 이하의 32x32, 16x16, 8x8, 4x4 크기의 변환 단위들로 각각 변환을 수행하여 부호화한 후, 원본과의 오차가 가장 적은 변환 단위가 선택될 수 있다.In addition, the data of the 64x64 encoding unit 710 is converted into 32x32, 16x16, 8x8, and 4x4 conversion units each having a size of 64x64 or smaller, and then a conversion unit having the smallest error with the original is selected .

도 20 은 본 발명의 일 실시예에 따라, 심도별 부호화 정보들을 도시한다.20 illustrates encoding information according to depths, according to an embodiment of the present invention.

일 실시예에 따른 비디오 부호화 장치(100)의 출력부(130)는 부호화 모드에 관한 정보로서, 각각의 부호화 심도의 부호화 단위마다 파티션 타입에 관한 정보(800), 예측 모드에 관한 정보(810), 변환 단위 크기에 대한 정보(820)를 부호화하여 전송할 수 있다.The output unit 130 of the video encoding apparatus 100 according to one embodiment includes information on the encoding mode, information 800 relating to the partition type, information 810 relating to the prediction mode for each encoding unit of each encoding depth, , And information 820 on the conversion unit size may be encoded and transmitted.

파티션 타입에 대한 정보(800)는, 현재 부호화 단위의 예측부호화를 위한 데이터 단위로서, 현재 부호화 단위의 예측 단위가 분할된 파티션의 형태에 대한 정보를 나타낸다. 예를 들어, 크기 2Nx2N의 현재 부호화 단위 CU_0는, 크기 2Nx2N의 파티션(802), 크기 2NxN의 파티션(804), 크기 Nx2N의 파티션(806), 크기 NxN의 파티션(808) 중 어느 하나의 타입으로 분할되어 이용될 수 있다. 이 경우 현재 부호화 단위의 파티션 타입에 관한 정보(800)는 크기 2Nx2N의 파티션(802), 크기 2NxN의 파티션(804), 크기 Nx2N의 파티션(806) 및 크기 NxN의 파티션(808) 중 하나를 나타내도록 설정된다.The information about the partition type 800 is a data unit for prediction encoding of the current coding unit and indicates information about a partition type in which the prediction unit of the current coding unit is divided. For example, the current encoding unit CU_0 of size 2Nx2N may be any one of a partition 802 of size 2Nx2N, a partition 804 of size 2NxN, a partition 806 of size Nx2N, and a partition 808 of size NxN And can be divided and used. In this case, the information 800 regarding the partition type of the current encoding unit indicates one of a partition 802 of size 2Nx2N, a partition 804 of size 2NxN, a partition 806 of size Nx2N, and a partition 808 of size NxN .

예측 모드에 관한 정보(810)는, 각각의 파티션의 예측 모드를 나타낸다. 예를 들어 예측 모드에 관한 정보(810)를 통해, 파티션 타입에 관한 정보(800)가 가리키는 파티션이 인트라 모드(812), 인터 모드(814) 및 스킵 모드(816) 중 하나로 예측부호화가 수행되는지 여부가 설정될 수 있다.The prediction mode information 810 indicates a prediction mode of each partition. For example, through the information 810 about the prediction mode, whether the partition indicated by the information 800 about the partition type is predictive encoding is performed in one of the intra mode 812, the inter mode 814, and the skip mode 816. Whether or not can be set.

또한, 변환 단위 크기에 관한 정보(820)는 현재 부호화 단위를 어떠한 변환 단위를 기반으로 변환을 수행할지 여부를 나타낸다. 예를 들어, 변환 단위는 제 1 인트라 변환 단위 크기(822), 제 2 인트라 변환 단위 크기(824), 제 1 인터 변환 단위 크기(826), 제 2 인트라 변환 단위 크기(828) 중 하나일 수 있다.In addition, the information 820 on the conversion unit size indicates whether to perform conversion based on which conversion unit the current encoding unit is to be converted. For example, the transform unit may be one of a first intra transform unit size 822, a second intra transform unit size 824, a first inter transform unit size 826, and a second intra transform unit size 828. have.

일 실시예에 따른 비디오 복호화 장치(200)의 영상 데이터 및 부호화 정보 추출부(210)는, 각각의 심도별 부호화 단위마다 파티션 타입에 관한 정보(800), 예측 모드에 관한 정보(810), 변환 단위 크기에 대한 정보(820)를 추출하여 복호화에 이용할 수 있다.The video data and encoding information extracting unit 210 of the video decoding apparatus 200 according to one embodiment is configured to extract the information 800 about the partition type, the information 810 about the prediction mode, Information 820 on the unit size can be extracted and used for decoding.

도 21 는 본 발명의 일 실시예에 따른 심도별 부호화 단위를 도시한다.21 is a diagram of deeper coding units according to depths, according to an embodiment of the present invention.

심도의 변화를 나타내기 위해 분할 정보가 이용될 수 있다. 분할 정보는 현재 심도의 부호화 단위가 하위 심도의 부호화 단위로 분할될지 여부를 나타낸다. Partition information may be used to indicate changes in depth. The division information indicates whether the current-depth encoding unit is divided into lower-depth encoding units.

심도 0 및 2N_0x2N_0 크기의 부호화 단위(900)의 예측부호화를 위한 예측 단위(910)는 2N_0x2N_0 크기의 파티션 타입(912), 2N_0xN_0 크기의 파티션 타입(914), N_0x2N_0 크기의 파티션 타입(916), N_0xN_0 크기의 파티션 타입(918)을 포함할 수 있다. 예측 단위가 대칭적 비율로 분할된 파티션들(912, 914, 916, 918)만이 예시되어 있지만, 전술한 바와 같이 파티션 타입은 이에 한정되지 않고 비대칭적 파티션, 임의적 형태의 파티션, 기하학적 형태의 파티션 등을 포함할 수 있다.The prediction unit 910 for predictive encoding of the coding unit 900 having depth 0 and 2N_0x2N_0 size includes a partition type 912 having a size of 2N_0x2N_0, a partition type 914 having a size of 2N_0xN_0, a partition type 916 having a size of N_0x2N_0, and a N_0xN_0. It may include a partition type 918 of size. Only the partitions 912, 914, 916 and 918 in which the prediction unit is divided at the symmetric ratio are exemplified. However, as described above, the partition type is not limited to this and may be an asymmetric partition, an arbitrary type partition, . ≪ / RTI >

파티션 타입마다, 한 개의 2N_0x2N_0 크기의 파티션, 두 개의 2N_0xN_0 크기의 파티션, 두 개의 N_0x2N_0 크기의 파티션, 네 개의 N_0xN_0 크기의 파티션마다 반복적으로 예측부호화가 수행되어야 한다. 크기 2N_0x2N_0, 크기 N_0x2N_0 및 크기 2N_0xN_0 및 크기 N_0xN_0의 파티션에 대해서는, 인트라 모드 및 인터 모드로 예측부호화가 수행될 수 있다. 스킵 모드는 크기 2N_0x2N_0의 파티션에 예측부호화가 대해서만 수행될 수 있다.For each partition type, predictive coding must be performed repeatedly for one 2N_0x2N_0 partition, two 2N_0xN_0 partitions, two N_0x2N_0 partitions, and four N_0xN_0 partitions. Prediction encoding may be performed in intra mode and inter mode on partitions having a size 2N_0x2N_0, a size N_0x2N_0 and a size 2N_0xN_0, and a size N_0xN_0. The skip mode may be performed only for predictive encoding on partitions having a size of 2N_0x2N_0.

크기 2N_0x2N_0, 2N_0xN_0 및 N_0x2N_0의 파티션 타입(912, 914, 916) 중 하나에 의한 부호화 오차가 가장 작다면, 더 이상 하위 심도로 분할할 필요 없다.If the encoding error caused by one of the partition types 912, 914, and 916 of the sizes 2N_0x2N_0, 2N_0xN_0 and N_0x2N_0 is the smallest, there is no need to further divide into lower depths.

크기 N_0xN_0의 파티션 타입(918)에 의한 부호화 오차가 가장 작다면, 심도 0를 1로 변경하며 분할하고(920), 심도 2 및 크기 N_0xN_0의 파티션 타입의 부호화 단위들(930)에 대해 반복적으로 부호화를 수행하여 최소 부호화 오차를 검색해 나갈 수 있다. If the coding error by the partition type 918 of the size N_0xN_0 is the smallest, the depth 0 is changed to 1 and divided (920), and the coding unit 930 of the partition type of the depth 2 and the size N_0xN_0 is repeatedly encoded The minimum coding error can be retrieved.

심도 1 및 크기 2N_1x2N_1 (=N_0xN_0)의 부호화 단위(930)의 예측부호화를 위한 예측 단위(940)는, 크기 2N_1x2N_1의 파티션 타입(942), 크기 2N_1xN_1의 파티션 타입(944), 크기 N_1x2N_1의 파티션 타입(946), 크기 N_1xN_1의 파티션 타입(948)을 포함할 수 있다. The prediction unit 940 for prediction encoding of the coding unit 930 having a depth of 1 and a size of 2N_1x2N_1 (= N_0xN_0) includes a partition type 942 having a size of 2N_1x2N_1, a partition type 944 having a size of 2N_1xN_1, and a partition type having a size of N_1x2N_1. 946, a partition type 948 of size N_1 × N_1 may be included.

또한, 크기 N_1xN_1 크기의 파티션 타입(948)에 의한 부호화 오차가 가장 작다면, 심도 1을 심도 2로 변경하며 분할하고(950), 심도 2 및 크기 N_2xN_2의 부호화 단위들(960)에 대해 반복적으로 부호화를 수행하여 최소 부호화 오차를 검색해 나갈 수 있다. If the coding error by the partition type 948 having the size N_1xN_1 size is the smallest, the depth 1 is changed to the depth 2 and divided (950), and repeatedly performed on the coding units 960 of the depth 2 and the size N_2xN_2 Encoding can be performed to search for the minimum coding error.

최대 심도가 d인 경우, 심도별 부호화 단위는 심도 d-1일 때까지 설정되고, 분할 정보는 심도 d-2까지 설정될 수 있다. 즉, 심도 d-2로부터 분할(970)되어 심도 d-1까지 부호화가 수행될 경우, 심도 d-1 및 크기 2N_(d-1)x2N_(d-1)의 부호화 단위(980)의 예측부호화를 위한 예측 단위(990)는, 크기 2N_(d-1)x2N_(d-1)의 파티션 타입(992), 크기 2N_(d-1)xN_(d-1)의 파티션 타입(994), 크기 N_(d-1)x2N_(d-1)의 파티션 타입(996), 크기 N_(d-1)xN_(d-1)의 파티션 타입(998)을 포함할 수 있다. If the maximum depth is d, the depth-based coding unit is set up to the depth d-1, and the division information can be set up to the depth d-2. That is, when encoding is performed from the depth d-2 to the depth d-1 to the depth d-1, the prediction encoding of the coding unit 980 of the depth d-1 and the size 2N_ (d-1) x2N_ (d-1) The prediction unit for 990 is a partition type 992 of size 2N_ (d-1) x2N_ (d-1), partition type 994 of size 2N_ (d-1) xN_ (d-1), size A partition type 996 of N_ (d-1) x2N_ (d-1) and a partition type 998 of size N_ (d-1) xN_ (d-1) may be included.

파티션 타입 가운데, 한 개의 크기 2N_(d-1)x2N_(d-1)의 파티션, 두 개의 크기 2N_(d-1)xN_(d-1)의 파티션, 두 개의 크기 N_(d-1)x2N_(d-1)의 파티션, 네 개의 크기 N_(d-1)xN_(d-1)의 파티션마다 반복적으로 예측부호화를 통한 부호화가 수행되어, 최소 부호화 오차가 발생하는 파티션 타입이 검색될 수 있다. Among the partition types, one partition 2N_ (d-1) x2N_ (d-1), two partitions 2N_ (d-1) xN_ (d-1), two sizes N_ (d-1) x2N_ By encoding through prediction encoding repeatedly for each partition of (d-1) and four partitions of size N_ (d-1) xN_ (d-1), a partition type for generating a minimum encoding error may be searched. .

크기 N_(d-1)xN_(d-1)의 파티션 타입(998)에 의한 부호화 오차가 가장 작더라도, 최대 심도가 d이므로, 심도 d-1의 부호화 단위 CU_(d-1)는 더 이상 하위 심도로의 분할 과정을 거치지 않으며, 현재 최대 부호화 단위(900)에 대한 부호화 심도가 심도 d-1로 결정되고, 파티션 타입은 N_(d-1)xN_(d-1)로 결정될 수 있다. 또한 최대 심도가 d이므로, 심도 d-1의 부호화 단위(952)에 대해 분할 정보는 설정되지 않는다.Even if the encoding error of the partition type 998 of size N_ (d-1) xN_ (d-1) is the smallest, the maximum depth is d, so the coding unit CU_ (d-1) of the depth d-1 is no longer The encoding depth of the current maximum coding unit 900 may be determined as the depth d-1, and the partition type may be determined as N_ (d-1) xN_ (d-1) without going through a division process into lower depths. Also, since the maximum depth is d, the division information is not set for the encoding unit 952 of the depth d-1.

데이터 단위(999)은, 현재 최대 부호화 단위에 대한 '최소 단위'라 지칭될 수 있다. 일 실시예에 따른 최소 단위는, 최하위 부호화 심도인 최소 부호화 단위가 4분할된 크기의 정사각형의 데이터 단위일 수 있다. 이러한 반복적 부호화 과정을 통해, 일 실시예에 따른 비디오 부호화 장치(100)는 부호화 단위(900)의 심도별 부호화 오차를 비교하여 가장 작은 부호화 오차가 발생하는 심도를 선택하여, 부호화 심도를 결정하고, 해당 파티션 타입 및 예측 모드가 부호화 심도의 부호화 모드로 설정될 수 있다. The data unit 999 may be referred to as a 'minimum unit' for the current maximum coding unit. The minimum unit according to an exemplary embodiment may be a quadrangle data unit having a minimum coding unit having the lowest coding depth divided into quadrants. Through the iterative coding process, the video coding apparatus 100 according to an embodiment compares the coding errors of the coding units 900 to determine the coding depth, selects the depth at which the smallest coding error occurs, determines the coding depth, The corresponding partition type and the prediction mode can be set to the coding mode of the coding depth.

이런 식으로 심도 0, 1, ..., d-1, d의 모든 심도별 최소 부호화 오차를 비교하여 오차가 가장 작은 심도가 선택되어 부호화 심도로 결정될 수 있다. 부호화 심도, 및 예측 단위의 파티션 타입 및 예측 모드는 부호화 모드에 관한 정보로써 부호화되어 전송될 수 있다. 또한, 심도 0으로부터 부호화 심도에 이르기까지 부호화 단위가 분할되어야 하므로, 부호화 심도의 분할 정보만이 '0'으로 설정되고, 부호화 심도를 제외한 심도별 분할 정보는 '1'로 설정되어야 한다. In this way, the depth with the smallest error can be determined by comparing the minimum coding errors for all depths of depths 0, 1, ..., d-1, d, and can be determined as the coding depth. The coding depth, and the partition type and prediction mode of the prediction unit can be encoded and transmitted as information on the encoding mode. In addition, since the coding unit must be split from the depth 0 to the coded depth, only the split information of the coded depth is set to '0', and the split information for each depth except the coded depth should be set to '1'.

일 실시예에 따른 비디오 복호화 장치(200)의 영상 데이터 및 부호화 정보 추출부(220)는 부호화 단위(900)에 대한 부호화 심도 및 예측 단위에 관한 정보를 추출하여 부호화 단위(912)를 복호화하는데 이용할 수 있다. 일 실시예에 따른 비디오 복호화 장치(200)는 심도별 분할 정보를 이용하여 분할 정보가 '0'인 심도를 부호화 심도로 파악하고, 해당 심도에 대한 부호화 모드에 관한 정보를 이용하여 복호화에 이용할 수 있다.The video data and encoding information extracting unit 220 of the video decoding apparatus 200 according to an exemplary embodiment extracts information on the encoding depth and the prediction unit for the encoding unit 900 and uses the information to extract the encoding unit 912 . The video decoding apparatus 200 according to an embodiment may identify a depth having split information of '0' as a coding depth using split information for each depth, and may use the decoding depth by using information about an encoding mode for a corresponding depth. have.

도 22, 23 및 24는 본 발명의 일 실시예에 따른, 부호화 단위, 예측 단위 및 변환 단위의 관계를 도시한다.22, 23, and 24 illustrate a relationship between a coding unit, a prediction unit, and a transformation unit, according to an embodiment of the present invention.

부호화 단위(1010)는, 최대 부호화 단위에 대해 일 실시예에 따른 비디오 부호화 장치(100)가 결정한 부호화 심도별 부호화 단위들이다. 예측 단위(1060)는 부호화 단위(1010) 중 각각의 부호화 심도별 부호화 단위의 예측 단위들의 파티션들이며, 변환 단위(1070)는 각각의 부호화 심도별 부호화 단위의 변환 단위들이다.The coding units 1010 are coding units according to coding depths determined by the video encoding apparatus 100 according to an embodiment with respect to the maximum coding unit. The prediction unit 1060 is a partition of prediction units of each coding depth unit in the coding unit 1010, and the conversion unit 1070 is a conversion unit of each coding depth unit.

심도별 부호화 단위들(1010)은 최대 부호화 단위의 심도가 0이라고 하면, 부호화 단위들(1012, 1054)은 심도가 1, 부호화 단위들(1014, 1016, 1018, 1028, 1050, 1052)은 심도가 2, 부호화 단위들(1020, 1022, 1024, 1026, 1030, 1032, 1048)은 심도가 3, 부호화 단위들(1040, 1042, 1044, 1046)은 심도가 4이다. If the depth-based coding units 1010 have a depth of 0, the coding units 1012 and 1054 have a depth of 1, and the coding units 1014, 1016, 1018, 1028, 1050, and 1052 have depths. 2, coding units 1020, 1022, 1024, 1026, 1030, 1032, and 1048 have a depth of three, and coding units 1040, 1042, 1044, and 1046 have a depth of four.

예측 단위들(1060) 중 일부 파티션(1014, 1016, 1022, 1032, 1048, 1050, 1052, 1054)는 부호화 단위가 분할된 형태이다. 즉, 파티션(1014, 1022, 1050, 1054)은 2NxN의 파티션 타입이며, 파티션(1016, 1048, 1052)은 Nx2N의 파티션 타입, 파티션(1032)은 NxN의 파티션 타입이다. 심도별 부호화 단위들(1010)의 예측 단위 및 파티션들은 각각의 부호화 단위보다 작거나 같다. Some partitions 1014, 1016, 1022, 1032, 1048, 1050, 1052, and 1054 among the prediction units 1060 are in the form of a segment of a coding unit. That is, the partitions 1014, 1022, 1050 and 1054 are 2NxN partition types, the partitions 1016, 1048 and 1052 are Nx2N partition type, and the partition 1032 is NxN partition type. The prediction units and the partitions of the depth-dependent coding units 1010 are smaller than or equal to the respective coding units.

변환 단위들(1070) 중 일부(1052)의 영상 데이터에 대해서는 부호화 단위에 비해 작은 크기의 데이터 단위로 변환 또는 역변환이 수행된다. 또한, 변환 단위(1014, 1016, 1022, 1032, 1048, 1050, 1052, 1054)는 예측 단위들(1060) 중 해당 예측 단위 및 파티션와 비교해보면, 서로 다른 크기 또는 형태의 데이터 단위이다. 즉, 일 실시예에 따른 비디오 부호화 장치(100) 및 일 실시예에 다른 비디오 복호화 장치(200)는 동일한 부호화 단위에 대한 인트라 예측/움직임 추정/움직임 보상 작업, 및 변환/역변환 작업이라 할지라도, 각각 별개의 데이터 단위를 기반으로 수행할 수 있다.The image data of a part 1052 of the conversion units 1070 is converted or inversely converted into a data unit smaller in size than the encoding unit. The conversion units 1014, 1016, 1022, 1032, 1048, 1050, 1052, and 1054 are data units of different sizes or types when compared with the prediction units and the partitions of the prediction units 1060. In other words, the video coding apparatus 100 according to the embodiment and the video decoding apparatus 200 according to the embodiment can perform the intra prediction / motion estimation / motion compensation operation for the same coding unit and the conversion / Each can be performed on a separate data unit basis.

이에 따라, 최대 부호화 단위마다, 영역별로 계층적인 구조의 부호화 단위들마다 재귀적으로 부호화가 수행되어 최적 부호화 단위가 결정됨으로써, 재귀적 트리 구조에 따른 부호화 단위들이 구성될 수 있다. 부호화 정보는 부호화 단위에 대한 분할 정보, 파티션 타입 정보, 예측 모드 정보, 변환 단위 크기 정보를 포함할 수 있다. 이하 표 1은, 일 실시예에 따른 비디오 부호화 장치(100) 및 일 실시예에 따른 비디오 복호화 장치(200)에서 설정할 수 있는 일례를 나타낸다.Thus, for each maximum encoding unit, the encoding units are recursively performed for each encoding unit hierarchically structured in each region, and the optimal encoding unit is determined, so that encoding units according to the recursive tree structure can be constructed. The encoding information may include split information about a coding unit, partition type information, prediction mode information, and transformation unit size information. Table 1 below shows an example that can be set in the video encoding apparatus 100 according to the embodiment and the video decoding apparatus 200 according to an embodiment.

분할 정보 0 (현재 심도 d의 크기 2Nx2N의 부호화 단위에 대한 부호화)Partition information 0 (encoding for the encoding unit of size 2Nx2N of current depth d) 분할 정보 1 Partition information 1 예측 모드Prediction mode 파티션 타입Partition type 변환 단위 크기Conversion unit size 하위 심도 d+1의 부호화 단위들마다 반복적 부호화For each sub-depth d + 1 encoding units, 인트라
인터

스킵 (2Nx2N만)
Intra
Inter

Skip (2Nx2N only)
대칭형 파티션 타입Symmetrical partition type 비대칭형 파티션 타입Asymmetric partition type 변환 단위 분할 정보 0Conversion unit partition information 0 변환 단위
분할 정보 1
Conversion unit
Partition information 1
2Nx2N
2NxN
Nx2N
NxN
2Nx2N
2NxN
Nx2N
NxN
2NxnU
2NxnD
nLx2N
nRx2N
2NxnU
2NxnD
nLx2N
nRx2N
2Nx2N2Nx2N NxN
(대칭형 파티션 타입)

N/2xN/2
(비대칭형 파티션 타입)
NxN
(Symmetrical partition type)

N / 2xN / 2
(Asymmetric partition type)

일 실시예에 따른 비디오 부호화 장치(100)의 출력부(130)는 트리 구조에 따른 부호화 단위들에 대한 부호화 정보를 출력하고, 일 실시예에 따른 비디오 복호화 장치(200)의 부호화 정보 추출부(220)는 수신된 비트스트림으로부터 트리 구조에 따른 부호화 단위들에 대한 부호화 정보를 추출할 수 있다.The output unit 130 of the video encoding apparatus 100 according to an embodiment outputs encoding information about coding units having a tree structure, and the encoding information extraction unit of the video decoding apparatus 200 according to an embodiment ( 220 may extract encoding information about coding units having a tree structure from the received bitstream.

분할 정보는 현재 부호화 단위가 하위 심도의 부호화 단위들로 분할되는지 여부를 나타낸다. 현재 심도 d의 분할 정보가 0이라면, 현재 부호화 단위가 현재 부호화 단위가 하위 부호화 단위로 더 이상 분할되지 않는 심도가 부호화 심도이므로, 부호화 심도에 대해서 파티션 타입 정보, 예측 모드, 변환 단위 크기 정보가 정의될 수 있다. 분할 정보에 따라 한 단계 더 분할되어야 하는 경우에는, 분할된 4개의 하위 심도의 부호화 단위마다 독립적으로 부호화가 수행되어야 한다.The split information indicates whether the current coding unit is split into coding units of a lower depth. If the division information of the current depth d is 0, since the depth at which the current encoding unit is not further divided into the current encoding unit is the encoding depth, the partition type information, prediction mode, and conversion unit size information are defined . If it is to be further split by the split information, encoding should be performed independently for each coding unit of the divided four lower depths.

예측 모드는, 인트라 모드, 인터 모드 및 스킵 모드 중 하나로 나타낼 수 있다. 인트라 모드 및 인터 모드는 모든 파티션 타입에서 정의될 수 있으며, 스킵 모드는 파티션 타입 2Nx2N에서만 정의될 수 있다. The prediction mode may be represented by one of an intra mode, an inter mode, and a skip mode. Intra mode and inter mode can be defined in all partition types, and skip mode can be defined only in partition type 2Nx2N.

파티션 타입 정보는, 예측 단위의 높이 또는 너비가 대칭적 비율로 분할된 대칭적 파티션 타입 2Nx2N, 2NxN, Nx2N 및 NxN 과, 비대칭적 비율로 분할된 비대칭적 파티션 타입 2NxnU, 2NxnD, nLx2N, nRx2N를 나타낼 수 있다. 비대칭적 파티션 타입 2NxnU 및 2NxnD는 각각 높이가 1:3 및 3:1로 분할된 형태이며, 비대칭적 파티션 타입 nLx2N 및 nRx2N은 각각 너비가 1:3 및 3:1로 분할된 형태를 나타낸다. The partition type information indicates symmetrical partition types 2Nx2N, 2NxN, Nx2N and NxN in which the height or width of the predicted unit is divided into symmetrical proportions and asymmetric partition types 2NxnU, 2NxnD, nLx2N, nRx2N divided by the asymmetric ratio . Asymmetric partition types 2NxnU and 2NxnD are respectively divided into heights 1: 3 and 3: 1, and asymmetric partition types nLx2N and nRx2N are respectively divided into 1: 3 and 3: 1 widths.

변환 단위 크기는 인트라 모드에서 두 종류의 크기, 인터 모드에서 두 종류의 크기로 설정될 수 있다. 즉, 변환 단위 분할 정보가 0 이라면, 변환 단위의 크기가 현재 부호화 단위의 크기 2Nx2N로 설정된다. 변환 단위 분할 정보가 1이라면, 현재 부호화 단위가 분할된 크기의 변환 단위가 설정될 수 있다. 또한 크기 2Nx2N인 현재 부호화 단위에 대한 파티션 타입이 대칭형 파티션 타입이라면 변환 단위의 크기는 NxN, 비대칭형 파티션 타입이라면 N/2xN/2로 설정될 수 있다. The conversion unit size may be set to two kinds of sizes in the intra mode and two kinds of sizes in the inter mode. That is, if the conversion unit division information is 0, the size of the conversion unit is set to the size 2Nx2N of the current encoding unit. If the conversion unit division information is 1, a conversion unit of the size where the current encoding unit is divided can be set. Also, if the partition type for the current encoding unit of size 2Nx2N is a symmetric partition type, the size of the conversion unit may be set to NxN, or N / 2xN / 2 if it is an asymmetric partition type.

일 실시예에 따른 트리 구조에 따른 부호화 단위들의 부호화 정보는, 부호화 심도의 부호화 단위, 예측 단위 및 최소 단위 단위 중 적어도 하나에 대해 할당될 수 있다. 부호화 심도의 부호화 단위는 동일한 부호화 정보를 보유하고 있는 예측 단위 및 최소 단위를 하나 이상 포함할 수 있다.Encoding information of coding units having a tree structure according to an embodiment may be allocated to at least one of a coding unit, a prediction unit, and a minimum unit unit of a coding depth. The coding unit of the coding depth may include one or more prediction units and minimum units having the same coding information.

따라서, 인접한 데이터 단위들끼리 각각 보유하고 있는 부호화 정보들을 확인하면, 동일한 부호화 심도의 부호화 단위에 포함되는지 여부가 확인될 수 있다. 또한, 데이터 단위가 보유하고 있는 부호화 정보를 이용하면 해당 부호화 심도의 부호화 단위를 확인할 수 있으므로, 최대 부호화 단위 내의 부호화 심도들의 분포가 유추될 수 있다.Therefore, if the encoding information held by each adjacent data unit is checked, it may be determined whether the adjacent data units are included in the coding unit having the same coding depth. In addition, since the encoding unit of the encoding depth can be identified by using the encoding information held by the data unit, the distribution of encoding depths within the maximum encoding unit can be inferred.

따라서 이 경우 현재 부호화 단위가 주변 데이터 단위를 참조하여 예측하기 경우, 현재 부호화 단위에 인접하는 심도별 부호화 단위 내의 데이터 단위의 부호화 정보가 직접 참조되어 이용될 수 있다.Therefore, in this case, when the current encoding unit is predicted with reference to the neighboring data unit, the encoding information of the data unit in the depth encoding unit adjacent to the current encoding unit can be directly referenced and used.

또 다른 실시예로, 현재 부호화 단위가 주변 부호화 단위를 참조하여 예측부호화가 수행되는 경우, 인접하는 심도별 부호화 단위의 부호화 정보를 이용하여, 심도별 부호화 단위 내에서 현재 부호화 단위에 인접하는 데이터가 검색됨으로써 주변 부호화 단위가 참조될 수도 있다.In another embodiment, when prediction encoding is performed by referring to a neighboring coding unit, data adjacent to the current coding unit in a depth-specific coding unit is encoded by using encoding information of adjacent coding units. The neighboring coding unit may be referred to by searching.

도 25 은 표 1의 부호화 모드 정보에 따른 부호화 단위, 예측 단위 및 변환 단위의 관계를 도시한다.FIG. 25 illustrates a relationship between coding units, prediction units, and transformation units, according to encoding mode information of Table 1. FIG.

최대 부호화 단위(1300)는 부호화 심도의 부호화 단위들(1302, 1304, 1306, 1312, 1314, 1316, 1318)을 포함한다. 이 중 하나의 부호화 단위(1318)는 부호화 심도의 부호화 단위이므로 분할 정보가 0으로 설정될 수 있다. 크기 2Nx2N의 부호화 단위(1318)의 파티션 타입 정보는, 파티션 타입 2Nx2N(1322), 2NxN(1324), Nx2N(1326), NxN(1328), 2NxnU(1332), 2NxnD(1334), nLx2N(1336) 및 nRx2N(1338) 중 하나로 설정될 수 있다. The maximum coding unit 1300 includes coding units 1302, 1304, 1306, 1312, 1314, 1316, and 1318 of the coding depth. Since one of the encoding units 1318 is a coding unit of the encoding depth, the division information may be set to zero. The partition type information of the encoding unit 1318 of the size 2Nx2N is the partition type information of the partition type 2Nx2N 1322, 2NxN 1324, Nx2N 1326, NxN 1328, 2NxnU 1332, 2NxnD 1334, nLx2N 1336, And < RTI ID = 0.0 > nRx2N 1338 < / RTI >

변환 단위 분할 정보(TU size flag)는 변환 인덱스의 일종으로서, 변환 인덱스에 대응하는 변환 단위의 크기는 부호화 단위의 예측 단위 타입 또는 파티션 타입에 따라 변경될 수 있다. The TU size flag is a kind of conversion index, and the size of the conversion unit corresponding to the conversion index can be changed according to the prediction unit type or partition type of the coding unit.

예를 들어, 파티션 타입 정보가 대칭형 파티션 타입 2Nx2N(1322), 2NxN(1324), Nx2N(1326) 및 NxN(1328) 중 하나로 설정되어 있는 경우, 변환 단위 분할 정보가 0이면 크기 2Nx2N의 변환 단위(1342)가 설정되고, 변환 단위 분할 정보가 1이면 크기 NxN의 변환 단위(1344)가 설정될 수 있다.For example, when the partition type information is set to one of the symmetric partition types 2Nx2N 1322, 2NxN 1324, Nx2N 1326 and NxN 1328, if the conversion unit division information is 0, the conversion unit of size 2Nx2N 1342) is set, and if the conversion unit division information is 1, the conversion unit 1344 of size NxN can be set.

파티션 타입 정보가 비대칭형 파티션 타입 2NxnU(1332), 2NxnD(1334), nLx2N(1336) 및 nRx2N(1338) 중 하나로 설정된 경우, 변환 단위 분할 정보(TU size flag)가 0이면 크기 2Nx2N의 변환 단위(1352)가 설정되고, 변환 단위 분할 정보가 1이면 크기 N/2xN/2의 변환 단위(1354)가 설정될 수 있다.When the partition type information is set to one of the asymmetric partition types 2NxnU 1332, 2NxnD 1334, nLx2N 1336 and nRx2N 1338, if the TU size flag is 0, the conversion unit of size 2Nx2N 1352) is set, and if the conversion unit division information is 1, a conversion unit 1354 of size N / 2xN / 2 can be set.

도 26 는 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 부호화 방법의 흐름도를 도시한다.26 is a flowchart of a video encoding method based on coding units having a tree structure, according to an embodiment of the present invention.

단계 1210에서, 현재영상은 적어도 하나의 최대 부호화 단위로 분할된다. 또한, 가능한 총 분할 횟수를 나타내는 최대 심도가 미리 설정될 수도 있다.In operation 1210, the current image is split into at least one maximum coding unit. In addition, a maximum depth indicating the total number of possible divisions may be set in advance.

단계 1220에서, 심도마다 최대 부호화 단위의 영역이 분할된 적어도 하나의 분할 영역시 부호화되어, 적어도 하나의 분할 영역 별로 최종 부호화 결과가 출력될 심도가 결정되고 트리 구조에 따른 부호화 단위가 결정된다. In operation 1220, the depth of the at least one partitioned region in which the region of the largest coding unit is divided for each depth is encoded. The depth at which the final encoding result is output for each of the at least one divided region is determined, and the coding unit according to the tree structure is determined.

최대 부호화 단위는 심도가 깊어질 때마다 공간적으로 분할되어, 하위 심도의 부호화 단위들로 분할된다. 각각의 부호화 단위는, 인접하는 다른 부호화 단위와 독립적으로, 공간적으로 분할되면서 다시 하위 심도의 부호화 단위로 분할될 수 있다. 심도별로 부호화 단위들마다 반복적으로 부호화가 수행되어야 한다. The maximum coding unit is spatially divided whenever the depth is deep, and is divided into coding units of a lower depth. Each coding unit may be divided into coding units having a lower depth while being spatially divided independently of other adjacent coding units. Encoding must be repeatedly performed for each coding unit for each depth.

현재영상이 분할된 계층적 구조의 부호화 단위들 중에서, 부호화 단위마다 포함된 예측 단위 및 파티션에 대해 예측 및 보상동작이 수행될 수 있다. B 슬라이스 타입의 파티션의 쌍예측을 위해, L0/L1/LC 참조리스트가 이용되어 참조영상이 결정될 수 있다. Among coding units having a hierarchical structure obtained by dividing a current image, prediction and compensation operations may be performed on prediction units and partitions included in each coding unit. For pair prediction of a B slice type partition, a L0 / L1 / LC reference list may be used to determine a reference picture.

일 실시예에 따른 L0/L1/LC 참조리스트가 가리키는 단일방향 예측을 위한 참조영상을 해당 참조순서에 따라 참조하여 현재 파티션에 대해 예측부호화를 수행함으로써, 현재 파티션의 예측오차가 결정될 수 있다. 또한, 현재 파티션의 예측오차의 움직임보상을 위해 L0/L1/LC 참조리스트가 가리키는 참조영상이 해당 참조순서에 따라 참조됨에 따라 현재 파티션의 예측영역이 복원될 수 있다. 이런식으로 결정된 부호화 심도의 부호화 단위들이 일 실시예에 따른 트리 구조의 부호화 단위가 결정될 수 있다. The prediction error of the current partition may be determined by performing prediction encoding on the current partition by referring to the reference image for unidirectional prediction indicated by the L0 / L1 / LC reference list according to the reference order. In addition, in order to compensate for the motion of the prediction error of the current partition, the prediction region of the current partition may be restored as the reference image indicated by the L0 / L1 / LC reference list is referenced according to the reference order. Coding units having a coding depth determined in this manner may be determined as a coding unit having a tree structure.

단계 1230에서, 최대 부호화 단위마다 적어도 하나의 분할 영역 별 최종 부호화 결과인 영상 데이터와, 부호화 심도 및 부호화 모드에 관한 정보가 출력된다. 부호화 모드에 관한 정보는 부호화 심도에 관한 정보 또는 분할 정보, 예측 단위의 파티션 타입 정보, 예측 모드 정보 등을 포함할 수 있다. In operation 1230, image data, which is a final encoding result of at least one divided region, for each maximum coding unit, and information about an encoding depth and an encoding mode are output. The information about the encoding mode may include information about the coded depth or split information, partition type information of a prediction unit, prediction mode information, and the like.

즉, 최대 부호화 단위마다, 트리 구조에 따른 부호화 단위들별로, 일 실시예에 따른 쌍예측 및 단일방향 예측에 의해 생성된 예측오차의 양자화된 변환계수가 출력될 수 있다. That is, for each largest coding unit, a quantized transform coefficient of a prediction error generated by bi-prediction and unidirectional prediction may be output for each coding unit having a tree structure.

일 실시예에 따른 트리 구조에 따른 부호화 단위들을 구성하는, 부호화 심도 및 부호화 모드에 대한 정보가 부호화되어 출력될 수 있다. 일 실시예에 따른 쌍예측 및 단일방향 예측에 의해 결정된 참조영상을 나타내는 인덱스, 참조블록을 가리키는 움직임정보 등을 포함하는 참조정보가, 예측오차의 양자화된 변환계수 및 예측모드 정보와 함께 출력될 수 있다. Information about a coded depth and an encoding mode constituting coding units having a tree structure according to an embodiment may be encoded and output. Reference information including an index indicating a reference image determined by bi-prediction and unidirectional prediction, motion information indicating a reference block, and the like may be output together with a quantized transform coefficient of a prediction error and prediction mode information. have.

일 실시예에 따른 B 슬라이스타입의 쌍예측에 관한 예측모드정보로서, 참조리스트 관련 정보가 부호화되어 출력될 수도 있다. 예를 들어, L0/L1/LC 디폴트개수 정보, L0/L1/LC 액티브개수 관련 정보, L0/L1/LC 변경 관련 정보 등이 예측모드 정보로서 부호화되어 출력될 수 있다. 일 실시예에 따른 쌍예측를 위한 참조리스트 관련 정보는, 현재 파티션을 포함하는 슬라이스마다, 또는 시퀀스마다 또는 픽처마다 부호화될 수 있다.As prediction mode information about pair prediction of a B slice type according to an embodiment, reference list related information may be encoded and output. For example, L0 / L1 / LC default number information, L0 / L1 / LC active number related information, L0 / L1 / LC change related information, etc. may be encoded and output as prediction mode information. Reference list related information for pair prediction according to an embodiment may be encoded for each slice including the current partition, for each sequence, or for each picture.

부호화된 부호화 모드에 관한 정보는, 부호화된 영상 데이터와 함께 복호화단으로 전송될 수 있다.The information about the encoded encoding mode may be transmitted to the decoding end together with the encoded image data.

도 27 은 본 발명의 일 실시예에 따라 트리 구조에 따른 부호화 단위에 기초한 비디오 복호화 방법의 흐름도를 도시한다.27 is a flowchart of a video decoding method based on coding units, according to a tree structure, according to an embodiment of the present invention.

단계 1310에서, 부호화된 비디오에 대한 비트스트림이 수신되어 파싱된다. In step 1310, the bitstream for the encoded video is received and parsed.

단계 1320에서, 파싱된 비트스트림으로부터 최대 크기의 최대 부호화 단위에 할당되는 현재 픽처의 영상 데이터 및 최대 부호화 단위별 부호화 심도 및 부호화 모드에 관한 정보가 추출된다. 최대 부호화 단위별 부호화 심도는, 현재 픽처의 부호화 과정에서 최대 부호화 단위별로 부호화 오차가 가장 적은 심도로 선택된 심도이다. 최대 부호화 단위별 부호화는, 최대 부호화 단위를 심도별로 계층적으로 분할한 적어도 하나의 데이터 단위에 기반하여 영상 데이터가 부호화된 것이다.In operation 1320, image data of the current picture allocated to the largest coding unit having the maximum size, and information about a coded depth and an encoding mode for each largest coding unit are extracted from the parsed bitstream. The coded depth of each largest coding unit is a depth selected to have the smallest coding error for each largest coding unit in the encoding process of the current picture. In encoding by the largest coding unit, image data is encoded based on at least one data unit obtained by hierarchically dividing the maximum coding unit by depth.

일 실시예에 따른 부호화 심도 및 부호화 모드에 관한 정보에 따르면, 최대 부호화 단위가 트리 구조에 따른 부호화 단위들로 분할될 수 있다. 트리 구조에 따른 부호화 단위들에 따른 부호화 단위는, 각각 부호화 심도의 부호화 단위이다. 따라서, 부호화 단위별 부호화 심도를 파악한 후 각각의 영상 데이터를 복호화함으로써 영상의 부복호화의 효율성이 향상될 수 있다. According to the information about the coding depth and the encoding mode according to an embodiment, the maximum coding unit may be split into coding units having a tree structure. Coding units according to coding units having a tree structure are coding units of coding depths, respectively. Accordingly, the efficiency of encoding and decoding of an image can be improved by decoding the respective image data after determining the coding depth of each coding unit.

일 실시예에 부호화 모드에 대한 정보로서, 일 실시예에 따른 예측복호화를 위한 참조정보 및 예측모드정보가 추출될 수 있다. 일 실시예에 따른 예측복호화를 위한 참조정보로서, 참조영상을 나타내는 인덱스, 움직임 정보 등이 추출될 수 있다. As information about an encoding mode in an embodiment, reference information and prediction mode information for prediction decoding according to an embodiment may be extracted. As reference information for prediction decoding according to an embodiment, an index indicating a reference image, motion information, and the like may be extracted.

일 실시예에 따른 B 슬라이스 타입의 영상에 대한 쌍예측 및 단일방향 예측을 위한 예측모드정보로서, L0/L1/LC 디폴트개수 정보, L0/L1/LC 액티브개수 관련 정보, L0/L1/LC 변경 관련 정보 등을 포함하는 참조리스트 관련 정보가 추출될 수도 있다. 일 실시예에 따른 L0/L1/LC 디폴트개수 정보는 픽처마다 판독될 수 있다. 일 실시예에 따른 L0/L1/LC 액티브개수 관련 정보, L0/L1/LC 변경 관련 정보는 슬라이스마다, 픽처마다, 또는 시퀀스마다 판독될 수 있다. As prediction mode information for bi-prediction and unidirectional prediction of a B slice type image, L0 / L1 / LC default number information, L0 / L1 / LC active number related information, and L0 / L1 / LC change Reference list related information including related information may be extracted. According to an exemplary embodiment, the L0 / L1 / LC default number information may be read for each picture. According to an exemplary embodiment, the L0 / L1 / LC active number related information and the L0 / L1 / LC change related information may be read per slice, per picture, or per sequence.

단계 1330에서, 최대 부호화 단위별 부호화 심도 및 부호화 모드에 관한 정보에 기초하여 각각의 최대 부호화 단위의 영상 데이터가 복호화된다. 부호화 심도 및 부호화 모드에 관한 정보에 기초하여 현재 부호화 단위에 대해 복호화가 수행되면서, 파티션 타입정보에 기초하여 예측 단위 또는 파티션이 결정되고, 예측모드 정보에 기초하여 파티션별로 예측모드가 결정되어, 파티션별로 예측복호화가 수행될 수 있다. In operation 1330, image data of each maximum coding unit is decoded based on the information about the coded depth and the encoding mode for each maximum coding unit. While decoding is performed on the current coding unit based on the information about the coded depth and the encoding mode, a prediction unit or a partition is determined based on the partition type information, and a prediction mode is determined for each partition based on the prediction mode information. Predictive decoding may be performed for each.

쌍예측이 가능한 B 슬라이스 타입의 파티션에 대한 움직임보상을 위해, 참조영상 및 참조순서를 포함하는 참조리스트가 결정될 수 있다. L0/L1/LC 참조리스트가 가리키는 참조영상들과 해당 참조순서에 따라 참조하여, 파티션의 예측오차에 대해 움직임 보상을 수행하면 복원영역이 생성될 수 있다. For motion compensation on a partition of a B slice type capable of pair prediction, a reference list including a reference picture and a reference order may be determined. By referring to the reference images indicated by the L0 / L1 / LC reference list and the corresponding reference order, a restoration region may be generated by performing motion compensation on a prediction error of a partition.

부호화 단위마다, 최대 부호화 단위마다 복호화가 수행되면서 공간 영역의 영상 데이터가 복원되고, 픽처 및 픽처 시퀀스인 비디오가 복원될 수 있다. 복원된 비디오는 재생 장치에 의해 재생되거나, 저장 매체에 저장되거나, 네트워크를 통해 전송될 수 있다.For each coding unit, image data of a spatial region may be reconstructed while decoding is performed for each maximum coding unit, and a picture and a video, which is a picture sequence, may be reconstructed. The restored video can be played back by the playback apparatus, stored in a storage medium, or transmitted over a network.

한편, 상술한 본 발명의 실시예들은 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하고, 컴퓨터로 읽을 수 있는 기록매체를 이용하여 상기 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드디스크 등), 광학적 판독 매체(예를 들면, 시디롬, 디브이디 등)와 같은 저장매체를 포함한다.The above-described embodiments of the present invention can be embodied in a general-purpose digital computer that can be embodied as a program that can be executed by a computer and operates the program using a computer-readable recording medium. The computer-readable recording medium may include a storage medium such as a magnetic storage medium (eg, a ROM, a floppy disk, a hard disk, etc.) and an optical reading medium (eg, a CD-ROM, a DVD, etc.).

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. 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 by the appended claims. Therefore, the disclosed embodiments should be considered in an illustrative rather than a restrictive sense. The scope of the present invention is defined by the appended claims rather than by the foregoing description, and all differences within the scope of equivalents thereof should be construed as being included in the present invention.

Claims (24)

비디오 예측부호화 방법에 있어서,
B 슬라이스 타입인 영상의 예측부호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 픽처마다 설정하는 단계;
상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하는 단계; 및
상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상를 예측부호화하는 단계를 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
In the video predictive encoding method,
A base of a reference picture assigned to the LC reference list for an LC reference list including L0 reference list, which is list information of a reference picture for predictive encoding of an image having a B slice type, and at least one reference picture included in the L1 reference list. Setting LC default number information indicating the effective number for each picture;
Determining the LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information; And
Predicting encoding the B slice type image using the determined LC reference list.
제 1 항에 있어서, 상기 LC 디폴트개수 정보를 픽처마다 설정하는 단계는,
슬라이스마다, 임의의 참조리스트의 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보에 기초하여, 상기 LC 참조리스트에 할당되는 참조영상의 유효개수의 임의변경 여부를 나타내는 LC 액티브개수 변경확인 정보와, 상기 임의변경 후 참조영상의 현재유효개수를 나타내는 LC 액티브개수 정보를 슬라이스마다 설정하는 단계를 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 1, wherein the setting of the LC default number information for each picture comprises:
LC active indicating whether the effective number of reference images allocated to the LC reference list is arbitrarily changed based on the reference list active number change confirmation information indicating whether or not the effective number of reference images of any reference list is changed for each slice. And setting the number change confirmation information and the LC active number information indicating the current valid number of the reference image after the random change for each slice.
제 1 항에 있어서, 상기 LC 디폴트개수 정보를 픽처마다 설정하는 단계는,
슬라이스마다, 상기 LC 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 LC 변경 관련 정보를 설정하는 단계를 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 1, wherein the setting of the LC default number information for each picture comprises:
And setting, for each slice, LC change related information including information on a method of changing a reference picture or a reference order of the LC reference list.
제 1 항에 있어서, 상기 비디오 예측부호화 방법은,
상기 L0 참조리스트 및 상기 L1 참조리스트의 하나 이상의 참조영상을 이용하여 상기 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보의 전송을 생략하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 1, wherein the video predictive encoding method comprises:
And transmitting the LC combination acknowledgment information indicating whether to construct the LC reference list using one or more reference images of the L0 reference list and the L1 reference list.
제 1 항에 있어서, 상기 LC 디폴트개수 정보를 픽처마다 설정하는 단계는,
상기 L0 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 L0 디폴트 개수 정보 및 상기 L1 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 L1 디폴트개수 정보 중 적어도 하나와 함께, 상기 LC 디폴트개수 정보를 상기 픽처마다 설정하는 단계를 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 1, wherein the setting of the LC default number information for each picture comprises:
The LC default number information together with at least one of L0 default number information indicating a basic valid number of reference pictures allocated to the L0 reference list and L1 default number information indicating a basic valid number of reference pictures allocated to the L1 reference list And setting the picture for each picture.
제 1 항에 있어서, 상기 LC 액티브개수 정보를 슬라이스마다 설정하는 단계는,
슬라이스마다, 상기 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보에 기초하여, 상기 임의변경 후 상기 L0 참조리스트의 참조영상의 현재유효개수를 나타내는 L0 액티브개수 정보 및 상기 임의변경 후 상기 L1 참조리스트에 참조영상의 현재유효개수를 나타내는 L1 액티브개수 정보 중 적어도 하나와 함께, 상기 임의변경 후 상기 LC 참조리스트의 참조영상의 현재유효개수를 나타내는 LC 액티브개수 정보를 설정하는 단계를 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 1, wherein the setting of the LC active number information for each slice comprises:
For each slice, based on the reference list active number change confirmation information indicating whether the effective number of the reference image is randomly changed, L0 active number information indicating the current valid number of reference images of the L0 reference list after the random change and the random number Setting LC active number information indicating a current valid number of reference images of the LC reference list after the random change together with at least one of L1 active number information indicating a current valid number of reference images in the L1 reference list after the change; Video prediction encoding method comprising a.
제 3 항에 있어서, 상기 LC 변경 관련 정보를 슬라이스마다 설정하는 단계는,
상기 L0 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 L0 변경 관련 정보 및 상기 L1 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 L1 변경 관련 정보 중 적어도 하나와 함께, 상기 LC 변경 관련 정보를 상기 슬라이스마다 설정하는 단계를 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 3, wherein the setting of the LC change related information for each slice comprises:
At least one of L0 change related information including information about a reference image or a reference order of the L0 reference list and information about a method of changing the reference image or reference order of the L1 reference list; And setting the LC change related information for each slice.
제 1 항에 있어서, 상기 비디오 예측부호화 방법은,
상기 LC 디폴트개수 정보를 현재 픽처에 대한 파라미터들과 함께 전송하는 단계를 더 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 1, wherein the video predictive encoding method comprises:
And transmitting the LC default number information together with the parameters for the current picture.
제 2 항에 있어서, 상기 비디오 예측부호화 방법은,
상기 LC 액티브개수 정보를 현재 슬라이스에 대한 파라미터들과 함께 전송하는 단계를 더 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The video prediction encoding method of claim 2,
And transmitting the LC active number information together with parameters for a current slice.
제 3 항에 있어서, 상기 비디오 예측부호화 방법은,
상기 LC 변경 관련 정보를 현재 슬라이스에 대한 파라미터들과 함께 전송하는 단계를 더 포함하는 것을 특징으로 하는 비디오 예측부호화 방법.
The method of claim 3, wherein the video predictive encoding method comprises:
And transmitting the LC change related information together with parameters for a current slice.
비디오 예측복호화 방법에 있어서,
B 슬라이스 타입인 영상의 예측복호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 픽처마다 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 판독하는 단계;
상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하는 단계; 및
상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측복호화하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
In the video predictive decoding method,
A reference picture allocated to the LC reference list for each picture for an LC reference list including L0 reference list, which is list information of a reference picture for predictive decoding of an image having a B slice type, and at least one reference picture included in the L1 reference list. Reading LC default number information indicating the basic effective number of;
Determining the LC reference list including at least one reference picture among the reference pictures included in the LO reference list and the L1 reference list based on the LC default number information; And
Predicting and decoding the B slice type image using the determined LC reference list.
제 11 항에 있어서, 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는,
슬라이스마다, 임의의 참조리스트의 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보에 기초하여, 상기 LC 참조리스트에 할당되는 참조영상의 유효개수의 임의변경 여부를 나타내는 LC 액티브개수 변경확인 정보를 판독하는 단계; 및
상기 판독된 LC 액티브개수 변경확인 정보에 기초하여, 상기 임의변경 후 상기 LC 참조리스트의 참조영상의 현재유효개수를 나타내는 LC 액티브개수 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
The method of claim 11, wherein the reading of the LC default number information for each picture comprises:
LC active indicating whether the effective number of reference images allocated to the LC reference list is arbitrarily changed based on the reference list active number change confirmation information indicating whether or not the effective number of reference images of any reference list is changed for each slice. Reading the number change confirmation information; And
And reading LC active number information indicating a current valid number of reference images of the LC reference list after the random change, based on the read LC active number change confirming information.
제 11 항에 있어서, 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는,
슬라이스마다 상기 LC 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 LC 변경 관련 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
The method of claim 11, wherein the reading of the LC default number information for each picture comprises:
And reading LC change related information including information on a reference image of the LC reference list or a method of changing the reference order for each slice.
제 11 항에 있어서, 상기 LC 참조리스트를 결정하는 단계는,
상기 L0 참조리스트 및 상기 L1 참조리스트의 하나 이상의 참조영상을 이용하여 상기 LC 참조리스트를 구성할지 여부를 나타내는 LC 조합 확인 정보를 판독하지 않고도 상기 LC 참조리스트를 결정할 수 있는 것을 특징으로 하는 비디오 예측복호화 방법.
12. The method of claim 11, wherein determining the LC reference list comprises:
Video prediction decoding, characterized in that the LC reference list can be determined without reading LC combination confirmation information indicating whether to construct the LC reference list using one or more reference images of the L0 reference list and the L1 reference list. Way.
제 11 항에 있어서, 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는,
상기 L0 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 L0 디폴트 개수 정보 및 상기 L1 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 L1 디폴트개수 정보 중 적어도 하나와 함께, 상기 LC 디폴트개수 정보를 상기 픽처마다 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
The method of claim 11, wherein the reading of the LC default number information for each picture comprises:
The LC default number information together with at least one of L0 default number information indicating a basic valid number of reference pictures allocated to the L0 reference list and L1 default number information indicating a basic valid number of reference pictures allocated to the L1 reference list And decoding the pictures for each of the pictures.
제 11 항에 있어서, 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는,
슬라이스마다, 상기 참조영상의 유효개수의 임의변경 여부를 나타내는 참조리스트 액티브개수 변경확인 정보를 판독하는 단계;
상기 판독된 참조리스트 액티브개수 변경확인 정보에 기초하여, 상기 임의변경 후 상기 L0 참조리스트의 참조영상의 현재유효개수를 나타내는 L0 액티브개수 정보, 상기 임의변경 후 상기 L1 참조리스트의 참조영상의 현재유효개수를 나타내는 L1 액티브개수 정보 중 적어도 하나와 함께, 상기 임의변경 후 상기 LC 참조리스트의 참조영상의 현재유효개수를 나타내는 LC 액티브개수 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
The method of claim 11, wherein the reading of the LC default number information for each picture comprises:
Reading reference list active number change confirmation information indicating whether the effective number of the reference image is randomly changed for each slice;
L0 active number information indicating the current valid number of reference images of the L0 reference list after the random change based on the read reference list active number change confirming information, and the current validity of the reference image of the L1 reference list after the random change. And reading LC active number information indicating a current valid number of reference images of the LC reference list after at least one of the L1 active number information indicating the number.
제 13 항에 있어서, 상기 슬라이스마다 LC 변경 관련 정보를 판독하는 단계는,
상기 L0 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 L0 변경 관련 정보 및 상기 L1 참조리스트의 참조영상 또는 참조순서의 변경 방식에 대한 정보를 포함하는 L1 변경 관련 정보 중 적어도 하나와 함께, 상기 LC 변경 관련 정보를 상기 슬라이스마다 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
14. The method of claim 13, wherein reading LC change related information for each slice comprises:
At least one of L0 change related information including information about a reference image or a reference order of the L0 reference list and information about a method of changing the reference image or reference order of the L1 reference list; And reading the LC change related information for each slice.
제 11 항에 있어서, 상기 픽처마다 LC 디폴트개수 정보를 판독하는 단계는,
수신된 비디오스트림으로부터, 현재 픽처에 대한 파라미터들과 함께 상기 LC 디폴트개수 정보를 추출하는 단계; 및
상기 추출된 LC 디폴트개수 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
The method of claim 11, wherein the reading of the LC default number information for each picture comprises:
Extracting, from the received video stream, the LC default number information along with parameters for a current picture; And
And reading out the extracted LC default number information.
제 12 항에 있어서, 상기 슬라이스마다 LC 액티브개수 정보를 판독하는 단계는,
수신된 비디오스트림으로부터, 현재 슬라이스에 대한 파라미터들과 함께 상기 LC 액티브개수 정보를 추출하는 단계; 및
상기 추출된 LC 액티브개수 정보를 판독하는 단계를 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
The method of claim 12, wherein reading LC active number information for each slice comprises:
Extracting, from the received video stream, the LC active number information along with parameters for the current slice; And
And decoding the extracted LC active number information.
제 13 항에 있어서, 상기 슬라이스마다 LC 액티브개수 정보를 판독하는 단계는,
수신된 비디오스트림으로부터, 현재 슬라이스에 대한 파라미터들과 함께 상기 LC 변경 관련 정보를 추출하는 단계; 및
상기 추출된 LC 변경 관련 정보를 판독하는 단계를 더 포함하는 것을 특징으로 하는 비디오 예측복호화 방법.
14. The method of claim 13, wherein reading LC active number information for each slice comprises:
Extracting, from the received videostream, the LC change related information along with parameters for the current slice; And
And reading out the extracted LC change related information.
비디오 예측부호화 장치에 있어서,
B 슬라이스 타입인 영상의 예측부호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 픽처마다 설정하는 LC 관련정보 설정부; 및
상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하여, 상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측부호화하는 예측부호화부를 포함하는 것을 특징으로 하는 비디오 예측부호화 장치.
In the video predictive encoding apparatus,
A base of a reference picture assigned to the LC reference list for an LC reference list including L0 reference list, which is list information of a reference picture for predictive encoding of an image having a B slice type, and at least one reference picture included in the L1 reference list. An LC-related information setting unit for setting LC default number information indicating the effective number for each picture; And
Based on the LC default number information, the LC reference list including one or more reference images among the reference pictures included in the LO reference list and the L1 reference list is determined, and the B slice is determined using the determined LC reference list. And a predictive encoding unit configured to predictively encode an image of a type.
비디오 예측복호화 장치에 있어서,
B 슬라이스 타입인 영상의 예측복호화를 위한 참조영상의 리스트 정보인 L0 참조리스트 및 L1 참조리스트에 포함되는 하나 이상의 참조영상으로 구성되는 LC 참조리스트를 위해, 픽처마다 상기 LC 참조리스트에 할당되는 참조영상의 기본유효개수를 나타내는 LC 디폴트개수 정보를 판독하는 LC 관련정보 판독부; 및
상기 LC 디폴트개수 정보에 기초하여, 상기 LO 참조리스트 및 상기 L1 참조리스트에 포함된 참조영상 중 하나 이상의 참조영상을 포함하는 상기 LC 참조리스트를 결정하여, 상기 결정된 LC 참조리스트를 이용하여 상기 B 슬라이스 타입인 영상을 예측복호화하는 예측복호화부를 포함하는 것을 특징으로 하는 비디오 예측복호화 장치.
In the video predictive decoding apparatus,
A reference picture allocated to the LC reference list for each picture for an LC reference list including L0 reference list, which is list information of a reference picture for predictive decoding of an image having a B slice type, and at least one reference picture included in the L1 reference list. An LC-related information reading section for reading LC default number information indicating a basic valid number of; And
Based on the LC default number information, the LC reference list including one or more reference images among the reference pictures included in the LO reference list and the L1 reference list is determined, and the B slice is determined using the determined LC reference list. And a predictive decoding unit configured to predict and decode an image of a type.
제 1 항 내지 제 10 항 중 어느 한 항의 비디오 예측부호화 방법을 전산적으로 구현하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a program for implementing the video predictive encoding method according to any one of claims 1 to 10. 제 11 항 내지 제 20 항 중 어느 한 항의 비디오 예측복호화 방법을 전산적으로 구현하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.21. A computer-readable recording medium having recorded thereon a program for computerically implementing the video predictive decoding method according to any one of claims 11 to 20.
KR1020120037555A 2011-11-08 2012-04-10 Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list Withdrawn KR20130050863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/672,311 US20130114710A1 (en) 2011-11-08 2012-11-08 Method and apparatus for encoding video by prediction using reference picture list, and method and apparatus for decoding video by performing compensation using reference picture list

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US201161557053P 2011-11-08 2011-11-08
US61/557,053 2011-11-08
US201161564066P 2011-11-28 2011-11-28
US61/564,066 2011-11-28
US201261587327P 2012-01-17 2012-01-17
US61/587,327 2012-01-17

Publications (1)

Publication Number Publication Date
KR20130050863A true KR20130050863A (en) 2013-05-16

Family

ID=48661113

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020120037555A Withdrawn KR20130050863A (en) 2011-11-08 2012-04-10 Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list

Country Status (1)

Country Link
KR (1) KR20130050863A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150050560A (en) * 2012-09-28 2015-05-08 엘지전자 주식회사 Video decoding method and apparatus using the same
WO2015102271A1 (en) * 2014-01-02 2015-07-09 한국전자통신연구원 Method for decoding image and apparatus using same
US9967571B2 (en) 2014-01-02 2018-05-08 Electronics And Telecommunications Research Institute Method for decoding image and apparatus using same
CN113508590A (en) * 2019-02-28 2021-10-15 三星电子株式会社 Apparatus for encoding and decoding image and method for encoding and decoding image thereof
CN115134594A (en) * 2015-06-05 2022-09-30 杜比实验室特许公司 Image encoding/decoding method for performing inter-frame prediction, bitstream storage method

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10390032B2 (en) 2012-09-28 2019-08-20 Lg Electronics Inc. Video decoding method and apparatus using the same
US12069283B2 (en) 2012-09-28 2024-08-20 Lg Electronics Inc. Video decoding method and apparatus using the same
US9560369B2 (en) 2012-09-28 2017-01-31 Lg Electronics Inc. Video decoding method and apparatus using the same
US11259038B2 (en) 2012-09-28 2022-02-22 Lg Electronics Inc. Video decoding method and apparatus using the same
KR20150050560A (en) * 2012-09-28 2015-05-08 엘지전자 주식회사 Video decoding method and apparatus using the same
US10397584B2 (en) 2014-01-02 2019-08-27 Electronics And Telecommunications Research Institute Method for decoding image and apparatus using same
US10375400B2 (en) 2014-01-02 2019-08-06 Electronics And Telecommunications Research Institute Method for decoding image and apparatus using same
US10326997B2 (en) 2014-01-02 2019-06-18 Electronics And Telecommunications Research Institute Method for decoding image and apparatus using same
US10291920B2 (en) 2014-01-02 2019-05-14 Electronics And Telecommunications Research Institute Method for decoding image and apparatus using same
US9967571B2 (en) 2014-01-02 2018-05-08 Electronics And Telecommunications Research Institute Method for decoding image and apparatus using same
WO2015102271A1 (en) * 2014-01-02 2015-07-09 한국전자통신연구원 Method for decoding image and apparatus using same
CN115134594A (en) * 2015-06-05 2022-09-30 杜比实验室特许公司 Image encoding/decoding method for performing inter-frame prediction, bitstream storage method
CN115134595A (en) * 2015-06-05 2022-09-30 杜比实验室特许公司 Image encoding/decoding method, bitstream storage method for performing inter-frame prediction
CN115134591A (en) * 2015-06-05 2022-09-30 杜比实验室特许公司 Image encoding and decoding method, bit stream storage method
CN115134593A (en) * 2015-06-05 2022-09-30 杜比实验室特许公司 Image encoding/decoding method for performing inter-frame prediction, bitstream storage method
US12088788B2 (en) 2015-06-05 2024-09-10 Dolby Laboratories Licensing Corporation Method and device for encoding and decoding intra-frame prediction
CN113508590A (en) * 2019-02-28 2021-10-15 三星电子株式会社 Apparatus for encoding and decoding image and method for encoding and decoding image thereof

Similar Documents

Publication Publication Date Title
KR102041886B1 (en) Method and apparatus for video encoding with inter prediction using collocated picture, method and apparatus for video decoding with inter prediction using collocated picture
KR102003047B1 (en) Method and apparatus for video encoding with in-loop filtering based on tree-structured data unit, method and apparatus for video decoding with the same
KR102072733B1 (en) Method and apparatus for video encoding based on coding units according tree structure, method and apparatus for video decoding based on coding units according tree structure
KR102111768B1 (en) Method and apparatus for encoding video, and method and apparatus for decoding video with changing scan order according to hierarchical coding unit
KR101635112B1 (en) Method and apparatus for encoding and decoding image
KR102169608B1 (en) Method and apparatus for encoding and decoding video to enhance intra prediction process speed
KR102070431B1 (en) Method and apparatus for encoding video with restricting bi-directional prediction and block merging, method and apparatus for decoding video
KR20180061099A (en) Method and apparatus for video intra prediction encoding, and method and apparatus for video intra prediction decoding
KR102179383B1 (en) Method and apparatus for determining merge mode
KR20110083369A (en) A video encoding method and apparatus therefor using deblocking filtering, and a video decoding method and apparatus therefor using deblocking filtering
KR20130004548A (en) Method and apparatus for video encoding with intra prediction by unification of availability check, method and apparatus for video decoding with intra prediction by unification of availability check
KR20130001708A (en) Method and apparatus for encoding and decoding motion information
KR102169610B1 (en) Method and apparatus for determining intra prediction mode
KR102088383B1 (en) Method and apparatus for encoding and decoding video
KR101465977B1 (en) Method and apparatus for encoding/decoding video for parallel processing
KR20120080548A (en) Method and apparatus for prediction using bi- and uni-directional prediction, method and apparatus for video encoding/decoding with prediction and compensation using bi- and uni-directional prediction
KR20130086009A (en) Method and apparatus for encoding/decoding video using unified syntax for parallel processing
KR20130105214A (en) Method and apparatus for scalable video encoding, method and apparatus for scalable video decoding
KR20130050863A (en) Method and apparatus for video encoding with prediction and compensation using reference picture list, method and apparatus for video decoding with prediction and compensation using reference picture list
KR102057195B1 (en) Method and apparatus for scalable video encoding based on coding units of tree structure, method and apparatus for scalable video decoding based on coding units of tree structure
KR102219909B1 (en) Method and apparatus for decoding multi-layer video, and method and apparatus for encoding multi-layer video
KR101466574B1 (en) Method and apparatus for scalable video encoding, method and apparatus for scalable video decoding
KR20140004591A (en) Method and apparatus for generating 3d video data stream, and method and appratus for reproducing 3d video data stream
KR20130036753A (en) Method and apparatus for video encoding, and method and apparatus for video decoding
KR20130041037A (en) Method and apparatus for video encoding, and method and apparatus for video decoding

Legal Events

Date Code Title Description
PA0109 Patent application

Patent event code: PA01091R01D

Comment text: Patent Application

Patent event date: 20120410

PG1501 Laying open of application
PC1203 Withdrawal of no request for examination
WITN Application deemed withdrawn, e.g. because no request for examination was filed or no examination fee was paid