KR102175542B1 - Video coding/decoding method and apparatus for multi-layers - Google Patents

Video coding/decoding method and apparatus for multi-layers Download PDF

Info

Publication number
KR102175542B1
KR102175542B1 KR1020130138517A KR20130138517A KR102175542B1 KR 102175542 B1 KR102175542 B1 KR 102175542B1 KR 1020130138517 A KR1020130138517 A KR 1020130138517A KR 20130138517 A KR20130138517 A KR 20130138517A KR 102175542 B1 KR102175542 B1 KR 102175542B1
Authority
KR
South Korea
Prior art keywords
reference picture
layer
current
picture set
prediction
Prior art date
Application number
KR1020130138517A
Other languages
Korean (ko)
Other versions
KR20150011740A (en
Inventor
이배근
김주영
Original Assignee
주식회사 케이티
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 케이티 filed Critical 주식회사 케이티
Priority to CN201480043587.2A priority Critical patent/CN105453562B/en
Priority to PCT/KR2014/006792 priority patent/WO2015016535A1/en
Priority to US14/908,214 priority patent/US9894369B2/en
Publication of KR20150011740A publication Critical patent/KR20150011740A/en
Priority to US15/859,508 priority patent/US10200702B2/en
Application granted granted Critical
Publication of KR102175542B1 publication Critical patent/KR102175542B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/177Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a group of pictures [GOP]
    • 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/44Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/90Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
    • H04N19/91Entropy coding, e.g. variable length coding [VLC] or arithmetic coding

Landscapes

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

Abstract

본 발명에 따른 복수의 레이어를 지원하는 영상의 복호화 방법은 현재 픽쳐의 초기 참조 픽쳐 리스트 구성 시, 상기 현재 픽쳐가 참조하는 참조 레이어의 참조 픽쳐 세트 정보를 이용하는지 여부를 나타내는 플래그 정보를 수신하는 단계와; 상기 플래그 정보에 기초하여 상기 초기 참조 픽쳐 리스트를 생성하는 단계와; 상기 초기 참조 픽쳐 리스트에 기초하여 상기 현재 픽쳐에 대한 예측을 수행하는 단계를 포함할 수 있다. 이에 따라 현재 부호화 및 복호화 하려는 레이어에 대하여 다른 레이어의 픽쳐를 포함하는 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치가 제공된다.In the method for decoding an image supporting a plurality of layers according to the present invention, when constructing an initial reference picture list of a current picture, the step of receiving flag information indicating whether reference picture set information of a reference layer referred to by the current picture is used. Wow; Generating the initial reference picture list based on the flag information; It may include performing prediction on the current picture based on the initial reference picture list. Accordingly, a method of generating a reference picture list including pictures of different layers for a layer to be currently encoded and decoded and an apparatus using the same are provided.

Figure R1020130138517
Figure R1020130138517

Description

복수의 레이어를 지원하는 영상의 부호화 및 복호화 방법 및 이를 이용하는 장치{VIDEO CODING/DECODING METHOD AND APPARATUS FOR MULTI-LAYERS}A video encoding and decoding method supporting multiple layers, and an apparatus using the same {VIDEO CODING/DECODING METHOD AND APPARATUS FOR MULTI-LAYERS}

본 발명은 비디오 압축 기술에 관한 것으로서 더 구체적으로는 멀티 레이어를 지원하는 비디오 코딩을 수행하는 방법 및 장치에 관한 것이다.The present invention relates to a video compression technique, and more particularly, to a method and apparatus for performing video coding supporting multiple layers.

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

영상 압축 기술로 현재 픽쳐의 이전 또는 이후 픽쳐로부터 현재 픽쳐에 포함된 화소값을 예측하는 화면 간 예측 기술, 현재 픽쳐 내의 화소 정보를 이용하여 현재 픽쳐에 포함된 화소값을 예측하는 화면 내 예측 기술, 출현 빈도가 높은 값에 짧은 부호를 할당하고 출현 빈도가 낮은 값에 긴 부호를 할당하는 엔트로피 부호화 기술 등 다양한 기술이 존재하고 이러한 영상 압축 기술을 이용해 영상 데이터를 효과적으로 압축하여 전송 또는 저장할 수 있다.Inter-screen prediction technology that predicts pixel values included in the current picture from a picture before or after the current picture using image compression technology, intra prediction technology that predicts pixel values included in the current picture using pixel information in the current picture, Various technologies exist, such as an entropy encoding technology that allocates a short code to a value with a high frequency of appearance and a long code to a value with a low frequency of appearance, and it is possible to effectively compress and transmit or store image data using this image compression technology.

본 발명의 일 실시예는 현재 부호화 및 복호화 하려는 레이어에 대하여 다른 레이어의 픽쳐를 포함하는 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치를 제공하는 것을 목적으로 한다.An object of the present invention is to provide a method of generating a reference picture list including pictures of different layers for a layer to be currently encoded and decoded and an apparatus using the same.

또한, 본 발명의 일 실시예는 참조 레이어의 참조 픽쳐 세트에 대한 정보를 이용하여 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치를 제공하는 것을 목적으로 한다.Another object of the present invention is to provide a method for generating a reference picture list by using information on a reference picture set of a reference layer and an apparatus using the same.

또한, 본 발명의 일 실시예는 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치에 대한 정보를 이용하여 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치를 제공하는 것을 목적으로 한다.Another object of the present invention is to provide a method of generating a reference picture list and an apparatus using the same by using information on a position at which a reference picture set is added to an initial reference picture list.

본 발명의 일 실시형태에 따른 복수의 레이어를 지원하는 영상의 복호화 방법은 현재 픽쳐의 초기 참조 픽쳐 리스트 구성 시, 상기 현재 픽쳐가 참조하는 참조 레이어의 참조 픽쳐 세트 정보를 이용하는지 여부를 나타내는 플래그 정보를 수신하는 단계와; 상기 플래그 정보에 기초하여 상기 초기 참조 픽쳐 리스트를 생성하는 단계와; 상기 초기 참조 픽쳐 리스트에 기초하여 상기 현재 픽쳐에 대한 예측을 수행하는 단계를 포함할 수 있다. In the method of decoding an image supporting a plurality of layers according to an embodiment of the present invention, flag information indicating whether reference picture set information of a reference layer referenced by the current picture is used when configuring an initial reference picture list of a current picture. Receiving a; Generating the initial reference picture list based on the flag information; It may include performing prediction on the current picture based on the initial reference picture list.

상기 플래그 정보는 상기 참조 레이어의 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트를 상기 현재 픽쳐의 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트로 유도하는지 여부를 나타낼 수 있다. The flag information may indicate whether the short-term reference picture set and the long-term reference picture set of the reference layer are derived as the short-term reference picture set and the long-term reference picture set of the current picture.

상기 플래그 정보는 상기 참조 레이어의 단기 참조 픽쳐 세트를 상기 현재 픽쳐의 단기 참조 픽쳐 세트로 유도하는지 여부를 나타낼 수 있다. The flag information may indicate whether the short-term reference picture set of the reference layer is derived as the short-term reference picture set of the current picture.

상기 플래그 정보는 상기 참조 레이어의 장기 참조 픽쳐 세트를 상기 현재 픽쳐의 장기 참조 픽쳐 세트로 유도하는지 여부를 나타낼 수 있다. The flag information may indicate whether the long-term reference picture set of the reference layer is derived as the long-term reference picture set of the current picture.

상기 참조 레이어는 베이스 레이어일 수 있다.The reference layer may be a base layer.

상기 플래그 정보는 상기 참조 레이어의 인터 레이어 참조 픽쳐 세트를 상기 참조 레이어의 초기 참조 픽쳐 리스트에 추가하는 위치를 상기 현재 픽쳐의 인터 레이어 참조 픽쳐 세트를 상기 현재 픽쳐의 초기 참조 픽쳐 리스트에 추가하는 위치로 이용하는지 여부를 나타낼 수 있다.The flag information is a position at which the inter-layer reference picture set of the reference layer is added to the initial reference picture list of the reference layer and the inter-layer reference picture set of the current picture is added to the initial reference picture list of the current picture. It can indicate whether to use.

상기 플래그 정보는 상기 참조 레이어의 인터 레이어 참조 픽쳐 세트를 상기 현재 픽쳐의 인터 레이어 참조 픽쳐 세트로 유도하는지 여부를 나타낼 수 있다. The flag information may indicate whether the inter-layer reference picture set of the reference layer is derived as the inter-layer reference picture set of the current picture.

상기 플래그 정보는 시퀀트 파라미터 세트에 포함되어 수신될 수 있다.The flag information may be included in a sequence parameter set and received.

상기 초기 참조 픽쳐 리스트를 수정하여 최종 참조 픽쳐 리스트를 생성하는 단계를 더 포함할 수 있다. It may further include generating a final reference picture list by modifying the initial reference picture list.

상기 현재 픽쳐에 대한 예측을 수행하는 단계는 상기 인터 레이어 참조 픽쳐 세트에 포함되는 참조 픽쳐를 상기 현재 픽쳐의 참조 픽쳐로 이용할 수 있다. In performing prediction on the current picture, a reference picture included in the inter-layer reference picture set may be used as a reference picture of the current picture.

본 발명의 다른 실시 형태에 따른 복수의 레이어를 지원하는 영상의 복호화 장치는 비스트스림을 통하여 수신된 영상의 예측 및 복호화를 위한 정보를 복호화하는 엔트로피 복호화부와, 현재 픽쳐의 초기 참조 픽쳐 리스트 구성 시, 상기 현재 픽쳐가 참조하는 참조 레이어의 참조 픽쳐 세트 정보를 이용하는지 여부를 나타내는 플래그 정보에 기초하여 상기 초기 참조 픽쳐 리스트를 생성하는고, 상기 초기 참조 픽쳐 리스트에 기초하여 상기 현재 픽쳐에 대한 예측을 수행하는 예측부를 포함할 수 있다.An image decoding apparatus supporting a plurality of layers according to another embodiment of the present invention includes an entropy decoding unit that decodes information for prediction and decoding of an image received through a beast stream, and an initial reference picture list of the current picture. , The initial reference picture list is generated based on flag information indicating whether reference picture set information of a reference layer referred to by the current picture is used, and prediction for the current picture is performed based on the initial reference picture list. It may include a prediction unit to perform.

본 발명의 일 실시예에 따르면 현재 부호화 및 복호화 하려는 레이어에 대하여 다른 레이어의 픽쳐를 포함하는 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치가 제공된다. According to an embodiment of the present invention, there is provided a method of generating a reference picture list including pictures of different layers for a layer to be currently encoded and decoded, and an apparatus using the same.

본 발명의 일 실시예에 따르면, 참조 레이어의 참조 픽쳐 세트에 대한 정보를 이용하여 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치가 제공된다.According to an embodiment of the present invention, a method of generating a reference picture list using information on a reference picture set of a reference layer and an apparatus using the same are provided.

또한, 본 발명의 일 실시예에 따르면 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치에 대한 정보를 이용하여 참조 픽쳐 리스트를 생성하는 방법 및 이를 이용하는 장치가 제공된다.In addition, according to an embodiment of the present invention, a method of generating a reference picture list using information on a position at which a reference picture set is added to an initial reference picture list and an apparatus using the same are provided.

도 1은 본 발명의 일 실시예에 따른 부호화 장치를 개략적으로 도시한 블록도이다.
도 2는 본 발명의 일 실시예에 따른 복호화 장치를 개략적으로 도시한 블록도이다.
도 3은 단기 참조 픽쳐를 포함하는 참조 픽쳐 세트에 대한 일 예를 도시한 개념도이다.
도 4는 장기 참조 픽쳐의 POC를 유도하는 방법을 설명하기 위한 개념도이다.
도 5는 참조 픽쳐 리스트를 구성하는 일 예를 도시한 도면이다.
도 6은 본 발명의 일 예에 따라 인터 레이어 참조 픽쳐 리스트를 구성하는 일 예를 도시한 개념도이다.
도 7은 본 발명의 일 예에 따라 참조 픽쳐 리스트 O의 구성을 도시한 도면이다.
도 8은 본 발명의 다른 예에 따라 참조 픽쳐 리스트 O의 구성을 도시한 도면이다.
도 9은 본 발명의 일 예에 따라 참조 픽쳐 리스트 1의 구성을 도시한 도면이다.
도 10은 본 발명의 다른 예에 따라 참조 픽쳐 리스트 1의 구성을 도시한 도면이다.
도 11은 본 발명의 일 예에 따라 다시점 참조 픽쳐를 이용하여 구성한 참조 픽쳐 리스트를 도시한 것이다.
도 12는 본 발명의 다른 예에 따라 다시점 참조 픽쳐를 이용하여 구성한 참조 픽쳐 리스트를 도시한 것이다.
도 13은 본 발명의 일 예에 따른 시간적 서브 레이어의 인덱스를 이용하여 구성한 참조 픽쳐 리스트를 도시한 것이다.
도 14 본 발명의 일 예에 따라 참조 레이어의 인터 레이어 참조 픽쳐 세트의 추가 위치를 참조하는 예를 도시한 도면이다.
도 15 본 발명에 따른 영상의 복호화 방법을 설명하기 위한 제어흐름도이다.
1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.
2 is a schematic block diagram of a decoding apparatus according to an embodiment of the present invention.
3 is a conceptual diagram illustrating an example of a reference picture set including a short-term reference picture.
4 is a conceptual diagram illustrating a method of inducing a POC of a long-term reference picture.
5 is a diagram illustrating an example of configuring a reference picture list.
6 is a conceptual diagram illustrating an example of configuring an inter-layer reference picture list according to an example of the present invention.
7 is a diagram illustrating a configuration of a reference picture list O according to an example of the present invention.
8 is a diagram illustrating a configuration of a reference picture list O according to another example of the present invention.
9 is a diagram illustrating a configuration of a reference picture list 1 according to an example of the present invention.
10 is a diagram illustrating a configuration of a reference picture list 1 according to another example of the present invention.
11 illustrates a reference picture list constructed using a multiview reference picture according to an example of the present invention.
12 is a diagram illustrating a reference picture list constructed using a multiview reference picture according to another example of the present invention.
13 is a diagram illustrating a reference picture list constructed using an index of a temporal sub-layer according to an example of the present invention.
14 is a diagram illustrating an example of referring to an additional position of an inter-layer reference picture set of a reference layer according to an example of the present invention.
15 is a control flow diagram for explaining a method of decoding an image according to the present invention.

본 발명의 실시예 및 도면에 개시된 각 구성부들은 영상 부호화 장치의 서로 다른 특징적인 기능들을 나타내기 위해 독립적인 구성으로 개시한 것이다. 각 구성부들이 반드시 분리된 하드웨어나 하나의 소프트웨어 구성 단위로 이루어짐을 의미하지 않는다. 즉, 각 구성부는 설명의 편의상 각각의 구성부로 나열하여 포함한 것으로 각 구성부 중 적어도 두 개의 구성부가 합쳐져 하나의 구성부로 이루어지거나, 하나의 구성부가 복수개의 구성부로 나뉘어져 기능을 수행할 수 있고 이러한 각 구성부의 통합된 실시예 및 분리된 실시예도 본 발명의 본질에서 벋어나지 않는 한 본 발명의 권리범위에 포함된다.Each of the components disclosed in the embodiments of the present invention and the drawings is disclosed as an independent configuration to represent different characteristic functions of the video encoding apparatus. It does not mean that each component is made up of separate hardware or a single software component. That is, each constituent part is listed and included as a constituent part for convenience of explanation, and at least two of the constituent parts are combined to form a single constituent part, or one constituent part is divided into a plurality of constituent parts to perform a function. The integrated embodiments and separate embodiments of the components are also included in the scope of the present invention unless departing from the essence of the present invention.

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

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니다. 본 명세서에서 사용하는 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명의 기술적 사상을 한정하려는 의도로 사용되는 것은 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성 요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In the present invention, various modifications may be made and various embodiments may be provided, and specific embodiments will be illustrated in the drawings and described in detail. However, this is not intended to limit the present invention to specific embodiments. The terms used in the present specification are only used to describe specific embodiments, and are not intended to limit the technical idea of the present invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. In the present specification, terms such as "comprise" or "have" are intended to designate the presence of features, numbers, steps, actions, components, parts, or combinations thereof described in the specification, but one or more other features. It is to be understood that the presence or addition of elements or numbers, steps, actions, components, parts, or combinations thereof, does not preclude in advance the possibility.

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

비트스트림 내 복수의 레이어를 지원하는 비디오의 부호화 및 복호화를 스케일러블 코딩(scalable coding)이라고 한다. 복수의 레이어 간에는 강한 연관성(correlation)이 존재하기 때문에 이런 연관성을 이용하여 예측을 수행하면 데이터의 중복 요소를 제거할 수 있고 영상의 부호화 성능을 향상시킬 수 있다. 다른 레이어의 정보를 이용하여 예측의 대상이 되는 현재 레이어의 예측을 수행하는 것을 이하에서는 레이어 간 예측(inter-layer prediction)이라고 표현한다. Encoding and decoding of a video supporting a plurality of layers in a bitstream is called scalable coding. Since a strong correlation exists between a plurality of layers, if prediction is performed using this correlation, redundant elements of data can be removed and encoding performance of an image can be improved. Prediction of a current layer to be predicted using information of other layers is hereinafter referred to as inter-layer prediction.

복수의 레이어들은 해상도, 프레임 레이트, 컬러 포맷 중 적어도 하나가 서로 다를 수 있으며, 레이어 간 예측 시 해상도의 조절을 위하여 레이어의 업샘플링 또는 다운샘플링이 수행될 수 있다.
The plurality of layers may have at least one of a resolution, a frame rate, and a color format different from each other, and up-sampling or down-sampling of a layer may be performed to adjust a resolution during inter-layer prediction.

도 1은 본 발명의 일 실시예에 따른 부호화 장치를 개략적으로 도시한 블록도이다.1 is a block diagram schematically illustrating an encoding apparatus according to an embodiment of the present invention.

본 발명에 따른 부호화 장치(100)는 상위 레이어에 대한 부호화부(100a)와 하위 레이어에 대한 부호화부(100b)를 포함한다.The encoding apparatus 100 according to the present invention includes an encoding unit 100a for an upper layer and an encoding unit 100b for a lower layer.

상위 레어어는 현재 레이어 또는 인핸스먼트 레이어로 표현될 수 있으며, 하위 레이어는 참조 레이어 또는 베이스 레이어로 표현될 수 있다. 상위 레이어와 하위 레이어는 해상도, 프레임 레이트, 컬러 포맷 중 적어도 하나가 서로 다를 수 있다. 레이어 간 예측을 수행하기 위하여 해상도 변경이 필요한 경우 레이어의 업샘플링 또는 다운샘플링이 수행될 수 있다.The upper layer may be expressed as a current layer or an enhancement layer, and the lower layer may be expressed as a reference layer or a base layer. The upper and lower layers may have at least one of a resolution, a frame rate, and a color format different from each other. When a resolution change is required to perform inter-layer prediction, up-sampling or down-sampling of a layer may be performed.

상위 레이어의 부호화부(100a)는 분할부(110), 예측부(100), 화면 내 예측부(121), 화면 간 예측부(122), 레이어 간 예측부(123), 변환부(130), 양자화부(140), 재정렬부(150), 엔트로피 부호화부(160), 역양자화부(170), 역변환부(180), 필터부(190) 및 메모리(195) 및 MUX(197)를 포함할 수 있다.The encoding unit 100a of the upper layer includes a splitter 110, a prediction unit 100, an intra prediction unit 121, an inter prediction unit 122, an inter-layer prediction unit 123, and a transform unit 130. , A quantization unit 140, a rearrangement unit 150, an entropy encoding unit 160, an inverse quantization unit 170, an inverse transform unit 180, a filter unit 190, and a memory 195 and a MUX 197 can do.

하위 레이어의 부호화부(100b)는 분할부(111), 예측부(125), 화면 내 예측부(126), 화면 간 예측부(127), 변환부(131), 양자화부(141), 재정렬부(151), 엔트로피 부호화부(161), 역양자화부(171), 역변환부(181), 필터부(191) 및 메모리(196)를 포함할 수 있다.The lower layer encoder 100b includes a splitter 111, a prediction unit 125, an intra prediction unit 126, an inter prediction unit 127, a transform unit 131, a quantization unit 141, and rearrangement. A unit 151, an entropy encoder 161, an inverse quantization unit 171, an inverse transform unit 181, a filter unit 191, and a memory 196 may be included.

부호화부는 이하의 본 발명의 실시예에서 설명하는 영상 부호화 방법에 의해 구현될 수 있으나, 일부의 구성부에서의 동작은 부호화 장치의 복잡도를 낮추기 위해 또는 빠른 실시간 부호화를 위해 수행되지 않을 수 있다. 예를 들어, 예측부에서 화면 내 예측을 수행함에 있어서, 실시간으로 부호화를 수행하기 위해 모든 화면 내 예측 모드 방법을 사용하여 최적의 화면 내 부호화 방법을 선택하는 방법을 사용하지 않고 일부의 제한적인 개수의 화면 내 예측 모드를 사용하여 그 중에서 하나의 화면 내 예측 모드를 최종 화면 내 예측 모드로 선택하는 방법이 사용될 수 있다. 또 다른 예로 화면 내 예측 또는 화면 간 예측을 수행함에 있어 사용되는 예측 블록의 형태를 제한적으로 사용하도록 하는 것도 가능하다. The encoding unit may be implemented by the image encoding method described in the following embodiments of the present invention, but operations in some components may not be performed to reduce the complexity of the encoding apparatus or for fast real-time encoding. For example, in performing intra prediction in the prediction unit, a limited number of parts without using a method of selecting the optimal intra prediction mode by using all intra prediction mode methods to perform encoding in real time. A method of selecting one intra-prediction mode among them as the final intra-prediction mode using the intra prediction mode of may be used. As another example, in performing intra prediction or inter prediction, it is possible to restrict the use of the shape of the prediction block used.

부호화 장치에서 처리되는 블록의 단위는 부호화를 수행하는 부호화 단위, 예측을 수행하는 예측 단위, 변환을 수행하는 변환 단위가 될 수 있다. 부호화 단위는 CU(Coding Unit), 예측 단위는 PU(Prediction Unit), 변환 단위는 TU(Transform Unit)라는 용어로 표현될 수 있다.A unit of a block processed by the encoding apparatus may be a coding unit that performs encoding, a prediction unit that performs prediction, and a transformation unit that performs transformation. A coding unit may be expressed in terms of a coding unit (CU), a prediction unit (PU), and a transform unit (TU).

분할부(110, 111)에서는 레이어 영상을 복수의 부호화 블록, 예측 블록 및 변환 블록의 조합으로 분할하고 소정의 기준(예를 들어, 비용 함수)으로 그 중 하나의 부호화 블록, 예측 블록 및 변환 블록의 조합을 선택하여 레이어를 분할할 수 있다. 예를 들어, 레이어 영상에서 부호화 단위를 분할하기 위해서는 쿼드 트리 구조(QuadTree Structure)와 같은 재귀적인 트리 구조를 사용할 수 있다. 이하, 본 발명의 실시예에서는 부호화 블록의 의미를 부호화를 하는 블록이라는 의미뿐만 아니라 복호화를 수행하는 블록이라는 의미로도 사용할 수 있다.The splitters 110 and 111 divide the layer image into a combination of a plurality of coding blocks, prediction blocks, and transform blocks, and use one of the coding blocks, prediction blocks, and transform blocks based on a predetermined criterion (for example, a cost function). You can divide the layer by selecting a combination of. For example, a recursive tree structure such as a quadtree structure may be used to divide a coding unit in a layer image. Hereinafter, in an embodiment of the present invention, the meaning of a coding block may be used not only as a block to be encoded but also to a block to be decoded.

예측 블록은 화면 내 예측 또는 화면 간 예측과 같은 예측을 수행하는 단위가 될 수 있다. 화면 내 예측을 수행하는 블록은 2Nx2N, NxN과 같은 정사각형 형태의 블록일 수 있다. 화면 간 예측을 수행하는 블록으로는 2Nx2N, NxN과 같은 정사각형의 형태 또는 정사각형 형태의 예측 블록을 동일한 형태로 이분할한 형태인 2NxN, Nx2N 또는 비대칭 형태인 AMP (Asymmetric Motion Partitioning)를 사용한 예측 블록 분할 방법이 있다. 예측 블록의 형태에 따라 변환부(115)에서는 변환을 수행하는 방법이 달라질 수 있다.The prediction block may be a unit that performs prediction such as intra prediction or inter prediction. A block that performs intra prediction may be a square block such as 2Nx2N and NxN. As a block that performs inter-screen prediction, the prediction block is divided using 2NxN, Nx2N, or AMP (Asymmetric Motion Partitioning), which is a form obtained by dividing a square shape such as 2Nx2N, NxN or a square prediction block into the same shape. There is a way. A method of performing the transformation in the transform unit 115 may vary according to the shape of the prediction block.

부호화부(100a, 100b)의 예측부(120, 125)는 화면 내 예측(intra prediction)을 수행하는 화면 내 예측부(121, 126)와 화면 간 예측(inter prediction)을 수행하는 화면 간 예측부(1122, 126)를 포함할 수 있다. 상위 레이어 부호화부(100a)의 예측부(120)는 하위 레이어의 정보를 이용하여 상위 레이어에 대한 예측을 수행하는 레이어 간 예측부(123)를 더 포함한다. The prediction units 120 and 125 of the encoding units 100a and 100b are the intra prediction units 121 and 126 that perform intra prediction and the inter prediction units that perform inter prediction. (1122, 126) may be included. The prediction unit 120 of the upper layer encoder 100a further includes an inter-layer prediction unit 123 that performs prediction on an upper layer using information on the lower layer.

예측부(120, 125)는 예측 블록에 대해 화면 간 예측을 사용할 것인지 또는 화면 내 예측을 수행할 것인지를 결정할 수 있다. 예측이 수행되는 처리 단위와 예측 방법이 정해지는 처리 블록의 단위는 다를 수 있다. 예를 들어, 화면 내 예측을 수행함에 있어서 예측 모드는 예측 블록을 기준으로 결정되고, 예측을 수행하는 과정은 변환 블록을 기준으로 수행될 수도 있다. 생성된 예측 블록과 원본 블록 사이의 잔차값(잔차 블록)은 변환부(130, 131)로 입력될 수 있다. 또한, 예측을 위해 사용한 예측 모드 정보, 움직임 벡터 정보 등은 잔차값과 함께 엔트로피 부호화부(130)에서 부호화되어 복호화 장치에 전달될 수 있다.The prediction units 120 and 125 may determine whether to use inter prediction or intra prediction on the prediction block. A processing unit in which prediction is performed and a unit of a processing block in which a prediction method is determined may be different. For example, in performing intra prediction, a prediction mode may be determined based on a prediction block, and a process of performing prediction may be performed based on a transform block. A residual value (residual block) between the generated prediction block and the original block may be input to the transform units 130 and 131. In addition, prediction mode information, motion vector information, and the like used for prediction may be encoded by the entropy encoder 130 together with a residual value and transmitted to a decoding apparatus.

PCM(Pulse Coded Modulation) 부호화 모드를 사용할 경우, 예측부(120, 125)를 통해 예측을 수행하지 않고, 원본 블록을 그대로 부호화하여 복호화부에 전송하는 것도 가능하다.When using the PCM (Pulse Coded Modulation) encoding mode, it is possible to encode the original block as it is and transmit it to the decoder without performing prediction through the prediction units 120 and 125.

화면 내 예측부(121, 126)에서는 현재 블록(예측 대상이 되는 블록)의 주변에 존재하는 참조 픽셀을 기초로 화면 내 예측된 블록을 생성할 수 있다. 화면 내 예측 방법에서 화면 내 예측 모드는 참조 픽셀 정보를 예측 방향에 따라 사용하는 방향성 예측 모드와 예측을 수행 시 방향성 정보를 사용하지 않는 비방향성 모드를 가질 수 있다. 루마 정보를 예측하기 위한 모드와 색차 정보를 예측하기 위한 모드는 종류가 상이할 수 있다. 색차 정보를 예측하기 위해 루마 정보를 예측한 화면 내 예측 모드 정보 또는 예측된 루마 신호 정보를 활용할 수 있다. 만약, 참조 픽셀이 가용하지 않는 경우, 가용하지 않은 참조 픽셀을 다른 픽셀로 대체하여 사용하여 예측 블록을 생성할 수 있다.The intra prediction units 121 and 126 may generate an intra-predicted block based on a reference pixel existing around the current block (a block to be predicted). In the intra prediction method, the intra prediction mode may have a directional prediction mode in which reference pixel information is used according to a prediction direction, and a non-directional mode in which the directional information is not used when prediction is performed. A mode for predicting luma information and a mode for predicting color difference information may have different types. In order to predict color difference information, intra prediction mode information for predicting luma information or predicted luma signal information may be used. If the reference pixel is not available, a prediction block may be generated by replacing the non-available reference pixel with another pixel.

예측 블록은 복수개의 변환 블록을 포함할 수 있는데, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 동일할 경우, 예측 블록의 좌측에 존재하는 픽셀, 좌측 상단에 존재하는 픽셀, 상단에 존재하는 픽셀을 기초로 예측 블록에 대한 화면 내 예측을 수행할 수 있다. 하지만, 화면 내 예측을 수행 시 예측 블록의 크기와 변환 블록의 크기가 상이하여 예측 블록의 내부에 복수의 변환 블록이 포함되는 경우, 변환 블록을 기준으로 결정된 참조 픽셀을 이용하여 화면 내 예측을 수행할 수 있다. The prediction block may include a plurality of transform blocks. If the size of the prediction block and the size of the transform block are the same when performing intra prediction, a pixel on the left side of the prediction block, a pixel on the top left side, and the top In-screen prediction on the prediction block may be performed based on the pixels existing in the screen. However, when performing intra prediction, if the size of the prediction block and the size of the transform block are different and a plurality of transform blocks are included in the prediction block, intra prediction is performed using a reference pixel determined based on the transform block. can do.

화면 내 예측 방법은 화면 내 예측 모드에 따라 참조 화소에 MDIS(Mode Dependent Intra Smoothing) 필터를 적용한 후 예측 블록을 생성할 수 있다. 참조 픽셀에 적용되는 MDIS 필터의 종류는 상이할 수 있다. MDIS 필터는 화면 내 예측이 수행되어 화면 내 예측된 블록에 적용되는 추가의 필터로서 참조 픽셀과 예측을 수행 후 생성된 화면 내 예측된 블록에 존재하는 단차를 줄이는데 사용될 수 있다. MDIS 필터링을 수행함에 있어 참조 픽셀과 화면 내 예측된 블록에 포함된 일부 열에 대한 필터링은 화면 내 예측 모드의 방향성에 따라 다른 필터링을 수행할 수 있다.In the intra prediction method, a prediction block may be generated after applying a Mode Dependent Intra Smoothing (MDIS) filter to a reference pixel according to an intra prediction mode. The types of MDIS filters applied to the reference pixels may be different. The MDIS filter is an additional filter applied to an intra-predicted block by performing intra prediction, and may be used to reduce a step that exists in an intra-predicted block generated after prediction with a reference pixel. In performing MDIS filtering, different filtering may be performed on a reference pixel and some columns included in the predicted block in the screen according to the direction of the prediction mode in the screen.

화면 간 예측부(122, 127)는 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 블록의 정보를 참조하여 예측을 수행할 수 있다. 화면 간 예측부(122, 127)에는 참조 픽쳐 보간부, 움직임 예측부, 움직임 보상부가 포함될 수 있다.The inter prediction units 122 and 127 may perform prediction by referring to information on a block included in at least one picture of a picture before or after a current picture. The inter prediction units 122 and 127 may include a reference picture interpolation unit, a motion prediction unit, and a motion compensation unit.

참조 픽쳐 보간부에서는 메모리(195, 196)로부터 참조 픽쳐 정보를 제공받고 참조 픽쳐에서 정수 화소 이하의 화소 정보를 생성할 수 있다. 루마 화소의 경우, 1/4 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 8탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다. 색차 신호의 경우 1/8 화소 단위로 정수 화소 이하의 화소 정보를 생성하기 위해 필터 계수를 달리하는 DCT 기반의 4탭 보간 필터(DCT-based Interpolation Filter)가 사용될 수 있다.The reference picture interpolation unit may receive reference picture information from the memories 195 and 196 and generate pixel information of an integer number of pixels or less from the reference picture. In the case of a luma pixel, a DCT-based interpolation filter with different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/4 pixels. In the case of a color difference signal, a DCT-based interpolation filter with different filter coefficients may be used to generate pixel information of an integer pixel or less in units of 1/8 pixels.

화면 간 예측부(122, 127)는 참조 픽쳐 보간부에 의해 보간된 참조 픽쳐를 기초로 움직임 예측을 수행할 수 있다. 움직임 벡터를 산출하기 위한 방법으로 FBMA(Full search-based Block Matching Algorithm), TSS(Three Step Search), NTS(New Three-Step Search Algorithm) 등 다양한 방법이 사용될 수 있다. 움직임 벡터는 보간된 화소를 기초로 1/2 또는 1/4 화소 단위의 움직임 벡터 값을 가질 수 있다. 화면 간 예측부(122, 127)에서는 여러 가지 화면 간 예측 방법 중 하나의 화면 간 예측 방법을 적용하여 현재 블록에 대한 예측을 수행할 수 있다. The inter prediction units 122 and 127 may perform motion prediction based on the reference picture interpolated by the reference picture interpolation unit. Various methods such as a full search-based block matching algorithm (FBMA), a three step search (TSS), and a new three-step search algorithm (NTS) can be used as a method for calculating a motion vector. The motion vector may have a motion vector value of 1/2 or 1/4 pixel based on the interpolated pixel. The inter prediction units 122 and 127 may perform prediction on the current block by applying one of several inter prediction methods.

화면 간 예측 방법으로는 예를 들어, 스킵(Skip) 방법, 머지(Merge) 방법, MVP(Motion Vector Prediction) 방법 등 다양한 방법이 사용될 수 있다. Various methods, such as a skip method, a merge method, and a motion vector prediction (MVP) method, may be used as an inter prediction method.

화면 간 예측에 있어서 움직임 정보 즉, 참조 픽쳐의 인덱스, 움직임 벡터, 레지듀얼 신호 등의 정보는 엔트로피 부호화되어 복호화부에 전달된다. 스킵 모드가 적용되는 경우에는 레지듀얼을 생성, 변환, 양자화, 전송하지 않을 수 있다.In inter prediction, motion information, that is, information such as an index of a reference picture, a motion vector, and a residual signal, is entropy-coded and transmitted to a decoder. When the skip mode is applied, residuals may not be generated, transformed, quantized, or transmitted.

레이어 간 예측부(123)는 하위 레이어의 정보를 이용하여 상위 레이어를 예측하는 레이어 간 예측을 수행한다. 레이어 간 예측부(123)는 하위 레이어의 텍스처, 화면 내 예측 모드 정보, 움직임 정보, 신택스 정보 등을 이용하여 레이어 간 텍스처 예측(inter-layer texture prediction), 레이어 간 움직임 예측(inter-layer inter prediction), 레이어 간 신택스 예측(inter-layer syntax prediction) 등을 수행할 수 있다. The inter-layer prediction unit 123 performs inter-layer prediction for predicting an upper layer using information on a lower layer. The inter-layer prediction unit 123 uses inter-layer texture prediction and inter-layer inter prediction using texture of a lower layer, intra prediction mode information, motion information, and syntax information. ), inter-layer syntax prediction, etc. may be performed.

레이어 간 텍스처 예측은 하위 레이어 내 참조 블록의 텍스처를 상위 레이어의 현재 블록의 예측값(prediction sample)으로 이용하는 것을 의미하며, 이때, 참조 블록의 텍스처는 업샘플링에 의해 스케일링될 수 있다. Inter-layer texture prediction means using a texture of a reference block in a lower layer as a prediction sample of a current block of an upper layer, and in this case, the texture of the reference block may be scaled by upsampling.

레이어 간 텍스처 예측에는 하위 레이어 내 참조 블록의 복원된 값을 업샘플링하고 업샘플링된 참조 블록을 현재 블록에 대한 예측값으로 사용하여 현재 블록과의 잔차값을 부호화하는 인트라 BL 방식과 업샘플링된 하위 레이어를 메모리에 저장하고 저장된 하위 레이어를 참조 인덱스로 사용하는 참조 인덱스 방식이 있을 수 있다. For inter-layer texture prediction, the intra-BL method and the up-sampled lower layer upsample the reconstructed value of the reference block in the lower layer and use the upsampled reference block as a prediction value for the current block to encode the residual value from the current block. There may be a reference index method that stores in memory and uses the stored lower layer as a reference index.

하위 레이어의 화면 내 예측 모드 정보를 이용하여 상위 레이어의 화면 내 예측이 수행될 수 있으며, 이 때 하위 레이어의 화면 내 예측 모드를 BL 인트라 모드로 칭할 수 있다. The intra prediction of the upper layer may be performed by using the intra prediction mode information of the lower layer. In this case, the intra prediction mode of the lower layer may be referred to as a BL intra mode.

레이어 간 움직임 예측은 인터 레이어 인터 예측이라고도 하며, 레이어 간 움직임 예측에 따르면 하위 레이어의 움직임 정보를 이용하여 상위 레이어의 현재 블록에 대한 예측을 수행할 수 있다. 움직임 정보는 움직임 벡터 및 참조 픽쳐 인덱스를 포함할 수 있다.Inter-layer motion prediction is also referred to as inter-layer inter prediction, and according to inter-layer motion prediction, prediction of a current block of an upper layer may be performed using motion information of a lower layer. The motion information may include a motion vector and a reference picture index.

또한, 레이어 간 예측부(123)는 하위 레이어의 신택스 정보를 이용하여 현재 블록의 텍스처를 예측하거나 생성하는 레이어 간 신택스 예측을 수행할 수도 있다. 이때, 현재 블록의 예측에 이용하는 하위 레이어의 신택스 정보는 화면 내 예측 모드에 관한 정보, 움직임 정보 등일 수 있다.In addition, the inter-layer prediction unit 123 may predict the texture of the current block or perform inter-layer syntax prediction by using the syntax information of the lower layer. In this case, the syntax information of the lower layer used for prediction of the current block may be information about an intra prediction mode, motion information, and the like.

또 다른 레이어 간 예측의 일 예로, 레이어 간 차분 예측에 따르면 상위 레이어의 복원 영상과 하위 레이어의 복원 영상을 업샘플링한 영상의 차이값으로 생성된 차분 영상을 이용하여 현재 블록에 대한 예측이 수행될 수 있다. As another example of inter-layer prediction, according to the inter-layer difference prediction, prediction for the current block is performed using a difference image generated as a difference value between a reconstructed image of an upper layer and an image obtained by up-sampling a reconstructed image of a lower layer. I can.

레이어 간 예측의 예로서, 레이어 간 텍스처 예측, 레이어 간 움직임 예측, 레이어 간 신택스 예측 및 레이어 간 차분 예측이 설명되었으나, 본 발명에서 적용할 수 있는 레이어 간 예측은 이에 한정되지 않는다.As an example of inter-layer prediction, inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction have been described, but inter-layer prediction applicable in the present invention is not limited thereto.

예측부(120, 125)에서 생성된 예측 블록과 예측 블록의 복원 블록과 차이 값인 잔차값(Residual) 정보를 포함하는 잔차 블록이 생성되며, 잔차 블록은 변환부(130, 131)에 입력된다. A residual block including residual information that is a difference value from the prediction block generated by the prediction blocks 120 and 125 and the reconstructed block of the prediction block is generated, and the residual block is input to the transform units 130 and 131.

변환부(130, 131)에서는 잔차 블록을 DCT(Discrete Cosine Transform) 또는 DST(Discrete Sine Transform)와 같은 변환 방법을 사용하여 변환시킬 수 있다. 잔차 블록을 변환하기 위해 DCT를 적용할지 DST를 적용할지는 잔차 블록을 생성하기 위해 사용된 예측 블록의 화면 내 예측 모드 정보 및 예측 블록의 크기 정보를 기초로 결정할 수 있다. 즉, 변환부(130, 131)에서는 예측 블록의 크기 및 예측 방법에 따라 변환 방법을 다르게 적용할 수 있다.The transform units 130 and 131 may transform the residual block using a transform method such as Discrete Cosine Transform (DST) or Discrete Sine Transform (DST). Whether to apply DCT or DST to transform the residual block may be determined based on intra prediction mode information of the prediction block used to generate the residual block and information on the size of the prediction block. That is, the transform units 130 and 131 may apply different transform methods according to the size of the prediction block and the prediction method.

양자화부(140, 141)는 변환부(130, 131)에서 주파수 영역으로 변환된 값들을 양자화할 수 있다. 블록에 따라 또는 영상의 중요도에 따라 양자화 계수는 변할 수 있다. 양자화부(140, 141)에서 산출된 값은 역양자화부(170, 17)와 재정렬부(150, 151)에 제공될 수 있다.The quantization units 140 and 141 may quantize values converted into the frequency domain by the transform units 130 and 131. Quantization coefficients may vary depending on the block or the importance of the image. The values calculated by the quantization units 140 and 141 may be provided to the inverse quantization units 170 and 17 and the rearrangement units 150 and 151.

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

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

엔트로피 부호화부(160, 161)는 재정렬부(150, 151) 및 예측부(120, 125)로부터 부호화 블록의 잔차값 계수 정보 및 블록 타입 정보, 예측 모드 정보, 분할 단위 정보, 예측 블록 정보 및 전송 단위 정보, 움직임 벡터 정보, 참조 프레임 정보, 블록의 보간 정보, 필터링 정보 등 다양한 정보를 제공받아 소정의 부호화 방법을 기초로 엔트로피 부호화를 수행할 수 있다. 또한, 엔트로피 부호화부(160, 161)에서는 재정렬부(150, 151)에서 입력된 부호화 단위의 계수값을 엔트로피 부호화할 수 있다. The entropy encoders 160 and 161 transmit residual coefficient information and block type information, prediction mode information, division unit information, prediction block information, and transmission of the coding block from the reordering units 150 and 151 and the prediction units 120 and 125. Entropy encoding may be performed based on a predetermined encoding method by receiving various information such as unit information, motion vector information, reference frame information, block interpolation information, and filtering information. In addition, the entropy encoders 160 and 161 may entropy-encode the coefficient values of the coding units input from the reordering units 150 and 151.

엔트로피 부호화부(160, 161)에서는 화면 내 예측 모드 정보에 대한 이진화를 수행하여 현재 블록의 화면 내 예측 모드 정보를 부호화할 수 있다. 엔트로피 부호화부(160, 161)에는 이러한 이진화 동작을 수행하기 위한 코드워드 매핑부가 포함될 수 있고, 화면 내 예측을 수행하는 예측 블록의 크기에 따라 이진화를 다르게 수행할 수 있다. 코드워드 매핑부에서는 코드워드 매핑 테이블이 이진화 동작을 통해 적응적으로 생성되거나 미리 저장되어 있을 수 있다. 또 다른 실시예로 엔트로피 부호화부(160, 161)에서 코드넘 매핑을 수행하는 코드넘 매핑부와 코드워드 매핑을 수행하는 코드워드 매핑부를 이용하여 현재 화면 내 예측 모드 정보를 표현할 수 있다. 코드넘 매핑부와 코드워드 매핑부에서는 코드넘 매핑 테이블과 코드워드 매핑 테이블이 생성되거나 저장되어 있을 수 있다.The entropy encoders 160 and 161 may encode intra prediction mode information of the current block by performing binarization on the intra prediction mode information. The entropy encoders 160 and 161 may include a codeword mapping unit for performing such a binarization operation, and may perform different binarization according to the size of a prediction block performing intra prediction. In the codeword mapping unit, the codeword mapping table may be adaptively generated or stored in advance through a binarization operation. In another embodiment, the entropy encoders 160 and 161 may express information on the prediction mode in the current screen by using a codenum mapping unit performing codenum mapping and a codeword mapping unit performing codeword mapping. In the codenum mapping unit and the codeword mapping unit, a codenum mapping table and a codeword mapping table may be generated or stored.

역양자화부(170, 171) 및 역변환부(180, 181)에서는 양자화부(140, 141)에서 양자화된 값들을 역양자화하고 변환부(130, 131)에서 변환된 값들을 역변환 한다. 역양자화부(170, 171) 및 역변환부(180, 181)에서 생성된 잔차값(Residual)은 예측부(120, 125)에 포함된 움직임 추정부, 움직임 보상부 및 화면 내 예측부를 통해서 예측된 예측 블록과 합쳐져 복원 블록(Reconstructed Block)을 생성할 수 있다.The inverse quantization units 170 and 171 and the inverse transform units 180 and 181 inverse quantize values quantized by the quantization units 140 and 141 and inverse transform the values transformed by the transform units 130 and 131. The residual values generated by the inverse quantization units 170 and 171 and the inverse transform units 180 and 181 are predicted through a motion estimation unit, a motion compensation unit, and an intra prediction unit included in the prediction units 120 and 125. The prediction block may be combined to generate a reconstructed block.

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

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

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

ALF (Adaptive Loop Filter)는 필터링한 복원 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 영상에 포함된 픽셀을 적어도 하나 이상의 그룹으로 나눈 후 해당 그룹에 적용될 하나의 필터를 결정하여 그룹마다 차별적으로 필터링을 수행할 수 있다. ALF (Adaptive Loop Filter) may perform filtering based on a value obtained by comparing the filtered reconstructed image and the original image. After dividing the pixels included in the image into at least one group, one filter to be applied to the corresponding group may be determined, and filtering may be performed differentially for each group.

필터부(190, 191)는 디블록킹 필터, ALF, 오프셋 보정부를 모두 적용하지 않고 디블록킹 필터만 적용하거나 디블록킹 필터와 ALF만 적용하거나 디블록킹 필터와 오프셋 보정부 만을 적용할 수도 있다.The filter units 190 and 191 may apply only the deblocking filter, only the deblocking filter and ALF, or only the deblocking filter and the offset correction unit without applying all of the deblocking filter, ALF, and offset correction unit.

메모리(195, 196)는 필터부(190, 191)를 통해 산출된 복원 블록 또는 픽쳐를 저장할 수 있고, 저장된 복원 블록 또는 픽쳐는 화면 간 예측을 수행 시 예측부(120, 125)에 제공될 수 있다.The memories 195 and 196 may store the reconstructed blocks or pictures calculated through the filter units 190 and 191, and the stored reconstructed blocks or pictures may be provided to the prediction units 120 and 125 when performing inter prediction. have.

하위 레이어의 엔트로피 부호화부(100b)에서 출력되는 정보와 상위 레이어의 엔트로피 부호화부(100a)에서 출력되는 정보는 MUX(197)에서 멀티플렉싱되어 비트스트림으로 출력될 수 있다.Information output from the entropy encoder 100b of the lower layer and information output from the entropy encoder 100a of the upper layer may be multiplexed by the MUX 197 and output as a bitstream.

MUX(197)는 하위 레이어의 부호화부(100b)에 포함될 수도 있고, 부호화부(100)와는 별도의 독립적인 장치 또는 모듈로 구현될 수 있다.
The MUX 197 may be included in the encoder 100b of the lower layer, or may be implemented as an independent device or module separate from the encoder 100.

도 2는 본 발명의 일 실시예에 따른 복호화 장치를 개략적으로 도시한 블록도이다.2 is a schematic block diagram of a decoding apparatus according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 복호화 장치(200)는 상위 레이어의 복호화부(200a)와 하위 레이어의 복호화부(200b)를 포함한다.As shown in FIG. 2, the decoding apparatus 200 includes a decoder 200a of an upper layer and a decoder 200b of a lower layer.

상위 레이어의 복호화부(200a)는 엔트로피 복호화부(210), 재정렬부(220), 역양자화부(230), 역변환부(245), 예측부(250), 필터부(260), 메모리(240)를 포함될 수 있다.The decoding unit 200a of the upper layer includes an entropy decoding unit 210, a rearrangement unit 220, an inverse quantization unit 230, an inverse transform unit 245, a prediction unit 250, a filter unit 260, and a memory 240. ) Can be included.

하위 레이어의 복호화부(200b)는 엔트로피 디코딩부(211), 재정렬부(221), 역양자화부(231), 역변환부(241), 예측부(251), 필터부(261), 메모리(271)를 포함할 수 있다.The decoding unit 200b of the lower layer includes an entropy decoding unit 211, a rearrangement unit 221, an inverse quantization unit 231, an inverse transform unit 241, a prediction unit 251, a filter unit 261, and a memory 271. ) Can be included.

부호화 장치로부터 복수의 레이어를 포함하는 비트스트림이 전송되면, DEMUX(280)는 레이어 별로 정보를 디멀티플렉싱하여 각 레이어별 복호화부(200a, 200b)로 전달할 수 있다. 입력된 비트스트림은 부호화 장치와 반대의 절차로 복호화 될 수 있다.When a bitstream including a plurality of layers is transmitted from the encoding apparatus, the DEMUX 280 may demultiplex the information for each layer and transmit the demultiplexed information to the decoders 200a and 200b for each layer. The input bitstream may be decoded in a procedure opposite to that of the encoding device.

엔트로피 복호화부(210, 211)는 부호화 장치의 엔트로피 부호화부에서 엔트로피 부호화를 수행한 것과 반대의 절차로 엔트로피 복호화를 수행할 수 있다. 엔트로피 복호화부(210, 211)에서 복호화된 정보 중 예측 블록을 생성하기 위한 정보는 예측부(250, 251)로 제공되고 엔트로피 복호화부에서 엔트로피 복호화를 수행한 잔차값은 재정렬부(220, 221)로 입력될 수 있다.The entropy decoders 210 and 211 may perform entropy decoding in a procedure opposite to that of entropy encoding performed by the entropy encoder of the encoding apparatus. Among the information decoded by the entropy decoding units 210 and 211, information for generating a prediction block is provided to the prediction units 250 and 251, and the residual value obtained by performing entropy decoding in the entropy decoding unit is reordering units 220 and 221. Can be entered as

엔트로피 복호화부(210, 211)에서도 엔트로피 부호화부(160, 161)와 마찬가지로 CABAC 또는 CAVLC 중 적어도 하나의 방법을 사용하여 역 변환을 수행할 수 있다.Like the entropy encoders 160 and 161, the entropy decoders 210 and 211 may perform inverse transformation using at least one of CABAC and CAVLC.

엔트로피 복호화부(210, 211)에서는 부호화 장치에서 수행된 화면 내 예측 및 화면 간 예측에 관련된 정보를 복호화할 수 있다. 엔트로피 복호화부에는 코드워드 매핑부가 포함되어 수신된 코드워드를 화면 내 예측 모드 번호로 생성하기 위한 코드워드 매핑 테이블을 포함될 수 있다. 코드워드 매핑 테이블은 미리 저장되어 있거나 적응적으로 생성될 수 있다. 코드넘 매핑 테이블을 사용할 경우, 코드넘 매핑을 수행하기 위한 코드넘 매핑부가 추가적으로 구비될 수 있다.The entropy decoders 210 and 211 may decode information related to intra prediction and inter prediction performed by the encoding apparatus. The entropy decoding unit may include a codeword mapping unit to include a codeword mapping table for generating a received codeword as an intra prediction mode number. The codeword mapping table may be stored in advance or may be adaptively generated. When using the code-num mapping table, a code-num mapping unit for performing the code-num mapping may be additionally provided.

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

역양자화부(230, 231)는 부호화 장치에서 제공된 양자화 파라미터와 재정렬된 블록의 계수 값을 기초로 역양자화를 수행할 수 있다. The inverse quantization units 230 and 231 may perform inverse quantization based on a quantization parameter provided by an encoding apparatus and a coefficient value of a rearranged block.

역변환부(240, 241)는 부호화 장치에서 수행한 양자화 결과에 대해 변환부(130, 131)에서 수행한 DCT 및 DST에 대해 역 DCT 및 역 DST를 수행할 수 있다. 역변환은 부호화 장치에서 결정된 전송 단위를 기초로 수행될 수 있다. 부호화 장치의 변환부에서는 DCT와 DST는 예측 방법, 현재 블록의 크기 및 예측 방향 등 복수의 정보에 따라 선택적으로 수행될 수 있고, 복호화 장치의 역변환부(225)에서는 부호화 장치의 변환부에서 수행된 변환 정보를 기초로 역변환을 수행할 수 있다. 변환 수행 시 변환 블록이 아닌 부호화 블록을 기준으로 변환을 수행할 수 있다.The inverse transform units 240 and 241 may perform inverse DCT and inverse DST with respect to the DCT and DST performed by the transform units 130 and 131 on the quantization result performed by the encoding apparatus. The inverse transformation may be performed based on a transmission unit determined by the encoding device. In the transform unit of the encoding device, DCT and DST may be selectively performed according to a plurality of information such as a prediction method, the size of the current block, and a prediction direction, and in the inverse transform unit 225 of the decoding device, the transform unit of the encoding device Inverse transformation may be performed based on transformation information. When performing transformation, transformation may be performed based on a coding block rather than a transformation block.

예측부(250, 251)는 엔트로피 복호화부(210, 211)에서 제공된 예측 블록 생성 관련 정보와 메모리(270, 271)에서 제공된 이전에 복호화된 블록 또는 픽쳐 정보를 기초로 예측 블록을 생성할 수 있다.The prediction units 250 and 251 may generate the prediction blocks based on the prediction block generation-related information provided from the entropy decoders 210 and 211 and previously decoded block or picture information provided from the memories 270 and 271. .

예측부(250, 251)는 예측 단위 판별부, 화면 간 예측부 및 화면 내 예측부를 포함할 수 있다. The prediction units 250 and 251 may include a prediction unit determining unit, an inter prediction unit, and an intra prediction unit.

예측 단위 판별부는 엔트로피 복호화부에서 입력되는 예측 단위 정보, 화면 내 예측 방법의 예측 모드 정보, 화면 간 예측 방법의 움직임 예측 관련 정보 등 다양한 정보를 입력 받고 현재 부호화 블록에서 예측 블록을 구분하고, 예측 블록이 화면 간 예측을 수행하는지 아니면 화면 내 예측을 수행하는지 여부를 판별할 수 있다. The prediction unit determining unit receives various information such as prediction unit information input from the entropy decoder, prediction mode information of the intra prediction method, motion prediction related information of the inter prediction method, and so on, and classifies the prediction block from the current coding block. It is possible to determine whether inter prediction is performed or intra prediction is performed.

화면 간 예측부는 부호화 장치에서 제공된 현재 예측 블록의 화면 간 예측에 필요한 정보를 이용해 현재 예측 블록이 포함된 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나의 픽쳐에 포함된 정보를 기초로 현재 예측 블록에 대한 화면 간 예측을 수행할 수 있다. 화면 간 예측을 수행하기 위해 부호화 블록을 기준으로 해당 부호화 블록에 포함된 예측 블록의 움직임 예측 방법이 스킵 모드(Skip Mode), 머지 모드(Merge 모드), AMVP 모드(AMVP Mode) 중 어떠한 방법인지 여부를 판단할 수 있다.The inter-prediction unit uses information necessary for inter-prediction of the current prediction block provided by the encoding device to determine the current prediction block based on information included in at least one picture of a previous picture or a subsequent picture of the current picture including the current prediction block. You can perform prediction between screens. Whether the motion prediction method of the prediction block included in the coding block is a skip mode, merge mode, or AMVP mode based on the coding block to perform inter prediction Can judge.

화면 내 예측부는 현재 픽쳐 내의 화소 정보를 기초로 예측 블록을 생성할 수 있다. 예측 블록이 화면 내 예측을 수행한 예측 블록인 경우, 부호화 장치에서 제공된 예측 블록의 화면 내 예측 모드 정보를 기초로 화면 내 예측을 수행할 수 있다. 화면 내 예측부는 현재 블록의 참조 화소에 필터링을 수행하는 MDIS 필터, 참조 화소를 보간하여 정수값 이하의 화소 단위의 참조 화소를 생성하는 참조 화소 보간부, 현재 블록의 예측 모드가 DC 모드일 경우 필터링을 통해서 예측 블록을 생성하는 DC 필터를 포함할 수 있다. The intra prediction unit may generate a prediction block based on pixel information in the current picture. When the prediction block is a prediction block that has performed intra prediction, intra prediction may be performed based on intra prediction mode information of the prediction block provided by the encoding device. The intra prediction unit is an MDIS filter that performs filtering on the reference pixel of the current block, a reference pixel interpolation unit that interpolates the reference pixel to generate a reference pixel of an integer value or less, and filters when the prediction mode of the current block is the DC mode. A DC filter that generates a prediction block through may be included.

상위 레이어 복호화부(200a)의 예측부(250)는 하위 레이어의 정보를 이용하여 상위 레이어를 예측하는 레이어 간 예측을 수행하는 레이어 간 예측부를 더 포함할 수 있다. The prediction unit 250 of the upper layer decoder 200a may further include an inter-layer prediction unit that performs inter-layer prediction for predicting an upper layer using information on a lower layer.

레이어 간 예측부는 하위 레이어의 텍스처, 화면 내 예측 모드 정보, 움직임 정보, 신택스 정보 등을 이용하여 레이어 간 텍스처 예측(inter-layer texture prediction), 레이어 간 움직임 예측(inter-layer inter prediction), 레이어 간 신택스 예측(inter-layer syntax prediction) 등을 수행할 수 있다. The inter-layer prediction unit uses the texture of the lower layer, intra prediction mode information, motion information, and syntax information to predict inter-layer texture prediction, inter-layer inter prediction, and inter-layer. Inter-layer syntax prediction can be performed.

레이어 간 텍스처 예측에 따라 하위 레이어 내 참조 블록의 텍스처를 상위 레이어의 현재 블록의 예측값으로 이용하는 예측이 수행될 수 있다. 참조 블록의 텍스처는 업샘플링에 의해 스케일링될 수 있다. According to inter-layer texture prediction, prediction using a texture of a reference block in a lower layer as a prediction value of a current block of an upper layer may be performed. The texture of the reference block can be scaled by upsampling.

레이어 간 텍스처 예측에는 하위 레이어 내 참조 블록의 복원된 값을 업샘플링하고 업샘플링된 참조 블록을 현재 블록에 대한 예측값으로 사용하여 현재 블록과의 잔차값을 부호화하는 인트라 BL 방식과 업샘플링된 베이스 레이어를 메모리에 저장하고 저장된 베이스 레이어를 참조 인덱스로 사용하는 참조 인덱스 방식이 있다. For inter-layer texture prediction, the intra BL method and the upsampled base layer are used to upsample the reconstructed value of the reference block in the lower layer and use the upsampled reference block as a prediction value for the current block to encode the residual value from the current block. There is a reference index method that stores the data in memory and uses the stored base layer as a reference index.

하위 레이어의 화면 내 예측 모드 정보를 이용하여 상위 레이어의 화면 내 예측이 수행될 수 있으며, 이 때 하위 레이어의 화면 내 예측 모드를 BL 인트라 모드로 표현할 수 있다. The intra prediction of the upper layer may be performed using the intra prediction mode information of the lower layer, and in this case, the intra prediction mode of the lower layer may be expressed as a BL intra mode.

레이어 간 움직임 예측에 따르면 하위 레이어의 움직임 정보를 이용하여 상위 레이어의 현재 블록에 대한 예측을 수행할 수 있다. According to inter-layer motion prediction, prediction of a current block of an upper layer may be performed using motion information of a lower layer.

또한, 레이어 간 예측부는 하위 레이어의 신택스 정보를 이용하여 현재 블록의 텍스처를 예측하거나 생성하는 레이어 간 신택스 예측을 수행할 수도 있다. 이때, 현재 블록의 예측에 이용하는 하위 레이어의 신택스 정보는 화면 내 예측 모드에 관한 정보, 움직임 정보 등일 수 있다.In addition, the inter-layer prediction unit may predict the texture of the current block or perform inter-layer syntax prediction to generate the texture of the current block by using the syntax information of the lower layer. In this case, the syntax information of the lower layer used for prediction of the current block may be information about an intra prediction mode, motion information, and the like.

또한, 레이어 간 예측부는 상위 레이어의 복원 영상과 하위 레이어의 복원 영상을 업샘플링한 영상의 차이값으로 생성된 차분 영상을 이용하여 현재 블록을 예측하는 레이어 간 차분 예측을 수행할 수도 있다.In addition, the inter-layer prediction unit may perform inter-layer differential prediction for predicting a current block by using a difference image generated as a difference value between a reconstructed image of an upper layer and an image obtained by up-sampling a reconstructed image of a lower layer.

레이어 간 예측의 예로서, 레이어 간 텍스처 예측, 레이어 간 움직임 예측, 레이어 간 신택스 예측 및 레이어 간 차분 예측이 설명되었으나, 본 발명에서 적용할 수 있는 레이어 간 예측은 이에 한정되지 않는다.As an example of inter-layer prediction, inter-layer texture prediction, inter-layer motion prediction, inter-layer syntax prediction, and inter-layer difference prediction have been described, but inter-layer prediction applicable in the present invention is not limited thereto.

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

부호화 장치로부터 해당 블록 또는 픽쳐에 디블록킹 필터를 적용하였는지 여부에 대한 정보 및 디블록킹 필터를 적용하였을 경우, 강한 필터를 적용하였는지 또는 약한 필터를 적용하였는지에 대한 정보를 제공받을 수 있다. 복호화 장치의 디블록킹 필터에서는 부호화 장치에서 제공된 디블록킹 필터 관련 정보를 제공받고 복호화 장치에서 해당 블록에 대한 디블록킹 필터링을 수행할 수 있다. Information on whether a deblocking filter has been applied to a corresponding block or picture, and when a deblocking filter is applied, information on whether a strong filter or a weak filter is applied may be provided from the encoding apparatus. In the deblocking filter of the decoding apparatus, information related to the deblocking filter provided by the encoding apparatus may be provided, and the decoding apparatus may perform deblocking filtering on a corresponding block.

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

ALF(adaptive loop filter)는 필터링을 수행 후 복원된 영상과 원래의 영상을 비교한 값을 기초로 필터링을 수행할 수 있다. 부호화 장치로부터 제공된 ALF 적용 여부 정보, ALF 계수 정보 등을 기초로 부호화 단위에 ALF를 적용할 수 있다. 이러한 ALF 정보는 특정한 파라메터 셋에 포함되어 제공될 수 있다.The adaptive loop filter (ALF) may perform filtering based on a value obtained by comparing the reconstructed image and the original image after filtering is performed. The ALF may be applied to a coding unit based on information on whether to apply ALF and information on ALF coefficients provided from the encoding device. Such ALF information may be included in a specific parameter set and provided.

메모리(270, 271)는 복원된 픽쳐 또는 블록을 저장하여 참조 픽쳐 또는 참조 블록으로 사용할 수 있도록 할 수 있고 또한 복원된 픽쳐를 출력할 수 있다. The memories 270 and 271 may store the reconstructed picture or block so that it can be used as a reference picture or a reference block, and output the reconstructed picture.

부호화 장치 및 복호화 장치는 두 개의 레이어가 아닌 세 개 이상의 레이어에 대한 인코딩을 수행할 수 있으며, 이 경우 상위 레이어에 대한 부호화부 및 상위 레이어에 대한 복호화부는 상위 레이어의 개수에 대응하여 복 수 개로 마련될 수 있다.The encoding device and the decoding device may perform encoding on three or more layers instead of two layers, and in this case, the encoder for the upper layer and the decoder for the upper layer are provided in multiple numbers corresponding to the number of upper layers. Can be.

이하, 본 발명의 실시예에서는 설명의 편의상 코딩 유닛(Coding Unit)을 부호화 블록이라는 용어로 사용하지만, 부호화뿐만 아니라 복호화를 수행하는 블록이 될 수도 있다. 이하, 본 발명의 실시예에 따른 도면을 참조하여 설명하는 참조 픽쳐 리스트 생성 방법은 도 1 및 도 2에서 전술한 각 모듈의 기능에서 맞게 구현될 수 있고 이러한 부호화 장치 및 복호화 장치는 본 발명의 권리 범위에 포함된다.
Hereinafter, in an embodiment of the present invention, for convenience of description, a coding unit is used as a term of a coding block, but it may be a block that performs not only encoding but also decoding. Hereinafter, a method for generating a reference picture list described with reference to the drawings according to an embodiment of the present invention may be implemented according to the functions of each module described above in FIGS. 1 and 2, and such an encoding device and a decoding device are Included in the scope.

상술한 바와 같이, 멀티 레이어 구조를 지원하는 영상의 코딩에서는 베이스 레이어의 모션 정보와 텍스쳐 정보를 이용하여, 인핸스먼트 레이어를 부호화/복호화 하는 방법과 베이스 레이어의 코딩 유닛(Coding unit(CU)), 또는 예측 유닛(Prediction unit(PU)) 단위의 복호화 방법을 변경하지 않고, 업샘플링(up-sampling)한 베이스 레이어를 참조 픽쳐로 사용하여 부호화/복호화 하는 방법이 존재한다. 후자의 방식은 참조 픽쳐 인덱스(RefIdx) 모드로 표현될 수 있다. As described above, in coding an image supporting a multi-layer structure, a method of encoding/decoding an enhancement layer using motion information and texture information of the base layer, and a coding unit (CU) of the base layer, Alternatively, there is a method of encoding/decoding using an up-sampled base layer as a reference picture without changing a decoding method in units of prediction units (PU). The latter method may be expressed in a reference picture index (RefIdx) mode.

참조 픽쳐 인덱스(RefIdx) 모드를 이용할 경우, 인핸스먼트 레이어에서 이미 디코딩 된 픽쳐를 참조 픽쳐로 사용하거나, 베이스 레이어 또는 하위 레이어의 영상을 업샘플링해서 참조 픽쳐로 사용할 수 있게 된다. When the reference picture index (RefIdx) mode is used, a picture already decoded in the enhancement layer can be used as a reference picture, or an image of a base layer or a lower layer can be upsampled to be used as a reference picture.

이하, 본 발명에서는 베이스 레이어 또는 하위 레이어의 영상을 업샘플링해서 참조 픽쳐로 사용하는 경우, 업샘플링한 베이스 레이어 또는 하위 레이어 영상을 인터 레이어 레퍼런스 픽쳐(inter-layer reference picture)라고 표현한다. Hereinafter, in the present invention, when an image of a base layer or a lower layer is upsampled and used as a reference picture, the upsampled base layer or lower layer image is expressed as an inter-layer reference picture.

멀티 시점에 대한 멀티 레이어 구조를 지원하는 영상에서도 현재 레이어 이외의 다른 시점에 대한 레이어를 참조 픽쳐로 사용하여 인터 예측을 수행할 수 있는데, 해당 레이어의 부호화 및 복호화에 참조되는 다른 시점의 레이어도 인터레이어 레퍼런스 픽쳐라고 표현될 수 있다. Even in an image that supports a multi-layer structure for multi-views, inter prediction can be performed by using a layer for a view other than the current layer as a reference picture. Layers of other views referenced for encoding and decoding of the corresponding layer are also inter-predictioned. It may be expressed as a layer reference picture.

즉, 단일 레이어가 아닌 스케일러빌러티가 지원되는 멀티 레이어 구조인 영상의 코딩을 위하여 인핸스먼트 레이어의 참조 픽쳐 세트를 구성할 때는 인터 레이어 레퍼런스 픽쳐도 고려해야 한다.
That is, when constructing a reference picture set of an enhancement layer for coding an image having a multi-layer structure supporting scalability rather than a single layer, an inter-layer reference picture must also be considered.

통상적으로 인터 예측은 현재 픽쳐의 이전 픽쳐 또는 이후 픽쳐 중 적어도 하나를 참조 픽쳐로 하고, 참조 픽쳐를 기반으로 현재 블록에 대한 예측을 수행할 수 있다. 현재 블록의 예측에 이용되는 영상을 참조 픽쳐(reference picture) 또는 참조 프레임(reference frame)이라고 한다. In general, inter prediction may use at least one of a previous picture or a subsequent picture of the current picture as a reference picture, and prediction on a current block may be performed based on the reference picture. An image used for prediction of the current block is called a reference picture or a reference frame.

참조 픽쳐는 참조 픽쳐 인덱스(refIdx)에 의하여 특정되고, 움직임 벡터(motion vector)를 통하여 참조 픽쳐 내의 소정 영역이 참조 블록으로 특정된다. The reference picture is specified by a reference picture index (refIdx), and a predetermined region in the reference picture is specified as a reference block through a motion vector.

인터 예측은 참조 픽쳐 및 참조 픽쳐 내에서 현재 블록에 대응하는 참조 블록을 선택해서, 현재 블록에 대한 예측 블록을 생성할 수 있다. Inter prediction can generate a prediction block for the current block by selecting a reference picture and a reference block corresponding to the current block from within the reference picture.

화면 간 예측에서 부호화 장치 및 복호화 장치는 현재 블록의 움직임 정보를 도출한 후, 도출된 움직임 정보에 기반하여 화면 간 예측 및/또는 움직임 보상을 수행할 수 있다. 이 때, 부호화 장치 및 복호화 장치는 복원된 주변 블록(neighboring block) 및/또는 이미 복원된 콜(col) 픽쳐(collocated picture) 내에서 현재 블록에 대응되는 콜(col) 블록(collocated block)의 움직임 정보를 이용함으로써, 부호화/복호화 효율을 향상시킬 수 있다. In inter prediction, the encoding apparatus and the decoding apparatus may derive motion information of a current block and then perform inter prediction and/or motion compensation based on the derived motion information. In this case, the encoding apparatus and the decoding apparatus move a collocated block corresponding to the current block within the reconstructed neighboring block and/or the already reconstructed collocated picture. By using the information, it is possible to improve the encoding/decoding efficiency.

여기서, 복원된 주변 블록은 이미 부호화 및/또는 복호화되어 복원된 현재 픽쳐 내의 블록으로서, 현재 블록에 인접한 블록 및/또는 현재 블록의 외부 코너에 위치한 블록을 포함할 수 있다. 또한 부호화 장치 및 복호화 장치는, 콜 픽쳐 내에서 현재 블록과 공간적으로 대응되는 위치에 존재하는 블록을 기준으로 소정의 상대적인 위치를 결정할 수 있고, 상기 결정된 소정의 상대적인 위치(상기 현재 블록과 공간적으로 대응되는 위치에 존재하는 블록의 내부 및/또는 외부의 위치)를 기반으로 상기 콜 블록을 도출할 수 있다. 여기서, 일례로 콜 픽쳐는 참조 픽쳐 리스트에 포함된 참조 픽쳐 중에서 하나의 픽쳐에 해당될 수 있다.Here, the reconstructed neighboring block is a block in the current picture that has already been encoded and/or decoded and reconstructed, and may include a block adjacent to the current block and/or a block located at an outer corner of the current block. In addition, the encoding device and the decoding device may determine a predetermined relative position based on a block existing at a position spatially corresponding to the current block in the collocated picture, and the determined relative position (spatially corresponding to the current block The call block may be derived based on a location inside and/or outside of a block existing at a location where the call is made. Here, as an example, the collocated picture may correspond to one picture from among the reference pictures included in the reference picture list.

인터 예측은 현재 블록과의 레지듀얼(residual) 신호가 최소화되며 움직임 벡터 크기 역시 최소가 되도록 예측 블록을 생성할 수 있다.In the inter prediction, a prediction block may be generated such that a residual signal with a current block is minimized and a motion vector size is also minimized.

한편, 움직임 정보 도출 방식은 현재 블록의 예측 모드에 따라 달라질 수 있다. 인터 예측을 위해 적용되는 예측 모드에는 AMVP(Advanced Motion Vector Predictor), 머지(merge) 등이 있을 수 있다.Meanwhile, the motion information derivation method may vary according to the prediction mode of the current block. Prediction modes applied for inter prediction may include Advanced Motion Vector Predictor (AMVP), merge, and the like.

일례로, AMVP(Advanced Motion Vector Predictor)가 적용되는 경우, 부호화 장치 및 복호화 장치는 복원된 주변 블록의 움직임 벡터 및/또는 콜 블록의 움직임 벡터를 이용하여, 움직임 벡터 후보 리스트를 생성할 수 있다. 즉, 복원된 주변 블록의 움직임 벡터 및/또는 콜 블록의 움직임 벡터는 움직임 벡터 후보로 사용될 수 있다. 부호화 장치는 상기 리스트에 포함된 움직임 벡터 후보 중에서 선택된 최적의 움직임 벡터를 지시하는 예측 움직임 벡터 인덱스를 복호화 장치로 전송할 수 있다. 이 때, 복호화 장치는 상기 움직임 벡터 인덱스를 이용하여, 움직임 벡터 후보 리스트에 포함된 움직임 벡터 후보 중에서, 현재 블록의 예측 움직임 벡터를 선택할 수 있다.For example, when AMVP (Advanced Motion Vector Predictor) is applied, the encoding device and the decoding device may generate a motion vector candidate list using a motion vector of a reconstructed neighboring block and/or a motion vector of a collocated block. That is, a motion vector of a reconstructed neighboring block and/or a motion vector of a collocated block may be used as a motion vector candidate. The encoding apparatus may transmit a predicted motion vector index indicating an optimal motion vector selected from among the motion vector candidates included in the list to the decoding apparatus. In this case, the decoding apparatus may select a predicted motion vector of the current block from among motion vector candidates included in the motion vector candidate list using the motion vector index.

부호화 장치는 현재 블록의 움직임 벡터와 예측 움직임 벡터 간의 움직임 벡터 차분(MVD: Motion Vector Difference)을 구할 수 있고, 이를 부호화하여 복호화 장치로 전송할 수 있다. 이 때, 복호화 장치는 수신된 움직임 벡터 차분을 복호화할 수 있고, 복호화된 움직임 벡터 차분과 예측 움직임 벡터의 합을 통해 현재 블록의 움직임 벡터를 도출할 수 있다.The encoding apparatus may obtain a motion vector difference (MVD) between the motion vector of the current block and the predicted motion vector, encode the motion vector, and transmit it to the decoding apparatus. In this case, the decoding apparatus may decode the received motion vector difference, and may derive a motion vector of the current block through the sum of the decoded motion vector difference and the predicted motion vector.

부호화 장치는 또한 참조 픽쳐를 지시하는 참조 픽쳐 인덱스 등을 복호화 장치에 전송할 수 있다. The encoding apparatus may also transmit a reference picture index indicating a reference picture to the decoding apparatus.

복호화 장치는 주변 블록의 움직임 정보들을 이용하여 현재 블록의 움직임 벡터를 예측하고, 부호화 장치로부터 수신한 레지듀얼을 이용하여 현재 블록에 대한 움직임 벡터를 유도할 수 있다. 복호화 장치는 유도한 움직임 벡터와 부호화 장치로부터 수신한 참조 픽쳐 인덱스 정보를 기반으로 현재 블록에 대한 예측 블록을 생성할 수 있다.The decoding apparatus may predict a motion vector of a current block using motion information of a neighboring block, and derive a motion vector for the current block using a residual received from the encoding apparatus. The decoding apparatus may generate a prediction block for the current block based on the derived motion vector and reference picture index information received from the encoding apparatus.

다른 예로, 머지(merge)가 적용되는 경우, 부호화 장치 및 복호화 장치는 복원된 주변 블록의 움직임 정보 및/또는 콜 블록의 움직임 정보를 이용하여, 머지 후보 리스트를 생성할 수 있다. 즉, 부호화 장치 및 복호화 장치는 복원된 주변 블록 및/또는 콜 블록의 움직임 정보가 존재하는 경우, 이를 현재 블록에 대한 머지 후보로 사용할 수 있다. As another example, when merge is applied, the encoding apparatus and the decoding apparatus may generate a merge candidate list by using motion information of a reconstructed neighboring block and/or motion information of a collocated block. That is, the encoding apparatus and the decoding apparatus may use the reconstructed neighboring block and/or the collocated block motion information as a merge candidate for the current block when there is motion information.

부호화 장치는 머지 후보 리스트에 포함된 머지 후보 중에서 최적의 부호화 효율을 제공할 수 있는 머지 후보를 현재 블록에 대한 움직임 정보로 선택할 수 있다. 이 때, 상기 선택된 머지 후보를 지시하는 머지 인덱스가 비트스트림에 포함되어 복호화 장치로 전송될 수 있다. 복호화 장치는 상기 전송된 머지 인덱스를 이용하여, 머지 후보 리스트에 포함된 머지 후보 중에서 하나를 선택할 수 있으며, 상기 선택된 머지 후보를 현재 블록의 움직임 정보로 결정할 수 있다. 따라서, 머지 모드가 적용되는 경우, 복원된 주변 블록 및/또는 콜 블록의 움직임 정보가 현재 블록의 움직임 정보로 그대로 사용될 수 있다. 복호화 장치는 예측 블록과 부호화 장치로부터 전송되는 레지듀얼을 더하여 현재 블록을 복원할 수 있다.The encoding apparatus may select a merge candidate capable of providing optimal encoding efficiency among merge candidates included in the merge candidate list as motion information for the current block. In this case, a merge index indicating the selected merge candidate may be included in the bitstream and transmitted to the decoding apparatus. The decoding apparatus may select one of merge candidates included in a merge candidate list by using the transmitted merge index, and determine the selected merge candidate as motion information of the current block. Accordingly, when the merge mode is applied, motion information of a reconstructed neighboring block and/or a collocated block may be used as it is as motion information of the current block. The decoding apparatus may reconstruct the current block by adding the prediction block and the residual transmitted from the encoding apparatus.

상술한 AMVP 및 머지 모드에서는, 현재 블록의 움직임 정보를 도출하기 위해, 복원된 주변 블록의 움직임 정보 및/또는 콜 블록의 움직임 정보가 사용될 수 있다.In the above-described AMVP and merge modes, motion information of a reconstructed neighboring block and/or motion information of a collocated block may be used to derive motion information of a current block.

화면 간 예측에 이용되는 다른 모드 중 하나 인 스킵 모드의 경우에, 주변 블록의 정보를 그대로 현재 블록에 이용할 수 있다. 따라서 스킵 모드의 경우에, 부호화 장치는 현재 블록의 움직임 정보로서 어떤 블록의 움직임 정보를 이용할 것인지를 지시하는 정보 외에 레지듀얼 등과 같은 신택스 정보를 복호화 장치에 전송하지 않는다. In the case of the skip mode, which is one of the other modes used for inter prediction, information of neighboring blocks may be used as it is for the current block. Accordingly, in the case of the skip mode, the encoding apparatus does not transmit syntax information such as residual to the decoding apparatus other than information indicating which block motion information is to be used as motion information of the current block.

부호화 장치 및 복호화 장치는 상기 도출된 움직임 정보에 기반하여 현재 블록에 대한 움직임 보상을 수행함으로써, 현재 블록의 예측 블록을 생성할 수 있다. 여기서, 예측 블록은 현재 블록에 대한 움직임 보상 수행 결과 생성된, 움직임 보상된 블록을 의미할 수 있다. 또한, 복수의 움직임 보상된 블록은 하나의 움직임 보상된 영상을 구성할 수 있다.The encoding apparatus and the decoding apparatus may generate a prediction block of the current block by performing motion compensation on the current block based on the derived motion information. Here, the prediction block may mean a motion-compensated block generated as a result of performing motion compensation on the current block. In addition, a plurality of motion-compensated blocks may constitute one motion-compensated image.

복호화 장치는 현재 블록의 인터 예측에 필요한 움직임 정보, 예컨대 움직임 벡터, 참조 픽쳐 인덱스 등에 관한 정보를 부호화 장치로부터 수신한 스킵 플래그, 머지 플래그 등을 확인하고 이에 대응하여 유도할 수 있다. The decoding apparatus may check the skip flag, merge flag, etc. received from the encoding apparatus for motion information necessary for inter prediction of the current block, such as motion vector and reference picture index, and derive correspondingly thereto.

예측이 수행되는 처리 단위와 예측 방법 및 구체적인 내용이 정해지는 처리 단위는 서로 다를 수 있다. 예컨대, 예측 블록 단위로 예측모드가 정해져서 변환 블록 단위로 예측이 수행될 수도 있고, 예측 블록 단위로 예측 모드가 정해지고 변환 블록 단위로 화면 내 예측이 수행될 수 도 있다.A processing unit in which prediction is performed and a processing unit in which a prediction method and specific content are determined may be different. For example, a prediction mode may be determined in units of prediction blocks, and prediction may be performed in units of transform blocks, or a prediction mode may be determined in units of prediction blocks, and intra prediction may be performed in units of transform blocks.

현재 픽쳐보다 이전에 인코딩/디코딩된 픽쳐들은 메모리(예컨대, Decoded Picture Buffer: DPB)에 저장되어 현재 블록(현재 픽쳐)의 예측에 이용될 수 있다. 현재 블록의 인터 예측에 이용 가능한 픽쳐들의 리스트는 참조 픽쳐 리스트로 유지된다. Pictures encoded/decoded before the current picture may be stored in a memory (eg, Decoded Picture Buffer: DPB) and used for prediction of a current block (current picture). The list of pictures available for inter prediction of the current block is maintained as a reference picture list.

P 슬라이스는 인트라 예측 또는 최대 하나의 움직임 벡터와 하나의 참조 픽쳐를 이용하는 인터 예측을 통해 디코딩되는 슬라이스이다. B 슬라이스는 인트라 예측 또는 최대 두 개의 움직임 벡터와 두 개의 참조 픽쳐를 이용하는 인터 예측을 통해 디코딩되는 슬라이스이다. 이때, 참조 픽쳐는 단기 참조 픽쳐(short term reference picture)와 장기 참조 픽쳐(long term reference picture)를 포함한다. 픽쳐는 표시 순서를 나타내는 POC(Picture Order Count)로 특정될 수 있으며, 단기 참조 픽쳐들은 현재 픽쳐와 POC 차이가 크지 않은 픽쳐들 일 수 있고, 장기 참조 픽쳐들은 현재 픽쳐와 POC 차이가 큰 픽쳐들 일 수 있다.The P slice is a slice that is decoded through intra prediction or inter prediction using at most one motion vector and one reference picture. The B slice is a slice that is decoded through intra prediction or inter prediction using up to two motion vectors and two reference pictures. In this case, the reference picture includes a short term reference picture and a long term reference picture. A picture may be specified as a POC (Picture Order Count) indicating a display order, short-term reference pictures may be pictures with a small difference in POC from the current picture, and long-term reference pictures are pictures having a large difference in POC from the current picture. I can.

참조 픽쳐 리스트 0 (reference picture list 0, 이하 설명의 편의를 위해 ‘L0’이라 함)는 P 슬라이스 또는 B 슬라이스의 인터 예측에 이용되는 참조 픽쳐 리스트이다. 참조 픽쳐 리스트 1 (reference picture list 1, 이하 설명의 편의를 위해 ‘L1’이라 함)은 B 슬라이스의 인터 예측을 위해 이용된다. 따라서, 단방향 예측을 수행하는 P 슬라이스의 블록에 대한 인터 예측에는 L0이 이용되며, 양방향 예측을 수행하는 B 슬라이스의 블록에 대한 인터 예측에는 L0과 L1이 이용된다. Reference picture list 0 (reference picture list 0, referred to as'L0' for convenience of description below) is a reference picture list used for inter prediction of a P slice or a B slice. Reference picture list 1 (referred to as'L1' for convenience of description below) is used for inter prediction of B slices. Accordingly, L0 is used for inter prediction of a block of P slice performing unidirectional prediction, and L0 and L1 are used for inter prediction of a block of B slice performing bidirectional prediction.

복호화 장치는 인터 예측을 통해 P 슬라이스와 B 슬라이스에 대한 디코딩을 수행하는 경우에, 참조 픽쳐 리스트를 구성(construct)한다. 인터 예측에 이용되는 참조 픽쳐는 참조 픽쳐 리스트를 통해 지정된다. 참조 픽쳐 인덱스는 참조 픽쳐 리스트 상의 참조 픽쳐를 지시하는 인덱스이다.When decoding a P slice and a B slice through inter prediction, the decoding apparatus constructs a reference picture list. A reference picture used for inter prediction is designated through a reference picture list. The reference picture index is an index indicating a reference picture on the reference picture list.

참조 픽쳐 리스트는 부호화 장치로부터 전송되는 참조 픽쳐 세트(reference picture set)을 기반으로 구성될 수 있다. 참조 픽쳐 세트는 참조 픽쳐로 사용되는 픽쳐의 POC와 해당 픽쳐가 직접적으로 참조되는지 여부를 알려주는 플래그(used_by_curr_pic_s0_flag)로 구성될 수 있다. 참조 픽쳐 리스트를 구성하는 참조 픽쳐들은 메모리(예컨대, DPB)에 저장될 수 있다. 메모리에 저장되는 픽쳐들(현재 픽쳐 이전에 인코딩/디코딩된 픽쳐들)은 부호화 장치와 복호화 장치에 의해 관리된다.
The reference picture list may be configured based on a reference picture set transmitted from an encoding device. The reference picture set may include a POC of a picture used as a reference picture and a flag (used_by_curr_pic_s0_flag) indicating whether the picture is directly referenced. Reference pictures constituting the reference picture list may be stored in a memory (eg, DPB). Pictures stored in the memory (pictures encoded/decoded before the current picture) are managed by an encoding device and a decoding device.

도 3은 단기 참조 픽쳐를 포함하는 참조 픽쳐 세트에 대한 일 예를 도시한 개념도이다. 3 is a conceptual diagram illustrating an example of a reference picture set including a short-term reference picture.

도시된 바와 같이, 참조 픽쳐 세트(RPS)는 각 픽쳐에 대하여 현재 시점에서 DPB에 저장해야 하는 단기 참조 픽쳐에 대한 픽쳐의 POC와, 현재 픽쳐에서 특정 픽쳐를 직접적으로 참조하는 지 여부를 알려주는 플래그 정보로 구성될 수 있다. As shown, the reference picture set (RPS) is a POC of a picture for a short-term reference picture to be stored in the DPB at the current time point for each picture, and a flag indicating whether or not a specific picture is directly referenced in the current picture. It can be composed of information.

예를 들어, POC가 21인 픽쳐의 인터 예측 시 단기 참조 픽쳐로 모두 3개의 픽쳐(POC가 20, 19, 16인 픽쳐)가 참조될 수 있고, 세 개의 픽쳐 모두는 used_by_curr_pic_s0_flag 값이 1이기 때문에 POC가 21인 픽쳐의 예측에 모두 직접적으로 사용된다. For example, when inter prediction of a picture with a POC of 21, all three pictures (pictures with a POC of 20, 19, and 16) can be referenced as short-term reference pictures, and all three pictures have a used_by_curr_pic_s0_flag value of 1, so the POC They are all directly used for prediction of pictures with 21.

한편, POC가 26인 픽쳐의 인터 예측 시 단기 참조 픽쳐로 모두 3개의 픽쳐(POC가 25, 24, 20)가 참조될 수 있지만, POC가 25인 픽쳐의 used_by_curr_pic_s0_flag 값은 POC가 24 및 20인 픽쳐의 used_by_curr_pic_s0_flag 값과 달리 0이다. 이 경우, POC가 25인 픽쳐는 POC가 26인 픽쳐의 화면 간 예측에 직접적으로 사용되지 않는다. Meanwhile, when inter prediction of a picture with a POC of 26, all three pictures (POCs of 25, 24, and 20) may be referenced as short-term reference pictures, but the used_by_curr_pic_s0_flag value of a picture with a POC of 25 is a picture with a POC of 24 and 20. Unlike the value of used_by_curr_pic_s0_flag, it is 0. In this case, a picture with a POC of 25 is not directly used for inter prediction of a picture with a POC of 26.

현재 픽쳐에서 참조 픽쳐 세트에 나타나 있지 않은 픽쳐는 참조 픽쳐로 사용하지 않는다는 표시(unused for reference)를 한 후, DPB에서 제거 될 수 있다.
A picture not shown in the reference picture set in the current picture may be removed from the DPB after an indication that it is not used as a reference picture (unused for reference).

도 4는 장기 참조 픽쳐의 POC를 유도하는 방법을 설명하기 위한 개념도이다.4 is a conceptual diagram illustrating a method of inducing a POC of a long-term reference picture.

도시된 바와 같이, 장기 참조 픽쳐의 경우에는 현재 픽쳐와 POC 차이가 크기 때문에 POC의 최하위 비트(least significant bit, LSB)와 최상위 비트(most significant bit, MSB)를 이용하여 표현할 수 있다. As shown, in the case of a long-term reference picture, since the difference between the current picture and the POC is large, it can be expressed using the least significant bit (LSB) and the most significant bit (MSB) of the POC.

MaxPocLsb는 LSB로 표현 가능한 최대 값을 의미하는데 MaxPocLsb가 32인 경우, POC가 84인 장기 참조 픽쳐(LTRF)는 32*2+20으로 표현할 수 있고, 이때 LSB는 20이고, MSB는 2이 된다. MaxPocLsb means the maximum value that can be expressed in LSB. When MaxPocLsb is 32, a long-term reference picture (LTRF) with a POC of 84 can be expressed as 32*2+20, where LSB is 20 and MSB is 2.

POC가 338인 현재 픽쳐의 경우에는 LSB로 표현 가능한 최대 값이 32인 경우 32*10+11로 표현할 수 있으므로, 10이 MSB 값이 되고 11이 LSB 값이 된다.In the case of the current picture with a POC of 338, it can be expressed as 32*10+11 when the maximum value that can be expressed in LSB is 32, so 10 becomes the MSB value and 11 becomes the LSB value.

delta_poc_msb_cycle_lt는 현재 픽쳐의 장기 참조 픽쳐 세트에서 POC의 MSB인 DeltaPocMsbCycleLt를 결정하기 위한 값이다. DeltaPocMsbCycleLt는 현재 픽쳐의 POC의 MSB와 참조 픽쳐의 POC의 MSB 차이값에 대응할 수 있다.delta_poc_msb_cycle_lt is a value for determining DeltaPocMsbCycleLt, the MSB of POC, in the long-term reference picture set of the current picture. DeltaPocMsbCycleLt may correspond to a difference between the MSB of the POC of the current picture and the MSB of the POC of the reference picture.

장기 참조 픽쳐의 경우, 참조 픽쳐의 POC의 LSB 값, 그리고 현재 픽쳐의 POC의 MSB와 참조 픽쳐의 POC의 MSB 차이를 이용하여 참조 픽쳐의 POC를 유도할 수 있다. In the case of a long-term reference picture, the POC of the reference picture may be derived using the LSB value of the POC of the reference picture and the MSB of the POC of the current picture and the POC of the reference picture.

예를 들어, 현재 픽쳐의 POC가 331이고, 0으로 인덱스된 POC가 308인 장기 참조 픽쳐 (LTRP[0])는 LSB 값 20, 현재 픽쳐의 POC의 MSB와 참조 픽쳐의 POC의 MSB 차이값 인 1을 이용하면 331-1*32-11+20으로 표현될 수 있다. For example, a long-term reference picture (LTRP[0]) with a POC of 331 of the current picture and a POC of 308 indexed with 0 has an LSB value of 20, which is the difference between the MSB of the POC of the current picture and the POC of the reference picture. If you use 1, it can be expressed as 331-1*32-11+20.

유사하게 1으로 인덱스된 POC가 170인 장기 참조 픽쳐 (LTRP[1])는 LSB 값 10, 현재 픽쳐의 POC의 MSB와 참조 픽쳐의 POC의 MSB 차이값 인 5을 이용하면 331-5*32-11+10으로 표현될 수 있다.
Similarly, a long-term reference picture (LTRP[1]) with a POC of 170 indexed by 1 uses an LSB value of 10, and the MSB difference between the MSB of the current picture's POC and the reference picture's POC of 5, 331-5*32- It can be expressed as 11+10.

도 3 및 도 4와 같이, 단기 참조 픽쳐 버퍼 및 장기 참조 픽쳐 버퍼에 존재하는 픽쳐들의 리스트를 가지고 현재 픽쳐가 참조할 수 있는 초기 참조 픽쳐 리스트를 구성할 수 있다. As shown in FIGS. 3 and 4, an initial reference picture list that can be referenced by a current picture may be constructed with a list of pictures existing in the short-term reference picture buffer and the long-term reference picture buffer.

도 5는 참조 픽쳐 리스트를 구성하는 일 예를 도시한 도면이다. 5 is a diagram illustrating an example of configuring a reference picture list.

참조 픽쳐들은 현재 픽쳐를 기준으로 현재 픽쳐(Curr)의 POC보다 작은 참조 픽쳐들(Ref 1, Ref 2)로 구성되는 제 1 단기 참조 픽쳐 세트(RefPicSetStCurr0)와 현재 픽쳐의 POC보다 큰 참조 픽쳐들(Ref 3, Ref 4)로 구성되는 제2 단기 참조 픽쳐 세트(RefPicSetStCurr1) 및 장기 참조 픽쳐들(Ref LT1, Ref LT2)로 구성되는 장기 참조 픽쳐 세트(RefPicSetLtCurr)로 분류될 수 있다. The reference pictures are a first short-term reference picture set (RefPicSetStCurr0) composed of reference pictures (Ref 1, Ref 2) smaller than the POC of the current picture (Curr) based on the current picture, and reference pictures larger than the POC of the current picture ( It may be classified into a second short-term reference picture set (RefPicSetStCurr1) composed of Ref 3 and Ref 4) and a long-term reference picture set (RefPicSetLtCurr) composed of long-term reference pictures Ref LT1 and Ref LT2.

이 때, 제 1 단기 참조 픽쳐 세트(RefPicSetStCurr0)는 used_by_curr_pic_s0_flag 값이 1인 픽쳐들로 구성되고(delta_poc_s0 with used_by_curr_pic_s0_flag=1), 제 2 단기 참조 픽쳐 세트 (RefPicSetStCurr1) 역시 used_by_curr_pic_s1_flag 값이 1인 픽쳐들로 구성된다(delta_poc_s1 with used_by_curr_pic_s1_flag=1).In this case, the first short-term reference picture set (RefPicSetStCurr0) is composed of pictures with a used_by_curr_pic_s0_flag value of 1 (delta_poc_s0 with used_by_curr_pic_s0_flag=1), and the second short-term reference picture set (RefPicSetStCurr1 with a value of 1 used_by_curr_pics is also used_pics_flag1). Becomes (delta_poc_s1 with used_by_curr_pic_s1_flag=1).

이렇게 성질을 달리하는 참조 픽쳐 세트들의 집합으로 초기 참조 픽쳐 리스트가 구성될수 있다. An initial reference picture list may be constructed from a set of reference picture sets having different properties.

참조 픽쳐 리스트 0, 즉 L0은 도 5에 도시된 바와 같이, 제 1 단기 참조 픽쳐 세트(RefPicSetStCurr0), 제 2 단기 참조 픽쳐 세트(RefPicSetStCurr1) 및 장기 참조 픽쳐 세트(RefPicSetLtCurr) 순으로 구성된다. Reference picture list 0, i.e., L0, is composed of a first short-term reference picture set (RefPicSetStCurr0), a second short-term reference picture set (RefPicSetStCurr1), and a long-term reference picture set (RefPicSetLtCurr) in this order, as shown in FIG.

한편, 참조 픽쳐 리스트 1, 즉 L1은, 제 2 단기 참조 픽쳐 세트(RefPicSetStCurr1), 제 1 단기 참조 픽쳐 세트(RefPicSetStCurr0) 및 장기 참조 픽쳐 세트(RefPicSetLtCurr) 순으로 구성된다. On the other hand, reference picture list 1, that is, L1, is configured in the order of a second short-term reference picture set (RefPicSetStCurr1), a first short-term reference picture set (RefPicSetStCurr0), and a long-term reference picture set (RefPicSetLtCurr).

참조 픽쳐 리스트에 포함될 수 있는 참조 픽쳐의 개수는 부호화 장치로부터 전송되는 정보에 기반하여 결정될 수 있다. 예컨대, 부호화 장치는 참조 픽쳐 리스트를 구성한 후, 사용할 참조 픽쳐들의 개수를 결정하고, 사용할 참조 픽초들의 개수에 관한 정보(예컨대, num_ref_idx_lX_default_active_minus1, X=0 또는 1)를 시퀀스 파라미터 세트(Sequence Parameter Set: SPS)의 구문 요소로서 복호화 장치에 전송할 수 있다. 복호화 장치는 수신한 num_ref_idx_lX_default_active_minus1 에 1을 더한 값으로 특정되는 참조 픽쳐들의 개수를 현재 시퀀스 내에서 디폴트 값으로 사용될 수 있다.The number of reference pictures that may be included in the reference picture list may be determined based on information transmitted from the encoding device. For example, after configuring a reference picture list, the encoding apparatus determines the number of reference pictures to be used, and sets information on the number of reference pictures to be used (e.g., num_ref_idx_lX_default_active_minus1, X=0 or 1) as a sequence parameter set (SPS). ), which can be transmitted to the decoding device. The decoding apparatus may use the number of reference pictures specified as a value obtained by adding 1 to the received num_ref_idx_lX_default_active_minus1 as a default value in the current sequence.

또한, 부호화 장치는 픽쳐 또는 슬라이스별로 참조 픽쳐들의 개수를 지정하고자 하는 경우에 참조 픽쳐들의 개수를 지시하는 별도의 정보(예컨대, num_ref_idx_l1_active_minus1, X=0 또는 1)를 픽쳐 파라미터 세트(Picture Parameter Set: PPS) 또는 슬라이스 헤더 등을 통해서 전송할 수 있다. 복호화 장치는 수신한 num_ref_idx_l1_active_minus1 에 1을 더한 값으로 특정되는 값을 현재 픽쳐 또는 현재 슬라이스에 대한 참조 픽쳐들의 개수로서 적용할 수 있다.In addition, in the case of designating the number of reference pictures for each picture or slice, the encoding apparatus uses separate information indicating the number of reference pictures (e.g., num_ref_idx_l1_active_minus1, X=0 or 1) as a picture parameter set (PPS). ) Or through a slice header. The decoding apparatus may apply a value specified as a value obtained by adding 1 to the received num_ref_idx_l1_active_minus1 as the number of reference pictures for the current picture or the current slice.

인터 예측 수행 시, 상기와 같이 구성된 참조 픽쳐 리스트 내 특정된 참조 픽쳐를 이용하여 움직임 보상이 수행될 수 있다.
When performing inter prediction, motion compensation may be performed using a specified reference picture in the reference picture list configured as described above.

공간적 스케일러빌러티 또는 다시점 스케일러빌러티를 제공하는 멀티 레이어 구조에서 인핸스먼트 레이어의 참조 픽쳐는 같은 레이어 상의 참조 픽쳐들과 인터 레이어 참조 픽쳐로 구성될 수 있다. In a multi-layer structure providing spatial scalability or multi-view scalability, a reference picture of an enhancement layer may be composed of reference pictures on the same layer and an inter-layer reference picture.

이 경우, 인터 레이어 참조 픽쳐에 대한 시그널링은 레이어를 식별하는 정보와 참조 픽쳐를 식별하는 정보를 통하여 수행될 수 있다. 예컨대, i 번째 레이어의 현재 픽쳐와 동일한 억세스 유닛(access usnit) 내에 존재하고, NAL(Network Abstraction Layer) 유닛 헤더에 포함되어 전송되는 j 번째 레이어 식별자(i는 j보다 큼)인 nuh_layer_id 값이 현재 픽쳐에 대한 RefPiclayerId 값과 동일하면, 해당 픽쳐는 현재 픽쳐에 대한 참조 픽쳐로 사용되는 것으로 판단할 수 있다. 인터 레이어 참조 픽쳐는 장기 참조 픽쳐로 표시할 수 있다. In this case, signaling for the inter-layer reference picture may be performed through information identifying a layer and information identifying a reference picture. For example, the value of nuh_layer_id, which is the j-th layer identifier (i is greater than j), which exists in the same access unit as the current picture of the i-th layer and is transmitted by being included in the NAL (Network Abstraction Layer) unit header, is the current picture. If it is the same as the RefPiclayerId value for, it may be determined that the corresponding picture is used as a reference picture for the current picture. The inter-layer reference picture can be displayed as a long-term reference picture.

RefPicLayerId는 슬라이스 헤더에 포함되는 구문요소 inter_layer_pred_layer_idc로 시그널링 될 수 있는 값으로 현재 레이어가 인터 레이어 예측에 참조하는 레이어를 의미한다.RefPicLayerId is a value that can be signaled by the syntax element inter_layer_pred_layer_idc included in the slice header, and refers to a layer that the current layer refers to for inter-layer prediction.

도 6은 본 발명의 일 예에 따라 인터 레이어 참조 픽쳐 리스트를 구성하는 일 예를 도시한 개념도이다. 6 is a conceptual diagram illustrating an example of configuring an inter-layer reference picture list according to an example of the present invention.

도 6과 같이 멀티 레이어 구조의 영상에서 초기 참조 픽쳐 리스트는 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 단기 참조 픽쳐 세트(RefPicSetStCurrBefore[i], 이하, 제1 참조 픽쳐 세트), 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 단기 참조 픽쳐 세트(RefPicSetStCurr After[i], 이하, 제2 참조 픽쳐 세트), 장기 참조 픽쳐 세트 순(RefPicSetLtCurr[i], 이하, 제3 참조 픽쳐 세트) 및 인터 레이어 참조 픽쳐 세트(RefPicSetILCurr[i], 이하, 제4 참조 픽쳐 세트)로 구성될 수 있다. 6, the initial reference picture list in the multi-layered image is a short-term reference picture set (RefPicSetStCurrBefore[i], hereinafter, a first reference picture set) composed of short-term reference pictures having a smaller POC than that of the current picture. A short-term reference picture set (RefPicSetStCurr After[i], hereinafter, a second reference picture set) consisting of short-term reference pictures having a larger POC than the POC, in the order of a long-term reference picture set (RefPicSetLtCurr[i], hereinafter, a third reference picture set), and It may be composed of an inter-layer reference picture set (RefPicSetILCurr[i], hereinafter, a fourth reference picture set).

제4 참조 픽쳐 세트에 포함되는 참조 픽쳐는 공간적 스케일러빌러티를 지원하는 레이어의 픽쳐가 될 수도 있고, 다시점 스케일러빌러티를 지원하는 레이어에 포함되는 픽쳐 또는 깊이 스케일러빌러티나 화질적 스케일러빌터리를 지원하는 레이어의 픽쳐 일 수도 있다. 이때, 공간적 스케일러빌러티와 화질적 스케일러빌터리는 동일한 코덱 구조로 코딩될 수 있다. The reference picture included in the fourth reference picture set may be a picture of a layer supporting spatial scalability, a picture included in a layer supporting multiview scalability, or depth scalability or quality scalability. It may be a picture of a supported layer. In this case, spatial scalability and quality scalability may be coded with the same codec structure.

비트스트림이 둘 이상의 스케일러빌러티를 지원할 경우, 각 스케일러빌러티에 대한 참조 픽쳐는 통합적으로 하나의 참조 픽쳐 세트로 구성될 수 있다. 복수의 스케일러빌러티에 대하여 하나의 참조 픽쳐 세트가 구성되는 경우, 참조 픽쳐 세트에 정렬되는 스케일러빌러티 타입의 순서에 대한 정보는 부호화 장치로부터 복호화 장치로 전송될 수 있다.When a bitstream supports more than one scalability, a reference picture for each scalability may be integrated into one reference picture set. When one reference picture set is configured for a plurality of scalability, information on the order of scalability types arranged in the reference picture set may be transmitted from the encoding device to the decoding device.

한편, 복수의 스케일러빌러티 마다 개별적으로 참조 픽쳐 세트가 구성될 수도 있다. 즉, 현재 픽쳐에 대하여 제1 참조 픽쳐 세트, 제2 참조 픽쳐 세트 및 제3 참조 픽쳐 세트 이외에 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트, 제 5 참조 픽쳐 세트 및 제6 참조 픽쳐 세트 등이 생성될 수 있다. 이러한 인터 레이어 참조 픽쳐 세트는 발생 빈도에 따라 적응적으로 참조 픽쳐 리스트에 추가될 수 있다. 예컨대, 발생 빈도가 높은 참조 픽쳐 세트가 참조 픽쳐 리스트의 낮은 인덱스에 할당될 수 있을 것이다. Meanwhile, a reference picture set may be individually configured for each of a plurality of scalability. That is, in addition to the first reference picture set, the second reference picture set, and the third reference picture set, for the current picture, a fourth reference picture set composed of inter-layer reference pictures, a fifth reference picture set, and a sixth reference picture set are generated. Can be. The inter-layer reference picture set may be adaptively added to the reference picture list according to the frequency of occurrence. For example, a reference picture set with a high occurrence frequency may be allocated to a low index of the reference picture list.

도 6의 초기 참조 픽쳐 리스트는 제1 참조 픽쳐 세트가 리스트의 가장 낮은 순서로 구성되는 L0이다. 이 때 제 4 참조 픽쳐 세트는 초기 참조 픽쳐 리스트 L0의 가장 마지막 순으로 추가될 수 있다. The initial reference picture list of FIG. 6 is L0 in which the first reference picture set is configured in the lowest order of the list. In this case, the fourth reference picture set may be added in the last order of the initial reference picture list L0.

초기 참조 픽쳐 리스트 0은 각 참조 픽쳐 세트에 포함되어 있는 참조 픽쳐 중 참조 픽쳐로 사용되는지 여부를 나타내는 플래그 정보(used_by_curr_pic_flag)가 1인 픽쳐들로 구성된다. 도시된 바와 같이, 각 참조 픽쳐 세트에 포함되어 있는 네 개의 픽쳐들 중 첫 번째 및 두 번째 픽쳐들로만 초기 참조 픽쳐 리스트 0가 구성될 수 있다. The initial reference picture list 0 is composed of pictures in which flag information (used_by_curr_pic_flag) indicating whether or not to be used as a reference picture among reference pictures included in each reference picture set is 1. As illustrated, the initial reference picture list 0 may be configured only with first and second pictures of four pictures included in each reference picture set.

초기 참조 픽쳐 리스트는 픽쳐 또는 슬라이스 별로 변경(modify)될 수 있고, 변경에 따라 참조 픽쳐들이 수정될 수 있다. 초기 참조 픽쳐 리스트는 슬라이스 헤어에 포함되는 구문요소(예컨대, ref_pic_list_modification_flag_l0, list_entry_l0, ref_pic_list_modification_flag_l1, list_entry_l1)에 의하여 변경될 수 있다. The initial reference picture list may be modified for each picture or slice, and reference pictures may be modified according to the change. The initial reference picture list may be changed by syntax elements (eg, ref_pic_list_modification_flag_l0, list_entry_l0, ref_pic_list_modification_flag_l1, list_entry_l1) included in the slice hair.

ref_pic_list_modification_flag_l0 및 ref_pic_list_modification_flag_l1은 명시적으로 참조 픽쳐 리스트 0 및 참조 픽쳐 리스트 1에 부호화 장치로부터 복호화 장치로 전송되는지 여부를 나타내고, 플래그 값이 1이면 참조 픽쳐 리스트는 전송되는 참조 픽쳐 정보를 이용하여 명시적으로 특정되고, 플래그 값이 0이면 참조 픽쳐 리스트는 초기 참조 픽쳐 세트로 묵시적으로(implicit) 유도된다. ref_pic_list_modification_flag_l0 and ref_pic_list_modification_flag_l1 explicitly indicate whether or not the reference picture list 0 and reference picture list 1 are transmitted from the encoding device to the decoding device.If the flag value is 1, the reference picture list is explicitly specified using the transmitted reference picture information. If the flag value is 0, the reference picture list is implicitly derived as an initial reference picture set.

플래그 값이 1인 경우, list_entry_l0은 L0에 관한 참조 픽쳐 리스트를 구성하는 구체적인 엔트리(entry) 정보, 즉 참조 픽쳐의 인덱스를 나타내고, list_entry_l1은 L1에 관한 참조 픽쳐 리스트를 구성하는 구체적인 엔트리 정보를 나타낸다.When the flag value is 1, list_entry_l0 indicates specific entry information constituting the reference picture list for L0, that is, the index of the reference picture, and list_entry_l1 indicates specific entry information constituting the reference picture list for L1.

이러한 변경을 통하여 최종적인 참조 픽쳐 리스트 0은 제1 참조 픽쳐 세트의 첫 번째 및 두 번째 참조 픽쳐(0, 1), 제2 참조 픽쳐 세트의 첫 번째 및 두 번째 참조 픽쳐(0, 1) 및 제4 참조 픽쳐 세트의 첫 번 째 참조 픽쳐(0)로 구성될 수 있다.
Through this change, the final reference picture list 0 is the first and second reference pictures (0, 1) of the first reference picture set, the first and second reference pictures (0, 1) of the second reference picture set, and the second reference picture set. It may consist of the first reference picture (0) of the 4 reference picture set.

본 발명의 다른 예에 따르면 참조 픽쳐 리스트를 구성할 때 인터 레이어 참조 픽쳐에 대한 제 4 참조 픽쳐 세트를 도 6의 리스트의 가장 마지막이 아닌 다른 순서에 배치할 수도 있다. 멀티 레이어 구조에서는 영상의 특징 상 인핸스먼트 레이어와 베이스 레이어 간에는 강한 연관성(correlation)이 존재하기 때문에 인터 레이어 참조 픽쳐를 참조하는 경우가 자주 발생할 수 있다. 발생 빈도가 높은 인터 레이어 참조 픽쳐를 참조 픽쳐 리스트의 가장 마지막이 아닌 다른 위치에 추가하면 참조 픽쳐 리스트의 부호화 성능을 향상시킬 수 있다. According to another example of the present invention, when configuring a reference picture list, the fourth reference picture set for the inter-layer reference picture may be arranged in an order other than the last of the list of FIG. 6. In a multi-layer structure, since there is a strong correlation between the enhancement layer and the base layer due to the characteristics of an image, a case of referring to an inter-layer reference picture can often occur. If an inter-layer reference picture with a high occurrence frequency is added to a position other than the last of the reference picture list, encoding performance of the reference picture list can be improved.

상기 점을 고려하여 인터 레이어 참조 픽쳐는 참조 픽쳐 리스트의 다양한 위치에 추가될 수 있다. 도 7 내지 도 10은 본 발명의 다른 예들에 따라 인터 레이어 참조 픽쳐 리스트를 구성하는 일 예를 도시한 개념도이다. In consideration of the above, the inter-layer reference picture may be added to various positions of the reference picture list. 7 to 10 are conceptual diagrams illustrating an example of configuring an inter-layer reference picture list according to other examples of the present invention.

도 7은 본 발명의 일 예에 따라 참조 픽쳐 리스트 O의 구성을 도시한 것으로, 도시된 바와 같이 인터 레이어 참조 픽쳐 세트인 제4 참조 픽쳐 세트가 참조 픽쳐 리스트의 두 번째 순서로 정렬될 수 있다. 7 illustrates a configuration of a reference picture list O according to an example of the present invention. As illustrated, a fourth reference picture set, which is an inter-layer reference picture set, may be arranged in the second order of the reference picture list.

참조 픽쳐 리스트 O은 제1 참조 픽쳐 세트, 제4 참조 픽쳐 세트, 제2 참조 픽쳐 세트 및 제3 참조 픽쳐 세트 순으로 구성된다. The reference picture list O is composed of a first reference picture set, a fourth reference picture set, a second reference picture set, and a third reference picture set in that order.

참조 픽쳐 리스트 0은 각 참조 픽쳐 세트에 포함되어 있는 참조 픽쳐 중 참조 픽쳐로 사용되는지 여부를 나타내는 플래그 정보(used_by_curr_pic_flag)가 1인 픽쳐들로 구성된다. 도시된 바와 같이, 각 참조 픽쳐 세트에 포함되어 있는 네 개의 픽쳐들 중 첫 번째 및 두 번째 픽쳐들로만 초기 참조 픽쳐 리스트 0가 구성될 수 있다.Reference picture list 0 is composed of pictures in which flag information (used_by_curr_pic_flag) indicating whether to be used as a reference picture is 1 among reference pictures included in each reference picture set. As illustrated, the initial reference picture list 0 may be configured only with first and second pictures of four pictures included in each reference picture set.

이렇게 구성된 초기 참조 픽쳐 리스트는 픽쳐 또는 슬라이스 별로 변경(modify)될 수 있고, 변경에 따라 참조 픽쳐들의 엔트리가 수정될 수 있다. The initial reference picture list configured as described above may be modified for each picture or slice, and entries of reference pictures may be modified according to the change.

이러한 변경을 통하여 최종적인 참조 픽쳐 리스트 0은 제1 참조 픽쳐 세트의 첫 번째 및 두 번째 참조 픽쳐(0, 1), 제4 참조 픽쳐 세트의 첫 번 째 및 두 번째 참조 픽쳐(0, 1), 제2 참조 픽쳐 세트의 첫 번째 참조 픽쳐(0)로 구성될 수 있다.
Through this change, the final reference picture list 0 is the first and second reference pictures (0, 1) of the first reference picture set, the first and second reference pictures (0, 1) of the fourth reference picture set, It may be composed of the first reference picture (0) of the second reference picture set.

도 8은 본 발명의 다른 예에 따라 참조 픽쳐 리스트 O의 구성을 도시한 도면이다. 8 is a diagram illustrating a configuration of a reference picture list O according to another example of the present invention.

도 8의 <a>와 같이, 참조 픽쳐 리스트 O는 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트 및 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 구성될 수 있다. As shown in <a> of FIG. 8, reference picture list O is a first reference picture set composed of short-term reference pictures having a smaller POC than the current picture's POC, and a second reference picture composed of short-term reference pictures having a larger POC than the current picture A set, a fourth reference picture set composed of an inter-layer reference picture, and a third reference picture set composed of a long-term reference picture may be configured in this order.

또는 참조 픽쳐 리스트 O은 도 8의 <b>와 같이 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트가 가장 먼저 정렬되고, 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트 및 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 정렬될 수도 있다. Alternatively, in the reference picture list O, as shown in <b> of FIG. 8, a fourth reference picture set consisting of inter-layer reference pictures is arranged first, and a first reference picture set consisting of short-term reference pictures having a smaller POC than the POC of the current picture, They may be arranged in the order of a second reference picture set composed of short-term reference pictures and a third reference picture set composed of long-term reference pictures having a POC larger than that of the current picture.

<b>의 경우 인터 레이어 참조 픽쳐를 참조하는 빈도수가 높은 경우, 참조 픽쳐 리스트의 부호화 및 복호화 효율을 높일 수 있는 이점이 있다.
In the case of <b>, when the frequency of referencing the inter-layer reference picture is high, there is an advantage of improving the encoding and decoding efficiency of the reference picture list.

또는, 다른 실시예에 따르면, 단일 레이어의 참조 픽쳐 리스트를 생성하는 것과 유사하게 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트 및 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 구성한 후, 슬라이스나 시퀀스 레벨, 즉 슬라이스 헤더 또는 시퀀스 파라미터 헤더에서 인터 레이어 참조 픽쳐를 추가할 위치를 특정할 수 있다. Alternatively, according to another embodiment, similar to generating a reference picture list of a single layer, a first reference picture set consisting of short-term reference pictures having a smaller POC than the POC of the current picture, a short-term reference picture having a larger POC than the POC of the current picture After configuring in the order of a second reference picture set composed of and a third reference picture set composed of a long-term reference picture, a position to add an inter-layer reference picture to a slice or sequence level, that is, a slice header or a sequence parameter header may be specified.

특정된 그 위치부터 인터 레이어 참조 픽쳐를 추가하여 참조 픽쳐 리스트를 구성할 수 있다. 이러한 시그널링은 슬라이스 헤더, 시퀀스 헤더 또는 비디오 파라미터 세트에 포함되어 부호화되어 복호화 장치로 전송될 수도 있다.
A reference picture list can be constructed by adding an inter-layer reference picture from the specified position. Such signaling may be included in a slice header, a sequence header, or a video parameter set, encoded, and transmitted to the decoding apparatus.

도 9는 본 발명의 일 예에 따라 참조 픽쳐 리스트 1의 구성을 도시한 것으로, 도시된 바와 같이 인터 레이어 참조 픽쳐 세트인 제4 참조 픽쳐 세트가 참조 픽쳐 리스트의 마지막 순서로 정렬될 수 있다. 9 illustrates a configuration of reference picture list 1 according to an example of the present invention. As shown, a fourth reference picture set, which is an inter-layer reference picture set, may be arranged in the last order of the reference picture list.

참조 픽쳐 리스트 1은 제2 참조 픽쳐 세트, 제1 참조 픽쳐 세트, 제3 참조 픽쳐 세트, 및 제4 참조 픽쳐 세트 순으로 구성된다. Reference picture list 1 is composed of a second reference picture set, a first reference picture set, a third reference picture set, and a fourth reference picture set in this order.

참조 픽쳐 리스트 1은 각 참조 픽쳐 세트에 포함되어 있는 참조 픽쳐 중 참조 픽쳐로 사용되는지 여부를 나타내는 플래그 정보(used_by_curr_pic_flag)가 1인 픽쳐들로 구성된다. 도시된 바와 같이, 각 참조 픽쳐 세트에 포함되어 있는 네 개의 픽쳐들 중 첫 번째 및 두 번째 픽쳐들로만 초기 참조 픽쳐 리스트 1이 구성될 수 있다.Reference picture list 1 is composed of pictures in which flag information (used_by_curr_pic_flag) indicating whether or not to be used as a reference picture among reference pictures included in each reference picture set is 1. As shown, the initial reference picture list 1 may be configured only with first and second pictures of four pictures included in each reference picture set.

이렇게 구성된 초기 참조 픽쳐 리스트는 픽쳐 또는 슬라이스 별로 변경(modify)될 수 있고, 변경에 따라 참조 픽쳐들의 엔트리가 수정될 수 있다. The initial reference picture list configured as described above may be modified for each picture or slice, and entries of reference pictures may be modified according to the change.

이러한 변경을 통하여 최종적인 참조 픽쳐 리스트 1은 제2 참조 픽쳐 세트의 첫 번째 참조 픽쳐(0), 제1 참조 픽쳐 세트의 첫 번째 및 두 번째 참조 픽쳐(0, 1), 제4 참조 픽쳐 세트의 첫 번 째 및 두 번째 참조 픽쳐(0, 1)로 구성될 수 있다.
Through this change, the final reference picture list 1 is the first reference picture (0) of the second reference picture set, the first and second reference pictures (0, 1) of the first reference picture set, and the fourth reference picture set. It may consist of the first and second reference pictures (0, 1).

도 10은 본 발명의 다른 예에 따른 참조 픽쳐 리스트 1의 구성을 도시한 도면이다. 10 is a diagram illustrating a configuration of a reference picture list 1 according to another example of the present invention.

도 10의 <a>와 같이, 참조 픽쳐 리스트 1은 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트 및 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 구성될 수 있다. As shown in <a> of FIG. 10, reference picture list 1 is a second reference picture set composed of short-term reference pictures having a larger POC than the POC of the current picture, and a first reference picture composed of short-term reference pictures having a smaller POC than the POC of the current picture. A set, a fourth reference picture set composed of an inter-layer reference picture, and a third reference picture set composed of a long-term reference picture may be configured in this order.

또는 참조 픽쳐 리스트 1은 도 10의 <b>와 같이 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트가 첫 번째 순서에 할당되고, 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트가 두 번째 순서에 할당될 수 있다. 그 다음으로 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트 및 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 참조 픽쳐 리스트 1은 이 구성될 수 있다.
Alternatively, in the reference picture list 1, as shown in <b> of FIG. 10, a second reference picture set consisting of short-term reference pictures having a larger POC than that of the current picture is allocated in the first order, and a fourth reference picture consisting of inter-layer reference pictures Sets can be assigned to the second order. Next, reference picture list 1 may be configured in the order of a first reference picture set composed of short-term reference pictures having a smaller POC than that of the current picture and a third reference picture set composed of long-term reference pictures.

또는, 단일 레이어의 참조 픽쳐 리스트를 생성하는 것과 유사하게 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트 및 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 구성한 후, 슬라이스나 시퀀스 레벨, 즉 슬라이스 헤더 또는 시퀀스 파라미터 헤더에서 인터 레이어 참조 픽쳐를 추가할 위치를 특정할 수 있다. Alternatively, similar to generating a single-layer reference picture list, a second reference picture set consisting of short-term reference pictures having a larger POC than the POC of the current picture, and a first reference picture consisting of short-term reference pictures having a smaller POC than the POC of the current picture. After the third reference picture set consisting of the set and the long-term reference picture is configured in order, a position to add the inter-layer reference picture to the slice or sequence level, that is, a slice header or a sequence parameter header may be specified.

특정된 그 위치부터 인터 레이어 참조 픽쳐를 추가하여 참조 픽쳐 리스트를 구성할 수 있다. 이러한 시그널링은 슬라이스 헤더, 시퀀스 헤더 또는 비디오 파라미터 세트에 포함되어 부호화되어 복호화 장치로 전송될 수도 있다.
A reference picture list can be constructed by adding an inter-layer reference picture from the specified position. Such signaling may be included in a slice header, a sequence header, or a video parameter set, encoded, and transmitted to the decoding apparatus.

멀티 레이어를 지원하는 영상에서 스케일러빌러티 타입이 다시점인 경우, 다른 시점에 대한 레이어가 현재 레이어의 참조 픽쳐로 사용될 수 있다. 복수의 시점, 즉 복수의 레이어가 참조 픽쳐로 사용될 경우, 인터 레이어 참조 픽쳐로 구성되는 제4 참조 픽쳐 세트는 분할되어 참조 픽쳐 리스트에 포함될 수 있다. 현재 레이어와 참조 픽쳐의 레이어의 시점 순서 또는 시점의 근접성 정도에 따라 다양한 방법으로 참조 픽쳐 리스트가 구성될 수 있다. In an image supporting multi-layers, when the scalability type is a multiview, a layer for a different view may be used as a reference picture of the current layer. When a plurality of viewpoints, that is, a plurality of layers, are used as a reference picture, a fourth reference picture set composed of an inter-layer reference picture may be divided and included in the reference picture list. The reference picture list may be configured in various ways according to the view order of the layers of the current layer and the reference picture or the degree of proximity of the views.

예를 들어, 현재 시점과 참조 시점의 차이값에 따라 참조 픽쳐 리스트 구성 시 참조 픽쳐들을 분리하여 정렬할 수도 있고, 현재 시점을 기준으로 현재 시점보다 낮은 시점 및 현재 시점보다 높은 시점을 분리하여 정렬할 수도 있다. For example, when constructing a reference picture list according to the difference between the current view and the reference view, reference pictures may be separated and sorted, or a view lower than the current view and a view higher than the current view may be separated and sorted based on the current view. May be.

도 11은 본 발명의 일 예에 따라 다시점 참조 픽쳐를 이용하여 구성된 참조 픽쳐 리스트를 도시한 것이다. 11 is a diagram illustrating a reference picture list constructed by using a multiview reference picture according to an example of the present invention.

도시된 바와 같이, 비스트트림이 5개의 시점 레이어를 지원하는 경우, 또는 5개의 시점 레이어 간에 참조 관계가 성립되는 경우, 시점 2가 현재 레이어라고 가정할 수 있다. 현재 시점을 기준으로 현재 시점보다 낮은 시점 순서를 갖는 시점 0 및 시점 1이 하나의 서브 참조 픽쳐 세트(제1 서브 참조 픽쳐 세트)를 구성하거나 또는 제1 서브 참조 픽쳐 세트에 포함될 수 있고, 현재 시점보다 높은 시점 순서를 갖는 시점 3 및 시점 4가 하나의 서브 참조 픽쳐 세트(제 2 서브 참조 픽쳐 세트)를 구성하거나 또는 제2 서브 참조 픽쳐 세트에 포함될 수 있다. As illustrated, when the BEstream supports 5 view layers, or when a reference relationship is established between the 5 view layers, it may be assumed that view 2 is the current layer. View 0 and view 1 having a view order lower than the current view based on the current view may constitute one sub reference picture set (first sub reference picture set) or may be included in the first sub reference picture set, and the current view View 3 and view 4 having a higher view order may constitute one sub reference picture set (a second sub reference picture set) or may be included in a second sub reference picture set.

즉, 제1 서브 참조 레이어 픽쳐 세트는 다시점 참조 레이어 픽쳐 중 현재 픽쳐의 시점보다 작은 시점 순서를 갖는 픽쳐로 구성될 수 있고, 제2 서브 참조 레이어 픽쳐 세트는 다시점 참조 레이어 픽쳐 중 현재 픽쳐의 시점보다 큰 시점 순서를 갖는 픽쳐로 구성될 수 있다.That is, the first sub-reference layer picture set may be composed of pictures having a view order smaller than the viewpoint of the current picture among multi-view reference layer pictures, and the second sub-reference layer picture set is the current picture among multi-view reference layer pictures. It may be composed of pictures having a view order greater than the view order.

<a>와 같이, 참조 픽쳐 리스트 0은 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 제1 서브 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 제2 서브 참조 픽쳐 세트, 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 구성될 수 있다.As shown in <a>, reference picture list 0 is composed of a first reference picture set composed of short-term reference pictures having a smaller POC than the current picture's POC, a first sub-reference picture set, and a short-term reference picture having a larger POC than the POC of the current picture. It may be configured in order of a second reference picture set, a second sub-reference picture set, and a third reference picture set composed of a long-term reference picture.

참조 픽쳐 리스트 1은 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 제2 서브 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 제1 서브 참조 픽쳐 세트, 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 구성될 수 있다.Reference picture list 1 is a second reference picture set consisting of short-term reference pictures having a larger POC than the current picture's POC, a second sub-reference picture set, a first reference picture set consisting of short-term reference pictures having a smaller POC than the POC of the current picture, It may be configured in the order of a first sub-reference picture set and a third reference picture set composed of a long-term reference picture.

또는, 참조 픽쳐 리스트 0은 <b>와 같이 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 제1 서브 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트, 제2 서브 참조 픽쳐 세트 순으로 구성될 수 있다. 즉, 제2 서브 참조 픽쳐 세트는 참조 픽쳐 리스트의 가장 마지막에 추가될 수 있다. Alternatively, reference picture list 0 is a first reference picture set composed of short-term reference pictures having a smaller POC than the current picture's POC as shown in <b>, a first sub-reference picture set, and a short-term reference picture having a larger POC than the POC of the current picture. It may be configured in the order of a configured second reference picture set, a third reference picture set including a long-term reference picture, and a second sub-reference picture set. That is, the second sub-reference picture set may be added to the end of the reference picture list.

참조 픽쳐 리스트 1도 유사하게 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 참조 픽쳐 세트, 제2 서브 참조 픽쳐 세트, 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 참조 픽쳐 세트, 장기 참조 픽쳐로 구성된 제3 참조 픽쳐 세트 순으로 참조 픽쳐 리스트가 구성되고, 제1 서브 참조 픽쳐 세트는 마지막 순서로 추가될 수 있다.Similarly, reference picture list 1 is a first reference picture composed of a second reference picture set composed of short-term reference pictures having a larger POC than the current picture's POC, a second sub-reference picture set, and a short-term reference picture having a smaller POC than that of the current picture. A reference picture list may be configured in the order of a set and a third reference picture set consisting of a long-term reference picture, and the first sub-reference picture set may be added in the last order.

도 11의 인터 레이어 참조 픽쳐 세트에는 다시점 참조 픽쳐가 포함되었지만, 스케일러빌러티의 타입이 공간적 스케일러빌러티이고, 참조 픽쳐로 복수의 레이어의 픽쳐가 사용되는 경우에도 도 11에 도시되어 있는 참조 픽쳐 리스트의 구성이 적용될 수 있다. 즉, 현재 픽쳐와 공간적 레이어를 식별하는 순서의 차이에 따라 참조 픽쳐들이 분할되어 참조 픽쳐 리스트에 추가될 수 있다.
The inter-layer reference picture set of FIG. 11 includes a multiview reference picture, but the reference picture shown in FIG. 11 is even when the type of scalability is spatial scalability and pictures of multiple layers are used as reference pictures. List configuration can be applied. That is, the reference pictures may be divided and added to the reference picture list according to the difference in the order of identifying the current picture and the spatial layer.

도 12는 본 발명의 다른 예에 따라 다시점 참조 픽쳐를 이용하여 구성된 참조 픽쳐 리스트를 도시한 것이다. 12 is a diagram illustrating a reference picture list constructed using a multiview reference picture according to another example of the present invention.

현재 레이어와 시점의 차이가 적은 레이어 일수록 해당 레이어의 픽쳐가 인터 레이어 참조 픽쳐로 사용될 가능성이 높다. 다시 말하면, 현재 레이어와 시점의 차이가 큰 레이어 일수록 현재 픽쳐가 참조할 가능성은 낮아진다. 본 실시예에 따를 경우, 이러한 참조 픽쳐의 발생 빈도, 즉 시점 간의 참조 정도를 고려한 근접 순서에 따라 참조 픽쳐가 참조 픽쳐 리스트에 추가되는 순서를 적응적으로 변경할 수 있다. The smaller the difference between the current layer and the viewpoint, the higher the likelihood that the picture of the corresponding layer will be used as an inter-layer reference picture. In other words, the likelihood that the current picture refers to a layer having a larger difference between the current layer and the viewpoint decreases. According to the present embodiment, it is possible to adaptively change the order in which reference pictures are added to the reference picture list according to the proximity order taking into account the frequency of occurrence of such reference pictures, that is, the degree of reference between viewpoints.

즉, 현재 레이어와 시점의 차이가 적은 레이어의 참조 픽쳐에 대해서는 참조 픽쳐 리스트의 낮은 인덱스를 할당하고, 현재 레이어와 시점의 차이가 큰 레이어의 참조 픽쳐에 대하여는 참조 픽쳐 리스트의 높은 인덱스를 할당할 수 있다. That is, a low index of the reference picture list can be allocated to a reference picture of a layer with a small difference between the current layer and a viewpoint, and a high index of the reference picture list can be allocated to a reference picture of a layer with a large difference between the current layer and the viewpoint. have.

예를 들어, 도 12에 도시된 바와 같이, 다시점 참조 픽쳐 세트에 포함될 수 있는 참조 픽쳐 0, 참조 픽쳐 1, 참조 픽쳐 2, 참조 픽쳐 3 중 참조 픽쳐 0은 참조 픽쳐 리스트 0의 가장 앞에 정렬되고 참조 픽쳐 1, 참조 픽쳐 2, 참조 픽쳐 3은 제3 참조 픽쳐 세트의 다음 순서인 참조 픽쳐 리스트 0의 가장 마지막에 정렬될 수 있다. For example, as shown in FIG. 12, among reference picture 0, reference picture 1, reference picture 2, and reference picture 3 that may be included in the multi-view reference picture set, reference picture 0 is arranged at the front of the reference picture list 0. Reference picture 1, reference picture 2, and reference picture 3 may be arranged at the end of reference picture list 0, which is the next order of the third reference picture set.

이 때 참조 픽쳐 0은 현재 레이어와 시점의 차이가 적은 레이어의 참조 픽쳐일 수 있고, 참조 픽쳐 1, 참조 픽쳐 2, 참조 픽쳐 3은 현재 레이어와 시점의 차이가 큰 픽쳐들 일 수 있다. In this case, reference picture 0 may be a reference picture of a layer having a small difference between a current layer and a viewpoint, and reference picture 1, reference picture 2, and reference picture 3 may be pictures having a large difference between the current layer and the viewpoint.

참조 픽쳐 리스트에서 앞 쪽에 정렬될 수 있는 현재 레이어와 참조 레이어의시점의 차이값은 디폴트로 정해진 값이 될 수 있고, 부호화 장치에서 가변적으로 설정되어 복호화 장치로 전송될 수도 있다.
A difference value between a view point of a reference layer and a current layer that can be arranged in the front of the reference picture list may be a value determined by default, or may be variably set in the encoding device and transmitted to the decoding device.

본 발명의 다른 실시예에 따르면 현재 픽쳐의 시간적 서브 레이어(temporal sub-layer)의 인덱스(tempralId)에 따라 인터 레이어 참조 픽쳐 세트의 정렬 순서를 설정할 수도 있다.According to another embodiment of the present invention, the sorting order of the inter-layer reference picture set may be set according to the index (tempralId) of a temporal sub-layer of the current picture.

도 13은 본 발명의 일 예에 따른 시간적 서브 레이어의 인덱스를 이용하여 구성한 참조 픽쳐 리스트를 도시한 것이다. 13 is a diagram illustrating a reference picture list constructed using an index of a temporal sub-layer according to an example of the present invention.

멀티 레이어 구조에서는 인핸스먼트 레이어에 속하는 현재 픽쳐의 시간적 서브 레이어에 따라 인터 레이어 참조 픽쳐를 사용하는 빈도가 다를 수 있다. 시간적 서브 레이어의 인덱스 값인 tempralId가 클수록 다른 레이어의 참조 픽쳐를 참조하기 보다 동일한 레이어에 있는 픽쳐를 참조하여 인터 예측을 수행하는 것이 효과적일 수 있다. In a multi-layer structure, the frequency of using an inter-layer reference picture may be different according to a temporal sub-layer of a current picture belonging to an enhancement layer. As tempralId, which is an index value of the temporal sublayer, is larger, it may be more effective to perform inter prediction by referring to a picture in the same layer rather than referring to a reference picture of another layer.

다시 말해, tempralId 가 작으면 동일 레이어 보다 인터 레이어의 픽쳐를 참조하는 것이 코딩에 효과적이고, tempralId가 클수록 인터 레이어를 참조 픽쳐로 사용하는 것 보다 동일한 레이어의 픽쳐를 참조 픽쳐로 사용하는 것이 코딩에 더 효율적일 수 있다. In other words, if the tempralId is small, it is more effective for coding to refer to a picture of the inter-layer than for the same layer, and as the tempralId is large, it is more effective to use a picture of the same layer as a reference picture than to use the inter-layer as a reference picture. It can be efficient.

본 실시예에서는 이와 같이 시간적 서브 레이어에 따라 인터 레이어 픽쳐의 참조 발생 빈도가 달라지는 것을 고려하여 시간적 서브 레이어의 인덱스 tempralId에 따라 초기 레퍼런스 픽쳐 리스트에 인터 레이어 참조 픽쳐를 추가하는 위치를 적응적으로 달리할 수 있다.In this embodiment, taking into account that the frequency of reference occurrence of an inter-layer picture varies according to the temporal sub-layer, the position of adding an inter-layer reference picture to the initial reference picture list is adaptively changed according to the index tempralId of the temporal sub-layer. I can.

도 13은 tempralId 값이 0 내지 2인 경우 참조 픽쳐 리스트 0의 구성을 도시한 도면이다. 13 is a diagram illustrating a configuration of a reference picture list 0 when the tempralId value is 0 to 2.

tempralId 값이 0인 경우에는 인핸스먼트 레이어에 인터 레이어 예측이 수행될 가능성이 높으므로 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트는 초기 참조 픽쳐 리스트의 처음에 추가될 수 있다. When the tempralId value is 0, since inter-layer prediction is highly likely to be performed on the enhancement layer, the fourth reference picture set composed of inter-layer reference pictures may be added to the beginning of the initial reference picture list.

각 참조 픽쳐 세트에 포함되어 있는 참조 픽쳐 중 참조 픽쳐로 사용되는지 여부를 나타내는 플래그 정보(used_by_curr_pic_flag)가 1인 픽쳐들로 구성된 초기 참조 픽쳐 리스트는 제4 참조 픽쳐 세트에 포함되어 있는 네 개의 픽쳐(0,1,2,3), 제1 참조 픽쳐 세트, 제2 참조 픽쳐 세트 및 제3 참조 픽쳐 세트에 에 포함되어 있는 첫 번째 및 두 번째 픽쳐들(0,1)로 구성되어 있다. The initial reference picture list consisting of pictures whose flag information (used_by_curr_pic_flag) indicating whether or not to be used as a reference picture among the reference pictures included in each reference picture set is 1 is four pictures included in the fourth reference picture set (0 ,1,2,3), the first reference picture set, the second reference picture set, and the first and second pictures (0,1) included in the third reference picture set.

도시된 바와 같이, 참조 픽쳐 리스트 초기값이 설정된 이후에 참조 픽쳐 리스트를 수정 한 후, 최종 참조 픽쳐 리스트를 설정할 수 있다. 참조 픽쳐 리스트를 수정하는 정보는 슬라이스 헤더에 시그날링 될 수 있다.As shown, after the initial value of the reference picture list is set, the reference picture list may be modified, and then a final reference picture list may be set. Information for modifying the reference picture list may be signaled in the slice header.

수정된 최종 참조 픽쳐 리스트 0은 제1 참조 픽쳐 세트의 첫 번째 및 두 번째 픽쳐(0,1), 제 4 참조 픽쳐 세트의 첫 번째 및 두 번째 픽쳐(0,1), 제2 참조 픽쳐 세트의 첫 번째 픽쳐(0) 순으로 구성되어 있다. The modified final reference picture list 0 is the first and second pictures of the first reference picture set (0,1), the first and second pictures of the fourth reference picture set (0,1), and the second reference picture set. It is organized in order of the first picture (0).

tempralId 값이 1인 경우에는 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트는 초기 참조 픽쳐 리스트 0에서 제1 참조 픽쳐 세트 다음에 추가될 수 있다. When the tempralId value is 1, the fourth reference picture set composed of the inter-layer reference picture may be added after the first reference picture set in the initial reference picture list 0.

참조 픽쳐로 사용되는지 여부를 나타내는 플래그 정보(used_by_curr_pic_flag)가 1인 픽쳐들로 구성된 초기 참조 픽쳐 리스트는 제1 참조 픽쳐 세트, 제4 참조 픽쳐 세트 및 제2 참조 픽쳐 세트 및 제3 참조 픽쳐 세트에 포함되어 있는 첫 번째 및 두 번째 픽쳐들(0,1)로 구성되어 있다. The initial reference picture list consisting of pictures with flag information (used_by_curr_pic_flag) indicating whether to be used as a reference picture is 1 is included in the first reference picture set, the fourth reference picture set, the second reference picture set, and the third reference picture set It consists of the first and second pictures (0,1).

수정된 최종 참조 픽쳐 리스트 0은 제1 참조 픽쳐 세트의 첫 번째 및 두 번째 픽쳐(0,1), 제 4 참조 픽쳐 세트의 첫 번째 및 두 번째 픽쳐(0,1), 제2 참조 픽쳐 세트의 첫 번째 픽쳐 순으로 구성되어 있다.The modified final reference picture list 0 is the first and second pictures of the first reference picture set (0,1), the first and second pictures of the fourth reference picture set (0,1), and the second reference picture set. It is organized in order of the first picture.

tempralId 값이 2인 경우에는 인핸스먼트 레이어의 인터 레이어 예측 보다 동일 레이어 사이의 인터 예측이 수행될 가능성이 높으므로 인터 레이어 참조 픽쳐로 구성된 제4 참조 픽쳐 세트는 초기 참조 픽쳐 리스트에서 제3 참조 픽쳐 세트 다음으로 마지막에 추가될 수 있다. When the tempralId value is 2, the possibility of inter-prediction between the same layers is higher than that of the inter-layer prediction of the enhancement layer.Therefore, the fourth reference picture set consisting of inter-layer reference pictures is the third reference picture set in the initial reference picture list. Then it can be added last.

참조 픽쳐로 사용되는지 여부를 나타내는 플래그 정보(used_by_curr_pic_flag)가 1인 픽쳐들로 구성된 초기 참조 픽쳐 리스트 0은 제1 참조 픽쳐 세트, 제2 참조 픽쳐 세트 및 제3 참조 픽쳐 세트 및 제4 참조 픽쳐 세트에 포함되어 있는 첫 번째 및 두 번째 픽쳐들(0,1)로 구성되어 있다. The initial reference picture list 0 consisting of pictures with flag information (used_by_curr_pic_flag) indicating whether to be used as a reference picture is 1 is in the first reference picture set, the second reference picture set, the third reference picture set, and the fourth reference picture set. It consists of the included first and second pictures (0,1).

수정된 최종 참조 픽쳐 리스트는 제1 참조 픽쳐 세트의 첫 번째 및 두 번째 픽쳐(0,1), 제 2 참조 픽쳐 세트의 첫 번째 및 두 번째 픽쳐(0,1), 제4 참조 픽쳐 세트의 첫 번째 픽쳐(0) 순으로 구성되어 있다.The modified final reference picture list includes the first and second pictures of the first reference picture set (0,1), the first and second pictures of the second reference picture set (0,1), and the first of the fourth reference picture set. It consists of the first picture (0).

상술한 것과 유사하게, 초기 참조 리스트 L1 역시 temporalId 값에 따라 제4 참조 픽쳐 세트가 추가되는 위치가 변경될 수 있다. 예컨대, temporalId 값이 0인 경우에는 초기 참조 리스트 L1은 제4 참조 픽쳐 세트, 제2 참조 픽쳐 세트, 제1 참조 픽쳐 세트 및 제3 참조 픽쳐 세트 순으로 구성될 수 있고, temporalId 값이 1인 경우에는 제2 참조 픽쳐 세트, 제4 참조 픽쳐 세트, 제1 참조 픽쳐 세트 및 제3 참조 픽쳐 세트 순으로 구성될 수 있다. temporalId 값이 2와 같이 큰 경우 제4 참조 픽쳐 세트는 초기 참조 리스트 L1의 가장 마지막 순으로 추가될 수 있다.Similar to the above, the position to which the fourth reference picture set is added may be changed in the initial reference list L1 according to the temporalId value. For example, when the temporalId value is 0, the initial reference list L1 may be configured in the order of a fourth reference picture set, a second reference picture set, a first reference picture set, and a third reference picture set, and when the temporalId value is 1 May be configured in the order of a second reference picture set, a fourth reference picture set, a first reference picture set, and a third reference picture set. When the temporalId value is as large as 2, the fourth reference picture set may be added in the last order of the initial reference list L1.

정리하면, 도 13에 도시된 바와 같이, 시간적 서브 레이어의 temporalId 값에 따라 초기 레퍼런스 픽쳐 리스트에 인터 레이어 참조 픽쳐를 추가하는 위치를 적응적으로 변경할 수 있다.
In summary, as illustrated in FIG. 13, the position of adding the inter-layer reference picture to the initial reference picture list can be adaptively changed according to the temporalId value of the temporal sub-layer.

한편, 본 발명의 다른 실시예에 따르면, 멀티 레이어 구조에서 레이어 간의 시간적 서브 레이어의 레이어 인덱스 temporalId 값 차이에 따라 참조 픽쳐 리스트 구성 순서를 다르게 할 수 있다. Meanwhile, according to another embodiment of the present invention, the order of configuring a reference picture list may be different according to a difference in a layer index temporalId value of a temporal sub-layer between layers in a multi-layer structure.

멀티 레이어 구조에서는 인핸스먼트 레이어와 베이스 레이어의 temporalId 값이 서로 다르거나 temporalId 값의 차이가 크면 인핸스먼트 레이어가 베이스 레이어를 참조할 가능성, 즉 인터 레이어 참조 관계가 존재할 가능성이 적어진다. In a multi-layer structure, if the temporalId values of the enhancement layer and the base layer are different from each other or the difference between the temporalId values is large, the possibility that the enhancement layer refers to the base layer, that is, the possibility that an inter-layer reference relationship exists is less.

반면, 인핸스먼트 레이어의 temporalId 값과 베이스 레이어의 temporalId 값이 같거나 temporalId 값의 차이가 작으면 인핸스먼트 레이어가 베이스 레이어를 참조할 가능성, 즉 인터 레이어 참조 관계가 존재할 가능성은 높아진다.On the other hand, if the temporalId value of the enhancement layer and the temporalId value of the base layer are the same or the difference between the temporalId value is small, the possibility that the enhancement layer refers to the base layer, that is, the possibility that an inter-layer reference relationship exists, increases.

인핸스먼트 레이어와 베이스 레이어의 temporalId 값 차이에 따라 인터레이어 레퍼런스의 발생 빈도가 달라지기 때문에, 레이어 사이의 temporalId 값 차이에 따라 레퍼런스 픽쳐 리스트에 인터 레이어 참조 픽쳐를 추가하는 위치를 적응적으로 변경할 수 있다. Since the frequency of occurrence of the inter-layer reference varies according to the difference in temporalId values of the enhancement layer and the base layer, the position of adding the inter-layer reference picture to the reference picture list can be adaptively changed according to the difference in temporalId values between layers. .

예를 들어, 인핸스먼트 레이어에 속하는 픽쳐의 temporalId값과 베이스 레이어 또는 참조 레이어에 속하는 픽쳐의 temporalId 값이 같은 경우에는 인터 레이어 참조 픽서 세트를 참조 픽쳐 리스트의 가장 처음에 추가하고, 두 레이어에 속하는 픽쳐의 temporalId 값이 다른 경우에는 장기 참조 픽쳐 세트 뒤인 마지막에 인터 레이어 참조 픽서 세트를 추가할 수 있다.For example, if the temporalId value of the picture belonging to the enhancement layer and the temporalId value of the picture belonging to the base layer or reference layer are the same, the interlayer reference picture set is added to the very beginning of the reference picture list, and the picture belonging to the two layers When the temporalId value of is different, the inter-layer reference picture set may be added to the end after the long-term reference picture set.

또는 인터 레이어 레퍼런스 픽쳐를 참조 픽쳐 리스트에 추가 할 때, 인핸스 먼트 레이어에 속하는 픽쳐의 temporalId 값과 베이스 레이어 또는 참조 레이어에 속하는 픽쳐의 temporalId 값 차이가 특정한 값보다 작은 경우에는 참조 픽쳐 리스트의 가장 처음에 추가하고, 두 레이어에 속하는 픽쳐의 temporalId 값의 차이가 특정한 값보다 큰 경우에는 장기 참조 픽쳐 세트 뒤인 마지막에 인터 레이어 참조 픽서 세트를 추가할 수 있다.Alternatively, when adding an inter-layer reference picture to the reference picture list, if the difference between the temporalId value of the picture belonging to the enhancement layer and the temporalId value of the picture belonging to the base layer or reference layer is less than a specific value, the first in the reference picture list In addition, when the difference between the temporalId values of pictures belonging to two layers is greater than a specific value, the inter-layer reference picture set may be added to the end after the long-term reference picture set.

또는 인터 레이어 레퍼런스 픽쳐가 참조 픽쳐 리스트의 앞쪽에 추가될 때 참조 픽쳐 리스트의 가장 처음이 아닌 두 번째 참조 픽쳐 세트로 추가될 수도 있고, 인터 레이어 레퍼런스 픽쳐가 참조 픽쳐 리스트의 뒤쪽에 추가될 때 참조 픽쳐 리스트의 가장 마지막이 아닌 장기 참조 픽쳐 세트 앞에 추가될 수도 있다.Alternatively, when an inter-layer reference picture is added to the front of the reference picture list, it may be added as a second reference picture set other than the first of the reference picture list, or when an inter-layer reference picture is added to the rear of the reference picture list, the reference picture It may be added before the long-term reference picture set other than the last in the list.

예를 들어, 인핸스먼트 레이어의 현재 픽쳐와 인터레이어 레퍼런스 픽쳐로 사용된 베이스 레이어 픽쳐의 temporalId 값이 2로 모두 같은 경우에는 참조 픽쳐 리스트의 가장 처음에 인터 레이어 참조 픽쳐를 추가할 수 있다. For example, when the temporalId value of the current picture of the enhancement layer and the base layer picture used as the inter-layer reference picture are the same as 2, the inter-layer reference picture may be added to the beginning of the reference picture list.

반면 인핸스먼트 레이어의 현재 픽쳐의 temporalId 값이 4이고, 인터 레이어 참조 픽쳐로 사용되는 베이스 레이어 픽쳐의 temporalId 값이 2인 경우에는 인터 레이어 참조 픽쳐를 장기 참조 픽쳐 세트 다음 순으로 참조 픽쳐 리스트에 추가할 수 있다.
On the other hand, when the temporalId value of the current picture of the enhancement layer is 4 and the temporalId value of the base layer picture used as the inter-layer reference picture is 2, the inter-layer reference pictures are added to the reference picture list in the order following the long-term reference picture set. I can.

본 발명의 또 다른 실시예에 따르면, 인터 레이어 예측을 허용하는 최대 시간축 서브 레이어의 개수에 따라 적응적으로 참조 픽쳐 리스트를 구성할 수 있다. According to another embodiment of the present invention, a reference picture list may be adaptively configured according to the number of maximum temporal sublayers allowing inter-layer prediction.

멀티 레이어를 지원하는 비트스트림에는 인터 레이어 예측을 허용하는 최대 시간적 서브 레이어(temporal sub-layer)에 대한 정보를 포함할 수 있다. 이러한 정보는 비디오 파라미터 세트에 포함되는 max_tid_il_ref_pics_plus1의 구문 요소로 전송될 수 있다. max_tid_il_ref_pics_plus1에 1을 뺀 값은 인터 레이어 예측을 허용하는 최대 시간축 서브 레이어의 개수를 나타낸다.A bitstream supporting multi-layers may include information on a maximum temporal sub-layer allowing inter-layer prediction. This information may be transmitted as a syntax element of max_tid_il_ref_pics_plus1 included in the video parameter set. A value subtracting 1 from max_tid_il_ref_pics_plus1 represents the maximum number of time-axis sub-layers that allow inter-layer prediction.

이 경우, 참조 픽쳐 리스트를 구성할 때, 현재 레이어의 temporalId 값이 max_tid_il_ref_pics_plus1에서 1을 뺀 값으로 특정된 값보다 큰 경우에는 업샘플링한 베이스 레이어 픽쳐 보다 동일한 레이어에 있는 픽쳐를 참조 픽쳐로 사용하는 것이 부호화 및 복호화 효율 측면에서 유리하다. 따라서, 현재 레이어의 temporalId 값이 max_tid_il_ref_pics_plus1-1로 특정된 값 보다 큰 경우, 인터 레이어 참조를 활용하지 않도록 설정할 수 있다. 이 경우, 인터 레이어 참조 픽쳐 세트가 참조 픽쳐 리스트에 추가되지 않을 수도 있고, 인터 레이어 참조 픽쳐 세트가 추가되더라도 이를 참조하지 못하도록 하는 별도의 신호가 시그널링 될 수도 있다. In this case, when configuring the reference picture list, when the temporalId value of the current layer is greater than the value specified by subtracting 1 from max_tid_il_ref_pics_plus1, it is better to use a picture in the same layer as the upsampled base layer picture as a reference picture. It is advantageous in terms of encoding and decoding efficiency. Therefore, when the temporalId value of the current layer is greater than the value specified by max_tid_il_ref_pics_plus1-1, it may be set not to use the inter-layer reference. In this case, the inter-layer reference picture set may not be added to the reference picture list, or even if the inter-layer reference picture set is added, a separate signal for preventing reference to the inter-layer reference picture set may be signaled.

반면, 현재 레이어의 temporalId 값이 max_tid_il_ref_pics_plus1로 특정되는 값보다 작거나 같은 경우에는 현재 레이어에 대한 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트 및 인터 레이어 참조 픽쳐 세트를 조합하여 참조 픽쳐 리스트를 구성할 수 있다. 이 경우, 상기 도 6 내지 13을 참조하여 설명된 실시예 및 상기 실시예에서 변형 가능한 실시예에 따라 참조 픽쳐 세트가 구성될 수 있다. On the other hand, when the temporalId value of the current layer is less than or equal to the value specified by max_tid_il_ref_pics_plus1, a reference picture list may be configured by combining a short-term reference picture set, a long-term reference picture set, and an inter-layer reference picture set for the current layer. In this case, a reference picture set may be configured according to the embodiment described with reference to FIGS. 6 to 13 and an embodiment that can be modified in the above embodiment.

한편, 현재 레이어의 하위 레이어들 중 temporalId 값이 max_tid_il_ref_pics_plus1에서 1을 뺀 값보다 큰 하위 레이어는 현재 레이어의 예측 시 참조되지 않는다.
Meanwhile, among the lower layers of the current layer, a lower layer having a temporalId value greater than a value obtained by subtracting 1 from max_tid_il_ref_pics_plus1 is not referenced when predicting the current layer.

그리고, 인터 예측에서는 현재 슬라이스 또는 픽쳐보다 시간적 서브 레이어의 termporalId 값이 큰 슬라이스 또는 픽쳐는 참조하지 않기 때문에, 현재 슬라이스 또는 픽쳐의 termporalId 값보다 큰 termporalId 값을 갖는 베이스 레이어의 슬라이스 또는 픽쳐는 참조하지 않을 수 있다. In addition, since inter prediction does not refer to a slice or picture having a termporalId value larger than the current slice or picture, a slice or picture of a base layer having a termporalId value greater than the termporalId value of the current slice or picture will not be referenced. I can.

이와 같이, 시간적 서브 레이어의 temporalId에 따라 인터 레이어 참조 픽쳐 세트를 사용하지 않는 경우, 현재 레이어에 대한 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트만 사용하여 참조 픽쳐 리스트를 구성할 수 있다.
As described above, when the inter-layer reference picture set is not used according to the temporalId of the temporal sub-layer, the reference picture list may be constructed using only the short-term reference picture set and the long-term reference picture set for the current layer.

한편, 공간적 스케일러빌러티가 지원되는 비트스트림에서 인핸스먼트 레이어와 베이스 레이어의 영상, 또는 다시점 스케일러빌러티가 지원되는 비트스트림에서 현재의 레이어와 인접한 시점의 주변 레이어의 영상은 서로 비슷한 특징을 가질 수 있다. 이런 경우, 참조 픽쳐 세트의 유사성이 존재할 수 있다.Meanwhile, in a bitstream supporting spatial scalability, an image of an enhancement layer and a base layer, or an image of a neighboring layer adjacent to the current layer in a bitstream supporting multi-view scalability have similar characteristics. I can. In this case, similarity of the reference picture set may exist.

이하에서, 서로 상이한 레이어에서 참조 픽쳐 세트가 유사할 수 있는 점을 이용하여 인핸스먼트 레이어의 참조 픽쳐 세트 또는 참조 픽쳐 리스트를 구성할 때 베이스 레이어 또는 하위 레이어의 참조 픽쳐 세트 또는 참조 픽쳐 리스트를 이용하는 것에 대하여 살펴본다.
Hereinafter, when constructing a reference picture set or a reference picture list of an enhancement layer by using the point that reference picture sets may be similar in different layers, it is possible to use a reference picture set or a reference picture list of a base layer or a lower layer. Let's take a look.

본 발명의 일 실시예에 따르면, 베이스 레이어의 참조 픽쳐 세트 정보를 인핸스먼트 레이어의 참조 픽쳐 세트로 사용하여 인핸스먼트 레이어의 예측을 수행할 수 있다. According to an embodiment of the present invention, prediction of an enhancement layer may be performed by using reference picture set information of a base layer as a reference picture set of an enhancement layer.

즉, 부호화 장치 및 복호화 장치는 베이스 레이어, 다른 하위 레이어 또는 부호화 또는 복호화 대상이 되는 현재 레이어와 인접한 레이어(이하, 참조 레이어)의 참조 픽쳐 세트를 현재 레이어에서 그대로 사용할 수 있다. That is, the encoding device and the decoding device may use a reference picture set of a base layer, another lower layer, or a layer adjacent to the current layer to be encoded or decoded (hereinafter, referred to as a reference layer) as it is in the current layer.

부호화 장치 및 복호화 장치는 참조 레이어를 부호화 또는 복호화하는 부호화부 및 복호화부로부터 참조 레이어의 참조 픽쳐 세트 정보, 즉 참조 픽쳐 세트를 구성하는 참조 픽쳐에 대한 정보 및 사용 여부를 나타내는 플래그 정보를 얻을 수있고, 이러한 정보를 인핸스먼트 레이어, 즉 현재 레이어의 예측 시 그대로 사용 할 수 있다. The encoding device and the decoding device can obtain reference picture set information of the reference layer, that is, information about the reference picture constituting the reference picture set, and flag information indicating whether to use or not, from the encoding unit and the decoding unit that encode or decode the reference layer. , This information can be used as it is when predicting the enhancement layer, that is, the current layer.

현재 부호화 또는 복호화 대상이되는 인핸스먼트 레이어가 참조할 참조 레이어가 베이스 레이어의 픽쳐인 경우, 베이스 레이어는 인터 레이어 참조 픽쳐가 존재하지 않기 때문에 단기 참조 픽쳐 세트 및 장기 참조 펙쳐 세트의 정보를 이용할 수 있다. 인핸스먼트 레이어가 베이스 레이어의 참조 픽쳐 세트가 이용되는 경우, 이러한 시그널링은 시퀀스 파라미터 세트(sequence parameter set, SPS)를 통하여 이루어질 수 있다. If the reference layer to which the enhancement layer currently being encoded or decoded is a reference layer is a picture of the base layer, since the base layer does not have an inter-layer reference picture, information on the short-term reference picture set and the long-term reference picture set can be used. . When the reference picture set of the base layer is used for the enhancement layer, such signaling may be performed through a sequence parameter set (SPS).

아래 표 1은 본 발명의 일 실시예에 따른 SPS를 나타낸다.Table 1 below shows the SPS according to an embodiment of the present invention.

Figure 112013103866495-pat00001
Figure 112013103866495-pat00001

표 1을 참조하면, inter_layer_copy_flag 값이 1 이면 현재 레이어가 참조하는 참조 레이어의 단기 참조 픽쳐 세트와 장기 참조 픽쳐 세트를 현재 레이어의 단기 참조 픽쳐 세트와 장기 참조 픽쳐 세트로 사용하는 것을 나타낸다. inter_layer_copy_flag 값이 0 이면 참조 레이어가 아닌 현재 레이어의 슬라이스 헤더를 복호화하여 현재 레이어의 단기 참조 픽쳐 세트와 장기 참조 픽쳐 세트를 유도한다. Referring to Table 1, when the value of inter_layer_copy_flag is 1, it indicates that the short-term reference picture set and the long-term reference picture set of the reference layer referenced by the current layer are used as the short-term reference picture set and the long-term reference picture set of the current layer. When the value of inter_layer_copy_flag is 0, the slice header of the current layer other than the reference layer is decoded to derive the short-term reference picture set and the long-term reference picture set of the current layer.

표 1과 같이, inter_layer_copy_flag 정보는 SPS에 포함되어 전송될 수 있다. 또는 이러한 플래그 정보는 픽쳐 레벨 또는 슬라이스 레벨에 포함되어 전송될 수도 있다. As shown in Table 1, inter_layer_copy_flag information may be included in the SPS and transmitted. Alternatively, such flag information may be transmitted by being included in the picture level or the slice level.

num_short_term_ref_pic_sets는 SPS에 포함되어 있는 단기 참조 픽쳐 세트의 개수를 나타낸다. 표 1과 같이, num_short_term_ref_pic_sets는 inter_layer_copy_flag가 0인 경우 수신된다.num_short_term_ref_pic_sets represents the number of short-term reference picture sets included in the SPS. As shown in Table 1, num_short_term_ref_pic_sets is received when inter_layer_copy_flag is 0.

num_short_term_ref_pic_sets가 시그널링되면, num_short_term_ref_pic_sets에 의하여 특정되는 단기 참조 픽쳐 세트의 개수만큼 for 구문(i = 0; i < num_short_term_ref_pic_sets; i++))이 반복되면서 단기 참조 픽쳐 세트의 인덱스(short_term_ref_pic_set( i ))가 유도된다. When num_short_term_ref_pic_sets is signaled, the index of the short-term reference picture set (short_term_ref_pic_set( i )) is derived by repeating the for statement (i = 0; i <num_short_term_ref_pic_sets; i++)) as many as the number of short-term reference picture sets specified by num_short_term_ref_pic_sets.

long_term_ref_pics_present_flag가 0이면 현재 레이어 픽쳐의 예측을 위하여 사용되는 장기 참조 픽쳐가 존재하지 않는 것을 나타내고, long_term_ref_pics_present_flag가 1이면 현재 레이어 픽쳐의 예측을 위하여 적어도 하나의 장기 참조 픽쳐가 사용되는 것을 나타낸다. If long_term_ref_pics_present_flag is 0, it indicates that there is no long-term reference picture used for prediction of the current layer picture, and if long_term_ref_pics_present_flag is 1, it indicates that at least one long-term reference picture is used for prediction of the current layer picture.

num_long_term_ref_pics_sps는 SPS에 포함되어 있는 장기 참조 픽쳐 세트의 개수를 나타낸다.num_long_term_ref_pics_sps represents the number of long-term reference picture sets included in the SPS.

lt_ref_pic_poc_lsb_sps[ i ]는 SPS에 명시되어 있는 i 번째 후보 장기 참조 픽쳐의 MaxPocLsb를 나타낸다. lt_ref_pic_poc_lsb_sps[i] represents MaxPocLsb of the i-th candidate long-term reference picture specified in the SPS.

used_by_curr_pic_lt_sps_flag[ i ]가 0이면 SPS에 명시되어 있는 i 번째 후보 장기 참조 픽쳐가 i 번째 후보 장기 참조 픽쳐를 해당 장기 참조 픽쳐 세트에 포함하는 픽쳐의 참조 픽쳐로 사용되지 않는 것을 나타낸다. If used_by_curr_pic_lt_sps_flag[i] is 0, it indicates that the i-th candidate long-term reference picture specified in the SPS is not used as a reference picture of a picture including the i-th candidate long-term reference picture in the corresponding long-term reference picture set.

정리하면, 본 발명의 일 실시예에 따를 경우, 현재 레이어가 참조하는 참조 레이어가 베이스 레이어인 경우, 현재 레이어의 참조 픽쳐 리스트를 구성할 때, 베이스 레이어의 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트가 그대로 사용될 수 있다. 이러한 경우, inter_layer_copy_flag와 같은 플래그 정보는 SPS에 포함되어 시그널링 될 수 있다.
In summary, according to an embodiment of the present invention, when the reference layer referenced by the current layer is a base layer, when configuring the reference picture list of the current layer, the short-term reference picture set and the long-term reference picture set of the base layer are It can be used as it is. In this case, flag information such as inter_layer_copy_flag may be included in the SPS and signaled.

본 발명의 다른 실시예에 따르면, 부호화 장치 및 복호화 장치는 참조 레이어의 참조 픽쳐 세트 중 일부를 현재 레이어의 참조 픽쳐 세트로 사용할 수 있다. 즉, 참조 레이어의 단기 참조 픽쳐 세트 또는 장기 참조 픽쳐 세트 중 적어도 하나가 현재 레이어의 참조 픽쳐 세트로 사용되는 경우, 각 참조 픽쳐 세트의 사용 여부를 시그널링 할 수 있다. According to another embodiment of the present invention, the encoding apparatus and the decoding apparatus may use some of the reference picture set of the reference layer as the reference picture set of the current layer. That is, when at least one of the short-term reference picture set or the long-term reference picture set of the reference layer is used as the reference picture set of the current layer, whether to use each reference picture set may be signaled.

표 2는 본 발명의 일 실시예에 따른 SPS를 나타낸다.Table 2 shows the SPS according to an embodiment of the present invention.

Figure 112013103866495-pat00002
Figure 112013103866495-pat00002

표 2를 참조하면, inter_layer_short_copy_flag 값이 1 이면 현재 레이어가 참조하는 참조 레이어의 단기 참조 픽쳐 세트를 현재 레이어의 단기 참조 픽쳐 세트로 사용하는 것을 나타낸다. inter_layer_short_copy_flag 값이 0 이면 참조 레이어가 아닌 현재 레이어의 슬라이스 헤더를 복호화하여 현재 레이어의 단기 참조 픽쳐 세트를 유도한다. Referring to Table 2, when the value of inter_layer_short_copy_flag is 1, it indicates that the short-term reference picture set of the reference layer referenced by the current layer is used as the short-term reference picture set of the current layer. If the inter_layer_short_copy_flag value is 0, the slice header of the current layer other than the reference layer is decoded to derive the short-term reference picture set of the current layer.

표 2와 같이, inter_layer_short_copy_flag 정보는 SPS에 포함되어 전송될 수 있다. 또는 이러한 플래그 정보는 픽쳐 레벨 또는 슬라이스 레벨에 포함되어 전송될 수도 있다. As shown in Table 2, inter_layer_short_copy_flag information may be included in the SPS and transmitted. Alternatively, such flag information may be transmitted by being included in the picture level or the slice level.

num_short_term_ref_pic_sets는 SPS에 포함되어 있는 단기 참조 픽쳐 세트의 개수를 나타낸다. 표 2와 같이, num_short_term_ref_pic_sets는 inter_layer_short_copy_flag 가 0인 경우 수신된다.num_short_term_ref_pic_sets represents the number of short-term reference picture sets included in the SPS. As shown in Table 2, num_short_term_ref_pic_sets is received when inter_layer_short_copy_flag is 0.

num_short_term_ref_pic_sets가 시그널링되면, num_short_term_ref_pic_sets에 의하여 특정되는 단기 참조 픽쳐 세트의 개수만큼 for 구문(i = 0; i < num_short_term_ref_pic_sets; i++))이 반복되면서 단기 참조 픽쳐 세트의 인덱스(short_term_ref_pic_set( i ))가 유도된다. When num_short_term_ref_pic_sets is signaled, the index of the short-term reference picture set (short_term_ref_pic_set( i )) is derived by repeating the for statement (i = 0; i <num_short_term_ref_pic_sets; i++)) as many as the number of short-term reference picture sets specified by num_short_term_ref_pic_sets.

long_term_ref_pics_present_flag가 0이면 현재 레이어 픽쳐의 예측을 위하여 사용되는 장기 참조 픽쳐가 존재하지 않는 것을 나타내고, long_term_ref_pics_present_flag가 1이면 현재 레이어 픽쳐의 예측을 위하여 적어도 하나의 장기 참조 픽쳐가 사용되는 것을 나타낸다.If long_term_ref_pics_present_flag is 0, it indicates that there is no long-term reference picture used for prediction of the current layer picture, and if long_term_ref_pics_present_flag is 1, it indicates that at least one long-term reference picture is used for prediction of the current layer picture.

inter_layer_long_copy_flag 값이 1 이면 현재 레이어가 참조하는 참조 레이어의 장기 참조 픽쳐 세트를 현재 레이어의 장기 참조 픽쳐 세트로 사용하는 것을 나타낸다. inter_layer_ long_copy_flag 값이 0 이면 참조 레이어가 아닌 현재 레이어의 슬라이스 헤더를 복호화하여 현재 레이어의 장기 참조 픽쳐 세트를 유도한다.If the value of inter_layer_long_copy_flag is 1, it indicates that the long-term reference picture set of the reference layer referenced by the current layer is used as the long-term reference picture set of the current layer. If the inter_layer_long_copy_flag value is 0, the slice header of the current layer other than the reference layer is decoded to derive the long-term reference picture set of the current layer.

inter_layer_long_copy_flag이 0이고, long_term_ref_pics_present_flag가 1이면, SPS에 포함되어 있는 장기 참조 픽쳐의 개수를 나타내는 num_long_term_ref_pic_sps 가 시그널링 된다. When inter_layer_long_copy_flag is 0 and long_term_ref_pics_present_flag is 1, num_long_term_ref_pic_sps indicating the number of long-term reference pictures included in the SPS is signaled.

lt_ref_pic_poc_lsb_sps[ i ]는 SPS에 명시되어 있는 i 번째 후보 장기 참조 픽쳐의 MaxPocLsb를 나타낸다. lt_ref_pic_poc_lsb_sps[i] represents MaxPocLsb of the i-th candidate long-term reference picture specified in the SPS.

used_by_curr_pic_lt_sps_flag[ i ]가 0이면 SPS에 명시되어 있는 i 번째 후보 장기 참조 픽쳐가 i 번째 후보 장기 참조 픽쳐를 해당 장기 참조 픽쳐 세트에 포함하는 픽쳐의 참조 픽쳐로 사용되지 않는 것을 나타낸다. If used_by_curr_pic_lt_sps_flag[i] is 0, it indicates that the i-th candidate long-term reference picture specified in the SPS is not used as a reference picture of a picture including the i-th candidate long-term reference picture in the corresponding long-term reference picture set.

정리하면, 본 발명의 일 실시예에 따를 경우, 현재 레이어가 참조하는 참조 레이어가 베이스 레이어인 경우, 현재 레이어의 참조 픽쳐 리스트를 구성할 때, 베이스 레이어의 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트가 그대로 사용될 수 있다. 이러한 경우, 이를 시그널링 하기 위하여 SPS는 inter_layer_ short_copy_flag 또는 inter_layer_long_copy_flag와 같은 플래그 정보를 포함할 수 있다. In summary, according to an embodiment of the present invention, when the reference layer referenced by the current layer is a base layer, when configuring the reference picture list of the current layer, the short-term reference picture set and the long-term reference picture set of the base layer are It can be used as it is. In this case, in order to signal this, the SPS may include flag information such as inter_layer_short_copy_flag or inter_layer_long_copy_flag.

즉, 본 실시예에 따를 경우, 현재 레이어의 참조 픽쳐 세트 전체에 대한 복사 정보(copy flag)가 아닌 단기 참조 픽쳐 세트와 장기 참조 픽쳐 세트 각각에 대한 복사 정보가 시그널링 될 수 있다. That is, according to the present embodiment, copy information for each of the short-term reference picture set and the long-term reference picture set may be signaled instead of copy information (copy flag) for the entire reference picture set of the current layer.

또는 다른 실시예에 따르면, 현재 레이어는 참조 레이어의 인터 레이어 참조 픽쳐 세트를 현재 레이어의 인터 레이어 참조 픽쳐 세트로 이용할 수도 있고, 이런 경우, 인터 레이어 참조 픽쳐 세트를 복사하는지 여부를 나타내는 플래그 정보가 시그널링 될 수 있다. Alternatively, according to another embodiment, the current layer may use the inter-layer reference picture set of the reference layer as the inter-layer reference picture set of the current layer, and in this case, flag information indicating whether to copy the inter-layer reference picture set is signaled. Can be.

상술된 플래그 정보는 표 1 및 2와 같이 시퀀스 파라미터 세트에 포함되어 시그널링 될 수도 있고, 비디오 파라미터 세트, 또는 픽쳐 레벨 또는 슬라이스 레벨에 포함되어 전송될 수도 있다.
The above-described flag information may be included in a sequence parameter set and signaled as shown in Tables 1 and 2, or may be included in a video parameter set, a picture level, or a slice level and transmitted.

한편, 현재 레이어가 참조 레이어의 인터 레이어 참조 픽쳐 세트 정보를 참조하는 경우, 인터 레이어 참조 픽쳐가 참조 픽쳐 리스트에 추가되는 위치 정보가 참조될 수 있다. 현재 레이어의 참조 픽쳐 세트를 참조 픽쳐 리스트에 추가할 때 참조 레이어의 상기 위치 정보를 이용할 수 있다. 인터 레이어 참조 픽쳐를 참조 픽쳐 리스트에 추가하는 방법은 상기 도 6 내지 도 13에서 설명한 것과 같다.Meanwhile, when the current layer refers to inter-layer reference picture set information of the reference layer, position information to which the inter-layer reference picture is added to the reference picture list may be referred. When adding the reference picture set of the current layer to the reference picture list, the position information of the reference layer may be used. A method of adding an inter-layer reference picture to the reference picture list is the same as described with reference to FIGS. 6 to 13.

도 14는 본 발명의 일 예에 따라 참조 레이어의 인터 레이어 참조 픽쳐 세트의 추가 위치를 참조하는 예를 도시한 도면이다. 14 is a diagram illustrating an example of referring to an additional position of an inter-layer reference picture set of a reference layer according to an example of the present invention.

참조 레이어가 베이스 레이어가 아니고 참조 레이어 역시 다른 레이어를 참조하여 부호화 또는 복호화 된 경우, 참조 레이어에 대한 인터 레이어 참조 픽쳐를 초기 참조 픽쳐 리스트에 추가하는 순서 또는 참조 픽쳐 리스트에 추가하는 특정 위치를 현재 레이어의 부호화 또는 복호화 시 그대로 사용할 수도 있다.If the reference layer is not the base layer and the reference layer is also encoded or decoded by referring to another layer, the order of adding the inter-layer reference picture for the reference layer to the initial reference picture list or the specific position to add to the reference picture list is the current layer. It may be used as it is when encoding or decoding of.

도 14와 같이, 참조 레이어의 경우 인터 레이어 참조 픽쳐로 구성된 제 4 참조 픽쳐 세트는 초기 참조 픽쳐 리스트에 추가될 때 제1 참조 픽쳐 세트를 구성하는 픽쳐 0, 픽쳐 1 다음에 추가될 수 있다. 즉, 인터 레이어 참조 픽쳐는 초기 참조 픽쳐 리스트의 두 번째 참조 픽쳐 세트 순으로 정렬될 수 있다. As shown in FIG. 14, in the case of a reference layer, when a fourth reference picture set composed of an inter-layer reference picture is added to an initial reference picture list, it may be added after picture 0 and picture 1 constituting the first reference picture set. That is, inter-layer reference pictures may be arranged in the order of the second reference picture set in the initial reference picture list.

인터 레이어 참조 픽쳐 세트 다음에는 used_by_curr_pic_s0_flag가 1인 제2 참조 픽쳐 세트를 구성하는 픽쳐 0, 픽쳐1, 제3 참조 픽쳐 세트를 구성하는 픽쳐 0 및 픽쳐 1이 정렬된다. After the inter-layer reference picture set, picture 0, picture 1, and picture 0 and picture 1 constituting the second reference picture set having used_by_curr_pic_s0_flag of 1 are aligned.

최종적으로 수정된 초기 참조 픽쳐 리스트는 제1 참조 픽쳐 세트의 픽쳐 0, 픽쳐 1, 제4 참조 픽쳐 세트의 픽쳐 0, 픽쳐 1 및 제2 참조 픽쳐 세트의 픽쳐 0으로 구성된다. The finally modified initial reference picture list is composed of picture 0 and picture 1 of the first reference picture set, picture 0 of the fourth reference picture set, picture 1, and picture 0 of the second reference picture set.

도시된 바와 같이, 현재 레이어에 대한 초기 참조 픽쳐 리스트에서도 인터 레이어 참조 픽쳐들은 제1 참조 픽쳐 세트 다음에 두 번째 순서로 정렬될 수 있다. As illustrated, even in the initial reference picture list for the current layer, inter-layer reference pictures may be arranged in a second order after the first reference picture set.

현재 레이어의 초기 참조 픽쳐 리스트를 구성할 때 참조 레이어의 위치 정보를 이용하는 경우, 이러한 위치 정보는 참조 레이어의 인터 레이어 참조 픽쳐 세트의 위치를 머지하는지 여부를 나타내는 플래그 정보로 시그널링 될 수 있다. 또한, 위치 정보가 머지되는 참조 레이어의 ID가 추가적으로 시그널링 될 수도 있다.
When the position information of the reference layer is used when configuring the initial reference picture list of the current layer, such position information may be signaled as flag information indicating whether to merge the position of the inter-layer reference picture set of the reference layer. In addition, the ID of the reference layer to which the location information is merged may be additionally signaled.

인터 레이어 참조 픽쳐가 추가되는 위치가 특정되고 나면 이를 시그널링하는 방법 역시 복수의 방법이 존재할 수 있다. 부호화 장치는 인터 레이어 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치에 대한 위치 정보를 슬라이스나 시퀀스 레벨, 예컨대 슬라이스 헤더 또는 시퀀스 헤더에 포함하여 부호화 할 수 있다. 다시점 스케일러빌러티와 같이 복수의 시점 레이어를 지원하는 비트스트림의경우, 각 레이어 별 영상의 특징이 다르고, 베이스 레이어 복원 영상과의 상관관계도 다른 경우가 많이 발생한다. 또한, 각 멀티 레이어 별 temporalId 값이 다를 수도 있고, temporalId 값에 따라 인터 레이어 참조가 발생하는 빈도수도 달라 질 수 있다. After the location to which the inter-layer reference picture is added is specified, there may be a plurality of methods for signaling this. The encoding apparatus may encode position information on a position at which the inter-layer reference picture set is added to the initial reference picture list in a slice or sequence level, such as a slice header or a sequence header. In the case of a bitstream supporting a plurality of view layers such as multi-view scalability, there are many cases in which the characteristics of the image for each layer are different and the correlation with the reconstructed image of the base layer is different. In addition, the temporalId value for each multi-layer may be different, and the frequency at which inter-layer reference occurs may be different according to the temporalId value.

이러한 여러 가지 조건에 따라 각 레이어 별로 인터 레이어 참조 픽쳐를 추가하는 가장 최적의 위치가 다를 수 있기 때문에, 멀티 레이어 별로 인터 레이어 참조 픽쳐를 추가할 위치가 시그널링 될 수 있다.Since the most optimal position to add the inter-layer reference picture to each layer may be different according to these various conditions, the position to add the inter-layer reference picture to each multi-layer may be signaled.

또는, 각 멀티레이어 별 영상의 다양성을 유지하면서, 부호화 단계의 연산량을 줄이기 위해서 부호화 장치는 참조 픽쳐를 추가하는 위치를 소정 개수로 제한하고, 상기 개수만큼 인터 레이어 참조 픽쳐가 추가될 수 있는 위치를 설정한 후, 설정된 위치에 대해서만 비트 왜곡률을 계산할 수 있다. 계산된 비트 왜곡률에 기초하여 인터 레이어 참조 픽쳐가 추가될 수 있는 최적의 위치가 유도될 수 있고, 부호화 장치는 이러한 위치를 복호화 장치로 전송할 수 있다. Alternatively, in order to reduce the amount of computation in the encoding step while maintaining the diversity of images for each multilayer, the encoding apparatus limits the positions to which the reference pictures are to be added to a predetermined number, and determines the positions where the inter-layer reference pictures can be added by the number. After setting, the bit distortion rate can be calculated only for the set position. An optimal position to which an inter-layer reference picture can be added may be derived based on the calculated bit distortion rate, and the encoding apparatus may transmit this position to the decoding apparatus.

예를 들어, 초기 참조 픽처 리스트의 가장 처음, 단기 참조 픽쳐 세트 다음, 장기 참조 픽쳐 세트 다음과 같이 세 개의 위치에 인터 레이어 참조 픽쳐가 추가될 수 있는 것으로 설정될 수 있다. 이 경우 부호화 장치는 세 개의 위치 중 인터 레이어 참조 픽쳐가 추가되는 위치의 식별 인덱스(indication index)를 부호화 하여 시그널링 할 수 있다.
For example, it may be set that the inter-layer reference picture can be added at three positions as follows: the first of the initial reference picture list, after the short reference picture set, and then the long reference picture set. In this case, the encoding apparatus may encode and signal an identification index of a position to which an inter-layer reference picture is added among three positions.

도 15는 본 발명에 따른 참조 픽쳐 리스트를 생성하는 방법을 설명하기 위한 제어흐름도이다.15 is a control flow diagram illustrating a method of generating a reference picture list according to the present invention.

우선, 복호화 장치는 현재 픽쳐가 참조 레이어의 참조 픽쳐 세트 정보를 이용하는지 여부를 나타내는 플래그 정보를 수신한다(S1510).First, the decoding apparatus receives flag information indicating whether the current picture uses reference picture set information of a reference layer (S1510).

이러한 플래그 정보는 참조 레이어의 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트를 현재 픽쳐의 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트로 유도하는지 여부를 나타내는 플래그 정보일 수 있다.This flag information may be flag information indicating whether to derive the short-term reference picture set and the long-term reference picture set of the reference layer as the short-term reference picture set and the long-term reference picture set of the current picture.

또는, 플래그 정보는 참조 레이어의 단기 참조 픽쳐 세트만을 현재 픽쳐의 단기 참조 픽쳐 세트로 유도하는지 여부를 나타낼 수도 있고, 참조 레이어의 장기 참조 픽쳐 세트만을 현재 픽쳐의 장기 참조 픽쳐 세트로 유도하는지 여부를 나타내는 정보일 수도 있다. Alternatively, the flag information may indicate whether only the short-term reference picture set of the reference layer is derived as the short-term reference picture set of the current picture, or indicates whether only the long-term reference picture set of the reference layer is derived as the long-term reference picture set of the current picture. It could be information.

이와 같이, 플래그 정보가 참조 레이어의 단기 참조 픽쳐 세트 또는 장기 참조 픽쳐 세트 중 어느 하나, 또는 단기 참조 픽쳐 세트 및 장기 참조 픽쳐 세트를 그대로 현재 픽쳐의 초기 참조 픽쳐 리스트에 사용하는지 여부를 나타내는 경우, 참조 레이어는 인터 레이어 참조 픽쳐를 참조하지 않는 베이스 레이어일 수 있다. As described above, when the flag information indicates whether to use either the short-term reference picture set or the long-term reference picture set of the reference layer, or the short-term reference picture set and the long-term reference picture set as it is in the initial reference picture list of the current picture, reference The layer may be a base layer that does not refer to an inter-layer reference picture.

만약, 참조 레이어가 베이스 레이어가 아니면, 플래그 정보는 참조 레이어의 인터 레이어 참조 픽쳐 세트를 현재 픽쳐의 인터 레이어 참조 픽쳐 세트로 유도하는지 여부를 나타낼 수도 있다. 즉, 참조 레이어가 참조하는 다른 레이어에 대한 픽쳐를 그대도 현재 픽처가 참조할 수도 있다.If the reference layer is not the base layer, the flag information may indicate whether the inter-layer reference picture set of the reference layer is derived as the inter-layer reference picture set of the current picture. That is, the current picture may refer to a picture for another layer referred to by the reference layer.

또는, 플래그 정보는 도 13에 설명된 바와 같이 참조 레이어의 인터 레이어 참조 픽쳐 세트를 초기 참조 픽쳐 리스트에 추가하는 위치를 현재 픽쳐의 인터 레이어 참조 픽쳐 세트를 초기 참조 픽쳐 리스트에 추가하는 위치로 이용하는지 여부를 나타낼 수도 있다. Alternatively, as the flag information, as described in FIG. 13, whether the position of adding the inter-layer reference picture set of the reference layer to the initial reference picture list is used as the position of adding the inter-layer reference picture set of the current picture to the initial reference picture list? It can also indicate whether or not.

본 발명의 다른 실시예에 따르면, 참조 레이어의 인터 레이어 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치에 대한 정보는 플래그 정보가 아닌 인터 레이어 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치 인덱스에 대한 차이값 정보, 즉 예측값으로 시그널링될 수도 있다. 예를 들어 참조 레이어의 인터 레이어 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가하는 위치가 첫 번째 순서이고, 현재 레이어의 인터 레이어 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치가 두 번째 순서이면, 부호화 장치는 첫 번째 위치 및 두 번째 위치에 대한 차이값 정보를 부호화 하여 전송할 수 있다.According to another embodiment of the present invention, the information on the position at which the inter-layer reference picture set of the reference layer is added to the initial reference picture list is not flag information, but the position index at which the inter-layer reference picture set is added to the initial reference picture list. It may be signaled as difference value information, that is, a predicted value. For example, if the inter-layer reference picture set of the reference layer is added to the initial reference picture list in the first order, and the inter-layer reference picture set of the current layer is added to the initial reference picture list in the second order, encoding The device may encode and transmit the difference value information for the first position and the second position.

복호화 장치는 시그널링된 차이값 정보를 이용하여 현재 레이어의 인터 레이어 참조 픽쳐 세트가 초기 참조 픽쳐 리스트에 추가되는 위치를 유도할 수 있다.The decoding apparatus may derive a position where the inter-layer reference picture set of the current layer is added to the initial reference picture list using the signaled difference value information.

이러한 플래그 정보는 비디오 레벨, 시퀀스 레벨, 픽쳐 레벨 또는 슬라이스 레벨에 포함되어 시그널링 될 수 있다. Such flag information may be included in the video level, sequence level, picture level, or slice level and signaled.

그런 다음, 복호화 장치는 플래그 정보에 기초하여 초기 참조 픽쳐 리스트 생성한다(S1520). Then, the decoding apparatus generates an initial reference picture list based on the flag information (S1520).

참조 레이어의 참조 픽쳐 세트 정보를 이용하는지 여부를 나타내는 상술된 플래그 정보가 1이면, 현재 픽쳐에 대한 초기 참조 픽쳐 리스트를 구성할 때, 참조 레이어의 참조 픽쳐 세트를 그대로 이용할 수 있다. If the above-described flag information indicating whether or not the reference picture set information of the reference layer is used is 1, when configuring the initial reference picture list for the current picture, the reference picture set of the reference layer can be used as it is.

플래그 정보가 0이면, 현재 픽쳐의 초기 참조 픽쳐 리스트는 참조 레이어의 정보 없이 독립적으로 구성된다. If the flag information is 0, the initial reference picture list of the current picture is independently configured without reference layer information.

예측부는 추가적인 참조 픽쳐 리스트에 대한 변경 정보에 기초하여 초기 참조 픽쳐 리스트를 수정할 수도 있다. The predictor may modify the initial reference picture list based on change information on the additional reference picture list.

예측부는 초기 참조 픽쳐 리스트 또는 변형된 최종 참조 픽쳐 리스트에 기초하여 현재 픽쳐에 대한 예측을 수행한다(S1530).The prediction unit predicts the current picture based on the initial reference picture list or the modified final reference picture list (S1530).

현재 픽쳐에 대한 예측 시, 인터 레이어 참조 픽쳐 세트에 포함되는 참조 픽쳐는 장기 참조 픽쳐로 표시되고, 복호화 장치는 인터 레이어 참조 픽쳐 세트에 포함되는 참조 픽쳐를 현재 픽쳐의 참조 픽쳐로 이용할 수 있다.When predicting the current picture, a reference picture included in the inter-layer reference picture set is displayed as a long-term reference picture, and the decoding apparatus may use a reference picture included in the inter-layer reference picture set as a reference picture of the current picture.

상술한 예시적인 시스템에서, 방법들은 일련의 단계 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 발명은 단계들의 순서에 한정되는 것은 아니며, 어떤 단계는 상술한 바와 다른 단계와 다른 순서로 또는 동시에 발생할 수 있다. 또한, 상술한 실시예들은 다양한 양태의 예시들을 포함할 수 있으므로 각 실시예의 조합 역시 본 발명의 일 실시예로서 이해되어야 할 것이다. 따라서, 본 발명은 이하의 특허청구범위 내에 속하는 모든 다른 교체, 수정 및 변경을 포함한다고 할 것이다. In the exemplary system described above, the methods are described on the basis of a flowchart as a series of steps or blocks, but the present invention is not limited to the order of the steps, and certain steps may occur in a different order or concurrently with the steps described above. I can. In addition, since the above-described embodiments may include examples of various aspects, a combination of each embodiment should also be understood as an embodiment of the present invention. Accordingly, the present invention will be said to include all other replacements, modifications and changes falling within the scope of the following claims.

100 : 부호화 장치 200 : 복호화 장치
100a : 상위 레이어의 부호화부 100b : 하위 레이어의 부호화부
200a : 상위 레이어의 복호화부 200b : 하위 레이어의 복호화부
100: encoding device 200: decoding device
100a: encoder of an upper layer 100b: encoder of a lower layer
200a: decoding unit of the upper layer 200b: decoding unit of the lower layer

Claims (20)

복수의 레이어를 지원하는 영상의 복호화 방법에 있어서,
현재 픽쳐의 초기 참조 픽쳐 리스트를 생성하는 단계와;
상기 초기 참조 픽쳐 리스트에 기초하여 상기 현재 픽쳐에 대한 예측을 수행하는 단계를 포함하되,
상기 초기 참조 픽쳐 리스트는, 초기 참조 픽쳐 리스트 0 및 초기 참조 픽쳐 리스트 1을 포함하며,
상기 초기 참조 픽쳐 리스트 0 및 초기 참조 픽쳐 리스트 1 각각은 단기 참조 픽쳐 세트, 장기 참조 픽쳐 세트 및 인터 레이어 참조 픽쳐 세트를 포함하고, 상기 인터 레이어 참조 픽쳐 세트는 제1 서브 참조 레이어 픽쳐 세트 및 제 2 서브 참조 레이어 픽쳐 세트를 포함하되,
상기 초기 참조 픽쳐 리스트 0에서, 상기 제1 서브 참조 레이어 픽쳐 세트는 상기 현재 픽쳐의 POC(Picture Of Count) 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 단기 참조 픽쳐 세트와, 상기 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 단기 참조 픽쳐 세트 사이에 정렬되고, 상기 제2 서브 참조 레이어 픽쳐 세트는 장기 참조 픽쳐 세트 다음에 정렬되고,
상기 초기 참조 픽쳐 리스트 1에서, 상기 제2 서브 참조 레이어 픽쳐 세트는 상기 현재 픽쳐의 POC(Picture Of Count) 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 단기 참조 픽쳐 세트와, 상기 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 단기 참조 픽쳐 세트 사이에 정렬되고, 상기 제1 서브 참조 레이어 픽쳐 세트는 장기 참조 픽쳐 세트 다음에 정렬되며,
상기 제1 단기 참조 픽쳐 세트, 상기 제2 단기 참조 픽쳐 세트 및 상기 장기 참조 픽쳐 세트는 상기 현재 픽쳐를 포함하는 현재 레이어와 동일한 레이어에 해당되고,
상기 제1 및 제2 서브 참조 레이어 픽쳐 세트는 상기 현재 레이어와 상이한 레이어에 해당되는 것을 특징으로 하는 영상의 디코딩 방법.
In a video decoding method supporting a plurality of layers,
Generating an initial reference picture list of the current picture;
Comprising the step of performing prediction on the current picture based on the initial reference picture list,
The initial reference picture list includes an initial reference picture list 0 and an initial reference picture list 1,
Each of the initial reference picture list 0 and the initial reference picture list 1 includes a short-term reference picture set, a long-term reference picture set, and an inter-layer reference picture set, and the inter-layer reference picture set includes a first sub-reference layer picture set and a second Including a sub-reference layer picture set,
In the initial reference picture list 0, the first sub-reference layer picture set includes a first short-term reference picture set consisting of short-term reference pictures having a smaller POC than a picture of count (POC) of the current picture, and a POC of the current picture. POC is aligned between a second short-term reference picture set composed of a large short-term reference picture, the second sub-reference layer picture set is aligned after a long-term reference picture set,
In the initial reference picture list 1, the second sub-reference layer picture set comprises a second short-term reference picture set consisting of short-term reference pictures having a larger POC than a picture of count (POC) of the current picture, and a second short-term reference picture set consisting of a POC of the current picture. POC is arranged between a first short-term reference picture set composed of small short-term reference pictures, the first sub-reference layer picture set is arranged after a long-term reference picture set,
The first short-term reference picture set, the second short-term reference picture set, and the long-term reference picture set correspond to the same layer as a current layer including the current picture,
And the first and second sub-reference layer picture sets correspond to a layer different from the current layer.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 초기 참조 픽쳐 리스트를 수정하여 최종 참조 픽쳐 리스트를 생성하는 단계를 더 포함하는 것을 특징으로 하는 영상의 디코딩 방법.
The method of claim 1,
And generating a final reference picture list by modifying the initial reference picture list.
제1항에 있어서,
상기 현재 픽쳐에 대한 예측을 수행하는 단계는 상기 인터 레이어 참조 픽쳐 세트에 포함되는 참조 픽쳐를 상기 현재 픽쳐의 참조 픽쳐로 이용하는 것을 특징으로 하는 영상의 디코딩 방법.
The method of claim 1,
The performing of prediction on the current picture comprises using a reference picture included in the inter-layer reference picture set as a reference picture of the current picture.
복수의 레이어를 지원하는 영상의 복호화 장치에 있어서,
비트스트림을 통하여 수신된 영상의 예측 및 복호화를 위한 정보를 복호화하는 엔트로피 복호화부와;
현재 픽쳐의 초기 참조 픽쳐 리스트를 생성하고, 상기 초기 참조 픽쳐 리스트에 기초하여 상기 현재 픽쳐에 대한 예측을 수행하는 예측부를 포함하되,
상기 초기 참조 픽쳐 리스트는, 초기 참조 픽쳐 리스트 0 및 초기 참조 픽쳐 리스트 1을 포함하며,
상기 초기 참조 픽쳐 리스트 0 및 초기 참조 픽쳐 리스트 1 각각은 단기 참조 픽쳐 세트, 장기 참조 픽쳐 세트 및 인터 레이어 참조 픽쳐 세트를 포함하고, 상기 인터 레이어 참조 픽쳐 세트는 제1 서브 참조 레이어 픽쳐 세트 및 제 2 서브 참조 레이어 픽쳐 세트를 포함하되,
상기 초기 참조 픽쳐 리스트 0에서, 상기 제1 서브 참조 레이어 픽쳐 세트는 상기 현재 픽쳐의 POC(Picture Of Count) 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 단기 참조 픽쳐 세트와, 상기 현재 픽쳐의 POC 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 단기 참조 픽쳐 세트 사이에 정렬되고, 상기 제2 서브 참조 레이어 픽쳐 세트는 장기 참조 픽쳐 세트 다음에 정렬되고,
상기 초기 참조 픽쳐 리스트 1에서, 상기 제2 서브 참조 레이어 픽쳐 세트는 상기 현재 픽쳐의 POC(Picture Of Count) 보다 POC가 큰 단기 참조 픽쳐로 구성된 제2 단기 참조 픽쳐 세트와, 상기 현재 픽쳐의 POC 보다 POC가 작은 단기 참조 픽쳐로 구성된 제1 단기 참조 픽쳐 세트 사이에 정렬되고, 상기 제1 서브 참조 레이어 픽쳐 세트는 장기 참조 픽쳐 세트 다음에 정렬되며,
상기 제1 단기 참조 픽쳐 세트, 상기 제2 단기 참조 픽쳐 세트 및 상기 장기 참조 픽쳐 세트는 상기 현재 픽쳐를 포함하는 현재 레이어와 동일한 레이어에 해당되고,
상기 제1 및 제2 서브 참조 레이어 픽쳐 세트는 상기 현재 레이어와 상이한 레이어에 해당되는 것을 특징으로 하는 영상의 디코딩 장치.
In the video decoding apparatus supporting a plurality of layers,
An entropy decoding unit for decoding information for prediction and decoding of an image received through a bitstream;
A prediction unit that generates an initial reference picture list of the current picture and performs prediction on the current picture based on the initial reference picture list,
The initial reference picture list includes an initial reference picture list 0 and an initial reference picture list 1,
Each of the initial reference picture list 0 and the initial reference picture list 1 includes a short-term reference picture set, a long-term reference picture set, and an inter-layer reference picture set, and the inter-layer reference picture set includes a first sub-reference layer picture set and a second Including a sub-reference layer picture set,
In the initial reference picture list 0, the first sub-reference layer picture set includes a first short-term reference picture set consisting of short-term reference pictures having a smaller POC than a picture of count (POC) of the current picture, and a POC of the current picture. POC is aligned between a second short-term reference picture set composed of a large short-term reference picture, the second sub-reference layer picture set is aligned after a long-term reference picture set,
In the initial reference picture list 1, the second sub-reference layer picture set includes a second short-term reference picture set consisting of short-term reference pictures having a larger POC than a picture of count (POC) of the current picture, and POC is aligned between a first short-term reference picture set composed of small short-term reference pictures, the first sub-reference layer picture set is aligned after a long-term reference picture set,
The first short-term reference picture set, the second short-term reference picture set, and the long-term reference picture set correspond to the same layer as a current layer including the current picture,
The apparatus for decoding an image, wherein the first and second sub-reference layer picture sets correspond to a layer different from the current layer.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 제11항에 있어서,
상기 예측부는 상기 초기 참조 픽쳐 리스트를 수정하여 최종 참조 픽쳐 리스트를 생성하는 단계를 더 포함하는 것을 특징으로 하는 영상의 디코딩 장치.
The method of claim 11,
And generating a final reference picture list by modifying the initial reference picture list by the prediction unit.
제11항에 있어서,
상기 예측부는 상기 인터 레이어 참조 픽쳐 세트에 포함되는 참조 픽쳐를 상기 현재 픽쳐의 참조 픽쳐로 이용하는 것을 특징으로 하는 영상의 디코딩 장치.

The method of claim 11,
And the prediction unit uses a reference picture included in the inter-layer reference picture set as a reference picture of the current picture.

KR1020130138517A 2013-07-15 2013-11-14 Video coding/decoding method and apparatus for multi-layers KR102175542B1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201480043587.2A CN105453562B (en) 2013-07-30 2014-07-25 Support multiple layers of image coding and decoding method and the device using this method
PCT/KR2014/006792 WO2015016535A1 (en) 2013-07-30 2014-07-25 Image encoding and decoding method supporting plurality of layers and apparatus using same
US14/908,214 US9894369B2 (en) 2013-07-30 2014-07-25 Image encoding and decoding method supporting plurality of layers and apparatus using same
US15/859,508 US10200702B2 (en) 2013-07-30 2017-12-30 Image encoding and decoding method supporting plurality of layers and apparatus using same

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR20130083036 2013-07-15
KR1020130083036 2013-07-15

Publications (2)

Publication Number Publication Date
KR20150011740A KR20150011740A (en) 2015-02-02
KR102175542B1 true KR102175542B1 (en) 2020-11-06

Family

ID=52488074

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020130138517A KR102175542B1 (en) 2013-07-15 2013-11-14 Video coding/decoding method and apparatus for multi-layers

Country Status (1)

Country Link
KR (1) KR102175542B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4013051A1 (en) * 2015-06-05 2022-06-15 Dolby Laboratories Licensing Corporation Methods for encoding and decoding intra-frame prediction

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Xiauyo Xiu et al., "TE A2: Inter-layer reference picture placement", JCTVC-L0051, 23 January, 2013.*
Yongjin Cho et al., "Inter-layer reference picture set initialization", JCTVC-M0150, 26 April, 2013.*

Also Published As

Publication number Publication date
KR20150011740A (en) 2015-02-02

Similar Documents

Publication Publication Date Title
US10148952B2 (en) Image encoding and decoding method supporting plurality of layers and apparatus using same
US10200702B2 (en) Image encoding and decoding method supporting plurality of layers and apparatus using same
US10425650B2 (en) Multi-layer video signal encoding/decoding method and apparatus
US10187641B2 (en) Method and apparatus for encoding/decoding multilayer video signal
KR20150046743A (en) A method and an apparatus for encoding and decoding a scalable video signal
KR20150050409A (en) A method and an apparatus for encoding and decoding a multi-layer video signal
US10708606B2 (en) Multilayer video signal encoding/decoding method and device
KR102025413B1 (en) Video coding/decoding method and apparatus for multi-layers
KR102175542B1 (en) Video coding/decoding method and apparatus for multi-layers
KR102179125B1 (en) Video coding/decoding method and apparatus for multi-layers
KR20150043990A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150071653A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150064676A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150043989A (en) A method and an apparatus for encoding/decoding a multi-layer video signal
KR20150033576A (en) A method and an apparatus for encoding/decoding a multi-layer video signal

Legal Events

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