KR20230162614A - Adaptive coding of motion information for multi-hypothesis prediction for video coding. - Google Patents

Adaptive coding of motion information for multi-hypothesis prediction for video coding. Download PDF

Info

Publication number
KR20230162614A
KR20230162614A KR1020237032564A KR20237032564A KR20230162614A KR 20230162614 A KR20230162614 A KR 20230162614A KR 1020237032564 A KR1020237032564 A KR 1020237032564A KR 20237032564 A KR20237032564 A KR 20237032564A KR 20230162614 A KR20230162614 A KR 20230162614A
Authority
KR
South Korea
Prior art keywords
prediction
prediction block
block
motion information
coding
Prior art date
Application number
KR1020237032564A
Other languages
Korean (ko)
Inventor
한 황
바딤 세레긴
마르타 카르체비츠
Original Assignee
퀄컴 인코포레이티드
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US17/655,919 external-priority patent/US20220311997A1/en
Application filed by 퀄컴 인코포레이티드 filed Critical 퀄컴 인코포레이티드
Publication of KR20230162614A publication Critical patent/KR20230162614A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • H04N19/517Processing of motion vectors by encoding
    • H04N19/52Processing of motion vectors by encoding by predictive encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/13Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/587Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal sub-sampling or interpolation, e.g. decimation or subsequent interpolation of pictures in a video sequence
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/70Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

비디오 데이터를 디코딩하기 위한 예시적인 디바이스는 하나 이상의 프로세서들을 포함하며, 상기 하나 이상의 프로세서들은, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하고; 추가적인 예측 가설을 나타내는 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 것으로서, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 것으로서, 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은 단방향 예측 모션 정보의 각각의 세트들을 나타내는 머지 후보들을 포함하는 머지 후보 리스트를 형성하도록 구성되는, 상기 모션 정보를 코딩하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하고; 제1 및 제2 예측 블록으로부터 다중 가설 예측 블록을 형성하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하도록 구성된다.An example device for decoding video data includes one or more processors, the one or more processors configured to: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block indicating an additional prediction hypothesis, wherein the merge mode syntax element indicates whether motion information for the second prediction block is coded using merge mode. Code the elements; Coding motion information for a second prediction block according to a merge mode syntax element, wherein to code the motion information, the one or more processors generate a merge candidate list comprising merge candidates representing respective sets of one-way prediction motion information. coding the motion information, configured to form; generate a second prediction block for the current block of video data using the motion information; form a multi-hypothesis prediction block from the first and second prediction blocks; and is configured to decode the current block using the multi-hypothesis prediction block.

Description

비디오 코딩을 위한 다중 가설 예측을 위한 모션 정보의 적응형 코딩Adaptive coding of motion information for multi-hypothesis prediction for video coding.

본 출원은 2022년 3월 22일자 출원된 미국 특허출원 제17/655,919호 및 2021년 3월 29일자 출원된 미국 가출원 제63/167,480호에 대해 우선권을 주장하며, 이들 각각의 전체 내용이 본원에 참조에 의해 통합된다. 2022년 3월 22일자 출원된 미국 특허출원 제17/655,919호는 2021년 3월 29일자 출원된 미국 가출원 제63/167,480호의 이익을 주장한다.This application claims priority to U.S. Patent Application No. 17/655,919, filed March 22, 2022, and U.S. Provisional Application No. 63/167,480, filed March 29, 2021, the entire contents of each of which are incorporated herein by reference. Incorporated by reference. U.S. Patent Application No. 17/655,919, filed March 22, 2022, claims the benefit of U.S. Provisional Application No. 63/167,480, filed March 29, 2021.

기술 분야technology field

본 개시는 비디오 인코딩 및 비디오 디코딩을 포함하는 비디오 코딩에 관한 것이다.This disclosure relates to video coding, including video encoding and video decoding.

디지털 비디오 능력들은, 디지털 텔레비전들, 디지털 다이렉트 브로드캐스트 시스템들, 무선 브로드캐스트 시스템들, 개인용 디지털 보조기들(PDA들), 랩톱 또는 데스크톱 컴퓨터들, 태블릿 컴퓨터들, e북 리더기들, 디지털 카메라들, 디지털 레코딩 디바이스들, 디지털 미디어 플레이어들, 비디오 게이밍 디바이스들, 비디오 게임 콘솔들, 셀룰러 또는 위성 무선 전화들, 소위 "스마트 폰들", 비디오 텔레컨퍼런싱 디바이스들, 비디오 스트리밍 디바이스들 등을 포함하는 광범위한 디바이스들에 통합될 수 있다. 디지털 비디오 디바이스들은 MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4, Part 10, 어드밴스드 비디오 코딩(AVC), ITU-T H.265/고효율 비디오 코딩(HEVC), ITU-T H.266/다용도 비디오 코딩(VVC)에 의해 정의된 표준들, 및 이러한 표준들의 확장들, 뿐만 아니라 얼라이언스 포 오픈 미디어(Alliance for Open Media)에 의해 개발된 AOMedia 비디오 1(AV1)과 같은 독점 비디오 코덱들/포맷들에서 설명된 것들과 같은 비디오 코딩 기법들을 구현한다. 비디오 디바이스들은 그러한 비디오 코딩 기법들을 구현함으로써 보다 효율적으로 디지털 비디오 정보를 송신, 수신, 인코딩, 디코딩, 및/또는 저장할 수도 있다.Digital video capabilities include digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, A wide range of devices including digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite wireless phones, so-called “smart phones,” video teleconferencing devices, video streaming devices, etc. can be integrated into Digital video devices support MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264/MPEG-4, Part 10, Advanced Video Coding (AVC), and ITU-T H.265/High Efficiency Video Coding. (HEVC), the standards defined by ITU-T H.266/Versatile Video Coding (VVC), and extensions of these standards, as well as AOMedia Video 1 developed by the Alliance for Open Media. Implements video coding techniques such as those described in proprietary video codecs/formats such as (AV1). Video devices may transmit, receive, encode, decode, and/or store digital video information more efficiently by implementing such video coding techniques.

비디오 코딩 기법들은 비디오 시퀀스들에 내재하는 리던던시를 감소 또는 제거하기 위해 공간적 (인트라 픽처(intra-picture)) 예측 및/또는 시간적 (인터 픽처(inter-picture)) 예측을 포함한다. 블록 기반 비디오 코딩을 위해, 비디오 슬라이스(예를 들어, 비디오 픽처 또는 비디오 픽처의 일부)는, 코딩 트리 유닛(CTU)들, 코딩 유닛(CU)들 및/또는 코딩 노드들로도 지칭될 수도 있는 비디오 블록들로 파티셔닝될 수도 있다. 픽처의 인트라 코딩된(I) 슬라이스에서의 비디오 블록들은, 동일한 픽처에서의 이웃 블록들의 참조 샘플들에 대한 공간 예측을 사용하여 인코딩된다. 픽처의 인터 코딩된(P 또는 B) 슬라이스에서의 비디오 블록들은, 동일한 픽처에서의 이웃 블록들의 참조 샘플들에 대한 공간적 예측 또는 다른 참조 픽처들에서의 참조 샘플들에 대한 시간적 예측을 사용할 수도 있다. 픽처들은 프레임들로 지칭될 수도 있고, 참조 픽처들은 참조 프레임들로 지칭될 수도 있다.Video coding techniques include spatial (intra-picture) prediction and/or temporal (inter-picture) prediction to reduce or eliminate redundancy inherent in video sequences. For block-based video coding, a video slice (e.g., a video picture or a portion of a video picture) is a video block, which may also be referred to as coding tree units (CTUs), coding units (CUs), and/or coding nodes. It can also be partitioned into fields. Video blocks in an intra-coded (I) slice of a picture are encoded using spatial prediction with respect to reference samples of neighboring blocks in the same picture. Video blocks in an inter-coded (P or B) slice of a picture may use spatial prediction relative to reference samples of neighboring blocks in the same picture or temporal prediction relative to reference samples in other reference pictures. Pictures may be referred to as frames, and reference pictures may be referred to as reference frames.

일반적으로, 본 개시는 비디오 코딩 동안 다중 가설(hypothesis) 인터 예측(inter-prediction)을 위한 기법들을 설명한다. 비디오 코딩은 일반적으로, 일련의 픽처들 중의 픽처들을 각각의 블록들로 파티셔닝하는 것, 그 후 블록들 각각을 코딩(인코딩 또는 디코딩)하는 것을 포함한다. 블록을 코딩하는 것은 일반적으로, 블록을 예측하는 것 및 블록에 대한 잔차, 즉 예측된 블록과 실제 블록 사이의 차이들의 세트를 코딩하는 것을 포함한다. 예측은, 인트라 픽처(즉, 블록을 포함하는 픽처의 데이터를 사용하여 현재 블록을 예측함) 또는 인터 픽처(즉, 하나 이상의 이전에 코딩된 픽처들의 데이터를 사용하여 현재 블록을 예측하함)일 수 있다. 다중 가설 인터 예측은 현재 블록을 예측하기 위해 하나 이상의 이전에 코딩된 픽처들에서 다수의 참조 블록들을 사용하는 것을 지칭한다. 예를 들어, 비디오 코더는 둘 이상의 예측 블록들을 생성하고, 그 후 평균화, 가중된 예측 등을 사용하여 예측 블록들의 값들을 결합할 수도 있다.In general, this disclosure describes techniques for multiple hypothesis inter-prediction during video coding. Video coding generally involves partitioning pictures in a series of pictures into individual blocks, and then coding (encoding or decoding) each of the blocks. Coding a block generally involves predicting the block and coding the residuals for the block, i.e. the set of differences between the predicted block and the actual block. Prediction can be intra-picture (i.e., predicting the current block using data from a picture containing the block) or inter-picture (i.e., predicting the current block using data from one or more previously coded pictures). there is. Multi-hypothesis inter prediction refers to using multiple reference blocks from one or more previously coded pictures to predict the current block. For example, a video coder may generate two or more prediction blocks and then combine the values of the prediction blocks using averaging, weighted prediction, etc.

인터 예측은, 머지(merge) 모드 또는 어드밴스드 모션 벡터 예측(AMVP) 모드와 같은 다양한 코딩 모드들을 사용하여 시그널링될 수도 있다. 일반적으로, 머지 모드에서는 시그널링된 이웃 블록의 모션 정보가 현재 블록의 모션 정보로서 사용되는 반면, AMVP 모드에서는 현재 블록의 모션 벡터를 예측하기 위해 시그널링된 이웃 블록의 모션 정보가 사용되고, 현재 블록의 모션 정보를 형성하기 위해 다른 모션 정보(예를 들어, 모션 벡터 차이 값들 및 참조 픽쳐 식별 정보)가 코딩된다. 본 개시는, 그 중에서도, 머지 모드를 사용하여 다중 가설 인터 예측 정보를 시그널링하는 것에 관련된 기법들의 다양한 예들을 설명한다.Inter prediction may be signaled using various coding modes, such as merge mode or advanced motion vector prediction (AMVP) mode. Generally, in merge mode, the motion information of the signaled neighboring block is used as the motion information of the current block, while in AMVP mode, the motion information of the signaled neighboring block is used to predict the motion vector of the current block, and the motion information of the current block is used to predict the motion vector of the current block. Other motion information (eg, motion vector difference values and reference picture identification information) is coded to form information. This disclosure describes, among other things, various examples of techniques related to signaling multi-hypothesis inter prediction information using merge mode.

일 예에서, 비디오 데이터를 디코딩하는 방법은, 기본(base) 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하는 단계; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 단계로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 머지 후보들 각각은 단방향 예측(uni-prediction) 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함한다.In one example, a method of decoding video data includes generating a first prediction block for a current block of video data using a base inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. coding the merge mode syntax element, indicating whether it is coded; Coding motion information for a second prediction block according to a merge mode syntax element, wherein the motion information for the second prediction block is encoded in a merge mode syntax element. When indicating that it is coded using , forming a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of uni-prediction motion information. Coding motion information for a prediction block; generating a second prediction block for the current block of video data using motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

다른 예에서, 비디오 데이터를 디코딩하기 위한 디바이스는 비디오 데이터를 저장하도록 구성된 메모리; 및 회로부에서 구현되는 하나 이상의 프로세서들을 포함하며, 상기 하나 이상의 프로세서들은: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 것으로서, 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하도록 구성되며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 모션 정보를 코딩하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하도록 구성된다.In another example, a device for decoding video data includes a memory configured to store video data; and one or more processors implemented in circuitry, wherein the one or more processors: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element is such that motion information for the second prediction block is coded using merge mode. code the merge mode syntax element to indicate whether to do so; coding motion information for a second prediction block according to a merge mode syntax element, wherein, to code the motion information, the one or more processors are configured to configure the merge mode syntax element to cause the motion information for the second prediction block to use merge mode. coding the motion information, when indicating that it is coded, configured to form a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information; generate a second prediction block for the current block of video data using the motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and is configured to decode the current block using the multi-hypothesis prediction block.

다른 예에서, 컴퓨터 판독가능 저장 매체에 명령들이 저장되며, 상기 명령들은, 실행 시, 프로세서로 하여금: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하게 하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하게 하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하게 하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하게 하는 것으로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 것은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 것을 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하게 하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하게 하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하게 하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하게 한다.In another example, instructions are stored on a computer-readable storage medium that, when executed, cause a processor to: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. code the merge mode syntax element, indicating whether to code; By coding the motion information for the second prediction block according to the merge mode syntax element, coding the motion information for the second prediction block means that the merge mode syntax element causes the motion information for the second prediction block to be in merge mode. When indicating that it is coded using, forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information, motion information for the second prediction block. Let them code; generate a second prediction block for the current block of video data using the motion information; form a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; Then, the current block is decoded using a multi-hypothesis prediction block.

다른 예에서, 비디오 데이터를 디코딩하기 위한 디바이스는, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하기 위한 수단; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단으로서, 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하기 위한 수단을 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하기 위한 수단; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하기 위한 수단; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하기 위한 수단을 포함한다.In another example, a device for decoding video data includes means for generating a first prediction block for a current block of video data using a basic inter prediction mode; As a means for coding a merge mode syntax element for a second prediction block, the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. means for coding the merge mode syntax element, indicating whether the merge mode syntax element is coded; Means for coding motion information for a second prediction block according to a merge mode syntax element, wherein the merge mode syntax element includes motion information for the second prediction block. When indicating that it is coded using a merge mode, means for forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. means for coding motion information for; means for generating a second prediction block for a current block of video data using motion information; means for forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and means for decoding the current block using the multi-hypothesis prediction block.

하나 이상의 예들의 상세들이 첨부 도면들 및 아래의 설명에서 제시된다. 다른 특징들, 목적들 및 이점들은 설명, 도면들, 및 청구항들로부터 명백해질 것이다.Details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects and advantages will become apparent from the description, drawings, and claims.

도 1은 본 개시의 기법들을 수행할 수도 있는 예시적인 비디오 인코딩 및 디코딩 시스템을 예시하는 블록도이다.
도 2는 기하학적 파티셔닝 모드(GPM)를 위한 단방향 예측 모션 벡터 선택을 위한 예시적인 방식을 나타내는 테이블을 예시하는 개념도이다.
도 3은 본 개시의 기법들을 수행할 수도 있는 예시적인 비디오 인코더를 예시하는 블록도이다.
도 4는 본 개시의 기법들을 수행할 수도 있는 예시적인 비디오 디코더를 예시하는 블록도이다.
도 5는 본 개시의 기법들에 따라 현재 블록을 인코딩하기 위한 예시적인 방법을 예시하는 플로우차트이다.
도 6는 본 개시의 기법들에 따라 현재 블록을 디코딩하기 위한 예시적인 방법을 예시하는 플로우차트이다.
도 7은 본 개시의 기법들에 따라 비디오 데이터를 디코딩하는 예시적인 방법을 예시하는 플로우차트이다.
1 is a block diagram illustrating an example video encoding and decoding system that may perform the techniques of this disclosure.
2 is a conceptual diagram illustrating a table representing an example scheme for one-way predictive motion vector selection for geometric partitioning mode (GPM).
3 is a block diagram illustrating an example video encoder that may perform the techniques of this disclosure.
4 is a block diagram illustrating an example video decoder that may perform the techniques of this disclosure.
5 is a flowchart illustrating an example method for encoding a current block in accordance with the techniques of this disclosure.
6 is a flow chart illustrating an example method for decoding a current block in accordance with the techniques of this disclosure.
7 is a flow chart illustrating an example method of decoding video data according to the techniques of this disclosure.

비디오 코딩은 일반적으로, 일련의 픽처들 중의 픽처들을 각각의 블록들로 파티셔닝하는 것, 그 후 블록들 각각을 코딩(인코딩 또는 디코딩)하는 것을 포함한다. 블록을 코딩하는 것은 일반적으로, 블록을 예측하는 것 및 블록에 대한 잔차, 즉 예측된 블록과 실제 블록 사이의 차이들의 세트를 코딩하는 것을 포함한다. 예측은, 인트라 픽처(즉, 블록을 포함하는 픽처의 데이터를 사용하여 현재 블록을 예측함) 또는 인터 픽처(즉, 하나 이상의 이전에 코딩된 픽처들의 데이터를 사용하여 현재 블록을 예측하함)일 수 있다. 다중 가설 인터 예측은 현재 블록을 예측하기 위해 하나 이상의 이전에 코딩된 픽처들에서 다수의 참조 블록들을 사용하는 것을 지칭한다. 예를 들어, 비디오 코더는 둘 이상의 예측 블록들을 생성하고, 그 후 평균화, 가중된 예측 등을 사용하여 예측 블록들의 값들을 결합할 수도 있다.Video coding generally involves partitioning the pictures in a series of pictures into individual blocks, and then coding (encoding or decoding) each of the blocks. Coding a block generally involves predicting the block and coding the residuals for the block, i.e. the set of differences between the predicted block and the actual block. Prediction can be intra-picture (i.e., predicting the current block using data from a picture containing the block) or inter-picture (i.e., predicting the current block using data from one or more previously coded pictures). there is. Multi-hypothesis inter prediction refers to using multiple reference blocks from one or more previously coded pictures to predict the current block. For example, a video coder may generate two or more prediction blocks and then combine the values of the prediction blocks using averaging, weighted prediction, etc.

인터 예측은, 머지 모드 또는 어드밴스드 모션 벡터 예측(AMVP) 모드와 같은 다양한 코딩 모드들을 사용하여 시그널링될 수도 있다. 일반적으로, 머지 모드에서는 시그널링된 이웃 블록의 모션 정보가 현재 블록의 모션 정보로서 사용되는 반면, AMVP 모드에서는 현재 블록의 모션 벡터를 예측하기 위해 시그널링된 이웃 블록의 모션 정보가 사용되고, 현재 블록의 모션 정보를 형성하기 위해 다른 모션 정보(예를 들어, 모션 벡터 차이 값들 및 참조 픽쳐 식별 정보)가 코딩된다.Inter prediction may be signaled using various coding modes, such as merge mode or advanced motion vector prediction (AMVP) mode. Generally, in merge mode, the motion information of the signaled neighboring block is used as the motion information of the current block, while in AMVP mode, the motion information of the signaled neighboring block is used to predict the motion vector of the current block, and the motion information of the current block is used to predict the motion vector of the current block. Other motion information (eg, motion vector difference values and reference picture identification information) is coded to form information.

본 개시는 다중 가설 인터 예측에 머지 모드 시그널링을 적용하는데 사용될 수도 있는 다양한 예시적인 기법들을 설명한다. 다중 가설 인터 예측을 위해 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및/또는 모션 벡터 차이 중 하나 이상을 항상 시그널링하기보다는, 본 개시의 기법들은 추가적인 가설을 위한 모션 정보가 머지 모드를 사용하여 코딩되는지 또는 AMVP 모드를 사용하여 코딩되는지 여부를 표시하는 머지 플래그를 코딩하는 것을 포함할 수도 있다. 특히, 각각의 모션 벡터에 대한 모션 정보를 시그널링하는 것은 비디오 비트스트림을 위한 오버헤드 시그널링을 과도하게 증가시킬 수 있는 과잉 데이터를 시그널링하는 것을 초래할 수도 있고, 과잉 인코딩, 디코딩, 및 다른 프로세싱 동작들을 요구할 수도 있다. 다중 가설 인터 예측을 위한 모션 정보를 코딩하기 위해 머지 모드를 사용함으로써, 비디오 품질을 떨어뜨리지 않으면서 시그널링 오버헤드 및 인코딩, 디코딩, 및 다른 프로세싱 동작들이 감소될 수도 있다.This disclosure describes various example techniques that may be used to apply merge mode signaling to multi-hypothesis inter prediction. Rather than always signaling one or more of the reference picture index, motion vector predictor index, and/or motion vector difference for multi-hypothesis inter prediction, techniques of this disclosure determine whether motion information for additional hypotheses is coded using merge mode. Alternatively, it may include coding a merge flag indicating whether it is coded using AMVP mode. In particular, signaling motion information for each motion vector may result in signaling excess data, which may excessively increase signaling overhead for the video bitstream, and require excessive encoding, decoding, and other processing operations. It may be possible. By using merge mode to code motion information for multi-hypothesis inter prediction, signaling overhead and encoding, decoding, and other processing operations may be reduced without degrading video quality.

일부 예들에서, 비디오 코더(인코더 또는 디코더)는, 추가적인 가설을 위한 모션 정보가 머지 모드를 사용하여 코딩될 때, 머지 후보 리스트 내 모든 머지 후보들이 단방향 예측 모션 정보 후보들이도록 추가적인 가설을 위한 머지 후보 리스트를 구성할 수도 있다. 예를 들어, 머지 후보로서 사용될 이웃 블록이 제1 모션 정보 및 제2 모션 정보를 포함하는 양방향 예측(bi-prediction)을 사용하여 코딩되는 경우, 비디오 코더는 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만 사용하여 이웃 블록으로부터 머지 후보를 구성할 수도 있다. 일부 예들에서, 비디오 코더는 양방향 예측을 사용하여 코딩되는 이웃 블록으로부터 2 개의 머지 후보들: 제1 모션 정보를 사용하여 제1 머지 후보 및 제2 모션 정보를 사용하여 제2 머지 후보를 구성할 수도 있다.In some examples, a video coder (encoder or decoder) creates a merge candidate list for additional hypotheses such that when motion information for additional hypotheses is coded using merge mode, all merge candidates in the merge candidate list are one-way predictive motion information candidates. You can also configure . For example, if a neighboring block to be used as a merge candidate is coded using bi-prediction including first motion information and second motion information, the video coder determines which of the first motion information or the second motion information You can also construct merge candidates from neighboring blocks using only one. In some examples, a video coder may construct two merge candidates from a neighboring block that is coded using bidirectional prediction: a first merge candidate using the first motion information and a second merge candidate using the second motion information. .

일부 예들에서, 비디오 코더는 기본 가설에 로컬 조명 보상(local illumination compensation; LIC)이 적용되면 추가적인 가설에 LIC를 적용할 수도 있다. 비디오 코더는 위에서 논의된 기법들에 추가하여, 또는 이에 대한 대안으로, 이러한 방식으로 LIC를 수행할 수도 있다.In some examples, the video coder may apply local illumination compensation (LIC) to an additional hypothesis once LIC has been applied to the base hypothesis. A video coder may perform LIC in this manner in addition to, or as an alternative to, the techniques discussed above.

일부 예들에서, 비디오 코더는 휘도(luminance) 데이터를 위한 하프(half) 샘플(하프 픽셀 또는 반화소(half-pel)) 포지션들에 대한 값들을 계산할 때 적용할 보간 필터를 결정할 수도 있다. 예를 들어, 추가적인 가설을 위한 모션 정보가 머지 모드를 사용하여 코딩되는 경우, 보간 필터는 기본 모드 대신에 머지 후보의 보간 필터에 따라 결정될 수도 있다. 다른 예로서, 추가적인 가설을 위한 모션 정보가 AMVP를 사용하여 코딩되는 경우, 보간 필터는 기본 모드에 따라 결정될 수도 있다. 비디오 코더는 위에서 논의된 기법들에 더하여, 또는 그에 대한 대안으로, 이들 방식들 중 임의의 방식으로 보간 필터 상속(inheritance)을 수행할 수도 있다.In some examples, a video coder may determine an interpolation filter to apply when calculating values for half sample (half-pixel or half-pel) positions for luminance data. For example, if motion information for additional hypotheses is coded using merge mode, the interpolation filter may be determined according to the interpolation filter of the merge candidate instead of the default mode. As another example, when motion information for additional hypotheses is coded using AMVP, the interpolation filter may be determined according to the default mode. A video coder may perform interpolation filter inheritance in any of these ways, in addition to, or as an alternative to, the techniques discussed above.

도 1은 본 개시의 기법들을 수행할 수도 있는 예시적인 비디오 인코딩 및 디코딩 시스템(100)을 예시하는 블록도이다. 본 개시의 기법들은 일반적으로 비디오 데이터를 코딩(인코딩 및/또는 디코딩)하는 것에 관한 것이다. 일반적으로, 비디오 데이터는 비디오를 프로세싱하기 위한 임의의 데이터를 포함한다. 따라서, 비디오 데이터는 원시(raw)의, 인코딩되지 않은 비디오, 인코딩된 비디오, 디코딩된(예컨대, 복원된) 비디오, 및 비디오 메타데이터, 이를테면 시그널링 데이터를 포함할 수도 있다.1 is a block diagram illustrating an example video encoding and decoding system 100 that may perform the techniques of this disclosure. Techniques of this disclosure generally relate to coding (encoding and/or decoding) video data. Generally, video data includes arbitrary data for processing video. Accordingly, video data may include raw, unencoded video, encoded video, decoded (e.g., reconstructed) video, and video metadata, such as signaling data.

도 1에 도시된 바와 같이, 시스템(100)은 이 예에서 목적지 디바이스(116)에 의해 디코딩되고 디스플레이될 인코딩된 비디오 데이터를 제공하는 소스 디바이스(102)를 포함한다. 특히, 소스 디바이스(102)는 컴퓨터 판독가능 매체(110)를 통해 목적지 디바이스(116)에 비디오 데이터를 제공한다. 소스 디바이스(102) 및 목적지 디바이스(116)는, 데스크톱 컴퓨터들, 노트북(즉, 랩톱) 컴퓨터들, 모바일 디바이스들, 태블릿 컴퓨터들, 셋톱 박스들, 스마트폰들과 같은 텔레폰 핸드셋들, 텔레비전들, 카메라들, 디스플레이 디바이스들, 디지털 미디어 플레이어들, 비디오 게이밍 콘솔들, 비디오 스트리밍 디바이스, 브로드캐스트 수신기 디바이스 등을 포함하는 광범위한 디바이스들 중 임의의 것을 포함할 수도 있다. 일부 경우들에서, 소스 디바이스(102) 및 목적지 디바이스(116)는 무선 통신을 위해 구비될 수도 있고, 따라서 무선 통신 디바이스들로 지칭될 수도 있다.As shown in FIG. 1 , system 100 includes a source device 102 that provides encoded video data to be decoded and displayed by a destination device 116 in this example. In particular, source device 102 provides video data to destination device 116 via computer-readable medium 110. Source device 102 and destination device 116 include desktop computers, notebook (i.e., laptop) computers, mobile devices, tablet computers, set-top boxes, telephone handsets such as smartphones, televisions, It may include any of a wide range of devices including cameras, display devices, digital media players, video gaming consoles, video streaming devices, broadcast receiver devices, etc. In some cases, source device 102 and destination device 116 may be equipped for wireless communication and thus may be referred to as wireless communication devices.

도 1의 예에서, 소스 디바이스(102)는 비디오 소스(104), 메모리(106), 비디오 인코더(200), 및 출력 인터페이스(108)를 포함한다. 목적지 디바이스(116)는 입력 인터페이스(122), 비디오 디코더(300), 메모리(120), 및 디스플레이 디바이스(118)를 포함한다. 본 개시에 따르면, 소스 디바이스(102)의 비디오 인코더(200) 및 목적지 디바이스(116)의 비디오 디코더(300)는 다중 가설 인터 예측을 위한 모션 정보를 코딩하기 위한 기법들을 적용하도록 구성될 수도 있다. 따라서, 소스 디바이스(102)는 비디오 인코딩 디바이스의 예를 나타내는 한편, 목적지 디바이스(116)는 비디오 디코딩 디바이스의 예를 나타낸다. 다른 예들에서, 소스 디바이스 및 목적지 디바이스는 다른 컴포넌트들 또는 배열들을 포함할 수도 있다. 예를 들어, 소스 디바이스(102)는 외부 카메라와 같은 외부 비디오 소스로부터 비디오 데이터를 수신할 수도 있다. 마찬가지로, 목적지 디바이스(116)는 통합 디스플레이 디바이스를 포함하기 보다는, 외부 디스플레이 디바이스와 인터페이싱할 수도 있다.In the example of FIG. 1 , source device 102 includes video source 104 , memory 106 , video encoder 200 , and output interface 108 . Destination device 116 includes input interface 122, video decoder 300, memory 120, and display device 118. According to this disclosure, video encoder 200 of source device 102 and video decoder 300 of destination device 116 may be configured to apply techniques for coding motion information for multi-hypothesis inter prediction. Accordingly, source device 102 represents an example of a video encoding device, while destination device 116 represents an example of a video decoding device. In other examples, the source device and destination device may include other components or arrangements. For example, source device 102 may receive video data from an external video source, such as an external camera. Likewise, destination device 116 may interface with an external display device, rather than including an integrated display device.

도 1에 도시된 바와 같은 시스템(100)은 단지 일 예일 뿐이다. 일반적으로, 임의의 디지털 비디오 인코딩 및/또는 디코딩 디바이스는 다중 가설 인터 예측을 위한 모션 정보를 코딩하기 위한 기법들을 수행할 수도 있다. 소스 디바이스(102) 및 목적지 디바이스(116)는 단지 그러한 코딩 디바이스들의 예들일 뿐이며, 이의 소스 디바이스(102)는 목적지 디바이스(116)로의 송신을 위한 코딩된 비디오 데이터를 생성한다. 본 개시는 데이터의 코딩(인코딩 및/또는 디코딩)을 수행하는 디바이스로서 "코딩" 디바이스를 지칭한다. 따라서, 비디오 인코더(200) 및 비디오 디코더(300)는 코딩 디바이스들, 특히 비디오 인코더 및 비디오 디코더 예들을 각각 나타낸다. 일부 예들에서, 소스 디바이스(102) 및 목적지 디바이스(116)는, 소스 디바이스(102) 및 목적지 디바이스(116) 각각이 비디오 인코딩 및 디코딩 구성 컴포넌트들을 포함하도록 실질적으로 대칭적인 방식으로 동작할 수도 있다. 그러므로 시스템(100)은, 예를 들어 비디오 스트리밍, 비디오 플레이백, 비디오 브로드캐스팅, 또는 비디오 텔레포니를 위해, 소스 디바이스(102)와 목적지 디바이스(116) 사이의 일 방향 또는 양 방향 비디오 송신을 지원할 수도 있다.System 100 as shown in Figure 1 is merely an example. In general, any digital video encoding and/or decoding device may perform techniques for coding motion information for multi-hypothesis inter prediction. Source device 102 and destination device 116 are merely examples of such coding devices, where source device 102 generates coded video data for transmission to destination device 116. This disclosure refers to a “coding” device as a device that performs coding (encoding and/or decoding) of data. Accordingly, video encoder 200 and video decoder 300 represent coding devices, particularly video encoder and video decoder examples, respectively. In some examples, source device 102 and destination device 116 may operate in a substantially symmetrical manner such that source device 102 and destination device 116 each include video encoding and decoding components. Therefore, system 100 may support one-way or two-way video transmission between source device 102 and destination device 116, for example, for video streaming, video playback, video broadcasting, or video telephony. there is.

일반적으로, 비디오 소스(104)는 비디오 데이터(즉, 원시의, 인코딩되지 않은 비디오 데이터)의 소스를 나타내며, 픽처들에 대한 데이터를 인코딩하는 비디오 인코더(200)에 비디오 데이터의 순차적인 일련의 픽처들("프레임들"로도 지칭됨)을 제공한다. 소스 디바이스(102)의 비디오 소스(104)는 비디오 카메라와 같은 비디오 캡처 디바이스, 이전에 캡처된 원시 비디오를 포함하는 비디오 아카이브, 및/또는 비디오 콘텐츠 제공자로부터 비디오를 수신하기 위한 비디오 피드 인터페이스를 포함할 수도 있다. 추가 대안으로서, 비디오 소스(104)는 라이브 비디오, 아카이브된 비디오, 및 컴퓨터 생성 비디오의 조합, 또는 소스 비디오로서의 컴퓨터 그래픽 기반 데이터를 생성할 수도 있다. 각각의 경우에서, 비디오 인코더(200)는 캡처된, 미리 캡처된, 또는 컴퓨터 생성 비디오 데이터를 인코딩한다. 비디오 인코더(200)는 수신된 순서(때때로 "디스플레이 순서"로 지칭됨)로부터 코딩을 위한 코딩 순서로 픽처들을 재배열할 수도 있다. 비디오 인코더(200)는 인코딩된 비디오 데이터를 포함하는 비트스트림을 생성할 수도 있다. 그 후 소스 디바이스(102)는, 예를 들어 목적지 디바이스(116)의 입력 인터페이스(122)에 의한, 수신 및/또는 검색(retrieval)을 위해 컴퓨터 판독가능 매체(110)로 출력 인터페이스(108)를 통해 인코딩된 비디오 데이터를 출력할 수도 있다.In general, video source 104 represents a source of video data (i.e., raw, unencoded video data) and transmits a sequential series of pictures of the video data to video encoder 200, which encodes the data for the pictures. Frames (also referred to as “frames”) are provided. Video source 104 of source device 102 may include a video capture device, such as a video camera, a video archive containing previously captured raw video, and/or a video feed interface for receiving video from a video content provider. It may be possible. As a further alternative, video source 104 may generate a combination of live video, archived video, and computer-generated video, or computer graphics-based data as the source video. In each case, video encoder 200 encodes captured, pre-captured, or computer-generated video data. Video encoder 200 may reorder the pictures from the received order (sometimes referred to as “display order”) into the coding order for coding. Video encoder 200 may generate a bitstream containing encoded video data. Source device 102 then provides output interface 108 to computer-readable medium 110 for reception and/or retrieval, e.g., by input interface 122 of destination device 116. You can also output encoded video data through.

소스 디바이스(102)의 메모리(106) 및 목적지 디바이스(116)의 메모리(120)는 범용 메모리들을 나타낸다. 일부 예들에서, 메모리들(106, 120)은 원시 비디오 데이터, 예컨대 비디오 소스(104)로부터의 원시 비디오 및 비디오 디코더(300)로부터의 원시의, 디코딩된 비디오 데이터를 저장할 수도 있다. 추가적으로 또는 대안적으로 메모리들(106, 120)은, 예컨대 비디오 인코더(200) 및 비디오 디코더(300)에 의해 각각 실행가능한 소프트웨어 명령들을 저장할 수도 있다. 이 예에서 메모리(106) 및 메모리(120)가 비디오 인코더(200) 및 비디오 디코더(300)로부터 별개로 도시되지만, 비디오 인코더(200) 및 비디오 디코더(300)는 기능적으로 유사하거나 동등한 목적들을 위한 내부 메모리들을 또한 포함할 수도 있음이 이해되어야 한다. 더욱이 메모리들(106, 120)은, 예를 들어 비디오 인코더(200)로부터 출력되고 비디오 디코더(300)에 입력되는, 인코딩된 비디오 데이터를 저장할 수도 있다. 일부 예들에서, 예를 들어 원시의, 디코딩된, 및/또는 인코딩된 비디오 데이터를 저장하기 위해, 메모리들(106, 120)의 부분들이 하나 이상의 비디오 버퍼들로서 할당될 수도 있다.Memory 106 of source device 102 and memory 120 of destination device 116 represent general-purpose memories. In some examples, memories 106, 120 may store raw video data, such as raw video from video source 104 and raw, decoded video data from video decoder 300. Additionally or alternatively, memories 106, 120 may store software instructions executable, for example, by video encoder 200 and video decoder 300, respectively. Although memory 106 and memory 120 are shown separately from video encoder 200 and video decoder 300 in this example, video encoder 200 and video decoder 300 are functionally similar or serve equivalent purposes. It should be understood that it may also include internal memories. Moreover, memories 106, 120 may store encoded video data, for example, output from video encoder 200 and input to video decoder 300. In some examples, portions of memories 106, 120 may be allocated as one or more video buffers, such as to store raw, decoded, and/or encoded video data.

컴퓨터 판독가능 매체(110)는 인코딩된 비디오 데이터를 소스 디바이스(102)로부터 목적지 디바이스(116)로 전송할 수 있는 임의의 타입의 매체 또는 디바이스를 나타낼 수도 있다. 일 예에서 컴퓨터 판독가능 매체(110)는, 소스 디바이스(102)로 하여금 실시간으로, 예를 들어 라디오 주파수 네트워크 또는 컴퓨터 기반 네트워크를 통해, 인코딩된 비디오 데이터를 직접적으로 목적지 디바이스(116)에 송신할 수 있게 하기 위한 통신 매체를 나타낸다. 무선 통신 프로토콜과 같은 통신 표준에 따라, 출력 인터페이스(108)는 인코딩된 비디오 데이터를 포함하는 송신 신호를 변조할 수도 있고, 입력 인터페이스(122)는 수신된 송신 신호를 복조할 수도 있다. 통신 매체는, 무선 주파수(RF) 스펙트럼 또는 하나 이상의 물리적 송신 라인들과 같은 임의의 무선 또는 유선 통신 매체를 포함할 수도 있다. 통신 매체는, 로컬 영역 네트워크, 광역 네트워크, 또는 인터넷과 같은 글로벌 네트워크와 같은 패킷 기반 네트워크의 일부를 형성할 수도 있다. 통신 매체는 라우터들, 스위치들, 기지국들, 또는 소스 디바이스(102)로부터 목적지 디바이스(116)로의 통신을 용이하게 하는데 유용할 수도 있는 임의의 다른 장비를 포함할 수도 있다.Computer-readable medium 110 may represent any type of medium or device capable of transmitting encoded video data from source device 102 to destination device 116. In one example, computer-readable medium 110 may cause source device 102 to transmit encoded video data directly to destination device 116 in real time, for example, via a radio frequency network or a computer-based network. It represents a communication medium to enable communication. Depending on the communication standard, such as a wireless communication protocol, output interface 108 may modulate a transmitted signal containing encoded video data and input interface 122 may demodulate a received transmitted signal. Communication media may include any wireless or wired communication medium, such as the radio frequency (RF) spectrum or one or more physical transmission lines. The communication medium may form part of a packet-based network, such as a local area network, a wide area network, or a global network such as the Internet. Communication media may include routers, switches, base stations, or any other equipment that may be useful to facilitate communication from source device 102 to destination device 116.

일부 예들에서, 소스 디바이스(102)는 인코딩된 데이터를 출력 인터페이스(108)로부터 스토리지 디바이스(112)로 출력할 수도 있다. 유사하게, 목적지 디바이스(116)는 입력 인터페이스(122)를 통해 저장 디바이스(112)로부터의 인코딩된 데이터에 액세스할 수도 있다. 스토리지 디바이스(112)는, 하드 드라이브, 블루-레이 디스크들, DVD들, CD-ROM들, 플래시 메모리, 휘발성 또는 비휘발성 메모리, 또는 인코딩된 비디오 데이터를 저장하기 위한 임의의 다른 적합한 디지털 저장 매체들과 같은 다양한 분산된 또는 국부적으로 액세스된 데이터 저장 매체들 중 임의의 데이터 저장 매체를 포함할 수도 있다.In some examples, source device 102 may output encoded data from output interface 108 to storage device 112. Similarly, destination device 116 may access encoded data from storage device 112 via input interface 122. Storage device 112 may be a hard drive, Blu-ray disks, DVDs, CD-ROMs, flash memory, volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded video data. It may include any of a variety of distributed or locally accessed data storage media, such as:

일부 예들에서 소스 디바이스(102)는, 소스 디바이스(102)에 의해 생성된 인코딩된 비디오 데이터를 저장할 수도 있는 다른 중간 스토리지 디바이스 또는 파일 서버(114)로 인코딩된 비디오 데이터를 출력할 수도 있다. 목적지 디바이스(116)는 스트리밍 또는 다운로드를 통해 파일 서버(114)로부터 저장된 비디오 데이터에 액세스할 수도 있다.In some examples, source device 102 may output encoded video data to file server 114 or another intermediate storage device that may store encoded video data generated by source device 102. Destination device 116 may access stored video data from file server 114 via streaming or downloading.

파일 서버(114)는 인코딩된 비디오 데이터를 저장하고 그 인코딩된 비디오 데이터를 목적지 디바이스(116)로 송신할 수도 있는 임의의 타입의 서버 디바이스일 수도 있다. 파일 서버(114)는 (예를 들어, 웹 사이트용) 웹 서버, (파일 전송 프로토콜(FTP) 또는 FLUTE(File Delivery over Unidirectional Transport) 프로토콜과 같은) 파일 전송 프로토콜 서비스를 제공하도록 구성된 서버, 콘텐츠 전달 네트워크(CDN) 디바이스, 하이퍼텍스트 전송 프로토콜(HTTP) 서버, 멀티미디어 브로드캐스트 멀티캐스트 서비스(MBMS) 또는 개선된 MBMS(eMBMS) 서버, 및/또는 NAS(network attached storage) 디바이스를 나타낼 수도 있다. 파일 서버(114)는 추가적으로 또는 대안적으로, DASH(Dynamic Adaptive Streaming over HTTP), HTTP 라이브 스트리밍(HLS), 실시간 스트리밍 프로토콜(RTSP), HTTP 동적 스트리밍 등과 같은 하나 이상의 HTTP 스트리밍 프로토콜들을 구현할 수도 있다.File server 114 may be any type of server device that may store encoded video data and transmit the encoded video data to destination device 116. File server 114 may be a web server (e.g., for a website), a server configured to provide file transfer protocol services (such as the File Transfer Protocol (FTP) or the File Delivery over Unidirectional Transport (FLUTE) protocol), and content delivery. It may represent a network (CDN) device, a hypertext transfer protocol (HTTP) server, a multimedia broadcast multicast service (MBMS) or enhanced MBMS (eMBMS) server, and/or a network attached storage (NAS) device. File server 114 may additionally or alternatively implement one or more HTTP streaming protocols, such as Dynamic Adaptive Streaming over HTTP (DASH), HTTP Live Streaming (HLS), Real-Time Streaming Protocol (RTSP), HTTP Dynamic Streaming, etc.

목적지 디바이스(116)는 인터넷 접속을 포함한, 임의의 표준 데이터 접속을 통해 파일 서버(114)로부터 인코딩된 비디오 데이터에 액세스할 수도 있다. 이것은, 파일 서버(114) 상에 저장된 인코딩된 비디오 데이터에 액세스하기에 적합한, 무선 채널(예컨대, Wi-Fi 접속), 유선 커넥션(예컨대, 디지털 가입자 라인(DSL), 케이블 모뎀 등), 또는 이들 양자 모두의 조합을 포함할 수도 있다. 입력 인터페이스(122)는 파일 서버(114)로부터 미디어 데이터를 검색 또는 수신하기 위한 위에서 논의된 다양한 프로토콜들 중 임의의 하나 이상, 또는 미디어 데이터를 검색하기 위한 다른 그러한 프로토콜들에 따라 동작하도록 구성될 수도 있다.Destination device 116 may access encoded video data from file server 114 via any standard data connection, including an Internet connection. This may be a wireless channel (e.g., Wi-Fi connection), a wired connection (e.g., Digital Subscriber Line (DSL), cable modem, etc.), or any of these, suitable for accessing encoded video data stored on file server 114. It may also include a combination of both. Input interface 122 may be configured to operate in accordance with any one or more of the various protocols discussed above for retrieving or receiving media data from file server 114, or other such protocols for retrieving media data. there is.

출력 인터페이스(108) 및 입력 인터페이스(122)는 무선 송신기들/수신기들, 모뎀들, 유선 네트워킹 컴포넌트들(예컨대, 이더넷 카드들), 다양한 IEEE 802.11 표준들 중 임의의 것에 따라 동작하는 무선 통신 컴포넌트들, 또는 다른 물리적 컴포넌트들을 나타낼 수도 있다. 출력 인터페이스(108) 및 입력 인터페이스(122)가 무선 컴포넌트들을 포함하는 예들에서, 출력 인터페이스(108) 및 입력 인터페이스(122)는 4G, 4G-롱 텀 에볼루션(LTE), LTE 어드밴스드, 5G 등과 같은 셀룰러 통신 표준에 따라, 인코딩된 비디오 데이터와 같은 데이터를 전송하도록 구성될 수도 있다. 출력 인터페이스(108)가 무선 송신기를 포함하는 일부 예들에서, 출력 인터페이스(108) 및 입력 인터페이스(122)는 IEEE 802.11 규격, IEEE 802.15 규격(예를 들어, ZigBee™), Bluetooth™ 표준 등과 같은 다른 무선 표준들에 따라, 인코딩된 비디오 데이터와 같은 데이터를 전송하도록 구성될 수도 있다. 일부 예들에서, 소스 디바이스(102) 및/또는 목적지 디바이스(116)는 각각의 SoC(system-on-a-chip) 디바이스들을 포함할 수도 있다. 예를 들어, 소스 디바이스(102)는 비디오 인코더(200) 및/또는 출력 인터페이스(108)에 기인한 기능성을 수행하기 위한 SoC 디바이스를 포함할 수도 있고, 목적지 디바이스(116)는 비디오 디코더(300) 및/또는 입력 인터페이스(122)에 기인한 기능성을 수행하기 위한 SoC 디바이스를 포함할 수도 있다.Output interface 108 and input interface 122 may include wireless transmitters/receivers, modems, wired networking components (e.g., Ethernet cards), wireless communication components operating in accordance with any of the various IEEE 802.11 standards. , or may represent other physical components. In examples where output interface 108 and input interface 122 include wireless components, output interface 108 and input interface 122 can support cellular wireless components such as 4G, 4G-Long Term Evolution (LTE), LTE Advanced, 5G, etc. Depending on the communication standard, it may be configured to transmit data such as encoded video data. In some examples where output interface 108 includes a wireless transmitter, output interface 108 and input interface 122 may be configured to support other wireless signals, such as the IEEE 802.11 standard, IEEE 802.15 standard (e.g., ZigBee™), Bluetooth™ standard, etc. Depending on standards, it may be configured to transmit data such as encoded video data. In some examples, source device 102 and/or destination device 116 may include respective system-on-a-chip (SoC) devices. For example, source device 102 may include a SoC device to perform functionality due to video encoder 200 and/or output interface 108, and destination device 116 may include video decoder 300. and/or a SoC device to perform functionality due to input interface 122.

오버 디 에어(over-the-air) 텔레비전 브로드캐스트들, 케이블 텔레비전 송신들, 위성 텔레비전 송신들, DASH(dynamic adaptive streaming over HTTP)와 같은 인터넷 스트리밍 비디오 송신들, 데이터 저장 매체 상으로 인코딩되는 디지털 비디오, 데이터 저장 매체 상에 저장된 디지털 비디오의 디코딩, 또는 다른 애플리케이션들과 같은 다양한 멀티미디어 어플리케이션들 중 임의의 것을 지원하는 비디오 코딩에 본 개시의 기법들이 적용될 수도 있다.Over-the-air television broadcasts, cable television transmissions, satellite television transmissions, Internet streaming video transmissions such as dynamic adaptive streaming over HTTP (DASH), digital video encoded onto a data storage medium. The techniques of this disclosure may be applied to video coding to support any of a variety of multimedia applications, such as decoding of digital video stored on a data storage medium, or other applications.

목적지 디바이스(116)의 입력 인터페이스(122)는 인코딩된 비디오 비트스트림을 컴퓨터 판독가능 매체(110)(예를 들어, 통신 매체, 스토리지 디바이스(112), 파일 서버(114) 등)로부터 수신한다. 인코딩된 비디오 비트스트림은, 비디오 블록들 또는 다른 코딩된 유닛들(예를 들어, 슬라이스들, 픽처들, 픽처들의 그룹들, 시퀀스들 등)의 프로세싱 및/또는 특성들을 기술하는 값들을 갖는 신택스 엘리먼트들과 같은, 비디오 디코더(300)에 의해 또한 사용되는, 비디오 인코더(200)에 의해 정의된 시그널링 정보를 포함할 수도 있다. 디스플레이 디바이스(118)는 디코딩된 비디오 데이터의 디코딩된 픽처들을 사용자에게 디스플레이한다. 디스플레이 디바이스(118)는 액정 디스플레이(LCD), 플라즈마 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 다른 타입의 디스플레이 디바이스와 같은 다양한 디스플레이 디바이스들 중 임의의 것을 나타낼 수도 있다.Input interface 122 of destination device 116 receives the encoded video bitstream from computer-readable medium 110 (e.g., communication medium, storage device 112, file server 114, etc.). An encoded video bitstream consists of syntax elements with values that describe the processing and/or characteristics of video blocks or other coded units (e.g., slices, pictures, groups of pictures, sequences, etc.) , may also include signaling information defined by video encoder 200, which is also used by video decoder 300. Display device 118 displays decoded pictures of the decoded video data to the user. Display device 118 may represent any of a variety of display devices, such as a liquid crystal display (LCD), plasma display, organic light emitting diode (OLED) display, or other type of display device.

도 1에 도시되지는 않았지만, 일부 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 각각 오디오 인코더 및/또는 오디오 디코더와 통합될 수도 있고, 적절한 MUX-DEMUX 유닛들, 또는 다른 하드웨어 및/또는 소프트웨어를 포함하여, 공통 데이터 스트림에서 오디오 및 비디오 양자 모두를 포함하는 멀티플렉싱된 스트림들을 핸들링할 수도 있다.Although not shown in Figure 1, in some examples, video encoder 200 and video decoder 300 may be integrated with an audio encoder and/or an audio decoder, respectively, appropriate MUX-DEMUX units, or other hardware and/or Or it may include software to handle multiplexed streams containing both audio and video in a common data stream.

비디오 인코더(200) 및 비디오 디코더(300)는 각각 다양한 적합한 인코더 및/또는 디코더 회로부, 이를 테면 하나 이상의 마이크로프로세서들, 디지털 신호 프로세서들(DSP들), 주문형 집적 회로들(ASIC들), 필드 프로그래밍가능 게이트 어레이들(FPGA들), 이산 로직, 소프트웨어, 하드웨어, 펌웨어 또는 이들의 임의의 조합들 중 임의의 것으로서 구현될 수도 있다. 기법들이 부분적으로 소프트웨어에서 구현되는 경우, 디바이스는 적합한, 비일시적 컴퓨터 판독가능 매체에 소프트웨어에 대한 명령들을 저장하고, 본 개시의 기법들을 수행하기 위해 하나 이상의 프로세서들을 사용하여 하드웨어에서 명령들을 실행할 수도 있다. 비디오 인코더(200) 및 비디오 디코더(300) 각각은 하나 이상의 인코더들 또는 디코더들에 포함될 수도 있으며, 이들 중 어느 하나는 각각의 디바이스에서 결합된 인코더/디코더(CODEC)의 일부로서 통합될 수도 있다. 비디오 인코더(200) 및/또는 비디오 디코더(300)를 포함하는 디바이스는 집적 회로, 마이크로프로세서, 및/또는 셀룰러 전화기와 같은 무선 통신 디바이스를 포함할 수도 있다.Video encoder 200 and video decoder 300 each include a variety of suitable encoder and/or decoder circuitry, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), and field programming. It may be implemented as any of possible gate arrays (FPGAs), discrete logic, software, hardware, firmware, or any combinations thereof. If the techniques are implemented in part in software, the device may store instructions for the software in a suitable, non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of the present disclosure. . Each of the video encoder 200 and video decoder 300 may be included in one or more encoders or decoders, any of which may be integrated as part of a combined encoder/decoder (CODEC) in each device. A device containing video encoder 200 and/or video decoder 300 may include an integrated circuit, a microprocessor, and/or a wireless communication device, such as a cellular telephone.

비디오 인코더(200) 및 비디오 디코더(300)는, 고효율 비디오 코딩(HEVC)으로도 지칭되는, ITU-T H.265과 같은 비디오 코딩 표준 또는 그에 대한 확장들, 이를 테면 멀티뷰 및/또는 스케일러블 비디오 코딩 확장들에 따라 동작할 수도 있다. 대안적으로, 비디오 인코더(200) 및 비디오 디코더(300)는, 다용도 비디오 코딩(VVC)으로도 지칭되는, ITU-T H.266과 같은 다른 독점 또는 산업 표준들에 따라 동작할 수도 있다. 다른 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 AV1(AOMedia Video 1), AVI의 확장들, 및/또는 AV1의 후속 버전들(예를 들어, AV2)과 같은 독점 비디오 코덱/포맷에 따라 동작할 수도 있다. 다른 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 다른 독점 포맷들 또는 산업 표준들에 따라 동작할 수도 있다. 그러나, 본 개시의 기법들은 임의의 특정한 코딩 표준 또는 포맷에 한정되지 않는다. 일반적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 다중 가설 인터 예측을 위한 모션 정보를 코딩하는 임의의 비디오 코딩 기법들과 함께 본 개시의 기법들을 수행하도록 구성될 수도 있다.Video encoder 200 and video decoder 300 support video coding standards, such as ITU-T H.265, also referred to as High Efficiency Video Coding (HEVC), or extensions thereof, such as multi-view and/or scalable. It may also operate according to video coding extensions. Alternatively, video encoder 200 and video decoder 300 may operate according to other proprietary or industry standards, such as ITU-T H.266, also referred to as Versatile Video Coding (VVC). In other examples, video encoder 200 and video decoder 300 may support a proprietary video codec/format, such as AOMedia Video 1 (AV1), extensions of AVI, and/or successors to AV1 (e.g., AV2). It may operate depending on . In other examples, video encoder 200 and video decoder 300 may operate according to other proprietary formats or industry standards. However, the techniques of this disclosure are not limited to any particular coding standard or format. In general, video encoder 200 and video decoder 300 may be configured to perform the techniques of this disclosure along with any video coding techniques that code motion information for multi-hypothesis inter prediction.

일반적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 픽처들의 블록 기반 코딩을 수행할 수도 있다. 용어 "블록"은 일반적으로, 프로세싱될(예컨대, 인코딩될, 디코딩될, 또는 인코딩 및/또는 디코딩 프로세스에서 달리 사용될) 데이터를 포함하는 구조를 지칭한다. 예를 들어, 블록은 휘도 및/또는 색차(chrominance) 데이터의 샘플들의 2차원 행렬을 포함할 수도 있다. 일반적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 YUV(예컨대, Y, Cb, Cr) 포맷으로 표현된 비디오 데이터를 코딩할 수도 있다. 즉, 픽처의 샘플들에 대한 적색, 녹색, 및 청색(RGB) 데이터를 코딩하기 보다는, 비디오 인코더(200) 및 비디오 디코더(300)는 휘도 및 색차 컴포넌트들을 코딩할 수도 있으며, 여기서 색차 컴포넌트들은 적색 색조(hue) 및 청색 색조 색차 컴포넌트들 양자 모두를 포함할 수도 있다. 일부 예들에서, 비디오 인코더(200)는 수신된 RGB 포맷팅된 데이터를 인코딩 전에 YUV 표현으로 컨버팅하고, 비디오 디코더(300)는 YUV 표현을 RGB 포맷으로 컨버팅한다. 대안적으로는, 프리(pre-) 및 포스트(post-)프로세싱 유닛들이(미도시) 이들 컨버전들을 수행할 수도 있다.In general, video encoder 200 and video decoder 300 may perform block-based coding of pictures. The term “block” generally refers to a structure containing data to be processed (eg, to be encoded, decoded, or otherwise used in an encoding and/or decoding process). For example, a block may include a two-dimensional matrix of samples of luminance and/or chrominance data. In general, video encoder 200 and video decoder 300 may code video data expressed in YUV (eg, Y, Cb, Cr) format. That is, rather than coding red, green, and blue (RGB) data for samples of a picture, video encoder 200 and video decoder 300 may code luminance and chrominance components, where the chrominance components are red It may include both hue and blue hue chrominance components. In some examples, video encoder 200 converts received RGB formatted data to a YUV representation before encoding, and video decoder 300 converts the YUV representation to RGB format. Alternatively, pre- and post-processing units (not shown) may perform these conversions.

본 개시는 일반적으로, 픽처의 데이터를 인코딩 또는 디코딩하는 프로세스를 포함하도록 픽처들의 코딩(예를 들어, 인코딩 및 디코딩)을 참조할 수도 있다. 유사하게, 본 개시는 블록들에 대한 데이터를 인코딩 또는 디코딩하는 프로세스, 예컨대 예측 및/또는 잔차 코딩을 포함하도록 픽처의 블록들의 코딩을 참조할 수도 있다. 인코딩된 비디오 비트스트림은 픽처들의 블록들로의 파티셔닝 및 코딩 판정들(예를 들어, 코딩 모드들)을 나타내는 신택스 엘리먼트들에 대한 일련의 값들을 일반적으로 포함한다. 따라서, 픽처 또는 블록을 코딩하는 것에 대한 참조들은 일반적으로 픽처 또는 블록을 형성하는 신택스 엘리먼트들에 대한 코딩 값들로서 이해되어야 한다.This disclosure may generally refer to coding (e.g., encoding and decoding) of pictures to include the process of encoding or decoding data of a picture. Similarly, this disclosure may refer to the process of encoding or decoding data for blocks, such as coding blocks of a picture to include prediction and/or residual coding. An encoded video bitstream typically includes a set of values for syntax elements that indicate partitioning of pictures into blocks and coding decisions (e.g., coding modes). Accordingly, references to coding a picture or block should generally be understood as coding values for syntax elements that form the picture or block.

HEVC는 코딩 유닛들(CU들), 예측 유닛들(PU들), 및 변환 유닛들(TU들)을 포함하는 다양한 블록들을 정의한다. HEVC에 따르면, (비디오 인코더(200)와 같은) 비디오 코더는 쿼드트리 구조에 따라 코딩 트리 유닛(CTU)을 CU들로 파티셔닝한다. 즉, 비디오 코더는 CTU들 및 CU들을 4 개의 동등한, 중첩하지 않는 정사각형들로 파티셔닝하고, 쿼드트리의 각 노드는 0 개 아니면 4 개의 자식 노드들을 갖는다. 자식 노드들이 없는 노드들은 "리프 노드(leaf node)들"로 지칭될 수도 있고, 이러한 리프 노드들의 CU들은 하나 이상의 PU들 및/또는 하나 이상의 TU들을 포함할 수도 있다. 비디오 코더는 PU들 및 TU들을 추가로 파티셔닝할 수도 있다. 예를 들어, HEVC에서, 잔차 쿼드트리(RQT)는 TU들의 파티셔닝을 나타낸다. HEVC에서, PU들은 인터 예측 데이터를 나타내는 한편, TU들은 잔차 데이터를 나타낸다. 인트라 예측되는 CU들은 인트라 모드 표시와 같은 인트라 예측 정보를 포함한다.HEVC defines various blocks including coding units (CUs), prediction units (PUs), and transform units (TUs). According to HEVC, a video coder (such as video encoder 200) partitions a coding tree unit (CTU) into CUs according to a quadtree structure. That is, the video coder partitions the CTUs and CUs into four equal, non-overlapping squares, and each node of the quadtree has 0 or 4 child nodes. Nodes without child nodes may be referred to as “leaf nodes,” and the CUs of these leaf nodes may include one or more PUs and/or one or more TUs. The video coder may further partition PUs and TUs. For example, in HEVC, the residual quadtree (RQT) represents the partitioning of TUs. In HEVC, PUs represent inter prediction data, while TUs represent residual data. CUs that are intra predicted include intra prediction information such as intra mode indication.

다른 예로서, 비디오 인코더(200) 및 비디오 디코더(300)는 VVC에 따라 동작하도록 구성될 수도 있다. VVC에 따라, 비디오 코더(예컨대 비디오 인코더(200))는 픽처를 복수의 코딩 트리 유닛들(CTU들)로 파티셔닝한다. 비디오 인코더(200)는, 쿼드트리-바이너리 트리(QTBT) 구조 또는 멀티타입 트리(MTT) 구조와 같은 트리 구조에 따라 CTU를 파티셔닝할 수도 있다. QTBT 구조는 HEVC의 CU들, PU들, 및 TU들 간의 구분과 같은 다수의 파티션 타입들의 개념들을 제거한다. QTBT 구조는 2 개의 레벨들: 쿼드트리 파티셔닝에 따라 파티셔닝된 제1 레벨, 및 바이너리 트리 파티셔닝에 따라 파티셔닝된 제2 레벨을 포함한다. QTBT 구조의 루트 노드는 CTU에 대응한다. 바이너리 트리들의 리프 노드들은 코딩 유닛들(CU들)에 대응한다.As another example, video encoder 200 and video decoder 300 may be configured to operate according to VVC. According to VVC, a video coder (e.g., video encoder 200) partitions a picture into a plurality of coding tree units (CTUs). The video encoder 200 may partition CTUs according to a tree structure, such as a quadtree-binary tree (QTBT) structure or a multitype tree (MTT) structure. The QTBT structure eliminates the concept of multiple partition types, such as the distinction between CUs, PUs, and TUs in HEVC. The QTBT structure includes two levels: a first level partitioned according to quadtree partitioning, and a second level partitioned according to binary tree partitioning. The root node of the QTBT structure corresponds to the CTU. Leaf nodes of binary trees correspond to coding units (CUs).

MTT 파티셔닝 구조에서, 쿼드트리(QT) 파티션, 바이너리 트리(BT) 파티션, 및 하나 이상의 타입들의 트리플 트리(TT)(터너리 트리(TT)로도 불림) 파티션들을 사용하여 블록들이 파티셔닝될 수도 있다. 트리플 또는 터너리 트리 파티션은, 블록이 3 개의 서브블록들로 스플리팅되는 파티션이다. 일부 예들에서, 트리플 또는 터너리 트리 파티션은 원래의 블록을 중심을 통과하여 분할하지 않고 블록을 3 개의 서브블록들로 분할한다. MTT(예를 들어, QT, BT, 및 TT)에서의 파티셔닝 타입들은 대칭적일 수도 있거나 비대칭적일 수도 있다.In the MTT partitioning structure, blocks may be partitioned using quadtree (QT) partitions, binary tree (BT) partitions, and one or more types of triple tree (TT) (also called ternary tree (TT)) partitions. A triple or ternary tree partition is a partition in which a block is split into three subblocks. In some examples, a triple or ternary tree partition splits a block into three subblocks without splitting the original block through the center. Partitioning types in MTT (e.g., QT, BT, and TT) may be symmetric or asymmetric.

AV1 코덱에 따라 동작하는 경우, 비디오 인코더(200) 및 비디오 디코더(300)는 블록들에서 비디오 데이터를 코딩하도록 구성될 수도 있다. AV1에서, 프로세싱될 수 있는 가장 큰 코딩 블록은 수퍼블록으로 지칭된다. AV1에서, 수퍼블록은 128x128 루마 샘플들 또는 64x64 루마 샘플들 중 어느 하나일 수 있다. 그러나, 후속 비디오 코딩 포맷들(예를 들어, AV2)에서, 수퍼블록은 상이한(예를 들어, 더 큰) 루마 샘플 사이즈들에 의해 정의될 수도 있다. 일부 예들에서, 수퍼블록은 블록 쿼드트리의 최상위 레벨이다. 비디오 인코더(200)는 수퍼블록을 더 작은 코딩 블록들로 추가로 파티셔닝할 수도 있다. 비디오 인코더(200)는 정사각형 또는 비정사각형 파티셔닝을 사용하여 수퍼블록 및 다른 코딩 블록들을 더 작은 블록들로 파티셔닝할 수도 있다. 비정사각형 블록들은 N/2xN, NxN/2, N/4xN, 및 NxN/4 블록들을 포함할 수도 있다. 비디오 인코더(200) 및 비디오 디코더(300)는 코딩 블록들의 각각에 대해 별개의 예측 및 변환 프로세스들을 수행할 수도 있다.When operating according to the AV1 codec, video encoder 200 and video decoder 300 may be configured to code video data in blocks. In AV1, the largest coding block that can be processed is referred to as a superblock. In AV1, a superblock can be either 128x128 luma samples or 64x64 luma samples. However, in subsequent video coding formats (eg, AV2), a superblock may be defined by different (eg, larger) luma sample sizes. In some examples, a superblock is the top level of a block quadtree. Video encoder 200 may further partition the superblock into smaller coding blocks. Video encoder 200 may partition superblocks and other coding blocks into smaller blocks using square or non-square partitioning. Non-square blocks may include N/2xN, NxN/2, N/4xN, and NxN/4 blocks. Video encoder 200 and video decoder 300 may perform separate prediction and transformation processes for each of the coding blocks.

AV1은 또한, 비디오 데이터의 타일을 정의한다. 타일은, 다른 타일들과 독립적으로 코딩될 수도 있는 수퍼블록들의 직사각형 어레이이다. 즉, 비디오 인코더(200) 및 비디오 디코더(300)는 다른 타일들로부터의 비디오 데이터를 사용하지 않고 타일 내의 코딩 블록들을 각각 인코딩 및 디코딩할 수도 있다. 하지만, 비디오 인코더(200) 및 비디오 디코더(300)는 타일 경계들에 걸쳐 필터링을 수행할 수도 있다. 타일들은 사이즈가 균일하거나 균일하지 않을 수도 있다. 타일 기반 코딩은 인코더 및 디코더 구현들을 위한 병렬 프로세싱 및/또는 멀티스레딩(multi-threading)을 인에이블할 수도 있다.AV1 also defines tiles of video data. A tile is a rectangular array of superblocks that may be coded independently from other tiles. That is, the video encoder 200 and the video decoder 300 may respectively encode and decode coding blocks within a tile without using video data from other tiles. However, video encoder 200 and video decoder 300 may also perform filtering across tile boundaries. Tiles may or may not be uniform in size. Tile-based coding may enable parallel processing and/or multi-threading for encoder and decoder implementations.

일부 예들에서 비디오 인코더(200) 및 비디오 디코더(300)는 휘도 및 색차 컴포넌트들 각각을 나타내기 위해 단일 QTBT 또는 MTT 구조를 사용할 수도 있는 한편, 다른 예들에서 비디오 인코더(200) 및 비디오 디코더(300)는 휘도 컴포넌트에 대한 하나의 QTBT/MTT 구조와 양자 모두의 색차 컴포넌트들에 대한 다른 QTBT/MTT 구조 (또는 각각의 색차 컴포넌트들에 대한 2 개의 QTBT/MTT 구조들)과 같은 2 개 이상의 QTBT 또는 MTT 구조들을 사용할 수도 있다.In some examples, video encoder 200 and video decoder 300 may use a single QTBT or MTT structure to represent the luminance and chrominance components, respectively, while in other examples video encoder 200 and video decoder 300 is two or more QTBT or MTT structures, such as one QTBT/MTT structure for the luminance component and another QTBT/MTT structure for both chrominance components (or two QTBT/MTT structures for each chrominance component) You can also use structures.

비디오 인코더(200) 및 비디오 디코더(300)는 쿼드트리 파티셔닝, QTBT 파티셔닝, MTT 파티셔닝, 수퍼블록 파티셔닝, 또는 다른 파티셔닝 구조들을 사용하도록 구성될 수도 있다.Video encoder 200 and video decoder 300 may be configured to use quadtree partitioning, QTBT partitioning, MTT partitioning, superblock partitioning, or other partitioning structures.

일부 예들에서, CTU는 루마 샘플들의 코딩 트리 블록(CTB), 3 개의 샘플 어레이들을 갖는 픽처의 크로마 샘플들의 2 개의 대응하는 CTB들, 또는 샘플들을 코딩하는데 사용된 3 개의 별개의 컬러 평면들 및 신택스 구조들을 사용하여 코딩되는 픽처 또는 모노크롬 픽처의 샘플들의 CTB를 포함한다. CTB는 컴포넌트의 CTB들로의 분할이 파티셔닝이도록 N의 일부 값에 대한 샘플들의 NxN 블록일 수도 있다. 컴포넌트는 4:2:0, 4:2:2, 또는 4:4:4 컬러 포맷의 픽처를 위한 3 개의 어레이들(루마 및 2 개의 크로마) 중 하나로부터의 어레이 또는 단일 샘플, 또는 모노크롬 포맷의 픽처를 위한 어레이 또는 어레이의 단일 샘플일 수도 있다. 일부 예들에서, CTB의 코딩 블록들로의 분할이 파티셔닝이도록 코딩 블록은 M 및 N의 일부 값들에 대한 샘플들의 MxN 블록이다.In some examples, a CTU is a coding tree block (CTB) of luma samples, two corresponding CTBs of chroma samples of a picture with three sample arrays, or three separate color planes and syntax used to code the samples. Contains the CTB of samples of a picture or monochrome picture coded using the structures. A CTB may be an NxN block of samples for some value of N such that the division of a component into CTBs is a partitioning. A component can be an array or a single sample from one of three arrays (luma and two chroma) for a picture in 4:2:0, 4:2:2, or 4:4:4 color format, or a single sample in monochrome format. It may be an array for a picture or a single sample of an array. In some examples, the coding block is an MxN block of samples for some values of M and N such that the division of the CTB into coding blocks is a partitioning.

블록들(예컨대, CTU들 또는 CU들)은 픽처에서 다양한 방식들로 그룹화될 수도 있다. 일 예로서, 브릭은 픽처에서의 특정 타일 내의 CTU 행들의 직사각형 영역을 지칭할 수도 있다. 타일은 픽처에서의 특정 타일 열 및 특정 타일 행 내의 CTU들의 직사각형 영역일 수도 있다. 타일 열은, 픽처의 높이와 동일한 높이 및 (예를 들어, 픽처 파라미터 세트에서와 같은) 신택스 엘리먼트들에 의해 특정된 폭을 갖는 CTU들의 직사각형 영역을 지칭한다. 타일 행은, (예를 들어, 픽처 파라미터 세트에서와 같은) 신택스 엘리먼트들에 의해 특정되는 높이 및 픽처의 폭과 동일한 폭을 갖는 CTU들의 직사각형 영역을 지칭한다.Blocks (eg, CTUs or CUs) may be grouped in various ways in a picture. As an example, a brick may refer to a rectangular area of CTU rows within a specific tile in a picture. A tile may be a rectangular area of CTUs within a specific tile row and a specific tile row in a picture. A tile row refers to a rectangular region of CTUs with a height equal to the height of the picture and a width specified by syntax elements (e.g., as in a picture parameter set). A tile row refers to a rectangular region of CTUs with a height specified by syntax elements (e.g., as in a picture parameter set) and a width equal to the width of the picture.

일부 예들에서, 타일은 다수의 브릭들로 파티셔닝될 수도 있으며, 이들 각각은 타일 내의 하나 이상의 CTU 행들을 포함할 수도 있다. 다수의 브릭들로 파티셔닝되지 않은 타일 또한, 브릭으로 지칭될 수도 있다. 그러나, 타일의 트루(true) 서브세트인 브릭은 타일로 지칭되지 않을 수도 있다. 픽처에서의 브릭들은 또한 슬라이스로 배열될 수도 있다. 슬라이스는, 단일의 네트워크 추상화 계층(NAL) 유닛에 배타적으로 포함될 수도 있는 픽처의 정수 개수의 브릭들일 수도 있다. 일부 예들에서, 슬라이스는 다수의 완전한 타일들 아니면 하나의 타일의 완전한 브릭들의 연속적인 시퀀스만을 포함한다.In some examples, a tile may be partitioned into multiple bricks, each of which may contain one or more CTU rows within the tile. A tile that is not partitioned into multiple bricks may also be referred to as a brick. However, bricks that are a true subset of tiles may not be referred to as tiles. Bricks in a picture may also be arranged into slices. A slice may be an integer number of bricks of a picture that may be contained exclusively in a single network abstraction layer (NAL) unit. In some examples, a slice includes multiple complete tiles or only a contiguous sequence of complete bricks of one tile.

본 개시는 수직 및 수평 치수들에 관해서 (CU 또는 다른 비디오 블록과 같은) 블록의 샘플 치수들을 지칭하기 위해 상호교환가능하게 "NxN" 및 "N 바이(by) N", 예를 들어 16x16 샘플들 또는 16 바이 16 샘플들을 사용할 수도 있다. 일반적으로, 16x16 CU는 수직 방향으로 16 개의 샘플들(y = 16) 및 수평 방향으로 16 개의 샘플들(x = 16)을 가질 것이다. 마찬가지로, NxN CU는 일반적으로 수직 방향으로 N 개의 샘플들 및 수평 방향으로 N 개의 샘플들을 가지며, 여기서 N은 음이 아닌 정수 값을 나타낸다. CU에서의 샘플들은 행들 및 열들로 배열될 수도 있다. 또한, CU들은 수직 방향에서와 동일한 수의 샘플들을 수평 방향에서 반드시 가질 필요가 있는 것은 아니다. 예를 들어, CU들은 NxM 샘플들을 포함할 수도 있고, 여기서 M은 N과 반드시 동일한 것은 아니다.This disclosure uses "NxN" and "N by N" interchangeably to refer to the sample dimensions of a block (such as a CU or other video block) with respect to the vertical and horizontal dimensions, e.g., 16x16 samples. Alternatively, 16 by 16 samples may be used. Typically, a 16x16 CU will have 16 samples in the vertical direction (y = 16) and 16 samples in the horizontal direction (x = 16). Likewise, an NxN CU typically has N samples in the vertical direction and N samples in the horizontal direction, where N represents a non-negative integer value. Samples in a CU may be arranged into rows and columns. Additionally, CUs do not necessarily need to have the same number of samples in the horizontal direction as in the vertical direction. For example, CUs may contain NxM samples, where M is not necessarily equal to N.

비디오 인코더(200)는 예측 및/또는 잔차 정보, 및 다른 정보를 나타내는 CU들에 대한 비디오 데이터를 인코딩한다. 예측 정보는 CU에 대한 예측 블록을 형성하기 위해서 CU가 어떻게 예측되어야 하는지를 나타낸다. 잔차 정보는 일반적으로 인코딩 이전의 CU의 샘플들과 예측 블록 사이의 샘플 바이 샘플 차이들을 나타낸다.Video encoder 200 encodes video data for CUs representing prediction and/or residual information, and other information. Prediction information indicates how a CU should be predicted to form a prediction block for the CU. Residual information generally represents sample-by-sample differences between samples of the CU before encoding and the prediction block.

CU를 예측하기 위해, 비디오 인코더(200)는 일반적으로 인터 예측 또는 인트라 예측을 통해 CU에 대한 예측 블록을 형성할 수도 있다. 인터 예측은 일반적으로, 이전에 코딩된 픽처의 데이터로부터 CU를 예측하는 것을 지칭하는 반면, 인트라 예측은 일반적으로, 동일한 픽처의 이전에 코딩된 데이터로부터 CU를 예측하는 것을 지칭한다. 인터 예측을 수행하기 위해, 비디오 인코더(200)는 하나 이상의 모션 벡터들을 사용하여 예측 블록을 생성할 수도 있다. 비디오 인코더(200)는 일반적으로 모션 탐색을 수행하여, 예를 들어 CU와 참조 블록 사이의 차이들에 관하여, CU와 근접하게 매치하는 참조 블록을 식별할 수도 있다. 비디오 인코더(200)는 참조 블록이 현재 CU와 근접하게 매치하는지 여부를 결정하기 위해 SAD(sum of absolute difference), SSD(sum of squared differences), MAD(mean absolute difference), MSD(mean squared differences), 또는 다른 그러한 차이 계산들을 사용하여 차이 메트릭을 계산할 수도 있다. 일부 예들에서, 비디오 인코더(200)는 단방향성 예측 또는 양방향성 예측을 사용하여 현재 CU를 예측할 수도 있다.To predict a CU, the video encoder 200 may generally form a prediction block for the CU through inter-prediction or intra-prediction. Inter prediction generally refers to predicting a CU from data in a previously coded picture, while intra prediction generally refers to predicting a CU from previously coded data in the same picture. To perform inter prediction, the video encoder 200 may generate a prediction block using one or more motion vectors. Video encoder 200 may generally perform motion search to identify a reference block that closely matches a CU, for example, with respect to differences between the CU and the reference block. The video encoder 200 calculates the sum of absolute difference (SAD), sum of squared differences (SSD), mean absolute difference (MAD), and mean squared differences (MSD) to determine whether the reference block closely matches the current CU. , or other such difference calculations may be used to calculate the difference metric. In some examples, video encoder 200 may predict the current CU using unidirectional prediction or bidirectional prediction.

HEVC에서, 일 예로서, 양방향성 예측(양방향 예측이라고도 지칭됨) 신호는 2 개의 상이한 참조 픽처들로부터 획득된 2 개의 예측 신호들을 평균화하고 그리고/또는 2 개의 상이한 모션 벡터들을 사용함으로써 생성된다. VVC에서, 다른 예로서, 양방향 예측 모드는 2 개의 예측 신호들의 가중된 평균화를 허용하기 위해 단순한 평균화를 넘어 확장된다. 다음 식은 양방향 예측을 사용한 예측 블록 생성의 일 예를 나타낸다:In HEVC, as an example, a bidirectional prediction (also referred to as bidirectional prediction) signal is generated by averaging two prediction signals obtained from two different reference pictures and/or using two different motion vectors. In VVC, as another example, the bidirectional prediction mode is extended beyond simple averaging to allow weighted averaging of two prediction signals. The following equation represents an example of prediction block generation using bidirectional prediction:

(1) (One)

위의 식 1에서, Pbi-pred는 양방향 예측을 사용하여 형성된 예측 블록을 나타내고, P0은 제1 세트의 모션 정보와 제1 참조 픽처로부터 형성된 제1 예측 블록을 나타내고, P1은 제2 세트의 모션 정보와 제2 참조 픽처로부터 형성된 제2 예측 블록을 나타내고, w는 가중 값을 나타내고, 그리고 ">>"는 비트와이즈(bitwise) 우측 시프트 연산자를 나타낸다. VVC에서, w에 대한 5 개의 가중 값들이 가중된 평균화 양방향 예측에서 허용된다, w ∈ {-2,3,4,5,10}. 각각의 양방향 예측된 CU에 대해, 가중치 w는 2 개의 방식들 중 하나로 결정된다: 1) 논머지 CU의 경우, 가중치 인덱스는 모션 벡터 차이 이후에 시그널링된다; 2) 머지 CU의 경우, 가중치 인덱스는 머지 후보 인덱스에 기초하여 이웃 블록들로부터 추론된다. VVC에서, CU 레벨 가중치들(BCW)을 갖는 양방향 예측은 256 이상의 루마 샘플들을 갖는 CU들에만 적용된다(즉, CU 폭 곱하기 CU 높이는 256 이상임). 저지연 픽처들의 경우, 5 개의 가중치들이 모두 사용된다. 비 저지연 픽처들의 경우, 단지 3 개의 가중치들(w∈{3,4,5})만이 사용된다.In Equation 1 above, P bi-pred represents the prediction block formed using bidirectional prediction, P 0 represents the first prediction block formed from the first set of motion information and the first reference picture, and P 1 represents the second represents the second prediction block formed from the set of motion information and the second reference picture, w represents the weight value, and ">>" represents the bitwise right shift operator. In VVC, five weight values for w are allowed in weighted averaging two-way prediction, w ∈ {-2,3,4,5,10}. For each bidirectional predicted CU, the weight w is determined in one of two ways: 1) For non-merged CUs, the weight index is signaled after the motion vector difference; 2) For merge CU, the weight index is inferred from neighboring blocks based on the merge candidate index. In VVC, bi-prediction with CU level weights (BCW) applies only to CUs with luma samples greater than or equal to 256 (i.e., CU width times CU height is greater than or equal to 256). For low-latency pictures, all five weights are used. For non-low-latency pictures, only three weights (w∈{3,4,5}) are used.

HEVC에서, 비디오 코더들은, use_integer_mv_flag(즉, 정수레벨가 사용되는지 또는 서브 정수 레벨 정밀도가 사용되는지를 나타내는 신택스 엘리먼트)가 슬라이스 헤더에서 (서브 정수 정밀도를 표시하는) 0과 동일한 경우 쿼터 루마 샘플(quarter-luma-sample)의 단위로, CU의 예측된 모션 벡터와 모션 벡터 사이의 차이들을 나타내는 모션 벡터 차이들(MVD들)을 코딩할 수도 있다. VVC는 CU 레벨의 적응적 모션 벡터 해상도(AMVR) 방식을 도입하였다. AMVR은 CU의 MVD가 상이한 정밀도로 코딩되도록 허용한다. VVC에서 현재 CU에 대한 모드(예를 들어, 정상 AMVP 모드 또는 아핀(Affine) AVMP 모드)에 따라, 현재 CU의 MVD들은 다음과 같이 적응적으로 선택될 수 있다:In HEVC, video coders use quarter luma samples (quarter- luma samples) if use_integer_mv_flag (i.e., a syntax element indicating whether integer level or sub-integer level precision is used) is equal to 0 (indicating sub-integer precision) in the slice header. In units of luma-sample, motion vector differences (MVDs) may be coded, representing the differences between the CU's predicted motion vector and the motion vector. VVC introduced the CU-level adaptive motion vector resolution (AMVR) method. AMVR allows the MVD of a CU to be coded with different precisions. Depending on the mode for the current CU in the VVC (e.g., normal AMVP mode or affine AVMP mode), the MVDs of the current CU may be adaptively selected as follows:

ㆍ정상 AMVP 모드: 쿼터 루마 샘플, 하프 루마 샘플(half-luma-sample), 정수 루마 샘플 또는 4 루마 샘플.ㆍNormal AMVP mode: quarter luma sample, half-luma-sample, integer luma sample or 4 luma sample.

ㆍ아핀 AMVP 모드: 쿼터 루마 샘플, 정수 루마 샘플 또는 1/16 루마 샘플.ㆍAffine AMVP mode: quarter luma sample, integer luma sample or 1/16 luma sample.

비디오 코더는, 현재 CU가 VVC당, 적어도 하나의 논제로(non-zero) MVD 컴포넌트를 가지면 CU 레벨 MVD 해상도를 조건부로 코딩할 수도 있다. 모든 MVD 컴포넌트들(즉, 참조 리스트 L0 및 참조 리스트 L1에 대한 수평 및 수직 MVD들 양자 모두)이 0이면, 비디오 코더는 정밀도(해상도)를 표현하기 위해 추가적인 데이터를 코딩하지 않고서, 쿼터 루마 샘플 MVD 해상도가 사용된다고 추론할 수도 있다.A video coder may conditionally code CU level MVD resolution if the current CU has at least one non-zero MVD component, per VVC. If all MVD components (i.e., both horizontal and vertical MVDs for reference list L0 and reference list L1) are 0, then the video coder can encode the quarter luma sample MVD without coding additional data to express the precision (resolution). It can also be inferred that resolution is used.

VVC당, 적어도 하나의 논제로 MVD 컴포넌트를 갖는 CU에 대해, 쿼터 루마 샘플 MVD 정밀도가 CU에 대해 사용되는지 여부를 표시하기 위해 제1 플래그가 시그널링된다. 제1 플래그가 0이면, 더 이상의 시그널링이 필요하지 않고 쿼터 루마 샘플 MVD 정밀도가 현재 CU에 대해 사용된다. 그렇지 않으면, 비디오 코더는 하프 루마 샘플 또는 다른 MVD 정밀도들(정수 또는 4 루마 샘플)이 정상 AMVP CU에 대해 사용됨을 표시하는 제2 플래그를 코딩한다. 하프 루마 샘플의 경우에서, VVC당, 디폴트 8탭 보간 필터 대신에 6탭 보간 필터가 하프 루마 샘플 포지션에 대해 사용된다. 그렇지 않으면, VVC당, 정상 AMVP CU에 대해 정수 루마 샘플 MVD 정밀도가 사용되는지 또는 4 루마 샘플 MVD 정밀도가 사용되는지를 표시하기 위해 제3 플래그가 시그널링된다. 아핀 AMVP CU의 경우에서, 정수 루마 샘플 MVD 정밀도가 사용되는지 또는 1/16 루마 샘플 MVD 정밀도가 사용되는지를 표시하기 위해 제2 플래그가 사용된다. 복원된 MV가 의도된 정밀도(쿼터 루마 샘플, 하프 루마 샘플, 정수 루마 샘플 또는 4 루마 샘플)를 갖는 것을 보장하기 위해, 비디오 코더는 CU에 대한 모션 벡터 예측자들을 MVD의 정밀도와 동일한 정밀도로, MVD와 함께 그 예측자들을 추가하기 전에, 라운딩할 수도 있다. 비디오 코더는 모션 벡터 예측자들을 0을 향해 라운딩할 수도 있다(즉, 음의 모션 벡터 예측자는 양의 무한대를 향해 라운딩되고 양의 모션 벡터 예측자는 음의 무한대를 향해 라운딩된다).Per VVC, for a CU with at least one non-zero MVD component, a first flag is signaled to indicate whether quarter luma sample MVD precision is used for the CU. If the first flag is 0, no further signaling is needed and quarter luma sample MVD precision is used for the current CU. Otherwise, the video coder codes a second flag indicating that half luma sample or other MVD precisions (integer or 4 luma samples) are used for the normal AMVP CU. In the case of half luma samples, per VVC, a 6-tap interpolation filter is used for the half luma sample position instead of the default 8-tap interpolation filter. Otherwise, per VVC, a third flag is signaled to indicate whether integer luma sample MVD precision or 4 luma sample MVD precision is used for normal AMVP CUs. In the case of an affine AMVP CU, a second flag is used to indicate whether integer luma sample MVD precision or 1/16 luma sample MVD precision is used. To ensure that the restored MV has the intended precision (quarter luma samples, half luma samples, integer luma samples, or 4 luma samples), the video coder sets the motion vector predictors for the CU to the same precision as the MVD: Before adding the predictors with MVD, you can also round them. The video coder may round the motion vector predictors toward 0 (i.e., a negative motion vector predictor is rounded toward positive infinity and a positive motion vector predictor is rounded toward negative infinity).

도 2는 기하학적 파티셔닝 모드(GPM)를 위한 단방향 예측 모션 벡터 선택을 위한 예시적인 방식을 나타내는 테이블을 예시하는 개념도이다. VVC는 인터 예측을 위한 GPM을 포함한다. VVC에서, 기하학적 파티셔닝 모드는 정규(regular) 머지 모드, MVD를 갖는 머지 모드(MMVD), 크로스컴포넌트 인트라 예측(CIIP) 모드 및 서브블록 머지 모드를 포함하는 다른 머지 모드들과 함께, 머지 모드의 한 종류로서 CU 레벨 플래그를 사용하여 시그널링된다. 총 64 개의 파티션들은 8x64 및 64x8을 배제하는 각각의 가능한 CU 사이즈 w × h = 2m × 2n (m, n ∈ {3…6})에 대한 기하학적 파티셔닝 모드에 의해 지원된다.2 is a conceptual diagram illustrating a table representing an example scheme for one-way predictive motion vector selection for geometric partitioning mode (GPM). VVC includes GPM for inter prediction. In VVC, geometric partitioning mode is one of the merge modes, along with other merge modes including regular merge mode, merge mode with MVD (MMVD), cross-component intra prediction (CIIP) mode, and subblock merge mode. As a type, it is signaled using the CU level flag. A total of 64 partitions are supported by the geometric partitioning mode for each possible CU size w × h = 2 m × 2 n (m, n ∈ {3…6}) excluding 8x64 and 64x8.

VVC당, 이 모드가 사용될 때, CU는 기하학적으로 위치된 직선에 의해 2 개의 부분들로 스플리팅된다. CU에서의 기하학적 파티션의 각 부분은 그의 고유의 모션을 사용하여 인터 예측되고; 오직 단방향 예측만이 각각의 파티션에 대해 허용되며, 즉 각 부분은 1 개의 모션 벡터 및 1 개의 참조 인덱스를 갖는다. 단방향 예측 모션 제약은, 종래의 양방향 예측과 동일하게 오직 2 개의 모션 보상된 예측만이 각각의 CU에 대해 필요하다는 것을 보장하기 위해 적용된다. 각 파티션에 대한 단방향 예측 모션은 다음과 같이 설명되는 프로세스를 사용하여 도출된다:Per VVC, when this mode is used, the CU is split into two parts by a geometrically located straight line. Each part of the geometric partition in CU is inter-predicted using its unique motion; Only one-way prediction is allowed for each partition, i.e. each part has 1 motion vector and 1 reference index. One-way prediction motion constraints are applied to ensure that only two motion-compensated predictions are needed for each CU, identical to conventional two-way prediction. The one-way predicted motion for each partition is derived using a process described as follows:

단방향 예측 후보 리스트는 VVC에서의 확장된 머지 예측 프로세스에 따라 구성된 머지 후보 리스트로부터 직접 도출된다. n을 기하학적 단방향 예측 후보 리스트 내 단일 예측 모션의 인덱스로서 표시한다. n 번째 확장된 머지 후보의 LX 모션 벡터는(X는 n의 패리티(parity)와 동일) 기하학적 파티셔닝 모드에 대한 n 번째 단방향 예측 모션 벡터로서 사용된다. 이들 모션 벡터들은 도 2에서 "x"로 마킹된다. n 개의 확장된 머지 후보의 대응하는 LX 모션 벡터가 존재하지 않는 경우에, 동일한 후보의 L(1 - X) 모션 벡터가 기하학적 파티셔닝 모드를 위한 단방향 예측 모션 벡터로서 대신 사용된다.The one-way prediction candidate list is directly derived from the merge candidate list constructed according to the extended merge prediction process in VVC. We denote n as the index of a single prediction motion in the geometric unidirectional prediction candidate list. The LX motion vector of the nth extended merge candidate (X is equal to the parity of n) is used as the nth unidirectional prediction motion vector for the geometric partitioning mode. These motion vectors are marked with “x” in Figure 2. In case the corresponding LX motion vectors of the n extended merge candidates do not exist, the L(1 -

VVC당, 현재 CU에 대해 기하학적 파티셔닝 모드가 사용되면, 비디오 코더는 기하학적 파티션(각도 및 오프셋)의 파티션 모드를 표시하는 기하학적 파티션 인덱스, 및 2 개의 머지 인덱스들(각각의 파티션에 대해 하나씩)을 추가로 코딩할 수도 있다. VVC에 따르면, 최대 GPM 후보 사이즈의 수는 시퀀스 파라미터 세트(SPS)에서 명시적으로 코딩되고 GPM 머지 인덱스들에 대한 신택스 이진화를 특정한다. 기하학적 파티션의 각각의 부분을 예측한 후, 비디오 코더는 적응적 가중치들을 갖는 블렌딩 프로세싱을 사용하여 기하학적 파티션 에지를 따라 샘플 값들을 조절할 수도 있다.Per VVC, if geometric partitioning mode is used for the current CU, the video coder adds a geometric partition index indicating the partition mode of the geometric partition (angle and offset), and two merge indices (one for each partition) It can also be coded as . According to VVC, the number of maximum GPM candidate sizes is explicitly coded in the Sequence Parameter Set (SPS) and specifies the syntax binarization for GPM merge indices. After predicting each part of the geometric partition, the video coder may adjust sample values along the geometric partition edge using blending processing with adaptive weights.

거의 모든 이전의 그리고 현재의 비디오 코딩 표준들에서, 비디오 코더들은 비디오 데이터의 블록들을 시간적으로 예측하기 위해 단방향 또는 양방향 중 어느 하나를 채용할 수도 있으며, 이는 단일 예측 가설이다. 다중 가설 예측(MHP)은 Winken 등, "Multi-hypothesis inter-prediction", ITU-T SG 16 WP 3 및 ISO/IEC JTC 1/SC 29/WG 11의 제 10 회 JVET 회의, 2018년 4월 10-20일, 문헌 번호 JVET-J0041; Winken 등, "CE10: Multi-Hypothesis Inter Prediction (Tests 1.5 - 1.8)", ITU-T SG 16 WP 3 및 ISO/IEC JTC 1/SC 29/WG 11의 제 11 회 JVET 회의, 2018년 7월 10-18일, 문헌 JVET-K0269; Winken 등, "CE10: Multi-Hypothesis Inter Prediction (Tests 1.2.a - 1.2.c)" ITU-T SG 16 WP 3 및 ISO/IEC JTC 1/SC 29/WG 11의 제 12 회 JVET 회의, 2018년 10월 3-12일, 문헌 JVET-L0148 (v3); 및 Winken 등, "CE10: Multi-hypothesis inter prediction (Test 10.1.2)" ITU-T SG 16 WP 3 및 ISO/IEC JTC 1/SC 29/WG 11의 제 13 회 JVET 회의, 2019년 1월 9-18일, 문헌 번호 JVET-M0425에 설명된다. VVC당 MHP에서, 인터 예측 방법은 2 개보다 많은 모션 보상된 예측 신호들의 가중된 중첩을 허용한다. 결과적인 전체 예측 신호는 샘플와이즈(sample-wise) 가중된 중첩에 의해 획득된다. 단방향/양방항 예측 신호 p uni / bi 및 제1 추가적인 인터 예측 신호/가설 h 3 로, 결과적인 예측 신호 p 3은 VVC당, 다음과 같이 획득된다:In almost all previous and current video coding standards, video coders may employ either one-way or two-way methods to temporally predict blocks of video data, which is the single prediction hypothesis. Multi-hypothesis prediction (MHP) is a method used by Winken et al., “Multi-hypothesis inter-prediction”, 10th JVET Conference on ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, April 10, 2018. -20 days, document number JVET-J0041; Winken et al., “CE10: Multi-Hypothesis Inter Prediction (Tests 1.5 - 1.8)”, 11th JVET Conference on ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, July 10, 2018. -18 days, document JVET-K0269; Winken et al., "CE10: Multi-Hypothesis Inter Prediction (Tests 1.2.a - 1.2.c)" 12th JVET Conference on ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 2018. 3-12 October, document JVET-L0148 (v3); and Winken et al., “CE10: Multi-hypothesis inter prediction (Test 10.1.2)” 13th JVET conference on ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 9 January 2019. -18, described in document number JVET-M0425. In MHP per VVC, the inter prediction method allows weighted superposition of more than two motion compensated prediction signals. The resulting overall prediction signal is obtained by sample-wise weighted superposition. With the one-way/two-way prediction signal p uni / bi and the first additional inter prediction signal/hypothesis h 3 , the resulting prediction signal p 3 is obtained, per VVC, as follows:

(2) (2)

식 (2)에서, p3은 결과적인 예측 신호를 나타내고, puni/bi는 제1 예측 가설로부터의 제1 예측 블록을 나타내고, h3은 제2 예측 가설로부터의 제2 예측 블록을 나타내고, 그리고 α는 가중 값을 나타낸다. VVC에서, 가중 인자 α는 다음의 매핑에 따라 신택스 엘리먼트 add_hyp_weight_idx에 의해 특정된다:In equation (2), p 3 represents the resulting prediction signal, p uni/bi represents the first prediction block from the first prediction hypothesis, h3 represents the second prediction block from the second prediction hypothesis, and α represents the weight value. In VVC, the weighting factor α is specified by the syntax element add_hyp_weight_idx according to the following mapping:

위와 유사하게, 1 개보다 많은 추가적인 예측 신호가 사용될 수 있다. VVC마다, 결과적인 전체 예측 신호는 다음과 같이 각각의 추가적인 예측 신호와 반복적으로 누적된다:Similar to above, more than one additional prediction signal may be used. For each VVC, the resulting overall prediction signal is iteratively accumulated with each additional prediction signal as follows:

(3) (3)

결과적인 전체 예측 신호는 마지막 p n (즉, 가장 큰 인덱스 n을 갖는 p n )으로서 획득된다.The resulting overall prediction signal is obtained as the last p n (i.e. p n with the largest index n ).

(SKIP 모드가 아니라) MERGE 모드를 사용하는 인터 예측 블록들에 대해, 추가적인 인터 예측 신호들이 또한 특정될 수 있다. 추가적인 예측 신호들에 대해, VVC당, 2 개의 AMVP 후보 리스트들 중 하나가 사용된다:For inter prediction blocks using MERGE mode (rather than SKIP mode), additional inter prediction signals may also be specified. For additional prediction signals, per VVC, one of the two AMVP candidate lists is used:

ㆍ추가적인 예측 신호의 참조 픽처의 픽처 순서 카운트(POC)가 사용된 list1 참조 픽처의 POC와 동일하면, list1 AMVP 후보 리스트가 사용된다.ㆍIf the picture order count (POC) of the reference picture of the additional prediction signal is the same as the POC of the used list1 reference picture, the list1 AMVP candidate list is used.

ㆍ그렇지 않으면 list0 후보 목록이 사용된다.ㆍOtherwise, the list0 candidate list is used.

Chang 등, "Compression efficiency methods beyond VVC" ITU-T SG 16 WP 3 및 ISO/IEC JTC 1/SC 29의 제 21 회 JVET 회의, 2021년 1월 6-15일, 문헌 번호 JVET-U0100은 로컬 조명 보상(LIC)을 설명한다. LIC는 현재 블록과 그의 예측 블록 사이의 로컬 조명 변화를 현재 블록 템플릿과 참조 블록 템플릿 사이의 것의 함수로서 모델링하는 인터 예측 기법이다. 함수의 파라미터들은 스케일 α 및 오프셋 β에 의해 표시될 수 있으며, 이는 조명 변화들을 보상하기 위해 선형 방정식, 즉 α*p[x]+β를 형성하고, 여기서 p[x]는 참조 픽처 상의 위치 x에서 MV에 의해 포인팅되는 참조 샘플이다. αβ는 현재 블록 템플릿과 참조 블록 템플릿에 기초하여 도출될 수 있기 때문에, LIC의 사용을 표시하기 위해 AMVP 모드에 대해 LIC 플래그가 시그널링되는 것을 제외하고, 시그널링 오버헤드가 이들에 대해 요구되지 않는다.Chang et al., "Compression efficiency methods beyond VVC" 21st JVET Conference of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29, 6-15 January 2021, Paper No. JVET-U0100 for local lighting Explain compensation (LIC). LIC is an inter-prediction technique that models the local illumination change between the current block and its prediction block as a function of that between the current block template and the reference block template. The parameters of the function can be denoted by scale α and offset β , which forms a linear equation to compensate for illumination changes, i.e. α *p[x]+ β , where p[x] is the position x on the reference picture. is the reference sample pointed by the MV. Since α and β can be derived based on the current block template and the reference block template, no signaling overhead is required for them, except that the LIC flag is signaled for AMVP mode to indicate the use of LIC. .

단방향 예측 인터 CU들에 대한 로컬 조명 보상은 또한, Seregin 등, "CE4-3.1a and CE4-3.1b: Unidirectional local illumination compensation with affine prediction" 2019년 7월 3-12일, 문헌 번호 JVET-O0066에서, 다음과 같은 변형들과 함께 설명되었다:Local illumination compensation for unidirectional prediction inter-CUs can also be found in Seregin et al., “CE4-3.1a and CE4-3.1b: Unidirectional local illumination compensation with affine prediction,” July 3-12, 2019, document number JVET-O0066. , described with the following variations:

ㆍ인트라 이웃 샘플들이 LIC 파라미터 도출에서 사용될 수 있다;ㆍIntra neighborhood samples can be used in LIC parameter derivation;

ㆍ32 개보다 적은 루마 샘플들을 갖는 블록들에 대해 LIC가 디스에이블된다;· LIC is disabled for blocks with less than 32 luma samples;

ㆍ비 서브블록 및 아핀 모드들 양자 모두에 대해, LIC 파라미터 도출은 첫번째 상부 좌측 16x16 유닛에 대응하는 부분적 템플릿 블록 샘플들 대신에, 현재 CU에 대응하는 템플릿 블록 샘플들에 기초하여 수행된다;• For both non-subblock and affine modes, LIC parameter derivation is performed based on template block samples corresponding to the current CU, instead of partial template block samples corresponding to the first upper left 16x16 unit;

ㆍ정수 화소(integer-pel) 정밀도로 라운딩하지 않고 블록 MV과 MC를 사용하여 참조 블록의 샘플들이 생성된다.ㆍSamples of the reference block are generated using blocks MV and MC without rounding with integer-pel precision.

다시 도 1을 참조하면, 본 개시의 다양한 기법들에 따르면, 비디오 인코더(200) 및 비디오 디코더(300)는 다중 가설 인터 예측을 위해 머지 모드를 수행하도록 구성될 수도 있다. 예를 들어, 추가적인 가설을 위한 머지 모드에 대해, 추가적인 가설에 대한 (AMVP 모드에서와 같은) 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 항상 코딩하기보다는, 비디오 인코더(200) 및 비디오 디코더(300)는 추가적인 가설에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 또는 AMVP 모드를 사용하여 코딩되는지를 표시하기 위해 머지 플래그를 코딩할 수도 있다. 머지 플래그가 참이면, 비디오 인코더(200) 및 비디오 디코더(300)는 추가적인 가설에 대한 머지 후보를 표시하기 위해 머지 인덱스를 코딩할 수도 있다. 머지 플래그가 거짓이면, 비디오 인코더(200) 및 비디오 디코더(300)는 추가적인 가설에 대한 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 코딩할 수도 있다.Referring back to FIG. 1, according to various techniques of this disclosure, video encoder 200 and video decoder 300 may be configured to perform merge mode for multi-hypothesis inter prediction. For example, for the merge mode for additional hypotheses, rather than always coding the reference picture index, motion vector predictor index, and motion vector difference (as in AMVP mode) for the additional hypothesis, the video encoder 200 and Video decoder 300 may code a merge flag to indicate whether the motion information for the additional hypothesis is coded using merge mode or AMVP mode. If the merge flag is true, video encoder 200 and video decoder 300 may code the merge index to indicate merge candidates for additional hypotheses. If the merge flag is false, video encoder 200 and video decoder 300 may code the reference picture index, motion vector predictor index, and motion vector difference for additional hypotheses.

일부 예들에서, 하나 이상의 추가적인 가설들에 대해, 비디오 인코더(200) 및 비디오 디코더(300)는 각각의 머지 후보가 단방향 예측 모션을 나타내도록 추가적인 가설들에 대한 머지 모드를 위한 머지 후보들을 구성할 수도 있다. 일부 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 기하학적 파티셔닝 모드에서와 같이, 예를 들어 VVC에서와 같이, 단방향 예측 후보 리스트를 사용할 수도 있다. 따라서, 추가적인 가설들에 대한 머지 모드는 기하학적 파티셔닝 모드에서와 동일한 머지 후보 리스트를 공유할 수도 있다.In some examples, for one or more additional hypotheses, video encoder 200 and video decoder 300 may configure merge candidates for the merge mode for the additional hypotheses such that each merge candidate represents a unidirectional predictive motion. there is. In some examples, video encoder 200 and video decoder 300 may use a one-way prediction candidate list, such as in a geometric partitioning mode, such as in VVC. Accordingly, the merge mode for additional hypotheses may share the same merge candidate list as the geometric partitioning mode.

다시 말해서, 머지 후보 리스트를 구성하기 위해, 이웃 블록이 양방향 예측을 사용하여 예측되는 경우, 비디오 인코더(200) 및 비디오 디코더(300)는 이웃 블록으로부터 1 개 혹은 2 개의 머지 후보들을 구성할 수도 있다. 이웃 블록이 양방향 예측을 사용하여 예측되는 경우, 이웃 블록은 제1 모션 벡터에 대한 제1 모션 정보 및 제2 모션 벡터에 대한 제2 모션 정보를 양자 모두 포함할 것이다. 비디오 인코더(200) 및 비디오 디코더(300)는 제1 모션 정보 및/또는 제2 모션 정보 중 어느 하나 또는 양자 모두로부터 머지 후보를 구성할 수도 있다. 따라서, 비디오 인코더(200) 및 비디오 디코더(300)는 제1 모션 정보 또는 제2 모션 정보 중 하나를 사용하는 것을 포함하여 이웃 블록으로부터 단방향 예측 머지 후보를 형성할 수도 있다. 추가적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 제2 모션 정보를 사용하여 이웃 블록으로부터 제2 단방향 예측 머지 후보를 형성할 수도 있다.In other words, to construct a merge candidate list, if a neighboring block is predicted using bidirectional prediction, the video encoder 200 and video decoder 300 may construct one or two merge candidates from the neighboring block. . If the neighboring block is predicted using bi-directional prediction, the neighboring block will contain both first motion information for the first motion vector and second motion information for the second motion vector. The video encoder 200 and the video decoder 300 may configure a merge candidate from either or both first motion information and/or second motion information. Accordingly, video encoder 200 and video decoder 300 may form a unidirectional prediction merge candidate from neighboring blocks, including using either first motion information or second motion information. Additionally, the video encoder 200 and the video decoder 300 may use the second motion information to form a second unidirectional prediction merge candidate from the neighboring block.

일부 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 추가적인 가설에 대한 머지 플래그를 기본 모드에 대한 머지 플래그로서 코딩할 수도 있다(여기서, "기본 모드"는 상단에 추가적인 가설이 적용되는 모드, 예를 들어 단방향 예측 또는 양방향 예측을 지칭한다). 일부 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 이 머지 플래그를 코딩하기 위해 동일한 CABAC 콘텍스트를 사용할 수도 있다. 다른 예들에서, 비디오 인코더(200) 및 비디오 디코더는 기본 모드에서 시그널링된 머지 플래그에 대해 사용되었던 CABAC 콘텍스트와는 상이한 새로운 CABAC 콘텍스트를 사용하여 추가적인 가설에 대한 머지 플래그를 코딩할 수도 있다.In some examples, video encoder 200 and video decoder 300 may code the merge flag for the additional hypothesis as the merge flag for the basic mode (where “basic mode” refers to the mode to which the additional hypothesis is applied on top). , for example, refers to one-way prediction or two-way prediction). In some examples, video encoder 200 and video decoder 300 may use the same CABAC context to code this merge flag. In other examples, video encoder 200 and video decoder may code the merge flag for an additional hypothesis using a new CABAC context that is different from the CABAC context that was used for the merge flag signaled in the default mode.

일부 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 MERGE 모드에 대한 머지 인덱스를 시그널링하기 위해 사용되는 동일한 CABAC 콘텍스트(들)를 사용하여 추가적인 가설에 대한 머지 인덱스를 코딩할 수도 있다. 다른 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 MERGE 모드에서 머지 인덱스를 코딩하기 위해 사용되는 CABAC 컨텍스트(들)와는 상이한 CABAC 컨텍스트(들)를 사용하여 추가적인 가설에 대한 머지 인덱스를 코딩할 수도 있다.In some examples, video encoder 200 and video decoder 300 may code the merge index for the additional hypothesis using the same CABAC context(s) used to signal the merge index for the MERGE mode. In other examples, video encoder 200 and video decoder 300 code merge indices for additional hypotheses using CABAC context(s) different from the CABAC context(s) used to code merge indices in MERGE mode. You may.

본 개시의 기법들에 따라 추가적인 가설에 대한 모션 정보를 코딩하기 위해 머지 모드가 사용되도록 허용함으로써, 비트스트림에서 코딩된 모션 정보가 감소될 수도 있다. 즉, 추가적인 가설에 대한 모션 정보로서 후보 인덱스, 모션 벡터 차이, 참조 픽처 리스트 표시자, 및 참조 인덱스 각각을 코딩하기 보다는, 비디오 인코더(200) 및 비디오 디코더(300)는 추가적인 가설에 대한 모션 정보를 코딩하기 위해 머지 모드가 사용되는지 여부를 표시하는 머지 인덱스를 코딩할 수도 있고, 그렇다면, 머지 모드당 후보 인덱스를 간단히 코딩할 수도 있다. 이러한 방식으로, 보다 정확한 예측 블록이 현재 블록에 대해 형성될 수 있고, 예측 블록을 형성하기 위해 사용되는 코딩 데이터와 연관된 비트레이트가 감소될 수 있다.By allowing merge mode to be used to code motion information for additional hypotheses according to the techniques of this disclosure, coded motion information in the bitstream may be reduced. That is, rather than coding each of the candidate index, motion vector difference, reference picture list indicator, and reference index as motion information for additional hypotheses, the video encoder 200 and video decoder 300 provide motion information for additional hypotheses. We may code a merge index that indicates whether a merge mode is used for coding, and if so, we may simply code a candidate index per merge mode. In this way, a more accurate prediction block can be formed for the current block, and the bitrate associated with the coding data used to form the prediction block can be reduced.

일부 예들에서, 머지 모드들이 다수의 추가적인 가설들에 대해 사용되는 경우에, 비디오 인코더(200) 및 비디오 디코더(300)는 현재의 추가적인 가설에 대한 머지 후보 리스트로부터 이전의 추가적인 가설에서 사용되었던 머지 후보(들)을 제거할 수도 있다. 그러므로, 현재의 추가적인 가설에서의 머지 후보의 개수는 감소될 수도 있다. 따라서, 머지 인덱스의 시그널링은 비트를 절약하기 위해 대응적으로 수정될 수 있다. 예를 들어, 머지 후보 i가 첫 번째 추가적인 가설에서 사용되고 후보들의 총 수가 N이면, 비디오 인코더(200) 및 비디오 디코더(300)는 두 번째 추가적인 가설에 대해 머지 후보 리스트로부터 머지 후보 i 를 제거할 수도 있다. 그러면 두 번째 추가적인 가설에 대한 머지 후보들의 총 수는 N-1일 것이다. 따라서, 두 번째 추가적인 가설에서의 머지 인덱스는 절삭된(truncated) 이진화 코드, 예를 들어 최대 코드워드 길이가 N 대신에 N-1인 절된 단항(unary) 코드로 코딩될 수도 있다.In some examples, when merge modes are used for multiple additional hypotheses, video encoder 200 and video decoder 300 select the merge candidate that was used in the previous additional hypothesis from the merge candidate list for the current additional hypothesis. (s) can also be removed. Therefore, the number of merge candidates in the current additional hypothesis may be reduced. Therefore, the signaling of the merge index can be modified correspondingly to save bits. For example, if merge candidate i is used in the first additional hypothesis and the total number of candidates is N, video encoder 200 and video decoder 300 may remove merge candidate i from the merge candidate list for the second additional hypothesis. there is. Then the total number of merge candidates for the second additional hypothesis will be N-1. Accordingly, the merge index in the second additional hypothesis may be coded with a truncated binarized code, for example, a truncated unary code with a maximum codeword length of N-1 instead of N.

일부 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 기본 모드에 로컬 조명 보상(LIC)이 적용되는 경우 머지 및/또는 AMVP 모드에서 추가적인 가설들에 로컬 조명 보상(LIC)을 적용할 수도 있다. 다른 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는, 추가적인 가설이 AMVP 모드를 사용하고 LIC가 기본 모드에 적용되었다면, LIC가 추가적인 가설들에 적용될 것이라고 추론할 수도 있다. 추가적인 가설이 머지 모드를 사용하고 LIC가 기본 모드에 적용되었다면, 비디오 인코더(200) 및 비디오 디코더(300)는 LIC가 추가적인 가설에 적용되어야 하는지 여부를 나타내는 머지 후보의 LIC 플래그를 코딩할 수도 있다.In some examples, video encoder 200 and video decoder 300 may apply local lighting compensation (LIC) to additional hypotheses in merge and/or AMVP modes when LIC is applied in base mode. there is. In other examples, video encoder 200 and video decoder 300 may infer that if the additional hypothesis uses AMVP mode and LIC was applied to the basic mode, then LIC will be applied to the additional hypotheses. If the additional hypothesis uses merge mode and LIC was applied to the base mode, video encoder 200 and video decoder 300 may code the LIC flag of the merge candidate indicating whether LIC should be applied to the additional hypothesis.

VVC에서, 하프 루마 샘플 MVD 해상도의 경우에서, 하프 루마 샘플 포지션에 대해 디폴트 8탭 보간 필터 대신에 6탭 보간 필터가 사용된다. 머지 후보는 이러한 필터 스위칭을 상속받을 수도 있다. 본 개시의 기법들에 따르면, 추가적인 가설에 대한 모션 정보가 머지 모드를 사용하여 코딩되면, 하프 루마 샘플 포지션을 또는 다른 샘플 포지션들을 보간하기 위해 대안적인 스위칭 필터를 적용할지는 기본 모드의 머지 후보 대신에, 추가적인 가설의 머지 후보에 의존할 수도 있다. 대안적으로, 추가적인 가설이 AMVP 모드인 경우, 하프 루마 샘플 포지션을 또는 다른 포지션들을 보간하기 위해 대안적인 스위칭 필터를 적용할지는, 보간 필터 스위칭이 기본 모드에서 수행되는지 여부에 의존할 수도 있다.In VVC, in the case of half luma sample MVD resolution, a 6-tap interpolation filter is used instead of the default 8-tap interpolation filter for the half luma sample position. Merge candidates may also inherit these filter switching. According to the techniques of this disclosure, if motion information for an additional hypothesis is coded using a merge mode, whether to apply an alternative switching filter to interpolate the half luma sample position or other sample positions instead of the default mode's merge candidate , one may rely on merging candidates for additional hypotheses. Alternatively, if the additional hypothesis is AMVP mode, whether to apply an alternative switching filter to interpolate the half luma sample position or other positions may depend on whether the interpolation filter switching is performed in default mode.

VVC의 일부 예들은 또한 아핀 모션 보상 모드를 제공하며, 이는 인터 예측 모드로 고려될 수도 있다. 아핀 모션 보상 모드에서, 비디오 인코더(200)는 줌 인 또는 아웃, 회전, 원근 모션, 또는 다른 불규칙한 모션 타입들과 같은 비병진(non-translational) 모션을 나타내는 2 개 이상의 모션 벡터들을 결정할 수도 있다.Some examples of VVC also provide an affine motion compensation mode, which may be considered an inter prediction mode. In an affine motion compensation mode, video encoder 200 may determine two or more motion vectors representing non-translational motion, such as zooming in or out, rotation, perspective motion, or other irregular motion types.

인트라 예측을 수행하기 위해, 비디오 인코더(200)는 예측 블록을 생성하기 위해 인트라 예측 모드를 선택할 수도 있다. VVC의 일부 예들은 평면 모드 및 DC 모드뿐만 아니라, 다양한 방향성 모드들을 포함하여 67 개의 인트라 예측 모드들을 제공한다. 일반적으로, 비디오 인코더(200)는 현재 블록의 샘플들을 예측할 현재 블록(예컨대, CU의 블록)에 대한 이웃 샘플들을 기술하는 인트라 예측 모드를 선택한다. 그러한 샘플들은 일반적으로, 비디오 인코더(200)가 래스터 스캔(raster scan) 순서로(좌측에서 우측으로, 상부에서 하부로) CTU들 및 CU들을 코딩하는 것을 가정하면, 현재 블록과 동일한 픽처에서의 현재 블록의 위, 위 및 좌측, 또는 좌측에 있을 수도 있다.To perform intra prediction, video encoder 200 may select an intra prediction mode to generate a prediction block. Some examples of VVC provide 67 intra prediction modes, including planar mode and DC mode, as well as various directional modes. In general, video encoder 200 selects an intra prediction mode that describes neighboring samples for the current block (e.g., a block of a CU) for which samples of the current block will be predicted. Such samples are generally the current block in the same picture as the current block, assuming that video encoder 200 codes the CTUs and CUs in raster scan order (left to right, top to bottom). It may be above, above and to the left of, or to the left of the block.

비디오 인코더(200)는 현재 블록에 대한 예측 모드를 표시하는 데이터를 인코딩한다. 예를 들어, 인터 예측 모드의 경우, 비디오 인코더(200)는 다양한 이용가능한 인터 예측 모드들 중 어느 것이 사용되는지를 나타내는 데이터뿐만 아니라, 대응하는 모드를 위한 모션 정보를 인코딩할 수도 있다. 단방향 또는 양방향 인터 예측의 경우, 예를 들어, 비디오 인코더(200)는 어드밴스드 모션 벡터 예측(AMVP) 또는 머지 모드를 사용하여 모션 벡터들을 인코딩할 수도 있다. 비디오 인코더(200)는 유사한 모드들을 사용하여 아핀 모션 보상 모드를 위해 모션 벡터들을 인코딩할 수도 있다.The video encoder 200 encodes data indicating the prediction mode for the current block. For example, for an inter prediction mode, video encoder 200 may encode motion information for the corresponding mode, as well as data indicating which of the various available inter prediction modes is used. For unidirectional or bidirectional inter prediction, for example, video encoder 200 may encode motion vectors using advanced motion vector prediction (AMVP) or merge mode. Video encoder 200 may encode motion vectors for an affine motion compensation mode using similar modes.

AV1은 비디오 데이터의 코딩 블록을 인코딩 및 디코딩하기 위한 2 개의 일반적인 기법들을 포함한다. 2 개의 일반적인 기법들은 인트라 예측(예를 들어, 인트라 프레임 예측 또는 공간적 예측) 및 인터 예측(예를 들어, 인터 프레임 예측 또는 시간적 예측)이다. AV1의 컨텍스트에서, 인트라 예측 모드를 사용하여 비디오 데이터의 현재 프레임의 블록들을 예측하는 경우, 비디오 인코더(200) 및 비디오 디코더(300)는 비디오 데이터의 다른 프레임들로부터의 비디오 데이터를 사용하지 않는다. 대부분의 인트라 예측 모드들의 경우, 비디오 인코더(200)는 현재 블록에서의 샘플 값들과 동일한 프레임에서의 참조 샘플들로부터 생성된 예측된 값들 사이의 차이에 기초하여 현재 프레임의 블록들을 인코딩한다. 비디오 인코더(200)는 인트라 예측 모드에 기초하여 참조 샘플들로부터 생성된 예측된 값들을 결정한다.AV1 includes two general techniques for encoding and decoding coding blocks of video data. Two common techniques are intra prediction (eg, intra frame prediction or spatial prediction) and inter prediction (eg, inter frame prediction or temporal prediction). In the context of AV1, when predicting blocks of the current frame of video data using intra prediction mode, video encoder 200 and video decoder 300 do not use video data from other frames of video data. For most intra prediction modes, video encoder 200 encodes blocks of the current frame based on the difference between sample values in the current block and predicted values generated from reference samples in the same frame. The video encoder 200 determines predicted values generated from reference samples based on the intra prediction mode.

블록의 인트라 예측 또는 인터 예측과 같은 예측에 후속하여, 비디오 인코더(200)는 블록에 대한 잔차 데이터를 계산할 수도 있다. 잔차 블록과 같은 잔차 데이터는, 대응하는 예측 모드를 사용하여 형성된, 블록과 그 블록에 대한 예측 블록 사이의 샘플 바이 샘플 차이들을 나타낸다. 비디오 인코더(200)는 잔차 블록에 하나 이상의 변환들을 적용하여, 샘플 도메인 대신 변환 도메인에서의 변환된 데이터를 생성할 수도 있다. 예를 들어, 비디오 인코더(200)는 이산 코사인 변환(DCT), 정수 변환, 웨이블릿(wavelet) 변환, 또는 개념적으로 유사한 변환을 잔차 비디오 데이터에 적용할 수도 있다. 추가적으로, 비디오 인코더(200)는 MDNSST(mode-dependent non-separable secondary transform), 신호 의존적 변환, KLT(Karhunen-Loeve transform) 등과 같은, 1차 변환에 후속하는 2차 변환을 적용할 수도 있다. 비디오 인코더(200)는 하나 이상의 변환들의 적용에 후속하여 변환 계수들을 생성한다.Following prediction, such as intra-prediction or inter-prediction of a block, video encoder 200 may calculate residual data for the block. Residual data, such as a residual block, represents sample-by-sample differences between a block and a prediction block for that block, formed using a corresponding prediction mode. The video encoder 200 may apply one or more transforms to the residual block to generate transformed data in the transform domain instead of the sample domain. For example, video encoder 200 may apply a discrete cosine transform (DCT), an integer transform, a wavelet transform, or a conceptually similar transform to the residual video data. Additionally, the video encoder 200 may apply a secondary transform following the primary transform, such as mode-dependent non-separable secondary transform (MDNSST), signal dependent transform, Karhunen-Loeve transform (KLT), etc. Video encoder 200 generates transform coefficients following application of one or more transforms.

위에서 언급된 바와 같이, 변환 계수들을 생성하기 위한 임의의 변환들에 후속하여, 비디오 인코더(200)는 변환 계수들의 양자화를 수행할 수도 있다. 양자화는 일반적으로, 변환 계수들을 나타내는데 사용되는 데이터의 양을 가능한 감소시키도록 변환 계수들이 양자화되어 추가 압축을 제공하는 프로세스를 지칭한다. 양자화 프로세스를 수행함으로써, 비디오 인코더(200)는 변환 계수들의 일부 또는 전부와 연관된 비트 깊이를 감소시킬 수도 있다. 예를 들어, 비디오 인코더(200)는 양자화 동안 n 비트 값을 m 비트 값으로 라운딩 다운할 수도 있으며, 여기서 n은 m보다 크다. 일부 예들에서, 양자화를 수행하기 위해, 비디오 인코더(200)는 양자화될 값의 비트와이즈 우측 시프트를 수행할 수도 있다.As mentioned above, following any transforms to generate transform coefficients, video encoder 200 may perform quantization of the transform coefficients. Quantization generally refers to a process in which transform coefficients are quantized to reduce as much as possible the amount of data used to represent the transform coefficients, thereby providing additional compression. By performing a quantization process, video encoder 200 may reduce the bit depth associated with some or all of the transform coefficients. For example, video encoder 200 may round down n-bit values to m-bit values during quantization, where n is greater than m. In some examples, to perform quantization, video encoder 200 may perform a bitwise right shift of the value to be quantized.

양자화에 후속하여, 비디오 인코더(200)는 변환 계수들을 스캔하여, 양자화된 변환 계수들을 포함하는 2차원 행렬로부터 1차원 벡터를 생성할 수도 있다. 스캔은 더 높은 에너지 (및 따라서 더 낮은 주파수) 변환 계수들을 벡터의 전방에 배치하고 더 낮은 에너지 (및 따라서 더 높은 주파수) 변환 계수들을 벡터의 후방에 배치하도록 설계될 수도 있다. 일부 예들에서, 비디오 인코더(200)는 미리정의된 스캔 순서를 활용하여 양자화된 변환 계수들을 스캔하여 직렬화된 벡터를 생성하고, 그 후 벡터의 양자화된 변환 계수들을 엔트로피 인코딩할 수도 있다. 다른 예들에서, 비디오 인코더(200)는 적응적 스캔을 수행할 수도 있다. 1차원 벡터를 형성하도록 양자화된 변환 계수들을 스캔한 후, 비디오 인코더(200)는, 예를 들어 컨텍스트 적응형 이진 산술 코딩(CABAC)에 따라, 1차원 벡터를 엔트로피 인코딩할 수도 있다. 비디오 인코더(200)는 또한, 비디오 데이터를 디코딩하는 데 있어서 비디오 디코더(300)에 의한 사용을 위해, 인코딩된 비디오 데이터와 연관된 메타데이터를 기술하는 신택스 엘리먼트들에 대한 값들을 엔트로피 인코딩할 수도 있다.Following quantization, video encoder 200 may scan the transform coefficients to generate a one-dimensional vector from a two-dimensional matrix containing the quantized transform coefficients. The scan may be designed to place higher energy (and therefore lower frequency) transform coefficients in front of the vector and place lower energy (and therefore higher frequency) transform coefficients behind the vector. In some examples, video encoder 200 may scan quantized transform coefficients utilizing a predefined scan order to generate a serialized vector and then entropy encode the quantized transform coefficients of the vector. In other examples, video encoder 200 may perform adaptive scan. After scanning the quantized transform coefficients to form a one-dimensional vector, video encoder 200 may entropy encode the one-dimensional vector, for example, according to context adaptive binary arithmetic coding (CABAC). Video encoder 200 may also entropy encode values for syntax elements that describe metadata associated with the encoded video data for use by video decoder 300 in decoding the video data.

CABAC을 수행하기 위해, 비디오 인코더(200)는 송신될 심볼에 컨텍스트 모델 내의 컨텍스트를 부여할 수도 있다. 컨텍스트는 예를 들어, 심볼의 이웃 값들이 제로 값이 되는지 아닌지 여부와 관련될 수도 있다. 확률 결정은 심볼에 부여된 컨텍스트에 기초할 수도 있다.To perform CABAC, the video encoder 200 may assign a context within a context model to a symbol to be transmitted. Context may relate to, for example, whether a symbol's neighboring values are zero or not. The probability determination may be based on the context given to the symbol.

비디오 인코더(200)는, 예를 들어 픽처 헤더, 블록 헤더, 슬라이스 헤더, 또는 다른 신택스 데이터, 이를 테면 시퀀스 파라미터 세트(SPS), 픽처 파라미터 세트(PPS), 또는 비디오 파라미터 세트(VPS)에서, 비디오 디코더(300)에 대해 블록 기반 신택스 데이터, 픽처 기반 신택스 데이터, 및 시퀀스 기반 신택스 데이터와 같은 신택스 데이터를 추가로 생성할 수도 있다. 비디오 디코더(300)는 마찬가지로, 대응하는 비디오 데이터를 디코딩하는 방법을 결정하기 위해 그러한 신택스 데이터를 디코딩할 수도 있다.Video encoder 200 encodes video, e.g., in a picture header, block header, slice header, or other syntax data, such as a sequence parameter set (SPS), picture parameter set (PPS), or video parameter set (VPS). Syntax data such as block-based syntax data, picture-based syntax data, and sequence-based syntax data may be additionally generated for the decoder 300. Video decoder 300 may likewise decode such syntax data to determine how to decode the corresponding video data.

이러한 방식으로, 비디오 인코더(200)는 인코딩된 비디오 데이터, 예컨대 픽처의 블록들(예를 들어, CU들)로의 파티셔닝을 기술하는 신택스 엘리먼트들 및 블록들에 대한 예측 및/또는 잔차 정보를 포함하는 비트스트림을 생성할 수도 있다. 마지막으로, 비디오 디코더(300)는 비트스트림을 수신하고 인코딩된 비디오 데이터를 디코딩할 수도 있다.In this way, video encoder 200 encodes encoded video data, such as syntax elements that describe the partitioning of a picture into blocks (e.g., CUs) and prediction and/or residual information for the blocks. You can also create a bitstream. Finally, video decoder 300 may receive the bitstream and decode the encoded video data.

일반적으로, 비디오 디코더(300)는 비트스트림의 인코딩된 비디오 데이터를 디코딩하기 위해 비디오 인코더(200)에 의해 수행되는 것과 상호적인(reciprocal) 프로세스를 수행한다. 예를 들어 비디오 디코더(300)는, 비디오 인코더(200)의 CABAC 인코딩 프로세스와 상호적이지만, 실질적으로 유사한 방식으로 CABAC을 사용하여 비트스트림의 신택스 엘리먼트들에 대한 값들을 디코딩할 수도 있다. 신택스 엘리먼트들은 픽처의 CTU들로의 파티셔닝, 및 QTBT 구조와 같은 대응하는 파티션 구조에 따른 각각의 CTU의 파티셔닝을 위한 파티셔닝 정보를 정의하여, CTU의 CU들을 정의할 수도 있다. 신택스 엘리먼트들은 비디오 데이터의 블록들(예컨대, CU들)에 대한 예측 및 잔차 정보를 추가로 정의할 수도 있다.In general, video decoder 300 performs a process reciprocal to that performed by video encoder 200 to decode encoded video data in a bitstream. For example, video decoder 300 may decode values for syntax elements of a bitstream using CABAC in a manner that is interactive, but substantially similar, to the CABAC encoding process of video encoder 200. Syntax elements may define partitioning information for partitioning of a picture into CTUs and partitioning of each CTU according to a corresponding partition structure, such as a QTBT structure, thereby defining CUs of the CTU. Syntax elements may further define prediction and residual information for blocks (eg, CUs) of video data.

잔차 정보는, 예를 들어 양자화된 변환 계수들에 의해 표현될 수도 있다. 비디오 디코더(300)는 블록에 대한 잔차 블록을 재생(reproduce)하기 위해 블록의 양자화된 변환 계수들을 역양자화 및 역변환할 수도 있다. 비디오 디코더(300)는 시그널링된 예측 모드(인트라 또는 인터 예측) 및 관련된 예측 정보(예컨대, 인터 예측을 위한 모션 정보)를 사용하여 블록에 대한 예측 블록을 형성한다. 그 후 비디오 디코더(300)는 원래의 블록을 재생하기 위해 예측 블록과 잔차 블록을 (샘플 바이 샘플 기반으로) 결합할 수도 있다. 비디오 디코더(300)는 블록의 경계들을 따라 시각적 아티팩트들을 감소시키도록 디블록킹 프로세스를 수행하는 것과 같은, 추가적인 프로세싱을 수행할 수도 있다.Residual information may be expressed, for example, by quantized transform coefficients. The video decoder 300 may dequantize and inverse transform the quantized transform coefficients of a block to reproduce a residual block for the block. Video decoder 300 uses the signaled prediction mode (intra or inter prediction) and associated prediction information (e.g., motion information for inter prediction) to form a prediction block for the block. Thereafter, the video decoder 300 may combine the prediction block and the residual block (on a sample-by-sample basis) to reproduce the original block. Video decoder 300 may perform additional processing, such as performing a deblocking process to reduce visual artifacts along the boundaries of a block.

본 개시는 일반적으로, 신택스 엘리먼트들과 같은 소정의 정보를 "시그널링"하는 것을 참조할 수도 있다. 용어 "시그널링"은 일반적으로, 인코딩된 비디오 데이터를 디코딩하는데 사용되는 신택스 엘리먼트들 및/또는 다른 데이터에 대한 값들의 통신을 지칭할 수도 있다. 즉, 비디오 인코더(200)는 비트스트림에서 신택스 엘리먼트들에 대한 값들을 시그널링할 수도 있다. 일반적으로, 시그널링은 비트스트림에서 값을 생성하는 것을 지칭한다. 위에서 언급된 바와 같이, 소스 디바이스(102)는 목적지 디바이스(116)에 의한 추후 검색을 위해 스토리지 디바이스(112)에 신택스 엘리먼트들을 저장할 때 발생할 수도 있는 바와 같이, 비실시간으로 또는 실질적으로 실시간으로 비트스트림을 목적지 디바이스(116)로 전송할 수도 있다.This disclosure may generally refer to “signaling” certain information, such as syntax elements. The term “signaling” may generally refer to the communication of values for syntax elements and/or other data used to decode encoded video data. That is, the video encoder 200 may signal values for syntax elements in the bitstream. In general, signaling refers to generating value in a bitstream. As mentioned above, source device 102 may store syntax elements in storage device 112 for later retrieval by destination device 116, as may occur in non-real-time or substantially real-time bitstream. may be transmitted to the destination device 116.

이러한 방식으로, 비디오 인코더(200) 및 비디오 디코더(300)은 비디오 데이터를 디코딩(및/또는 인코딩)하기 위한 디바이스의 예들을 나타내며, 이는 비디오 데이터를 저장하도록 구성된 메모리; 및 회로부에서 구현되는 하나 이상의 프로세서들을 포함하며, 상기 하나 이상의 프로세서들은: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 것으로서, 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하도록 구성되며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 모션 정보를 코딩하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하도록 구성된다.In this way, video encoder 200 and video decoder 300 represent examples of devices for decoding (and/or encoding) video data, including: a memory configured to store video data; and one or more processors implemented in circuitry, wherein the one or more processors: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element is such that motion information for the second prediction block is coded using merge mode. code the merge mode syntax element to indicate whether to do so; coding motion information for a second prediction block according to a merge mode syntax element, wherein, to code the motion information, the one or more processors are configured to configure the merge mode syntax element to cause the motion information for the second prediction block to use merge mode. coding the motion information, when indicating that it is coded, configured to form a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information; generate a second prediction block for the current block of video data using the motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and is configured to decode the current block using the multi-hypothesis prediction block.

도 3은 본 개시의 기법들을 수행할 수도 있는 예시적인 비디오 인코더(200)를 예시하는 블록도이다. 도 3은 설명을 목적으로 제공되고, 본 개시에서 폭넓게 예시화되고 설명되는 바와 같은 기법들의 한정으로 고려되지 않아야 한다. 설명의 목적으로, 본 개시는 VVC(ITU-T H.266, 개발 중), 및 HEVC(ITU-T H.265)의 기법들에 따라 비디오 인코더(200)를 설명한다. 그러나, 본 개시의 기법들은 AV1 및 AV1 비디오 코딩 포맷에 대한 후속자들과 같은 다른 비디오 코딩 표준들 및 비디오 코딩 포맷들로 구성되는 비디오 인코딩 디바이스들에 의해 수행될 수도 있다.3 is a block diagram illustrating an example video encoder 200 that may perform the techniques of this disclosure. 3 is provided for illustrative purposes and should not be considered limiting of the techniques as broadly illustrated and described in this disclosure. For purposes of explanation, this disclosure describes video encoder 200 according to the techniques of VVC (ITU-T H.266, under development), and HEVC (ITU-T H.265). However, the techniques of this disclosure may be performed by video encoding devices configured with other video coding standards and video coding formats, such as AV1 and successors to the AV1 video coding format.

도 3의 예에서, 비디오 인코더(200)는 비디오 데이터 메모리(230), 모드 선택 유닛(202), 잔차 생성 유닛(204), 변환 프로세싱 유닛(206), 양자화 유닛(208), 역양자화 유닛(210), 역변환 프로세싱 유닛(212), 복원 유닛(214), 필터 유닛(216), 디코딩된 픽처 버퍼(DPB)(218), 및 엔트로피 인코딩 유닛(220)을 포함한다. 비디오 데이터 메모리(230), 모드 선택 유닛(202), 잔차 생성 유닛(204), 변환 프로세싱 유닛(206), 양자화 유닛(208), 역양자화 유닛(210), 역변환 프로세싱 유닛(212), 복원 유닛(214), 필터 유닛(216), DPB(218), 및 엔트로피 인코딩 유닛(220) 중 임의의 것 또는 전부는 하나 이상의 프로세서들에서 또는 프로세싱 회로부에서 구현될 수도 있다. 예를 들어, 비디오 인코더(200)의 유닛들은 하드웨어 회로부의 일부로서, 또는 프로세서, ASIC, 또는 FPGA의 일부로서의 하나 이상의 회로들 또는 로직 엘리먼트들로서 구현될 수도 있다. 더욱이, 비디오 인코더(200)는 이들 및 다른 기능들을 수행하기 위해 추가적인 또는 대안적인 프로세서들 또는 프로세싱 회로부를 포함할 수도 있다.In the example of Figure 3, the video encoder 200 includes a video data memory 230, a mode selection unit 202, a residual generation unit 204, a transform processing unit 206, a quantization unit 208, and a dequantization unit ( 210), an inverse transform processing unit 212, a restoration unit 214, a filter unit 216, a decoded picture buffer (DPB) 218, and an entropy encoding unit 220. Video data memory 230, mode selection unit 202, residual generation unit 204, transform processing unit 206, quantization unit 208, inverse quantization unit 210, inverse transform processing unit 212, restoration unit. Any or all of 214, filter unit 216, DPB 218, and entropy encoding unit 220 may be implemented in one or more processors or in processing circuitry. For example, units of video encoder 200 may be implemented as one or more circuits or logic elements as part of hardware circuitry, or as part of a processor, ASIC, or FPGA. Moreover, video encoder 200 may include additional or alternative processors or processing circuitry to perform these and other functions.

비디오 데이터 메모리(230)는 비디오 인코더(200)의 컴포넌트들에 의해 인코딩될 비디오 데이터를 저장할 수도 있다. 비디오 인코더(200)는 비디오 데이터 메모리(230)에 저장된 비디오 데이터를, 예를 들어 비디오 소스(104)(도 1)로부터 수신할 수도 있다. DPB(218)는, 비디오 인코더(200)에 의한 후속 비디오 데이터의 예측에서의 사용을 위해 참조 비디오 데이터를 저장하는 참조 픽처 메모리로서의 역할을 할 수도 있다. 비디오 데이터 메모리(230) 및 DPB(218)는 동기식 동적 랜덤 액세스 메모리(DRAM)(SDRAM)을 포함하는 DRAM, 자기저항 RAM(MRAM), 저항 RAM(RRAM), 또는 다른 타입들의 메모리 디바이스들과 같은 다양한 메모리 디바이스들 중 임의의 것에 의해 형성될 수도 있다. 비디오 데이터 메모리(230) 및 DPB(218)는 동일한 메모리 디바이스 또는 개별의 메모리 디바이스들에 의해 제공될 수도 있다. 다양한 예들에서 비디오 데이터 메모리(230)는, 예시된 바와 같이 비디오 인코더(200)의 다른 컴포넌트들과 온 칩(on-chip)이거나, 또는 그들 컴포넌트들에 대해 오프 칩(off-chip)일 수도 있다.Video data memory 230 may store video data to be encoded by components of video encoder 200. Video encoder 200 may receive video data stored in video data memory 230, for example, from video source 104 (Figure 1). DPB 218 may serve as a reference picture memory to store reference video data for use in prediction of subsequent video data by video encoder 200. Video data memory 230 and DPB 218 may be memory devices such as DRAM, including synchronous dynamic random access memory (DRAM) (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. It may be formed by any of a variety of memory devices. Video data memory 230 and DPB 218 may be provided by the same memory device or separate memory devices. In various examples, video data memory 230 may be on-chip with other components of video encoder 200, as illustrated, or off-chip relative to those components. .

본 개시에서, 비디오 데이터 메모리(230)에 대한 참조는, 구체적으로 그렇게 설명되지 않는 한 비디오 인코더(200) 내부의 메모리로, 또는 구체적으로 그렇게 설명되지 않는 한 비디오 인코더(200) 외부의 메모리로 한정되는 것으로 해석되어서는 안된다. 오히려, 비디오 데이터 메모리(230)에 대한 참조는, 비디오 인코더(200)가 인코딩을 위해 수신하는 비디오 데이터(예를 들어, 인코딩될 현재 블록에 대한 비디오 데이터)를 저장하는 참조 메모리로서 이해되어야 한다. 도 1의 메모리(106)는 또한, 비디오 인코더(200)의 다양한 유닛들로부터의 출력들의 임시 스토리지을 제공할 수도 있다.In this disclosure, references to video data memory 230 are limited to memory internal to video encoder 200, unless specifically stated otherwise, or to memory external to video encoder 200, unless specifically stated otherwise. It should not be interpreted as being Rather, references to video data memory 230 should be understood as a reference memory that stores video data that video encoder 200 receives for encoding (e.g., video data for the current block to be encoded). Memory 106 of FIG. 1 may also provide temporary storage of outputs from various units of video encoder 200.

도 3의 다양한 유닛들은 비디오 인코더(200)에 의해 수행되는 동작들의 이해를 돕기 위해 예시된다. 유닛들은 고정 기능 회로들, 프로그래밍가능 회로들, 또는 이들의 조합으로서 구현될 수도 있다. 고정 기능 회로들은 특정 기능성을 제공하는 회로들을 지칭하고, 수행될 수 있는 동작들에 대해 미리 설정된다. 프로그래밍가능 회로들은 다양한 태스크들을 수행하도록 프로그래밍될 수도 있는 회로들을 지칭하고, 수행될 수도 있는 동작들에서 유연한 기능성을 제공한다. 예를 들어 프로그래밍가능 회로들은, 프로그래밍가능 회로들로 하여금 소프트웨어 또는 펌웨어의 명령들에 의해 정의된 방식으로 동작하게 하는 소프트웨어 또는 펌웨어를 실행할 수도 있다. 고정 기능 회로들은 (예컨대, 파라미터들을 수신하거나 또는 파라미터들을 출력하기 위한) 소프트웨어 명령들을 실행할 수도 있지만, 고정 기능 회로들이 수행하는 동작들의 타입들은 일반적으로 불변이다. 일부 예들에서, 유닛들 중 하나 이상은 별개의 회로 블록들(고정 기능 또는 프로그램가능)일 수도 있고, 일부 예들에서, 유닛들 중 하나 이상은 집적 회로들일 수도 있다.Various units in FIG. 3 are illustrated to aid understanding of operations performed by video encoder 200. Units may be implemented as fixed function circuits, programmable circuits, or a combination thereof. Fixed function circuits refer to circuits that provide specific functionality and are preset for the operations that can be performed. Programmable circuits refer to circuits that may be programmed to perform various tasks, providing flexible functionality in the operations that may be performed. For example, programmable circuits may execute software or firmware that causes the programmable circuits to operate in a manner defined by instructions of the software or firmware. Fixed function circuits may execute software instructions (eg, to receive parameters or output parameters), but the types of operations they perform are generally invariant. In some examples, one or more of the units may be separate circuit blocks (fixed function or programmable), and in some examples, one or more of the units may be integrated circuits.

비디오 인코더(200)는 프로그래밍가능 회로들로부터 형성된, 산술 로직 유닛들(ALU들), 기본 함수 유닛들(EFU들), 디지털 회로들, 아날로그 회로들, 및/또는 프로그래밍가능 코어들을 포함할 수도 있다. 비디오 인코더(200)의 동작들이 프로그래밍가능 회로들에 의해 실행되는 소프트웨어를 사용하여 수행되는 예들에서, 메모리(106)(도 1)는 비디오 인코더(200)가 수신 및 실행하는 소프트웨어의 명령들(예컨대, 오브젝트 코드)을 저장할 수도 있고, 또는 비디오 인코더(200)내의 다른 메모리(미도시)가 그러한 명령들을 저장할 수도 있다.Video encoder 200 may include arithmetic logic units (ALUs), elementary function units (EFUs), digital circuits, analog circuits, and/or programmable cores formed from programmable circuits. . In examples where the operations of video encoder 200 are performed using software executed by programmable circuits, memory 106 (FIG. 1) stores instructions in the software that video encoder 200 receives and executes (e.g. , object code), or another memory (not shown) within the video encoder 200 may store such instructions.

비디오 데이터 메모리(230)는 수신된 비디오 데이터를 저장하도록 구성된다. 비디오 인코더(200)는 비디오 데이터 메모리(230)로부터 비디오 데이터의 픽처를 검색하고, 비디오 데이터를 잔차 생성 유닛(204) 및 모드 선택 유닛(202)에 제공할 수도 있다. 비디오 데이터 메모리(230) 내 비디오 데이터는 인코딩될 원시 비디오 데이터일 수도 있다.Video data memory 230 is configured to store received video data. Video encoder 200 may retrieve a picture of video data from video data memory 230 and provide the video data to residual generation unit 204 and mode selection unit 202. The video data in video data memory 230 may be raw video data to be encoded.

모드 선택 유닛(202)은 모션 추정 유닛(222), 모션 보상 유닛(224), 및 인트라 예측 유닛(226)을 포함한다. 모드 선택 유닛(202)은 다른 예측 모드들에 따라 비디오 예측을 수행하기 위한 추가적인 기능적 유닛들을 포함할 수도 있다. 예들로서, 모드 선택 유닛(202)은 팔레트 유닛, 인트라 블록 카피 유닛(모션 추정 유닛(222) 및/또는 모션 보상 유닛(224)의 일부일 수도 있음), 아핀 유닛, 선형 모델(LM) 유닛 등을 포함할 수도 있다.The mode selection unit 202 includes a motion estimation unit 222, a motion compensation unit 224, and an intra prediction unit 226. Mode selection unit 202 may include additional functional units for performing video prediction according to different prediction modes. As examples, mode selection unit 202 may include a palette unit, an intra block copy unit (which may be part of motion estimation unit 222 and/or motion compensation unit 224), an affine unit, a linear model (LM) unit, etc. It may also be included.

모드 선택 유닛(202)은 일반적으로, 인코딩 파라미터들의 조합들 및 그러한 조합들에 대한 결과적인 레이트-왜곡(rate-distortion) 값들을 테스트하기 위해 다중의 인코딩 패스들을 조정한다. 인코딩 파라미터들은 CTU들의 CU들로의 파티셔닝, CU들에 대한 예측 모드들, CU들의 잔차 데이터에 대한 변환 타입들, CU들의 잔차 데이터에 대한 양자화 파라미터들 등을 포함할 수도 있다. 모드 선택 유닛(202)은 마지막으로, 다른 테스트된 조합들보다 더 나은 레이트-왜곡 값들을 갖는 인코딩 파라미터들의 조합을 선택할 수도 있다.Mode selection unit 202 typically coordinates multiple encoding passes to test combinations of encoding parameters and resulting rate-distortion values for those combinations. Encoding parameters may include partitioning of CTUs into CUs, prediction modes for CUs, transformation types for residual data of CUs, quantization parameters for residual data of CUs, etc. Mode selection unit 202 may finally select a combination of encoding parameters that has better rate-distortion values than other tested combinations.

비디오 인코더(200)는 비디오 데이터 메모리(230)로부터 검색된 픽처를 일련의 CTU들로 파티셔닝하고, 슬라이스 내의 하나 이상의 CTU들을 캡슐화할 수도 있다. 모드 선택 유닛(202)은, 위에서 설명된 MTT 구조, QTBT 구조, 수퍼블록 구조, 또는 쿼드트리 구조와 같은 트리 구조에 따라 픽처의 CTU를 파티셔닝할 수도 있다. 위에서 설명된 바와 같이, 비디오 인코더(200)는 트리 구조에 따라 CTU를 파티셔닝하는 것으로부터 하나 이상의 CU들을 형성할 수도 있다. 그러한 CU는 일반적으로 "비디오 블록" 또는 "블록"으로도 지칭될 수도 있다.Video encoder 200 may partition a picture retrieved from video data memory 230 into a series of CTUs and encapsulate one or more CTUs within a slice. The mode selection unit 202 may partition the CTU of the picture according to a tree structure, such as the MTT structure, QTBT structure, superblock structure, or quadtree structure described above. As described above, video encoder 200 may form one or more CUs from partitioning a CTU according to a tree structure. Such CUs may also be generally referred to as “video blocks” or “blocks.”

일반적으로, 모드 선택 유닛(202)은 또한 그의 컴포넌트들(예컨대, 모션 추정 유닛(222), 모션 보상 유닛(224), 및 인트라 예측 유닛(226))을 제어하여 현재 블록(예컨대, 현재 CU, 또는 HEVC에서, PU 및 TU의 중첩 부분)에 대한 예측 블록을 생성한다. 현재 블록의 인터 예측을 위해, 모션 추정 유닛(222)은 하나 이상의 참조 픽처들(예를 들어, DPB(218)에 저장된 하나 이상의 이전에 코딩된 픽처들) 내 하나 이상의 근접하게 매치하는 참조 블록들을 식별하도록 모션 탐색을 수행할 수도 있다. 특히, 모션 추정 유닛(222)은, 예를 들어 SAD(sum of absolute difference), SSD(sum of squared differences), MAD(mean absolute difference), MSD(mean squared differences) 등에 따라, 잠재적 참조 블록이 현재 블록에 얼마나 유사한지를 나타내는 값을 계산할 수도 있다. 모션 추정 유닛(222)은 일반적으로, 고려되고 있는 참조 블록 및 현재 블록 사이의 샘플 바이 샘플 차이들을 사용하여 이들 계산들을 수행할 수도 있다. 모션 추정 유닛(222)은, 현재 블록에 가장 근접하게 매치하는 참조 블록을 나타내는, 이들 계산들로부터 초래된 가장 낮은 값을 갖는 참조 블록을 식별할 수도 있다.In general, mode selection unit 202 also controls its components (e.g., motion estimation unit 222, motion compensation unit 224, and intra prediction unit 226) to select the current block (e.g., current CU, Or in HEVC, generate a prediction block for the overlapping part of PU and TU). For inter prediction of the current block, motion estimation unit 222 selects one or more closely matching reference blocks within one or more reference pictures (e.g., one or more previously coded pictures stored in DPB 218). Motion search can also be performed to identify. In particular, the motion estimation unit 222 determines whether potential reference blocks are currently You can also calculate a value indicating how similar it is to a block. Motion estimation unit 222 may generally perform these calculations using sample-by-sample differences between the reference block under consideration and the current block. Motion estimation unit 222 may identify the reference block with the lowest value resulting from these calculations, which represents the reference block that most closely matches the current block.

모션 추정 유닛(222)은 현재 픽처에서의 현재 블록의 포지션에 상대적인 참조 픽처들에서의 참조 블록들의 포지션들을 정의하는 하나 이상의 모션 벡터들(MV들)을 형성할 수도 있다. 그 다음, 모션 추정 유닛(222)은 모션 벡터들을 모션 보상 유닛(224)에 제공할 수도 있다. 예를 들어, 단방향성 인터 예측을 위해 모션 추정 유닛(222)은 단일의 모션 벡터를 제공할 수도 있는 반면, 양방향성 인터 예측을 위해 모션 추정 유닛(222)은 2 개의 모션 벡터들을 제공할 수도 있다. 그 다음, 모션 보상 유닛(224)은 모션 벡터들을 사용하여 예측 블록을 생성할 수도 있다. 예를 들어, 모션 보상 유닛(224)은 모션 벡터를 사용하여 참조 블록의 데이터를 검색할 수도 있다. 다른 예로서, 모션 벡터가 분수 샘플 정밀도(fractional sample precision)를 갖는다면, 모션 보상 유닛(224)은 하나 이상의 보간 필터들에 따라 예측 블록에 대한 값들을 보간할 수도 있다. 또한, 양방향성 인터 예측을 위해, 모션 보상 유닛(224)은 각각의 모션 벡터들에 의해 식별된 2 개의 참조 블록들에 대한 데이터를 검색하고, 예를 들어 샘플 바이 샘플 평균화 또는 가중 평균화를 통해, 검색된 데이터를 결합할 수도 있다.Motion estimation unit 222 may form one or more motion vectors (MVs) that define positions of reference blocks in reference pictures relative to the position of the current block in the current picture. Motion estimation unit 222 may then provide motion vectors to motion compensation unit 224. For example, for unidirectional inter prediction, motion estimation unit 222 may provide a single motion vector, while for bidirectional inter prediction, motion estimation unit 222 may provide two motion vectors. Motion compensation unit 224 may then use the motion vectors to generate a prediction block. For example, motion compensation unit 224 may use the motion vector to retrieve data in a reference block. As another example, if the motion vector has fractional sample precision, motion compensation unit 224 may interpolate values for the prediction block according to one or more interpolation filters. Additionally, for bidirectional inter prediction, motion compensation unit 224 retrieves data for the two reference blocks identified by the respective motion vectors and, for example, through sample-by-sample averaging or weighted averaging, Data can also be combined.

다중 가설 인터 예측을 수행할 때, 모션 추정 유닛(222) 및 모션 보상 유닛(224)은 DPB(218)의 데이터를 사용하여 현재 블록에 대한 추가적인 가설들로서 하나 이상의 추가적인 예측 블록들을 생성할 수도 있다. 또한, 비디오 인코더(200)는 하나 이상의 추가적인 예측 가설들에 대한 모션 정보를 인코딩하기 위해 본 개시의 다양한 기법들 중 임의의 것을 적용하도록 구성될 수도 있다.When performing multi-hypothesis inter prediction, motion estimation unit 222 and motion compensation unit 224 may use data in DPB 218 to generate one or more additional prediction blocks as additional hypotheses for the current block. Additionally, video encoder 200 may be configured to apply any of the various techniques of this disclosure to encode motion information for one or more additional prediction hypotheses.

예를 들어, 모션 보상 유닛(224)은 기본 모드 가설 및 추가적인 가설 양자 모두를 생성할 수도 있다. 모션 보상 유닛(224)은 단방향성 또는 양방향성 인터 예측을 사용하여 기본 모드 가설을 생성할 수도 있다. 모션 보상 유닛(224)은 또한 단방향성 또는 양방향성 인터 예측을 사용하여 추가적인 가설을 생성할 수도 있다. 일부 예들에서, 추가적인 가설은 단방향성 예측으로만 제한될 수도 있다. 본 개시의 기법들에 따르면, 모드 선택 유닛(202)은 추가적인 가설에 대한 모션 정보를 머지 모드를 사용하여 인코딩 할지 또는 AMVP 모드를 사용하여 인코딩할지를 결정할 수도 있다. 머지 모드를 사용하여 추가적인 가설에 대한 모션 정보를 인코딩할 것을 결정하는 것에 응답하여, 모드 선택 유닛(202)은 추가적인 가설에 대한 모션 정보가 머지 모드를 사용하여 인코딩됨을 표시하는 머지 모드 신택스 엘리먼트에 값을 할당하고 머지 모드를 사용하여 모션 정보를 인코딩할 수도 있다.For example, motion compensation unit 224 may generate both a fundamental mode hypothesis and an additional hypothesis. Motion compensation unit 224 may use unidirectional or bidirectional inter prediction to generate fundamental mode hypotheses. Motion compensation unit 224 may also generate additional hypotheses using unidirectional or bidirectional inter prediction. In some examples, additional hypotheses may be limited to only one-way predictions. According to the techniques of this disclosure, mode selection unit 202 may determine whether to encode motion information for an additional hypothesis using Merge mode or AMVP mode. In response to determining to encode the motion information for the additional hypothesis using merge mode, mode selection unit 202 may include a value in the merge mode syntax element indicating that the motion information for the additional hypothesis is to be encoded using merge mode. You can also allocate and encode motion information using merge mode.

특히, 머지 모드를 사용하여 추가적인 가설에 대한 모션 정보를 인코딩하기 위해, 모드 선택 유닛(202)은 머지 후보 리스트를 구성할 수도 있다. 즉, 모드 선택 유닛(202)은 인코딩되고 있는 현재 블록에 대한 이웃 블록들로부터 모션 정보를 결정하고, 특정 이웃 블록들에 대한 모션 정보를 머지 후보 리스트에 추가할 수도 있다. 모드 선택 유닛(202)은 머지 후보들을 오직 단방향성 예측 후보들("단방향 예측 후보들"로도 지칭됨)인 것으로 제한하도록 구성될 수도 있다. 이웃 블록이 양방향 예측을 사용하여 예측되면, 모드 선택 유닛(202)은 도 2에 대하여 위에서 논의된 바와 같이 이웃 블록으로부터 1 개 또는 2 개의 머지 후보들을 생성할 수도 있다. 예를 들어, 모드 선택 유닛(202)은 이웃 블록을 위한 제1 세트의 모션 정보(예컨대, L0 모션 정보)로부터 제1 머지 후보를 구성할 수도 있고, 일부 예들에서는, 이웃 블록을 위한 제2 세트의 모션 정보(예컨대, L1 모션 정보)로부터 제2 머지 후보를 구성할 수도 있다.In particular, to encode motion information for additional hypotheses using merge modes, mode selection unit 202 may construct a merge candidate list. That is, the mode selection unit 202 may determine motion information from neighboring blocks for the current block being encoded and add motion information for specific neighboring blocks to the merge candidate list. Mode selection unit 202 may be configured to limit merge candidates to only those that are unidirectional prediction candidates (also referred to as “unidirectional prediction candidates”). If the neighboring block is predicted using bidirectional prediction, mode select unit 202 may generate one or two merge candidates from the neighboring block as discussed above with respect to FIG. 2. For example, mode select unit 202 may construct a first merge candidate from a first set of motion information (e.g., L0 motion information) for a neighboring block and, in some examples, a second set of motion information for a neighboring block. A second merge candidate may be configured from motion information (eg, L1 motion information).

모드 선택 유닛(202)은 또한, 추가적인 가설에 대한 모션 정보를 인코딩하기 위해 머지 후보들 중 어느 것이 사용될 지를 표시하는 값을 갖는 머지 인덱스를 형성할 수도 있다. 특히, 모드 선택 유닛(202)은 머지 후보 리스트 내 머지 후보들 중 임의의 머지 후보가 추가적인 가설에 대해 모션 추정 유닛(222)에 의해 형성된 모션 정보와 매치하는 모션 정보를 갖는지 여부를 결정할 수도 있다. 모드 선택 유닛(202)은 추가적인 가설에 대한 모션 정보를 인코딩하는데 사용될 머지 후보로서 매칭 모션 정보를 갖는 머지 후보 리스트 내 머지 후보들 중 하나를 선택할 수도 있다.Mode selection unit 202 may also form a merge index with a value indicating which of the merge candidates will be used to encode motion information for the additional hypothesis. In particular, the mode selection unit 202 may determine whether any of the merge candidates in the merge candidate list have motion information that matches the motion information formed by the motion estimation unit 222 for the additional hypothesis. Mode selection unit 202 may select one of the merge candidates in the merge candidate list with matching motion information as a merge candidate to be used to encode motion information for the additional hypothesis.

모션 보상 유닛(224)은 추가로, 예를 들어 샘플 바이 샘플(sample-by-sample) 기반으로 각 샘플의 평균 또는 가중된 조합으로서, 기본 가설을 추가적인 가설과 결합할 수도 있다. 기본 가설을 추가적인 가설과 결합한 후, 모션 보상 유닛(224)은 결과적인 예측 블록을 잔차 생성 유닛(204) 및 복원 유닛(214)에 제공할 수도 있다.The motion compensation unit 224 may further combine the base hypothesis with additional hypotheses, for example as an average or weighted combination of each sample on a sample-by-sample basis. After combining the base hypothesis with additional hypotheses, motion compensation unit 224 may provide the resulting prediction block to residual generation unit 204 and reconstruction unit 214.

추가적으로 또는 대안적으로, 모드 선택 유닛(202)은 기본 가설에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 추가적인 가설에 LIC를 적용할지 여부를 결정할 수도 있다. 예를 들어, 모드 선택 유닛(202)은 기본 가설에 LIC가 적용되었다면 추가적인 가설에 LIC가 적용될 것을, 그렇지 않으면 LIC를 적용하지 않을 것을 결정할 수도 있다. 다른 예로서, 기본 가설에 LIC가 적용되었고 추가적인 가설에 대한 모션 정보가 AMVP를 사용하여 인코딩되었다면, 모드 선택 유닛(202)은 추가적인 가설에 대해 LIC를 수행할 것으로 결정할 수도 있다. 대안적으로, 기본 가설에 LIC가 적용되었고 추가적인 가설에 대한 모션 정보가 머지 모드를 사용하여 인코딩되었다면, 모드 선택 유닛(202)은 추가적인 가설에 대해 LIC를 수행할지 여부를 결정하고, 추가적인 가설에 대해 LIC를 수행할지 여부를 표시하는 LIC 신택스 엘리먼트(예컨대, LIC 플래그)를 인코딩할 수도 있다.Additionally or alternatively, mode selection unit 202 may determine whether to apply local illumination compensation (LIC) to additional hypotheses depending on whether LIC was applied to the primary hypothesis. For example, the mode selection unit 202 may determine that LIC will be applied to the additional hypothesis if LIC was applied to the basic hypothesis, otherwise, not to apply LIC. As another example, if LIC was applied to the basic hypothesis and motion information for the additional hypothesis was encoded using AMVP, mode selection unit 202 may determine to perform LIC for the additional hypothesis. Alternatively, if LIC has been applied to the base hypothesis and the motion information for the additional hypothesis has been encoded using merge mode, mode selection unit 202 determines whether to perform LIC on the additional hypothesis and A LIC syntax element (e.g., LIC flag) indicating whether to perform LIC may be encoded.

추가로 또는 대안으로, 모드 선택 유닛(202)은 하프 샘플 포지션에 대한 값을 보간하기 위해 다양한 보간 필터들 중 어느 것을 사용할지를 결정할 수도 있다. 특히, 이전의 블록의 기본 가설에 대한 모션 벡터가 하프 샘플 정밀도를 갖고 AMVP를 사용하여 인코딩되는 경우, 및 이전의 블록이 추가적인 가설의 모션 정보를 인코딩하기 위한 후보로서 선택되는 경우, 모드 선택 유닛(202)은 하프 샘플 포지션에 대한 값을 보간하기 위해 6탭 보간 필터를 사용할 것으로 결정할 수도 있다.Additionally or alternatively, mode select unit 202 may determine which of various interpolation filters to use to interpolate the value for the half sample position. In particular, if the motion vector for the basic hypothesis of the previous block is encoded using AMVP with half-sample precision, and if the previous block is selected as a candidate for encoding the motion information of the additional hypothesis, the mode selection unit ( 202) may decide to use a 6-tap interpolation filter to interpolate the values for the half sample positions.

AV1 비디오 코딩 포맷에 따라 동작할 때, 모션 추정 유닛(222) 및 모션 보상 유닛(224)은 병진(translational) 모션 보상, 아핀 모션 보상, 중첩된 블록 모션 보상(OBMC), 및/또는 복합 인터-인트라 예측을 사용하여 비디오 데이터의 코딩 블록들(예를 들어, 루마 및 크로마 코딩 블록들 양자 모두)을 인코딩하도록 구성될 수도 있다.When operating according to the AV1 video coding format, motion estimation unit 222 and motion compensation unit 224 may perform translational motion compensation, affine motion compensation, overlapped block motion compensation (OBMC), and/or complex inter-compensation. may be configured to encode coding blocks (e.g., both luma and chroma coding blocks) of video data using intra prediction.

다른 예로서, 인트라 예측 또는 인트라 예측 코딩을 위해, 인트라 예측 유닛(226)은 현재 블록에 이웃하는 샘플들로부터 예측 블록을 생성할 수도 있다. 예를 들어, 방향성 모드들에 대해, 인트라 예측 유닛(226)은 일반적으로 이웃 샘플들의 값들을 수학적으로 결합하고, 이들 계산된 값들을 현재 블록에 걸쳐 정의된 방향에서 파퓰레이팅하여 예측 블록을 생성할 수도 있다. 다른 예로서, DC 모드에 대해, 인트라 예측 유닛(226)은 현재 블록에 대한 이웃 샘플들의 평균을 계산하고, 예측 블록의 각각의 샘플에 대한 이러한 결과적인 평균을 포함하도록 예측 블록을 생성할 수도 있다.As another example, for intra prediction or intra prediction coding, intra prediction unit 226 may generate a prediction block from samples neighboring the current block. For example, for directional modes, intra prediction unit 226 may typically generate a prediction block by mathematically combining the values of neighboring samples and populating these calculated values in a defined direction over the current block. It may be possible. As another example, for DC mode, intra prediction unit 226 may calculate the average of neighboring samples for the current block and generate a prediction block to include this resulting average for each sample of the prediction block. .

AV1 비디오 코딩 포맷에 따라 동작할 때, 인트라 예측 유닛(226)은 방향성 인트라 예측, 비방향성 인트라 예측, 재귀적 필터 인트라 예측, CFL(chroma-from-luma) 예측, 인트라 블록 카피(IBC), 및/또는 컬러 팔레트 모드를 사용하여 비디오 데이터의 코딩 블록들(예를 들어, 루마 및 크로마 코딩 블록들 양자 모두)을 인코딩하도록 구성될 수도 있다. 모드 선택 유닛(202)은 다른 예측 모드들에 따라 비디오 예측을 수행하기 위한 추가적인 기능적 유닛들을 포함할 수도 있다.When operating according to the AV1 video coding format, intra prediction unit 226 may perform directed intra prediction, undirected intra prediction, recursive filter intra prediction, chroma-from-luma (CFL) prediction, intra block copy (IBC), and /or may be configured to encode coding blocks (e.g., both luma and chroma coding blocks) of video data using a color palette mode. Mode selection unit 202 may include additional functional units for performing video prediction according to different prediction modes.

모드 선택 유닛(202)은 예측 블록을 잔차 생성 유닛(204)에 제공한다. 잔차 생성 유닛(204)은 비디오 데이터 메모리(230)로부터의 원시의, 인코딩되지 않은 버전의 현재 블록 및 모드 선택 유닛(202)으로부터의 예측 블록을 수신한다. 잔차 생성 유닛(204)은 현재 블록과 예측 블록 사이의 샘플 바이 샘플 차이들을 계산한다. 결과적인 샘플 바이 샘플 차이들은 현재 블록에 대한 잔차 블록을 정의한다. 일부 예들에서, 잔차 생성 유닛(204)은 또한 잔차 차동 펄스 코드 변조(RDPCM)를 사용하여 잔차 블록을 생성하기 위해 잔차 블록에서의 샘플 값들 사이의 차이들을 결정할 수도 있다. 일부 예들에서, 잔차 생성 유닛(204)은 이진 감산을 수행하는 하나 이상의 감산기 회로들을 사용하여 형성될 수도 있다.Mode selection unit 202 provides prediction blocks to residual generation unit 204. Residual generation unit 204 receives a raw, unencoded version of the current block from video data memory 230 and a prediction block from mode selection unit 202. The residual generation unit 204 calculates sample-by-sample differences between the current block and the prediction block. The resulting sample-by-sample differences define the residual block for the current block. In some examples, residual generation unit 204 may also determine differences between sample values in a residual block to generate the residual block using residual differential pulse code modulation (RDPCM). In some examples, residual generation unit 204 may be formed using one or more subtractor circuits that perform binary subtraction.

모드 선택 유닛(202)이 CU들을 PU들로 파티셔닝하는 예들에서, 각각의 PU는 루마 예측 유닛 및 대응하는 크로마 예측 유닛들과 연관될 수도 있다. 비디오 인코더(200) 및 비디오 디코더(300)는 다양한 사이즈들을 갖는 PU들을 지원할 수도 있다. 위에서 나타낸 바와 같이, CU의 사이즈는 CU의 루마 코딩 블록의 사이즈를 지칭할 수도 있고 PU의 사이즈는 PU의 루마 예측 블록의 사이즈를 지칭할 수도 있다. 특정 CU의 사이즈가 2Nx2N임을 가정하면, 비디오 인코더(200)는 인트라 예측을 위해 2Nx2N 또는 NxN의 PU 사이즈들을 지원하고, 인터 예측을 위해 2Nx2N, 2NxN, Nx2N, NxN, 기타 등등의 대칭적인 PU 사이즈들을 지원할 수도 있다. 비디오 인코더(200) 및 비디오 디코더(300)는 또한, 인터 예측을 위해 2NxnU, 2NxnD, nLx2N, 및 nRx2N의 PU 사이즈들에 대한 비대칭적인 파티셔닝을 지원할 수도 있다.In examples where mode select unit 202 partitions CUs into PUs, each PU may be associated with a luma prediction unit and corresponding chroma prediction units. Video encoder 200 and video decoder 300 may support PUs with various sizes. As indicated above, the size of the CU may refer to the size of the luma coding block of the CU and the size of the PU may refer to the size of the luma prediction block of the PU. Assuming that the size of a specific CU is 2Nx2N, the video encoder 200 supports PU sizes of 2Nx2N or NxN for intra prediction, and supports symmetric PU sizes such as 2Nx2N, 2NxN, Nx2N, NxN, etc. for inter prediction. You can also apply. Video encoder 200 and video decoder 300 may also support asymmetric partitioning for PU sizes of 2NxnU, 2NxnD, nLx2N, and nRx2N for inter prediction.

모드 선택 유닛(202)이 CU를 PU들로 추가로 파티셔닝하지 않는 예들에서, 각각의 CU는 루마 코딩 블록 및 대응하는 크로마 코딩 블록들과 연관될 수도 있다. 위와 같이, CU의 사이즈는 CU의 루마 코딩 블록의 사이즈를 지칭할 수도 있다. 비디오 인코더(200) 및 비디오 디코더(300)는 2Nx2N, 2NxN, 또는 Nx2N의 CU 사이즈들을 지원할 수도 있다.In examples where mode select unit 202 does not further partition the CU into PUs, each CU may be associated with a luma coding block and corresponding chroma coding blocks. As above, the size of the CU may refer to the size of the luma coding block of the CU. Video encoder 200 and video decoder 300 may support CU sizes of 2Nx2N, 2NxN, or Nx2N.

인트라 블록 카피 모드 코딩, 아핀 모드 코딩, 및 선형 모델(LM) 모드 코딩과 같은 다른 비디오 코딩 기법들의 경우, 일부 예들로서, 모드 선택 유닛(202)은 코딩 기법들과 연관된 각각의 유닛들을 통해, 인코딩되고 있는 현재 블록에 대한 예측 블록을 생성한다. 팔레트 모드 코딩과 같은 일부 예들에서, 모드 선택 유닛(202)은 예측 블록을 생성하지 않을 수도 있고, 대신에 선택된 팔레트에 기초하여 블록을 복원할 방식을 표시하는 신택스 엘리먼트들을 생성할 수도 있다. 이러한 모드들에서, 모드 선택 유닛(202)은 이들 신택스 엘리먼트들을 인코딩되도록 엔트로피 인코딩 유닛(220)에 제공할 수도 있다.For other video coding techniques, such as intra block copy mode coding, affine mode coding, and linear model (LM) mode coding, as some examples, mode selection unit 202 can encode, via the respective units associated with the coding techniques, Generates a prediction block for the current block being processed. In some examples, such as palette mode coding, mode selection unit 202 may not generate a prediction block, but instead generate syntax elements indicating how to reconstruct the block based on the selected palette. In these modes, mode select unit 202 may provide these syntax elements to entropy encoding unit 220 to be encoded.

위에서 설명된 바와 같이, 잔차 생성 유닛(204)은 현재 블록 및 대응하는 예측 블록에 대한 비디오 데이터를 수신한다. 그 다음, 잔차 생성 유닛(204)은 현재 블록에 대한 잔차 블록을 생성한다. 잔차 블록을 생성하기 위해, 잔차 생성 유닛(204)은 현재 블록과 예측 블록 사이의 샘플 바이 샘플 차이들을 계산한다.As described above, residual generation unit 204 receives video data for the current block and the corresponding prediction block. Next, the residual generation unit 204 generates a residual block for the current block. To generate a residual block, residual generation unit 204 calculates sample-by-sample differences between the current block and the prediction block.

변환 프로세싱 유닛(206)은 잔차 블록에 하나 이상의 변환들을 적용하여 변환 계수들의 블록(본 명세서에서는 "변환 계수 블록"으로 지칭됨)을 생성한다. 변환 프로세싱 유닛(206)은 다양한 변환들을 잔차 블록에 적용하여 변환 계수 블록을 형성할 수도 있다. 예를 들어, 변환 프로세싱 유닛(206)은 이산 코사인 변환(DCT), 방향성 변환, KLT(Karhunen-Loeve transform), 또는 개념적으로 유사한 변환을 잔차 블록에 적용할 수도 있다. 일부 예들에서, 변환 프로세싱 유닛(206)은 잔차 블록에 대해 다중 변환들, 예를 들어 1차 변환 및 2차 변환, 이를 테면 회전 변환을 수행할 수도 있다. 일부 예들에서, 변환 프로세싱 유닛(206)은 잔차 블록에 변환들을 적용하지 않는다.Transform processing unit 206 applies one or more transforms to the residual block to generate a block of transform coefficients (referred to herein as a “transform coefficient block”). Transform processing unit 206 may apply various transforms to the residual block to form a transform coefficient block. For example, transform processing unit 206 may apply a discrete cosine transform (DCT), a directional transform, a Karhunen-Loeve transform (KLT), or a conceptually similar transform to the residual block. In some examples, transform processing unit 206 may perform multiple transforms, such as a first-order transform and a second-order transform, such as a rotation transform, on the residual block. In some examples, transform processing unit 206 does not apply transforms to the residual block.

AV1에 따라 동작할 때, 변환 프로세싱 유닛(206)은 변환 계수들의 블록(본 명세서에서 "변환 계수 블록"으로 지칭됨)을 생성하기 위해 잔차 블록에 하나 이상의 변환들을 적용할 수도 있다. 변환 프로세싱 유닛(206)은 다양한 변환들을 잔차 블록에 적용하여 변환 계수 블록을 형성할 수도 있다. 예를 들어, 변환 프로세싱 유닛(206)은 이산 코사인 변환(DCT), 비대칭 이산 사인 변환(ADST), 반전된 ADST(예를 들어, 역순의 ADST) 및 항등 변환(IDTX)을 포함할 수도 있는 수평/수직 변환 조합을 적용할 수도 있다. 항등 변환을 사용하는 경우, 수직 또는 수평 방향 중 하나에서 변환이 스킵된다. 일부 예들에서, 변환 프로세싱은 스킵될 수도 있다.When operating in accordance with AV1, transform processing unit 206 may apply one or more transforms to the residual block to generate a block of transform coefficients (referred to herein as a “transform coefficient block”). Transform processing unit 206 may apply various transforms to the residual block to form a transform coefficient block. For example, transform processing unit 206 may include a discrete cosine transform (DCT), an asymmetric discrete sine transform (ADST), an inverted ADST (e.g., inverse ADST), and a horizontal identity transform (IDTX). You can also apply the /vertical transformation combination. When using an identity transformation, the transformation is skipped in either the vertical or horizontal directions. In some examples, conversion processing may be skipped.

양자화 유닛(208)은 변환 계수 블록에서의 변환 계수들을 양자화하여, 양자화된 변환 계수 블록을 생성할 수도 있다. 양자화 유닛(208)은 현재 블록과 연관된 양자화 파라미터(QP) 값에 따라 변환 계수 블록의 변환 계수들을 양자화할 수도 있다. (예컨대, 모드 선택 유닛(202)을 통해) 비디오 인코더(200)는 CU와 연관된 QP 값을 조절함으로써 현재 블록과 연관된 변환 계수 블록들에 적용되는 양자화도를 조절할 수도 있다. 양자화는 정보의 손실을 도입할 수도 있고, 그러므로 양자화된 변환 계수들은 변환 프로세싱 유닛(206)에 의해 생성된 원래의 변환 계수들보다 낮은 정밀도를 가질 수도 있다.Quantization unit 208 may quantize the transform coefficients in the transform coefficient block to generate a quantized transform coefficient block. Quantization unit 208 may quantize the transform coefficients of the transform coefficient block according to a quantization parameter (QP) value associated with the current block. Video encoder 200 (e.g., via mode select unit 202) may adjust the degree of quantization applied to transform coefficient blocks associated with the current block by adjusting the QP value associated with the CU. Quantization may introduce loss of information, and therefore quantized transform coefficients may have lower precision than the original transform coefficients generated by transform processing unit 206.

역양자화 유닛(210) 및 역변환 프로세싱 유닛(212)은 양자화된 변환 계수 블록에 각각 역양자화 및 역변환들을 적용하여, 변환 계수 블록으로부터 잔차 블록을 복원할 수도 있다. 복원 유닛(214)은, 모드 선택 유닛(202)에 의해 생성된 예측 블록 및 복원된 잔차 블록에 기초하여 (잠재적으로 어느 정도의 왜곡이 있더라도) 현재 블록에 대응하는 복원된 블록을 생성할 수도 있다 . 예를 들어, 복원 유닛(214)은 복원된 잔차 블록의 샘플들을, 모드 선택 유닛(202)에 의해 생성된 예측 블록으로부터의 대응하는 샘플들에 더하여, 복원된 블록을 생성할 수도 있다.The inverse quantization unit 210 and the inverse transform processing unit 212 may apply inverse quantization and inverse transforms to the quantized transform coefficient block, respectively, to restore the residual block from the transform coefficient block. The reconstruction unit 214 may generate a reconstructed block corresponding to the current block (potentially with some degree of distortion) based on the predicted block and the reconstructed residual block generated by the mode select unit 202. . For example, reconstruction unit 214 may add samples of the reconstructed residual block to corresponding samples from a prediction block generated by mode select unit 202 to generate a reconstructed block.

필터 유닛(216)은 복원된 블록들에 대해 하나 이상의 필터 동작들을 수행할 수도 있다. 예를 들어, 필터 유닛(216)은 CU들의 에지들을 따라 블록키니스 아티팩트들(blockiness artifacts)을 감소시키도록 디블록킹 동작들을 수행할 수도 있다. 필터 유닛(216)의 동작들은 일부 예들에서 스킵될 수도 있다.Filter unit 216 may perform one or more filter operations on the reconstructed blocks. For example, filter unit 216 may perform deblocking operations to reduce blockiness artifacts along the edges of CUs. Operations of filter unit 216 may be skipped in some examples.

AV1에 따라 동작할 때, 필터 유닛(216)은 복원된 블록들에 대해 하나 이상의 필터 동작들을 수행할 수도 있다. 예를 들어, 필터 유닛(216)은 CU들의 에지들을 따라 블록키니스 아티팩트들을 감소시키도록 디블록킹 동작들을 수행할 수도 있다. 다른 예들에서, 필터 유닛(216)은, 디블록킹 이후에 적용될 수도 있는 제한된 방향성 향상 필터(CDEF)를 적용할 수도 있고, 추정된 에지 방향들에 기초하여 비분리가능, 비선형, 저역 통과 방향성 필터들의 적용을 포함할 수도 있다. 필터 유닛(216)은 또한, CDEF 이후에 적용되는 루프 복구 필터(loop restoration filter)를 포함할 수도 있고, 분리가능 대칭 정규화된 위너 필터(Wiener filter) 또는 이중 자체 유도 필터를 포함할 수 있다.When operating according to AV1, filter unit 216 may perform one or more filter operations on the reconstructed blocks. For example, filter unit 216 may perform deblocking operations to reduce blockiness artifacts along the edges of CUs. In other examples, filter unit 216 may apply a constrained directional enhancement filter (CDEF), which may be applied after deblocking, and a series of non-separable, non-linear, low-pass directional filters based on the estimated edge directions. May also include application. Filter unit 216 may also include a loop restoration filter applied after CDEF, a separable symmetric normalized Wiener filter or a dual self-inductive filter.

비디오 인코더(200)는 복원된 블록들을 DPB(218)에 저장한다. 예를 들어, 필터 유닛(216)의 동작들이 수행되지 않는 예들에서, 복원 유닛(214)은 복원된 블록들을 DPB(218)에 저장할 수도 있다. 필터 유닛(216)의 동작들이 수행되는 예들에서, 필터 유닛(216)은 필터링된 복원된 블록들을 DPB(218)에 저장할 수도 있다. 모션 추정 유닛(222) 및 모션 보상 유닛(224)은 복원된 (그리고 잠재적으로 필터링된) 블록들로부터 형성된 참조 픽처를 DPB(218)로부터 검색하여, 후속적으로 인코딩된 픽처들의 블록들을 인터 예측할 수도 있다. 또한, 인트라 예측 유닛(226)은 현재 픽처에서의 다른 블록들을 인트라 예측하기 위해 현재 픽처의 DPB(218)에서의 복원된 블록들을 사용할 수도 있다.The video encoder 200 stores the reconstructed blocks in the DPB 218. For example, in instances where the operations of filter unit 216 are not performed, reconstruction unit 214 may store the reconstructed blocks in DPB 218. In examples in which the operations of filter unit 216 are performed, filter unit 216 may store the filtered reconstructed blocks in DPB 218 . Motion estimation unit 222 and motion compensation unit 224 may retrieve a reference picture formed from the reconstructed (and potentially filtered) blocks from DPB 218 to inter-predict blocks of subsequently encoded pictures. there is. Additionally, intra prediction unit 226 may use the reconstructed blocks in the DPB 218 of the current picture to intra predict other blocks in the current picture.

일반적으로, 엔트로피 인코딩 유닛(220)은 비디오 인코더(200)의 다른 기능 컴포넌트들로부터 수신된 신택스 엘리먼트들을 엔트로피 인코딩할 수도 있다. 예를 들어, 엔트로피 인코딩 유닛(220)은 양자화 유닛(208)으로부터의 양자화된 변환 계수 블록들을 엔트로피 인코딩할 수도 있다. 다른 예로서, 엔트로피 인코딩 유닛(220)은 모드 선택 유닛(202)으로부터 예측 신택스 엘리먼트들(예를 들어, 인터 예측을 위한 모션 정보 또는 인트라 예측을 위한 인트라 모드 정보)를 엔트로피 인코딩할 수도 있다. 엔트로피 인코딩 유닛(220)은, 비디오 데이터의 다른 예인 신택스 엘리먼트들에 대해 하나 이상의 엔트로피 인코딩 동작을 수행하여, 엔트로피 인코딩된 데이터를 생성할 수도 있다. 예를 들어, 엔트로피 인코딩 유닛(220)은 컨텍스트 적응형 가변 길이 코딩(CAVLC) 동작, CABAC 동작, 변수 대 변수(V2V) 길이 코딩 동작, 신택스 기반 컨텍스트 적응형 이진 산술 코딩(SBAC) 동작, 확률 간격 파티셔닝 엔트로피(PIPE) 코딩 동작, 지수 골롬 인코딩 동작, 또는 다른 타입의 엔트로피 인코딩 동작을 데이터에 대해 수행할 수도 있다. 일부 예들에서, 엔트로피 인코딩 유닛(220)은 신택스 엘리먼트들이 엔트로피 인코딩되지 않는 바이패스 모드로 동작할 수도 있다.In general, entropy encoding unit 220 may entropy encode syntax elements received from other functional components of video encoder 200. For example, entropy encoding unit 220 may entropy encode quantized transform coefficient blocks from quantization unit 208. As another example, entropy encoding unit 220 may entropy encode prediction syntax elements (e.g., motion information for inter prediction or intra mode information for intra prediction) from mode selection unit 202. The entropy encoding unit 220 may perform one or more entropy encoding operations on syntax elements, which are other examples of video data, to generate entropy encoded data. For example, entropy encoding unit 220 may perform context adaptive variable length coding (CAVLC) operations, CABAC operations, variable-to-variable (V2V) length coding operations, syntax-based context-adaptive binary arithmetic coding (SBAC) operations, and probability intervals. A partitioning entropy (PIPE) coding operation, an exponential Golomb encoding operation, or another type of entropy encoding operation may be performed on the data. In some examples, entropy encoding unit 220 may operate in a bypass mode in which syntax elements are not entropy encoded.

비디오 인코더(200)는 픽처 또는 슬라이스의 블록들을 복원하는데 필요한 엔트로피 인코딩된 신택스 엘리먼트들을 포함하는 비트스트림을 출력할 수도 있다. 특히, 엔트로피 인코딩 유닛(220)이 비트스트림을 출력할 수도 있다.The video encoder 200 may output a bitstream containing entropy-encoded syntax elements necessary for reconstructing blocks of a picture or slice. In particular, the entropy encoding unit 220 may output a bitstream.

AV1에 따르면, 엔트로피 인코딩 유닛(220)은 심볼 대 심볼 적응형 멀티 심볼 산술 코더로서 구성될 수도 있다. AV1에서의 신택스 엘리먼트는 N 개의 엘리먼트들의 알파벳을 포함하고, 컨텍스트(예를 들어, 확률 모델)는 N 개의 확률들의 세트를 포함한다. 엔트로피 인코딩 유닛(220)은 n비트(예를 들어, 15비트) 누적 분포 함수들(CDF들)로서 확률들을 저장할 수도 있다. 엔트로피 인코딩 유닛(220)은 컨텍스트들을 업데이트하기 위해, 알파벳 사이즈에 기초한 업데이트 팩터로, 재귀적 스케일링을 수행할 수도 있다.According to AV1, entropy encoding unit 220 may be configured as a symbol-to-symbol adaptive multi-symbol arithmetic coder. A syntax element in AV1 contains an alphabet of N elements, and the context (eg, a probability model) contains a set of N probabilities. Entropy encoding unit 220 may store probabilities as n-bit (e.g., 15-bit) cumulative distribution functions (CDFs). The entropy encoding unit 220 may perform recursive scaling with an update factor based on the alphabet size to update the contexts.

위에서 설명된 동작들이 블록과 관련하여 설명된다. 그러한 설명은 루마 코딩 블록 및/또는 크로마 코딩 블록들에 대한 동작들인 것으로서 이해되어야 한다. 위에서 설명된 바와 같이, 일부 예들에서, 루마 코딩 블록 및 크로마 코딩 블록들은 CU의 루마 및 크로마 컴포넌트들이다. 일부 예들에서, 루마 코딩 블록 및 크로마 코딩 블록들은 PU의 루마 및 크로마 컴포넌트들이다.The operations described above are explained in relation to blocks. Such description should be understood as operations on luma coding blocks and/or chroma coding blocks. As described above, in some examples, the luma coding block and chroma coding blocks are the luma and chroma components of a CU. In some examples, the luma coding block and chroma coding blocks are luma and chroma components of a PU.

일부 예들에서, 루마 코딩 블록에 대해서 수행된 동작들은 크로마 코딩 블록들에 대해 반복될 필요가 없다. 일 예로서, 루마 코딩 블록에 대한 모션 벡터(MV) 및 참조 픽처를 식별하는 동작들은, 크로마 블록들에 대한 MV 및 참조 픽처를 식별하기 위해 반복될 필요가 없다. 오히려, 루마 코딩 블록에 대한 MV는 크로마 블록들에 대한 MV를 결정하기 위해 스케일링될 수도 있으며, 참조 픽처는 동일할 수도 있다. 다른 예로서, 인트라 예측 프로세스는 루마 코딩 블록 및 크로마 코딩 블록들에 대해 동일할 수도 있다.In some examples, operations performed on a luma coding block do not need to be repeated for chroma coding blocks. As an example, the operations of identifying the motion vector (MV) and reference picture for a luma coding block do not need to be repeated to identify the MV and reference picture for chroma blocks. Rather, the MV for the luma coding block may be scaled to determine the MV for the chroma blocks, and the reference picture may be the same. As another example, the intra prediction process may be the same for luma coding blocks and chroma coding blocks.

도 4는 본 개시의 기법들을 수행할 수도 있는 예시적인 비디오 디코더(300)를 예시하는 블록도이다. 도 4은 설명의 목적으로 제공되며, 본 개시에 광범위하게 예시되고 설명되는 바와 같은 기법들에 대해 한정하지 않는다. 설명의 목적으로, 본 개시는 VVC(ITU-T H.266, 개발중) 및 HEVC(ITU-T H.265)의 기법들에 따라 비디오 디코더(300)를 설명한다. 그러나, 본 개시의 기법들은 다른 비디오 코딩 표준들에 대해 구성되는 비디오 코딩 디바이스들에 의해 수행될 수도 있다.4 is a block diagram illustrating an example video decoder 300 that may perform the techniques of this disclosure. 4 is provided for illustrative purposes and is not limiting to the techniques as broadly illustrated and described in this disclosure. For purposes of explanation, this disclosure describes video decoder 300 according to the techniques of VVC (ITU-T H.266, under development) and HEVC (ITU-T H.265). However, the techniques of this disclosure may be performed by video coding devices configured for other video coding standards.

도 4의 예에서, 비디오 디코더(300)는, 코딩된 픽처 버퍼(CPB) 메모리(320), 엔트로피 디코딩 유닛(302), 예측 프로세싱 유닛(304), 역양자화 유닛(306), 역변환 프로세싱 유닛(308), 복원 유닛(310), 필터 유닛(312), 및 디코딩된 픽처 버퍼(DPB)(314)를 포함한다. CPB 메모리(320), 엔트로피 디코딩 유닛(302), 예측 프로세싱 유닛(304), 역양자화 유닛(306), 역변환 프로세싱 유닛(308), 복원 유닛(310), 필터 유닛(312), 및 DPB(314) 중 임의의 것 또는 전부는 하나 이상의 프로세서들에서 또는 프로세싱 회로부에서 구현될 수도 있다. 예를 들어, 비디오 디코더(300)의 유닛들은 하드웨어 회로부의 일부로서의, 또는 프로세서, ASIC, 또는 FPGA의 일부로서의 하나 이상의 회로들 또는 로직 엘리먼트들로서 구현될 수도 있다. 더욱이, 비디오 디코더(300)는 이들 및 다른 기능들을 수행하기 위해 추가적인 또는 대안적인 프로세서들 또는 프로세싱 회로부를 포함할 수도 있다.In the example of Figure 4, video decoder 300 includes a coded picture buffer (CPB) memory 320, an entropy decoding unit 302, a prediction processing unit 304, an inverse quantization unit 306, and an inverse transform processing unit ( 308), a reconstruction unit 310, a filter unit 312, and a decoded picture buffer (DPB) 314. CPB memory 320, entropy decoding unit 302, prediction processing unit 304, inverse quantization unit 306, inverse transform processing unit 308, restoration unit 310, filter unit 312, and DPB 314 ) may be implemented in one or more processors or in processing circuitry. For example, units of video decoder 300 may be implemented as one or more circuits or logic elements as part of hardware circuitry, or as part of a processor, ASIC, or FPGA. Moreover, video decoder 300 may include additional or alternative processors or processing circuitry to perform these and other functions.

예측 프로세싱 유닛(304)은 모션 보상 유닛(316) 및 인트라 예측 유닛(318)을 포함한다. 예측 프로세싱 유닛(304)은 다른 예측 모드들에 따라 예측을 수행하기 위한 추가적인 유닛들을 포함할 수도 있다. 예들로서, 예측 프로세싱 유닛(304)은 팔레트 유닛, 인트라 블록 카피 유닛(모션 보상 유닛(316)의 일부를 형성할 수도 있음), 아핀 유닛, 선형 모델(LM) 유닛 등을 포함할 수도 있다. 다른 예들에서, 비디오 디코더(300)는 더 많거나, 더 적거나, 또는 상이한 기능적 컴포넌트들을 포함할 수도 있다.Prediction processing unit 304 includes a motion compensation unit 316 and an intra prediction unit 318. Prediction processing unit 304 may include additional units for performing prediction according to different prediction modes. As examples, prediction processing unit 304 may include a palette unit, an intra block copy unit (which may form part of motion compensation unit 316), an affine unit, a linear model (LM) unit, etc. In other examples, video decoder 300 may include more, fewer, or different functional components.

AV1에 따라 동작할 때, 보상 유닛(316)은 위에서 설명된 바와 같이 병진 모션 보상, 아핀 모션 보상, OBMC, 및/또는 복합 인터-인트라 예측을 사용하여 비디오 데이터의 코딩 블록들(예를 들어, 루마 및 크로마 코딩 블록들 양자 모두)을 디코딩하도록 구성될 수도 있다. 인트라 예측 유닛(318)은 위에서 설명한 바와 같이, 방향성 인트라 예측, 비방향성 인트라 예측, 재귀적 필터 인트라 예측, CFL, 인트라 블록 카피(IBC), 및/또는 색상 팔레트 모드를 사용하여 비디오 데이터의 코딩 블록들(예를 들어, 루마 및 크로마 코딩 블록 양자 모두)을 디코딩하도록 구성될 수도 있다.When operating in accordance with AV1, compensation unit 316 may use translational motion compensation, affine motion compensation, OBMC, and/or complex inter-intra prediction as described above to code blocks of video data (e.g., may be configured to decode both luma and chroma coding blocks). Intra prediction unit 318 codes blocks of video data using directed intra prediction, non-directional intra prediction, recursive filter intra prediction, CFL, intra block copy (IBC), and/or color palette modes, as described above. (e.g., both luma and chroma coding blocks).

CPB 메모리(320)는 비디오 디코더(300)의 컴포넌트들에 의해 디코딩될, 인코딩된 비디오 비트스트림과 같은, 비디오 데이터를 저장할 수도 있다. CPB 메모리(320)에 저장된 비디오 데이터는 예를 들어, 컴퓨터 판독가능 매체(110)(도 1)로부터 획득될 수도 있다. CPB 메모리(320)는 인코딩된 비디오 비트스트림으로부터의 인코딩된 비디오 데이터(예를 들어, 신택스 엘리먼트들)를 저장하는 CPB를 포함할 수도 있다. 또한, CPB 메모리(320)는 비디오 디코더(300)의 다양한 유닛들로부터의 출력들을 나타내는 일시적 데이터와 같은, 코딩된 픽처의 신택스 엘리먼트들 외의 비디오 데이터를 저장할 수도 있다. DPB(314)는 일반적으로, 인코딩된 비디오 비트스트림의 후속 데이터 또는 픽처들을 디코딩할 때 비디오 디코더(300)가 참조 비디오 데이터로서 출력 및/또는 사용할 수도 있는 디코딩된 픽처들을 저장한다. CPB 메모리(320) 및 DPB(314)는, 동기식 동적 랜덤 액세스 메모리(DRAM)(SDRAM)을 포함하는 DRAM, 자기 저항 RAM(MRAM), 저항 RAM(RRAM) , 또는 다른 유형들의 메모리 디바이스들과 같은 다양한 메모리 디바이스들 중 임의의 것에 의해 형성될 수도 있다. CPB 메모리(320) 및 DPB(314)는 동일한 메모리 디바이스 또는 별개의 메모리 디바이스들에 의해 제공될 수도 있다. 다양한 예들에서, CPB 메모리(320)는 비디오 디코더(300)의 다른 컴포넌트들과 온 칩일 수도 있거나, 그 컴포넌트들에 대하여 오프 칩일 수도 있다.CPB memory 320 may store video data, such as an encoded video bitstream, to be decoded by components of video decoder 300. Video data stored in CPB memory 320 may be obtained, for example, from computer-readable medium 110 (FIG. 1). CPB memory 320 may include a CPB that stores encoded video data (e.g., syntax elements) from an encoded video bitstream. CPB memory 320 may also store video data other than syntax elements of a coded picture, such as temporary data representing outputs from various units of video decoder 300. DPB 314 generally stores decoded pictures that video decoder 300 may output and/or use as reference video data when decoding subsequent data or pictures of the encoded video bitstream. CPB memory 320 and DPB 314 may be memory devices such as DRAM, including synchronous dynamic random access memory (DRAM) (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. It may be formed by any of a variety of memory devices. CPB memory 320 and DPB 314 may be provided by the same memory device or separate memory devices. In various examples, CPB memory 320 may be on-chip or off-chip relative to other components of video decoder 300.

추가적으로 또는 대안적으로, 일부 예들에서, 비디오 디코더(300)는 메모리(120)(도 1)로부터 코딩된 비디오 데이터를 검색할 수도 있다. 즉, 메모리(120)는 CPB 메모리(320)로 위에서 논의된 바와 같이 데이터를 저장할 수도 있다. 마찬가지로, 메모리(120)는 비디오 디코더(300)의 기능성의 일부 또는 전부가 비디오 디코더(300)의 프로세싱 회로부에 의해 실행되도록 소프트웨어에서 구현될 때, 비디오 디코더(300)에 의해 실행될 명령들을 저장할 수도 있다.Additionally or alternatively, in some examples, video decoder 300 may retrieve coded video data from memory 120 (Figure 1). That is, memory 120 may store data as discussed above with CPB memory 320. Likewise, memory 120 may store instructions to be executed by video decoder 300 when some or all of the functionality of video decoder 300 is implemented in software to be executed by the processing circuitry of video decoder 300. .

도 4에 도시된 다양한 유닛들은 비디오 디코더(300)에 의해 수행되는 동작들의 이해를 돕기 위해 예시된다. 유닛들은 고정 기능 회로들, 프로그래밍가능 회로들, 또는 이들의 조합으로서 구현될 수도 있다. 도 3과 유사하게, 고정 기능 회로들은 특정 기능성을 제공하는 회로들을 지칭하고, 수행될 수 있는 동작들에 대해 미리 설정된다. 프로그래밍가능 회로들은 다양한 태스크들을 수행하도록 프로그래밍될 수도 있는 회로들을 지칭하고, 수행될 수도 있는 동작들에서 유연한 기능성을 제공한다. 예를 들어, 프로그래밍가능 회로들은 프로그래밍가능 회로들이 소프트웨어 또는 펌웨어의 명령들에 의해 정의된 방식으로 동작하게 하는 소프트웨어 또는 펌웨어를 실행할 수도 있다. 고정 기능 회로들은 (예컨대, 파라미터들을 수신하거나 또는 파라미터들을 출력하기 위한) 소프트웨어 명령들을 실행할 수도 있지만, 고정 기능 회로들이 수행하는 동작들의 타입들은 일반적으로 불변이다. 일부 예들에서, 유닛들 중 하나 이상은 별개의 회로 블록들(고정 기능 또는 프로그램가능)일 수도 있고, 일부 예들에서, 유닛들 중 하나 이상은 집적 회로들일 수도 있다.The various units shown in FIG. 4 are illustrated to aid understanding of operations performed by video decoder 300. Units may be implemented as fixed function circuits, programmable circuits, or a combination thereof. Similar to Figure 3, fixed function circuits refer to circuits that provide specific functionality and are predefined for the operations that can be performed. Programmable circuits refer to circuits that may be programmed to perform various tasks, providing flexible functionality in the operations that may be performed. For example, programmable circuits may execute software or firmware that causes the programmable circuits to operate in a manner defined by instructions in the software or firmware. Fixed function circuits may execute software instructions (eg, to receive parameters or output parameters), but the types of operations they perform are generally invariant. In some examples, one or more of the units may be separate circuit blocks (fixed function or programmable), and in some examples, one or more of the units may be integrated circuits.

비디오 디코더(300)는 프로그래밍가능 회로들로부터 형성된, ALU들, EFU들, 디지털 회로들, 아날로그 회로들, 및/또는 프로그래밍가능 코어들을 포함할 수도 있다. 비디오 디코더(300)의 동작들이 프로그래밍가능 회로들 상에서 실행하는 소프트웨어에 의해 수행되는 예들에서, 온 칩 또는 오프 칩 메모리는 비디오 디코더(300)가 수신 및 실행하는 소프트웨어의 명령들(예를 들어, 오브젝트 코드)를 저장할 수도 있다.Video decoder 300 may include ALUs, EFUs, digital circuits, analog circuits, and/or programmable cores formed from programmable circuits. In examples in which the operations of video decoder 300 are performed by software executing on programmable circuits, on-chip or off-chip memory may store instructions (e.g., objects) of the software that video decoder 300 receives and executes. code) can also be saved.

엔트로피 디코딩 유닛(302)은 인코딩된 비디오 데이터를 CPB로부터 수신할 수도 있고, 비디오 데이터를 엔트로피 디코딩하여 신택스 엘리먼트들을 재생할 수도 있다. 예측 프로세싱 유닛(304), 역양자화 유닛(306), 역변환 프로세싱 유닛(308), 복원 유닛(310), 및 필터 유닛(312)은 비트스트림으로부터 추출된 신택스 엘리먼트들에 기초하여 디코딩된 비디오 데이터를 생성할 수도 있다.The entropy decoding unit 302 may receive encoded video data from CPB, and may entropy decode the video data to reproduce syntax elements. The prediction processing unit 304, the inverse quantization unit 306, the inverse transform processing unit 308, the restoration unit 310, and the filter unit 312 process the decoded video data based on syntax elements extracted from the bitstream. You can also create

일반적으로, 비디오 디코더(300)는 블록 바이 블록 기반으로 픽처를 복원한다. 비디오 디코더(300)는 각 블록에 대해 개별적으로 복원 동작을 수행할 수도 있다(여기서 현재 복원되고 있는, 즉 디코딩되는 블록은 "현재 블록"으로 지칭될 수도 있음).Generally, the video decoder 300 restores a picture on a block-by-block basis. The video decoder 300 may individually perform a reconstruction operation for each block (here, the block currently being restored, i.e., being decoded, may be referred to as the “current block”).

엔트로피 디코딩 유닛(302)은 양자화 파라미터(QP) 및/또는 변환 모드 표시(들)와 같은 변환 정보뿐만 아니라, 양자화된 변환 계수 블록의 양자화된 변환 계수들을 정의하는 신택스 엘리먼트들을 엔트로피 디코딩할 수도 있다. 역양자화 유닛(306)은 양자화된 변환 계수 블록과 연관된 QP를 사용하여, 양자화도 및 마찬가지로 역양자화 유닛(306)이 적용할 역양자화도를 결정할 수도 있다. 역양자화 유닛(306)은 예를 들어, 양자화된 변환 계수들을 역양자화하기 위해 비트와이즈 좌측 시프트 동작을 수행할 수도 있다. 이에 의해, 역양자화 유닛(306)은 변환 계수들을 포함하는 변환 계수 블록을 형성할 수도 있다.Entropy decoding unit 302 may entropy decode syntax elements defining quantized transform coefficients of a quantized transform coefficient block, as well as transform information, such as quantization parameter (QP) and/or transform mode indication(s). Inverse quantization unit 306 may use the QP associated with the quantized transform coefficient block to determine the degree of quantization and likewise the degree of inverse quantization that inverse quantization unit 306 will apply. Inverse quantization unit 306 may, for example, perform a bitwise left shift operation to inverse quantize quantized transform coefficients. Thereby, the inverse quantization unit 306 may form a transform coefficient block containing transform coefficients.

역양자화 유닛(306)이 변환 계수 블록을 형성한 후, 역변환 프로세싱 유닛(308)은 변환 계수 블록에 하나 이상의 역변환들을 적용하여 현재 블록과 연관된 잔차 블록을 생성할 수도 있다. 예를 들어, 역변환 프로세싱 유닛(308)은 역 DCT, 역 정수 변환, 역 KLT(Karhunen-Loeve transform), 역 회전 변환, 역 방향성 변환, 또는 다른 역변환을 변환 계수 블록에 적용할 수도 있다.After inverse quantization unit 306 forms a transform coefficient block, inverse transform processing unit 308 may apply one or more inverse transforms to the transform coefficient block to generate a residual block associated with the current block. For example, inverse transform processing unit 308 may apply an inverse DCT, inverse integer transform, inverse Karhunen-Loeve transform (KLT), inverse rotation transform, inverse directional transform, or other inverse transform to the transform coefficient block.

또한, 예측 프로세싱 유닛(304)은 엔트로피 디코딩 유닛(302)에 의해 엔트로피 디코딩된 예측 정보 신택스 엘리먼트들에 따라 예측 블록을 생성한다. 예를 들어, 예측 정보 신택스 엘리먼트들이 현재 블록이 인터 예측된다고 나타내면, 모션 보상 유닛(316)은 예측 블록을 생성할 수도 있다. 이 경우에서, 예측 정보 신택스 엘리먼트들은 참조 블록을 검색할 DPB(314) 내 참조 픽처뿐만 아니라, 현재 픽처에서의 현재 블록의 위치에 상대적인 참조 픽처에서의 참조 블록의 위치를 식별하는 모션 벡터를 나타낼 수도 있다. 모션 보상 유닛(316)은 일반적으로, 모션 보상 유닛(224)(도 3)과 관련하여 설명된 것과 실질적으로 유사한 방식으로 인터 예측 프로세스를 수행할 수도 있다.Additionally, the prediction processing unit 304 generates a prediction block according to prediction information syntax elements entropy decoded by the entropy decoding unit 302. For example, if prediction information syntax elements indicate that the current block is inter-predicted, motion compensation unit 316 may generate a prediction block. In this case, the prediction information syntax elements may represent a reference picture in the DPB 314 from which to search for a reference block, as well as a motion vector that identifies the location of the reference block in the reference picture relative to the location of the current block in the current picture. there is. Motion compensation unit 316 may perform the inter prediction process generally in a manner substantially similar to that described with respect to motion compensation unit 224 (Figure 3).

다중 가설 인터 예측을 수행할 때, 모션 보상 유닛(316)은 DPB(314)의 데이터를 사용하여 현재 블록에 대한 추가적인 가설들로서 하나 이상의 추가적인 예측 블록들을 생성할 수도 있다. 또한, 비디오 디코더(300)는 하나 이상의 추가적인 예측 가설들에 대한 모션 정보를 디코딩하기 위해 본 개시의 다양한 기법들 중 임의의 것을 적용하도록 구성될 수도 있다.When performing multi-hypothesis inter prediction, motion compensation unit 316 may use data in DPB 314 to generate one or more additional prediction blocks as additional hypotheses for the current block. Additionally, video decoder 300 may be configured to apply any of the various techniques of this disclosure to decode motion information for one or more additional prediction hypotheses.

예를 들어, 모션 보상 유닛(316)은 기본 모드 가설 및 추가적인 가설 양자 모두를 생성할 수도 있다. 모션 보상 유닛(316)은 단방향성 또는 양방향성 인터 예측을 사용하여 기본 모드 가설을 생성할 수도 있다. 모션 보상 유닛(316)은 또한 단방향성 또는 양방향성 인터 예측을 사용하여 추가적인 가설을 생성할 수도 있다. 일부 예들에서, 추가적인 가설은 단방향성 예측으로만 제한될 수도 있다. 본 개시의 기법들에 따르면, 예측 프로세싱 유닛(304)은 추가적인 가설에 대한 모션 정보를 머지 모드를 사용하여 인코딩할지 또는 AMVP 모드를 사용하여 인코딩할지를 결정할 수도 있다. 특히, 예측 프로세싱 유닛(304)은 추가적인 가설에 대한 모션 정보가 머지 모드를 사용하여 디코딩되어야 하는지 또는 AMVP 모드를 사용하여 디코딩되어야 하는지를 표시하는 머지 모드 신택스 엘리먼트에 대한 값을 수신하고, 표시된 모드를 사용하여 모션 정보를 디코딩할 수도 있다.For example, motion compensation unit 316 may generate both a fundamental mode hypothesis and an additional hypothesis. Motion compensation unit 316 may use unidirectional or bidirectional inter prediction to generate fundamental mode hypotheses. Motion compensation unit 316 may also generate additional hypotheses using unidirectional or bidirectional inter prediction. In some examples, additional hypotheses may be limited to only one-way predictions. According to the techniques of this disclosure, prediction processing unit 304 may determine whether to encode motion information for the additional hypothesis using Merge mode or AMVP mode. In particular, prediction processing unit 304 receives a value for a merge mode syntax element that indicates whether motion information for additional hypotheses should be decoded using merge mode or AMVP mode, and uses the indicated mode. You can also decode motion information.

머지 모드를 사용하여 추가적인 가설에 대한 모션 정보를 디코딩하기 위해, 예측 프로세싱 유닛(304)은 머지 후보 리스트를 구성할 수도 있다. 즉, 예측 프로세싱 유닛(304)은 인코딩되고 있는 현재 블록에 대한 이웃 블록들로부터 모션 정보를 결정하고, 특정 이웃 블록들에 대한 모션 정보를 머지 후보 리스트에 추가할 수도 있다. 예측 프로세싱 유닛(304)은 머지 후보들을 오직 단방향성 예측 후보들("단방향 예측 후보들"로도 지칭됨)인 것으로 제한하도록 구성될 수도 있다. 이웃 블록이 양방향 예측을 사용하여 예측되면, 예측 프로세싱 유닛(304)은 도 2에 대하여 위에서 논의된 바와 같이 이웃 블록으로부터 1 개 또는 2 개의 머지 후보들을 생성할 수도 있다. 예를 들어, 예측 프로세싱 유닛(304)은 이웃 블록에 대한 제1 세트의 모션 정보(예컨대, L0 모션 정보)로부터 제1 머지 후보를 구성할 수도 있고, 일부 예들에서는, 이웃 블록에 대한 제2 세트의 모션 정보(예컨대, L1 모션 정보)로부터 제2 머지 후보를 구성할 수도 있다.To decode motion information for additional hypotheses using merge mode, prediction processing unit 304 may construct a merge candidate list. That is, the prediction processing unit 304 may determine motion information from neighboring blocks for the current block being encoded, and add motion information for specific neighboring blocks to the merge candidate list. Prediction processing unit 304 may be configured to limit merge candidates to only those that are unidirectional prediction candidates (also referred to as “unidirectional prediction candidates”). If the neighboring block is predicted using bi-prediction, prediction processing unit 304 may generate one or two merge candidates from the neighboring block as discussed above with respect to FIG. 2. For example, prediction processing unit 304 may construct a first merge candidate from a first set of motion information (e.g., L0 motion information) for a neighboring block and, in some examples, a second set of motion information for a neighboring block. A second merge candidate may be configured from motion information (eg, L1 motion information).

예측 프로세싱 유닛(304)은 또한, 추가적인 가설에 대한 모션 정보를 인코딩하기 위해 머지 후보들 중 어느 것이 사용될 지를 표시하는 값을 갖는 머지 인덱스를 형성할 수도 있다. 예측 프로세싱 유닛(304)은 머지 인덱스에 대응하는 머지 후보 리스트 내 머지 후보들 중 하나를, 추가적인 가설에 대한 모션 정보를 디코딩하는데 사용될 머지 후보로서 결정할 수도 있다.Prediction processing unit 304 may also form a merge index whose value indicates which of the merge candidates will be used to encode motion information for the additional hypothesis. Prediction processing unit 304 may determine one of the merge candidates in the merge candidate list corresponding to the merge index as the merge candidate to be used to decode the motion information for the additional hypothesis.

모션 보상 유닛(316)은 추가로, 예를 들어 샘플 바이 샘플 기반으로 각 샘플의 평균 또는 가중된 조합으로서, 기본 가설을 추가적인 가설과 결합할 수도 있다. 기본 가설을 추가적인 가설과 결합한 후, 모션 보상 유닛(316)은 결과적인 예측 블록을 복원 유닛(310)에 제공할 수도 있다.The motion compensation unit 316 may further combine the base hypothesis with additional hypotheses, for example as an average or weighted combination of each sample on a sample-by-sample basis. After combining the base hypothesis with additional hypotheses, motion compensation unit 316 may provide the resulting prediction block to reconstruction unit 310.

추가로 또는 대안으로, 예측 프로세싱 유닛(304)은 기본 가설에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 추가적인 가설에 LIC를 적용할지 여부를 결정할 수도 있다. 예를 들어, 예측 프로세싱 유닛(304)은 기본 가설에 LIC가 적용되었다면 추가적인 가설에 LIC가 적용될 것을, 그렇지 않다면 LIC를 적용하지 않을 것을 결정할 수도 있다. 다른 예로서, 기본 가설에 LIC가 적용되었고 추가적인 가설에 대한 모션 정보가 AMVP를 사용하여 인코딩되었다면, 예측 프로세싱 유닛(304)은 추가적인 가설에 대해 LIC를 수행할 것으로 결정할 수도 있다. 대안적으로, 기본 가설에 LIC가 적용되었고 추가적인 가설에 대한 모션 정보가 머지 모드를 사용하여 디코딩되었다면, 예측 프로세싱 유닛(304)은 추가적인 가설에 대해 LIC를 수행할지 여부를 나타내는 LIC 신택스 엘리먼트(예컨대, LIC 플래그)를 디코딩할 수도 있다.Additionally or alternatively, prediction processing unit 304 may determine whether to apply local illumination compensation (LIC) to additional hypotheses depending on whether LIC was applied to the base hypothesis. For example, prediction processing unit 304 may determine that LIC will be applied to the additional hypothesis if LIC was applied to the base hypothesis, and not to apply LIC if not. As another example, if LIC was applied to the base hypothesis and the motion information for the additional hypothesis was encoded using AMVP, prediction processing unit 304 may determine to perform LIC for the additional hypothesis. Alternatively, if LIC has been applied to the base hypothesis and the motion information for the additional hypothesis has been decoded using merge mode, prediction processing unit 304 may generate a LIC syntax element indicating whether to perform LIC on the additional hypothesis (e.g., LIC flag) can also be decoded.

추가로 또는 대안으로, 예측 프로세싱 유닛(304)은 하프 샘플 포지션에 대한 값을 보간하기 위해 다양한 보간 필터들 중 어느 것을 사용할지를 결정할 수도 있다. 특히, 이전의 블록의 기본 가설에 대한 모션 벡터가 하프 샘플 정밀도를 갖고 AMVP를 사용하여 인코딩되는 경우, 및 이전의 블록이 추가적인 가설의 모션 정보를 인코딩하기 위한 후보로서 선택되는 경우, 예측 프로세싱 유닛(304)은 하프 샘플 포지션에 대한 값을 보간하기 위해 6탭 보간 필터를 사용할 것으로 결정할 수도 있다.Additionally or alternatively, prediction processing unit 304 may determine which of various interpolation filters to use to interpolate the value for the half sample position. In particular, if the motion vector for the base hypothesis of the previous block is encoded using AMVP with half-sample precision, and if the previous block is selected as a candidate for encoding the motion information of the additional hypothesis, the prediction processing unit ( 304) may decide to use a 6-tap interpolation filter to interpolate the values for the half sample positions.

다른 예로서, 예측 정보 신택스 엘리먼트들이 현재 블록이 인트라 예측됨을 표시하면, 인트라 예측 유닛(318)은 예측 정보 신택스 엘리먼트들에 의해 표시되는 인트라 예측 모드에 따라 예측 블록을 생성할 수도 있다. 다시, 인트라 예측 유닛(318)은 일반적으로, 인트라 예측 유닛(226)(도 3)에 대하여 설명된 것과 실질적으로 유사한 방식으로 인트라 예측 프로세스를 수행할 수도 있다. 인트라 예측 유닛(318)은 DPB(314)로부터 현재 블록에 대한 이웃 샘플들의 데이터를 검색할 수도 있다.As another example, if the prediction information syntax elements indicate that the current block is intra predicted, intra prediction unit 318 may generate the prediction block according to the intra prediction mode indicated by the prediction information syntax elements. Again, intra prediction unit 318 may perform the intra prediction process generally in a manner substantially similar to that described for intra prediction unit 226 (Figure 3). Intra prediction unit 318 may retrieve data of neighboring samples for the current block from DPB 314.

복원 유닛(310)은 예측 블록 및 잔차 블록을 사용하여 현재 블록을 복원한다. 예를 들어, 복원 유닛(310)은 잔차 픽셀 블록의 샘플들을 예측 블록의 대응하는 샘플들에 더하여 현재 블록을 복원할 수도 있다.The restoration unit 310 restores the current block using the prediction block and the residual block. For example, the reconstruction unit 310 may restore the current block by adding samples of the residual pixel block to corresponding samples of the prediction block.

필터 유닛(312)은 복원된 블록들에 대해 하나 이상의 필터 동작들을 수행할 수도 있다. 예를 들어, 필터 유닛(312)은 복원된 블록들의 에지들을 따라 블로키니스 아티팩트들을 감소시키도록 디블록킹 동작들을 수행할 수도 있다. 필터 유닛(312)의 동작들이 반드시 모든 예들에서 수행되는 것은 아니다.Filter unit 312 may perform one or more filter operations on the reconstructed blocks. For example, filter unit 312 may perform deblocking operations to reduce blockiness artifacts along the edges of reconstructed blocks. The operations of filter unit 312 are not necessarily performed in all examples.

비디오 디코더(300)는 복원된 블록들을 DPB(314)에 저장할 수도 있다. 예를 들어, 필터 유닛(312)의 동작들이 수행되지 않는 예들에서, 복원 유닛(310)은 복원된 블록들을 DPB(314)에 저장할 수도 있다. 필터 유닛(312)의 동작들이 수행되는 예들에서, 필터 유닛(312)은 필터링된 복원된 블록들을 DPB(314)에 저장할 수도 있다. 위에서 논의된 바와 같이, DPB(314)는 인트라 예측을 위한 현재 픽처 및 후속 모션 보상을 위한 이전에 디코딩된 픽처들의 샘플들과 같은 참조 정보를 예측 프로세싱 유닛(304)에 제공할 수도 있다. 더욱이, 비디오 디코더(300)는 도 1의 디스플레이 디바이스(118)와 같은 디스플레이 디바이스 상의 후속 프리젠테이션을 위해 DPB(314)로부터 디코딩된 픽처들(예를 들어, 디코딩된 비디오)을 출력할 수도 있다.The video decoder 300 may store the reconstructed blocks in the DPB 314. For example, in examples where the operations of filter unit 312 are not performed, reconstruction unit 310 may store the reconstructed blocks in DPB 314. In examples in which the operations of filter unit 312 are performed, filter unit 312 may store the filtered reconstructed blocks in DPB 314. As discussed above, DPB 314 may provide reference information to prediction processing unit 304, such as the current picture for intra prediction and samples of previously decoded pictures for subsequent motion compensation. Moreover, video decoder 300 may output decoded pictures (e.g., decoded video) from DPB 314 for subsequent presentation on a display device, such as display device 118 of FIG. 1.

도 5는 본 개시의 기법들에 따라 현재 블록을 인코딩하기 위한 예시적인 방법을 예시하는 플로우차트이다. 현재 블록은 현재 CU를 포함할 수도 있다. 비디오 인코더(200)(도 1 및 도 3)에 대해 설명되지만, 다른 디바이스들이 도 5의 방법과 유사한 방법을 수행하도록 구성될 수도 있음이 이해되어야 한다.5 is a flowchart illustrating an example method for encoding a current block in accordance with the techniques of this disclosure. The current block may include the current CU. Although described with respect to video encoder 200 ( FIGS. 1 and 3 ), it should be understood that other devices may be configured to perform methods similar to those of FIG. 5 .

이 예에서, 비디오 인코더(200)는 먼저, 현재 블록을 예측한다(350). 예를 들어, 비디오 인코더(200)는 현재 블록에 대한 예측 블록을 형성할 수도 있다. 특히, 비디오 인코더(200)는 다중 가설 인터 예측을 사용하여 예측 블록을 형성할 수도 있다. 비디오 인코더(200)는 그 후, 현재 블록에 대한 잔차 블록을 계산할 수도 있다(352). 잔차 블록을 계산하기 위해, 비디오 인코더(200)는 원래의, 코딩되지 않은 블록과 현재 블록에 대한 예측 블록 사이의 차이를 계산할 수도 있다. 그 다음, 비디오 인코더(200)는 잔차 블록을 변환하고 잔차 블록의 변환 계수들을 양자화할 수도 있다(354). 다음으로, 비디오 인코더(200)는 잔차 블록의 양자화된 변환 계수들을 스캔할 수도 있다(356). 스캔 동안, 또는 스캔에 뒤따라서, 비디오 인코더(200)는 변환 계수들뿐만 아니라, 예측 정보를 엔트로피 인코딩할 수도 있다(358). 예를 들어, 비디오 인코더(200)는 CAVLC 또는 CABAC를 사용하여 데이터를 인코딩할 수도 있다. 또한, 비디오 인코더(200)는 본 개시의 다양한 기법들 중 임의의 것에 따라 머지 모드를 사용하여 하나 이상의 추가적인 가설들에 대한 모션 정보를 인코딩할 수도 있다. 그 다음, 비디오 인코더(200)는 블록의 엔트로피 인코딩된 데이터를 출력할 수도 있다(360).In this example, video encoder 200 first predicts the current block (350). For example, video encoder 200 may form a prediction block for the current block. In particular, the video encoder 200 may form a prediction block using multi-hypothesis inter prediction. Video encoder 200 may then calculate a residual block for the current block (352). To calculate the residual block, video encoder 200 may calculate the difference between the original, uncoded block and the prediction block for the current block. Next, video encoder 200 may transform the residual block and quantize the transform coefficients of the residual block (354). Next, video encoder 200 may scan the quantized transform coefficients of the residual block (356). During or following a scan, video encoder 200 may entropy encode 358 prediction information as well as transform coefficients. For example, video encoder 200 may encode data using CAVLC or CABAC. Video encoder 200 may also encode motion information for one or more additional hypotheses using merge mode according to any of the various techniques of this disclosure. Next, the video encoder 200 may output entropy-encoded data of the block (360).

비디오 인코더(200)는 또한, (예를 들어, 인터 또는 인트라 예측 모드들에서) 후속적으로 코딩된 데이터에 대한 참조 데이터로서 현재 블록의 디코딩된 버전을 사용하기 위해, 현재 블록을 인코딩한 후 현재 블록을 디코딩할 수도 있다. 따라서, 비디오 인코더(200)는 계수들을 역양자화 및 역변환하여 잔차 블록을 재생할 수도 있다(362). 비디오 인코더(200)는 잔차 블록을 예측 블록과 결합하여, 디코딩된 블록을 형성할 수도 있다(364). 일부 예들에서, 비디오 인코더(200)는 본 개시의 다양한 기법들 중 임의의 기법에 따라 로컬 조명 보상(LIC)을 수행할 수도 있다. 그 다음, 비디오 인코더(200)는 디코딩된 블록을 DPB(218)에 저장할 수도 있다(366).Video encoder 200 may also perform the current block after encoding the current block to use the decoded version of the current block as reference data for subsequently coded data (e.g., in inter or intra prediction modes). You can also decode blocks. Accordingly, the video encoder 200 may reproduce the residual block by inversely quantizing and inversely transforming the coefficients (362). Video encoder 200 may combine the residual block with the prediction block to form a decoded block (364). In some examples, video encoder 200 may perform local lighting compensation (LIC) according to any of the various techniques of this disclosure. Video encoder 200 may then store the decoded block in DPB 218 (366).

도 6는 본 개시의 기법들에 따라 비디오 데이터의 현재 블록을 디코딩하기 위한 예시적인 방법을 예시하는 플로우차트이다. 현재 블록은 현재 CU를 포함할 수도 있다. 비디오 디코더(300)(도 1 및 도 4)에 대해 설명되지만, 다른 디바이스들이 도 6의 방법과 유사한 방법을 수행하도록 구성될 수도 있음이 이해되어야 한다.6 is a flow chart illustrating an example method for decoding a current block of video data in accordance with the techniques of this disclosure. The current block may include the current CU. Although described with respect to video decoder 300 ( FIGS. 1 and 4 ), it should be understood that other devices may be configured to perform methods similar to those of FIG. 6 .

비디오 디코더(300)는, 현재 블록에 대응하는 잔차 블록의 변환 계수들에 대한 엔트로피 인코딩된 데이터 및 엔트로피 인코딩된 예측 정보와 같은, 현재 블록에 대한 엔트로피 인코딩된 데이터를 수신할 수도 있다(370). 비디오 디코더(300)는 엔트로피 인코딩된 데이터를 엔트로피 디코딩하여, 현재 블록에 대한 예측 정보를 결정하고 잔차 블록의 변환 계수들을 재생할 수도 있다(372). 예를 들어, 비디오 디코더(300)는 본 개시의 다양한 기법들 중 임의의 것을 사용하여 머지 모드에서 하나 이상의 추가적인 예측 가설들에 대한 모션 정보를 엔트로피 디코딩할 수도 있다. 비디오 디코더(300)는 현재 블록에 대한 예측 블록을 계산하기 위해, 예를 들어 현재 블록에 대한 예측 정보에 의해 표시되는 바와 같은 인트라 또는 인터 예측 모드를 사용하여, 현재 블록을 예측할 수도 있다(374). 그 후, 비디오 디코더(300)는 양자화된 변환 계수들의 블록을 생성하기 위해, 재생된 변환 계수들을 역스캔할 수도 있다(376). 그 다음, 비디오 디코더(300)는 변환 계수들을 역양자화하고 변환 계수들에 역변환을 적용하여 잔차 블록을 생성할 수도 있다(378). 비디오 디코더(300)는 마지막으로, 예측 블록 및 잔차 블록을 결합함으로써 현재 블록을 디코딩할 수도 있다(380). 일부 예들에서, 비디오 디코더(300)는 추가로, 본 개시의 다양한 기법들 중 임의의 것에 따라 로컬 조명 보상(LIC)을 디코딩된 블록에 대해 수행할 수도 있다.Video decoder 300 may receive entropy encoded data for the current block, such as entropy encoded data and entropy encoded prediction information for transform coefficients of the residual block corresponding to the current block (370). The video decoder 300 may entropy decode the entropy encoded data, determine prediction information for the current block, and reproduce transform coefficients of the residual block (372). For example, video decoder 300 may entropy decode motion information for one or more additional prediction hypotheses in merge mode using any of the various techniques of this disclosure. Video decoder 300 may predict the current block, for example, using an intra or inter prediction mode as indicated by the prediction information for the current block to calculate a prediction block for the current block (374) . Video decoder 300 may then backscan the reproduced transform coefficients to generate a block of quantized transform coefficients (376). Next, the video decoder 300 may inverse quantize the transform coefficients and apply an inverse transform to the transform coefficients to generate a residual block (378). Video decoder 300 may finally decode the current block by combining the prediction block and the residual block (380). In some examples, video decoder 300 may further perform local illumination compensation (LIC) on a decoded block according to any of the various techniques of this disclosure.

도 7은 본 개시의 기법들에 따라 비디오 데이터를 디코딩하는 예시적인 방법을 예시하는 플로우차트이다. 도 7의 방법은 도 1 및 도 3의 비디오 인코더(200)와 같은 비디오 인코더에 의해 수행될 수도 있다. 비디오 인코딩 프로세스의 일부로서 수행될 때, 도 7의 방법은 도 5의 단계들 350 및 362 내지 364에 대응할 수도 있다. 도 7의 방법은 도 1 및 도 4의 비디오 디코더(300)와 같은 비디오 디코더에 의해 수행될 수도 있다. 비디오 디코딩 프로세스의 일부로서 수행될 때, 도 7의 방법은 도 6의 단계들 374 및 380에 대응할 수도 있다. 도 7의 방법이 비디오 데이터를 디코딩하는 방법으로서 설명되지만, 비디오 인코더는, 위에서 설명된 바와 같이, 후속 예측 데이터로서의 사용을 위해 비디오 데이터를 인코딩 및 디코딩 양자 모두를 한다. 따라서, 도 7의 방법은 비디오 인코더들 및 비디오 디코더들 양자 모두에 의해 수행될 수도 있다. 예를 목적으로, 도 7의 방법은 비디오 디코더(300)와 관련하여 설명되지만, 특정 양태들은 또한 비디오 인코더(200)와 관련하여 설명된다.7 is a flow chart illustrating an example method of decoding video data according to the techniques of this disclosure. The method of FIG. 7 may also be performed by a video encoder such as video encoder 200 of FIGS. 1 and 3. When performed as part of a video encoding process, the method of FIG. 7 may correspond to steps 350 and 362 through 364 of FIG. 5. The method of FIG. 7 may also be performed by a video decoder such as video decoder 300 of FIGS. 1 and 4. When performed as part of a video decoding process, the method of Figure 7 may correspond to steps 374 and 380 of Figure 6. Although the method of Figure 7 is described as a method of decoding video data, the video encoder both encodes and decodes the video data for use as subsequent prediction data, as described above. Accordingly, the method of Figure 7 may be performed by both video encoders and video decoders. For example purposes, the method of FIG. 7 is described with respect to video decoder 300, but certain aspects are also described with respect to video encoder 200.

초기에, 비디오 디코더(300)는 비디오 데이터의 현재 블록에 대한 기본 가설 예측 블록을 형성할 수도 있다(400). 예를 들어, 비디오 디코더(300)는 기본 가설 예측 블록을 형성하기 위해 (단일 세트의 모션 정보를 사용하여) 단방향 예측을 또는 (2 개의 세트들의 모션 정보를 사용하여) 양방향 예측을 수행할 수도 있다.Initially, video decoder 300 may form a basic hypothesis prediction block for the current block of video data (400). For example, video decoder 300 may perform unidirectional prediction (using a single set of motion information) or bidirectional prediction (using two sets of motion information) to form a base hypothesis prediction block. .

비디오 디코더(300)는 또한 현재 블록에 대한 추가적인 가설 블록에 대한 머지 모드 신택스 엘리먼트를 코딩(즉, 디코딩)할 수도 있다(402). 머지 모드 신택스 엘리먼트의 값은, 추가적인 가설 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 또는 AMVP 모드를 사용하여 코딩되는지를 표시할 수도 있다. 비디오 인코더(200)에 의해 수행될 때, 비디오 인코더(200)는 머지 모드 신택스 엘리먼트의 값을 인코딩할 수도 있다.Video decoder 300 may also code (i.e., decode) merge mode syntax elements for additional hypothetical blocks to the current block (402). The value of the merge mode syntax element may indicate whether the motion information for the additional hypothetical block is coded using merge mode or AMVP mode. When performed by video encoder 200, video encoder 200 may encode the value of the merge mode syntax element.

머지 모드 신택스 엘리먼트가 추가적인 가설 블록에 대한 모션 정보가 머지 모드를 사용하여 예측됨을 표시하는 경우, 비디오 디코더(300)는 머지 후보 리스트를 형성할 수도 있다(404). 머지 후보 리스트는 현재 블록에 대한 이웃 블록들의 모션 정보를 나타내는 머지 후보들에 대응할 수도 있다. 비디오 디코더(300)는 머지 후보 리스트의 머지 후보들 각각이 단방향 모션 정보만을 포함하는 것을 보장할 수도 있다. 이웃 블록들 중 하나에 대한 모션 정보가 양방향 예측 코딩되면, 비디오 디코더(300)는 이웃 블록들 중 하나로부터 1 개 또는 2 개의 머지 후보들, 예컨대 2 개의 세트들의 모션 정보 중 하나를 포함하는 단일 머지 후보, 또는 2 개의 세트들의 모션 정보 중 하나(예컨대, L0 모션 정보)를 포함하는 제1 머지 후보 및 2 개의 세트들의 모션 정보 중 다른 하나(예컨대, L1 모션 정보)를 포함하는 제2 머지 후보를 형성할 수도 있다. 이러한 방식으로, 머지 후보 리스트 내 각각의 머지 후보는 단방향 예측에 한정될 수도 있다.If the merge mode syntax element indicates that motion information for the additional hypothetical block is predicted using merge mode, video decoder 300 may form a merge candidate list (404). The merge candidate list may correspond to merge candidates indicating motion information of neighboring blocks for the current block. The video decoder 300 may ensure that each merge candidate in the merge candidate list includes only unidirectional motion information. If the motion information for one of the neighboring blocks is bi-predictively coded, the video decoder 300 generates one or two merge candidates from one of the neighboring blocks, e.g., a single merge candidate containing one of the two sets of motion information. , or forming a first merge candidate including one of the two sets of motion information (e.g., L0 motion information) and a second merge candidate including the other of the two sets of motion information (e.g., L1 motion information). You may. In this way, each merge candidate in the merge candidate list may be limited to one-way prediction.

그 후 비디오 디코더(300)는 추가적인 가설 블록에 대한 모션 정보를 코딩할 수도 있다(406). 예를 들어, 추가적인 가설 블록에 대한 모션 정보가 머지 모드에서 코딩된다고 가정하면, 비디오 디코더(300)는 머지 후보 리스트 내 머지 후보들 중 하나를 식별하는 머지 인덱스를 디코딩할 수도 있다. 비디오 디코더(300)는 그 후, 머지 후보들 중 식별된 하나를 모션 정보로서 사용하여 추가적인 가설 블록을 형성할 수도 있다. 반면에, 추가적인 가설 블록에 대한 모션 정보가 AMVP 모드에서 코딩되면, 비디오 디코더(300)는 AMVP 후보 인덱스, 참조 픽처 리스트 식별자, 참조 픽처 인덱스, 및 모션 벡터 차이 정보를 디코딩할 수도 있다. 대안적으로, 방법이 비디오 인코더(200)에 의해 수행될 때, 비디오 인코더(200)는 머지 인덱스 또는 AMVP 후보 인덱스, 참조 픽처 리스트 식별자, 참조 픽처 인덱스, 및 모션 벡터 차이 정보를 인코딩할 수도 있다.The video decoder 300 may then code motion information for additional hypothetical blocks (406). For example, assuming that motion information for an additional hypothesis block is coded in merge mode, the video decoder 300 may decode a merge index that identifies one of the merge candidates in the merge candidate list. The video decoder 300 may then form an additional hypothesis block using the identified one of the merge candidates as motion information. On the other hand, if motion information for an additional hypothesis block is coded in AMVP mode, the video decoder 300 may decode the AMVP candidate index, reference picture list identifier, reference picture index, and motion vector difference information. Alternatively, when the method is performed by video encoder 200, video encoder 200 may encode a merge index or AMVP candidate index, a reference picture list identifier, a reference picture index, and motion vector difference information.

그 후 비디오 디코더(300)는 모션 정보를 사용하여 추가적인 가설 블록을 생성할 수도 있다(408). 비디오 디코더(300)는 추가로, 기본 가설 예측 블록 및 추가적인 가설 블록으로부터 다중 가설 예측 블록을 형성할 수도 있다(410). 예를 들어, 비디오 디코더(300)는 기본 가설 예측 블록 및 추가적인 가설 블록의 병치된 샘플들을 평균화하거나 또는 기본 가설 예측 블록 및 추가적인 가설 블록의 병치된 샘플들의 가중된 조합을 수행할 수도 있다. 일부 예들에서, 비디오 디코더(300)는 또한, 다중 가설 예측 블록을 형성하기 전에, 기본 가설 블록 및/또는 추가적인 가설 블록 중 어느 하나 또는 양자 모두에 대해 로컬 조명 보상(LIC)을 수행할 수도 있다.The video decoder 300 may then generate an additional hypothesis block using the motion information (408). Video decoder 300 may further form a multi-hypothesis prediction block from the basic hypothesis prediction block and additional hypothesis blocks (410). For example, video decoder 300 may average the collocated samples of the basic hypothesis prediction block and the additional hypothesis block or perform a weighted combination of the collocated samples of the basic hypothesis prediction block and the additional hypothesis block. In some examples, video decoder 300 may also perform local illumination compensation (LIC) on either or both the basic hypothesis block and/or the additional hypothesis block before forming the multi-hypothesis prediction block.

최종적으로, 비디오 디코더(300)는 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩(즉, 재생)할 수도 있다(412). 예를 들어, 비디오 디코더(300)는 현재 블록에 대한 양자화된 변환 계수들을 디코딩하고, 양자화된 변환 계수들을 역 양자화 및 변환하여 잔차 샘플들을 형성하고, 잔차 샘플들을 역 스캔하여 잔차 블록을 재생할 수도 있다. 비디오 디코더(300)는 그 후, 현재 블록을 복원(디코딩)하기 위해 샘플 바이 샘플 기반으로 잔차 블록과 다중 가설 예측 블록을 결합할 수도 있다.Finally, video decoder 300 may decode (i.e., play) the current block using the multi-hypothesis prediction block (412). For example, the video decoder 300 may decode the quantized transform coefficients for the current block, inversely quantize and transform the quantized transform coefficients to form residual samples, and inversely scan the residual samples to reproduce the residual block. . The video decoder 300 may then combine the residual block and the multi-hypothesis prediction block on a sample-by-sample basis to restore (decode) the current block.

이러한 방식으로, 도 7의 방법은 비디오 데이터를 디코딩(및/또는 인코딩)하는 방법의 예를 나타내며, 이는 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하는 단계; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 단계로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 머지 후보들 각각은 단방향 예측(uni-prediction) 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함한다.In this way, the method of Figure 7 represents an example of a method for decoding (and/or encoding) video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. coding the merge mode syntax element, indicating whether it is coded; Coding motion information for the second prediction block according to a merge mode syntax element, wherein the motion information for the second prediction block is encoded in the merge mode syntax element. When indicating that it is coded using , forming a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of uni-prediction motion information. Coding motion information for a prediction block; generating a second prediction block for the current block of video data using motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

본 개시의 기법들의 다양한 예들은 다음의 조항들에서 요약된다:Various examples of the techniques of this disclosure are summarized in the following provisions:

조항 1: 비디오 데이터를 디코딩하는 방법으로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 추가적인 예측 가설로서 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함하는, 방법.Clause 1: A method of decoding video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; generating a second prediction block for the current block of video data as an additional prediction hypothesis; determining whether to apply local lighting compensation (LIC) to a second prediction block depending on whether LIC has been applied to the first prediction block; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 2: 조항 1에 있어서, 기본 인터 예측 모드는 단방향 인터 예측 또는 양방향 인터 예측 중 하나를 포함하는, 방법.Clause 2: The method of Clause 1, wherein the default inter prediction mode includes one of one-way inter prediction or two-way inter prediction.

조항 3: 조항 1 및 조항 2 중 임의의 조항에 있어서, 제1 예측 블록에 LIC를 적용하는 단계를 더 포함하며, 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 것은 제1 예측 블록에 LIC를 적용한 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 것을 포함하는, 방법.Clause 3: The clause of any of clauses 1 and 2, further comprising applying the LIC to the first prediction block, wherein determining whether to apply the LIC to the second prediction block comprises applying the LIC to the first prediction block. The method comprising determining to apply LIC to the second prediction block in response to applying .

조항 4: 조항 1 및 조항 2 중 임의의 조항에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계는, 제1 예측 블록에 LIC를 적용하고 AMVP 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 단계를 포함하는, 방법.Clause 4: The method of any of clauses 1 and 2, comprising: applying LIC to the first prediction block; and coding motion information for a second prediction block using an advanced motion vector prediction (AMVP) mode, wherein determining whether to apply LIC to the second prediction block comprises: Applying LIC to and determining to apply LIC to the second prediction block in response to coding motion information for the second prediction block using AMVP mode.

조항 5: 조항 1 및 조항 2 중 임의의 조항에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 머지 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 대해 LIC를 적용할지 여부를 결정하는 단계는: 제2 예측 블록의 머지 후보에 대한 LIC 플래그를 코딩하는 단계; 및 제2 예측 블록의 머지 후보에 대한 LIC 플래그의 값에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 포함하는, 방법.Clause 5: The method of any of clauses 1 and 2, comprising: applying LIC to the first prediction block; and coding motion information for the second prediction block using a merge mode, wherein determining whether to apply LIC to the second prediction block includes: coding the LIC flag; and determining whether to apply LIC to the second prediction block according to the value of the LIC flag for the merge candidate of the second prediction block.

조항 6: 비디오 데이터를 디코딩하는 방법으로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하는 단계; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 단계; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함하는, 방법.Clause 6: A method of decoding video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. coding the merge mode syntax element, indicating whether it is coded; coding motion information for the second prediction block according to a merge mode syntax element; generating a second prediction block for the current block of video data using motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 7: 비디오 데이터를 코딩하는 방법으로서, 조항 1 내지 조항 5 중 임의의 조항의 방법과 조항 6의 방법의 조합을 포함하는, 방법.Clause 7: A method of coding video data, comprising a combination of the method of any of clauses 1 to 5 and the method of clause 6.

조항 8: 조항 6 및 조항 7 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용됨을 표시하는 경우, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 모션 정보를 상속받을 머지 후보를 표시하는 머지 인덱스를 코딩하는 단계를 포함하는, 방법.Clause 8: The clause of any of clauses 6 and 7, wherein if the merge mode syntax element indicates that merge mode is used, coding the motion information for the second prediction block comprises: A method comprising coding a merge index indicating a merge candidate to inherit.

조항 9: 조항 6 및 조항 7 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용되지 않음을 표시하는 경우, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 코딩하는 단계를 포함하는, 방법.Clause 9: The clauses of any of clauses 6 and 7, wherein if the merge mode syntax element indicates that merge mode is not used, then coding the motion information for the second prediction block comprises: A method comprising coding a reference picture index, a motion vector predictor index, and a motion vector difference.

조항 10: 조항 6 내지 조항 9 중 임의의 조항에 있어서, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 방법.Clause 10: The method of any of clauses 6 to 9, wherein coding the motion information for the second prediction block comprises forming a merge candidate list comprising one or more merge candidates, each of the merge candidates comprising: A method representing respective sets of one-way predictive motion information.

조항 11: 조항 10에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 모션 가설을 포함하고, 방법은 동일한 머지 후보 리스트를 사용하여 추가적인 모션 가설들 각각에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 11: The clause 10, wherein the second prediction block includes one additional motion hypothesis among the plurality of additional motion hypotheses, and the method further comprises coding motion information for each of the additional motion hypotheses using the same merge candidate list. A method comprising further steps.

조항 12: 조항 10 및 조항 11 중 임의의 조항에 있어서, 상기 머지 후보 리스트를 형성하는 단계는, 기하학적 파티셔닝 모드(GPM)의 머지 후보 리스트 구성 프로세스에 따라 머지 후보 리스트를 형성하는 단계를 포함하는, 방법.Clause 12: The clause of any of clauses 10 and 11, wherein forming the merge candidate list comprises forming the merge candidate list according to a merge candidate list construction process in geometric partitioning mode (GPM). method.

조항 13: 조항 6 내지 조항 9 중 임의의 조항에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 모션 가설을 포함하며, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는: 2 개 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계; 제2 예측 블록에 대한 모션 정보에 대해 머지 후보 리스트로부터 머지 후보들 중 하나를 선택하는 단계; 및 머지 후보들 중 상기 하나를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 포함하고, 방법은: 머지 후보 리스트로부터 머지 후보들 중 상기 하나를 제거하여 감소된 머지 후보 리스트를 형성하는 단계; 및 감소된 머지 후보 리스트 내 나머지 머지 후보들 중 하나를 사용하여 제3 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 13: The method of any of clauses 6-9, wherein the second prediction block comprises one additional motion hypothesis among a plurality of additional motion hypotheses, and coding motion information for the second prediction block comprises: forming a merge candidate list including two or more merge candidates; selecting one of the merge candidates from the merge candidate list for motion information for the second prediction block; and coding motion information for a second prediction block using said one of the merge candidates, the method comprising: removing said one of the merge candidates from a merge candidate list to form a reduced merge candidate list; and coding motion information for the third prediction block using one of the remaining merge candidates in the reduced merge candidate list.

조항 14: 조항 13에 있어서, 제2 예측 블록에 대한 제1 머지 후보 인덱스를 코딩하는 단계로서, 머지 후보 리스트는 N 개의 머지 후보들을 갖고, N은 1보다 큰 양의 정수이고, 제1 머지 후보 인덱스는 N의 최대 가능한 절삭된 이진 값을 갖는, 상기 제1 머지 후보 인덱스를 코딩하는 단계; 및 제3 예측 블록에 대한 제2 머지 후보 인덱스를 코딩하는 단계로서, 감소된 머지 후보 리스트는 N-1 개의 머지 후보들을 갖고, 제2 머지 후보 인덱스는 N-1의 최대 가능한 절삭된 이진 값을 갖는, 상기 제2 머지 후보 인덱스를 코딩하는 단계를 더 포함하는, 방법.Clause 14: The clause 13, wherein coding a first merge candidate index for a second prediction block, wherein the merge candidate list has N merge candidates, N is a positive integer greater than 1, and the first merge candidate coding the first merge candidate index, wherein the index has N maximum possible truncated binary values; and coding a second merge candidate index for the third prediction block, wherein the reduced merge candidate list has N-1 merge candidates, and the second merge candidate index has N-1 maximum possible truncated binary values. The method further comprising coding the second merge candidate index, having:

조항 15: 조항 6 내지 조항 14 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트는 제1 예측 블록의 기본 인터 예측 모드를 위한 머지 모드 신택스 엘리먼트를 포함하는, 방법.Clause 15: The method of any of clauses 6-14, wherein the merge mode syntax element comprises a merge mode syntax element for a primary inter prediction mode of the first prediction block.

조항 16: 조항 6 내지 조항 14 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트는 제2 머지 모드 신택스 엘리먼트를 포함하고, 방법은 제1 예측 블록의 기본 인터 예측 모드를 위한 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 더 포함하며, 제2 머지 모드 신택스 엘리먼트는 제1 머지 모드 신택스 엘리먼트와는 상이한, 방법.Clause 16: The method of any of clauses 6 through 14, wherein the merge mode syntax element comprises a second merge mode syntax element, and the method comprises a first merge mode syntax element for a basic inter prediction mode of the first prediction block. The method further comprising coding, wherein the second merge mode syntax element is different from the first merge mode syntax element.

조항 17: 조항 16에 있어서, 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제1 CABAC 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩한 것에 응답하여 제1 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 17: The clause 16, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and a second A method, wherein coding the merge mode syntax element includes coding a second merge mode syntax element using the first CABAC context in response to coding the first merge mode syntax element using the first CABAC context.

조항 18: 조항 17에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 CABAC 컨텍스트인, 방법.Clause 18: The method of clause 17, wherein the first CABAC context is a CABAC context used for merge mode.

조항 19: 조항 17에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 제2 CABAC 컨텍스트와는 상이한, 방법.Clause 19: The method of Clause 17, wherein the first CABAC context is different from the second CABAC context used for merge mode.

조항 20: 조항 16에 있어서, 상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제2 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 20: The method of clause 16, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and The method of claim 2, wherein coding the merge mode syntax element includes coding the second merge mode syntax element using a second CABAC context.

조항 21: 조항 20에 있어서, 제2 CABAC 컨텍스트는 제1 CABAC 컨텍스트와는 상이한, 방법.Clause 21: The method of clause 20, wherein the second CABAC context is different from the first CABAC context.

조항 22: 조항 6 내지 조항 21 중 임의의 조항에 있어서, 방법은: 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 단계로서, 제3 예측 블록의 모션 정보를 코딩하는 단계는, 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하는 단계를 포함하고, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하는 단계; 및 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하는 단계를 더 포함하며, 제2 예측 블록을 생성하는 단계는, 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하는 단계를 포함하는, 방법.Clause 22: The method of any of clauses 6-21, wherein the method comprises: coding the motion information of the third prediction block using an advanced motion vector prediction (AMVP) mode, wherein the motion information of the third prediction block is: The coding step includes coding a motion vector difference (MVD) value with half luma sample resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block. coding motion information; and coding a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein generating the second prediction block comprises: generating the second prediction block using a 6-tap interpolation filter; Interpolating half-pixel samples of a reference block for .

조항 23: 비디오 데이터를 디코딩하는 방법으로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 추가적인 예측 가설로서 비디오 데이터의 현대 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함하는, 방법.Clause 23: A method of decoding video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; generating a second prediction block for the contemporary block of video data as an additional prediction hypothesis; determining whether to apply local lighting compensation (LIC) to a second prediction block depending on whether LIC has been applied to the first prediction block; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 24: 조항 23에 있어서, 기본 인터 예측 모드는 단방향 인터 예측 또는 양방향 인터 예측 중 하나를 포함하는, 방법.Clause 24: The method of clause 23, wherein the default inter prediction mode comprises one of one-way inter prediction or two-way inter prediction.

조항 25: 조항 23에 있어서, 제1 예측 블록에 LIC를 적용하는 단계를 더 포함하며, 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 것은 제1 예측 블록에 LIC를 적용한 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 것을 포함하는, 방법.Clause 25: The method of clause 23, further comprising applying LIC to the first prediction block, wherein determining whether to apply LIC to the second prediction block is performed by the second prediction block in response to applying the LIC to the first prediction block. A method comprising determining to apply LIC to a prediction block.

조항 26: 조항 23에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계는, 제1 예측 블록에 LIC를 적용하는 것 및 AMVP를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 단계를 포함하는, 방법.Clause 26: The method of clause 23, comprising: applying LIC to the first prediction block; and coding motion information for a second prediction block using an advanced motion vector prediction (AMVP) mode, wherein determining whether to apply LIC to the second prediction block comprises: Applying LIC to and determining to apply LIC to the second prediction block in response to coding motion information for the second prediction block using AMVP.

조항 27: 조항 23에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 머지 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 대해 LIC를 적용할지 여부를 결정하는 단계는: 제2 예측 블록의 머지 후보에 대한 LIC 플래그를 코딩하는 단계; 및 제2 예측 블록의 머지 후보에 대한 LIC 플래그의 값에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 포함하는, 방법.Clause 27: The method of clause 23, comprising: applying LIC to the first prediction block; and coding motion information for the second prediction block using a merge mode, wherein determining whether to apply LIC to the second prediction block includes: coding the LIC flag; and determining whether to apply LIC to the second prediction block according to the value of the LIC flag for the merge candidate of the second prediction block.

조항 28: 비디오 데이터를 디코딩하는 방법으로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하는 단계; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 단계; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함하는, 방법.Clause 28: A method of decoding video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. coding the merge mode syntax element, indicating whether it is coded; coding motion information for the second prediction block according to a merge mode syntax element; generating a second prediction block for the current block of video data using motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 29: 조항 28에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용됨을 표시하는 경우, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 모션 정보를 상속받을 머지 후보를 표시하는 머지 인덱스를 코딩하는 단계를 포함하는, 방법.Clause 29: The method of clause 28, wherein if the merge mode syntax element indicates that a merge mode is used, coding the motion information for the second prediction block indicates a merge candidate to inherit the motion information for the second prediction block. A method comprising coding a merge index.

조항 30: 조항 28에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용되지 않음을 표시하는 경우, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 코딩하는 단계를 포함하는, 방법.Clause 30: The method of clause 28, wherein if the merge mode syntax element indicates that merge mode is not used, coding motion information for the second prediction block comprises: a reference picture index for the second prediction block, a motion vector prediction A method comprising coding the ruler index and the motion vector difference.

조항 31: 조항 28에 있어서, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 방법.Clause 31: The method of clause 28, wherein coding the motion information for the second prediction block includes forming a merge candidate list including one or more merge candidates, each of the merge candidates being a respective one of the one-way prediction motion information. A method of representing sets.

조항 32: 조항 31에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 모션 가설을 포함하고, 방법은 동일한 머지 후보 리스트를 사용하여 추가적인 모션 가설들 각각에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 32: The clause 31, wherein the second prediction block includes one additional motion hypothesis among the plurality of additional motion hypotheses, and the method further comprises coding motion information for each of the additional motion hypotheses using the same merge candidate list. A method comprising further steps.

조항 33: 조항 31에 있어서, 머지 후보 리스트를 형성하는 단계는, 기하학적 파티셔닝 모드(GPM)의 머지 후보 리스트 구성 프로세스에 따라 머지 후보 리스트를 형성하는 단계를 포함하는, 방법.Clause 33: The method of clause 31, wherein forming the merge candidate list includes forming the merge candidate list according to a merge candidate list construction process in geometric partitioning mode (GPM).

조항 34: 조항 28에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 모션 가설을 포함하며, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는: 2 개 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계; 제2 예측 블록에 대한 모션 정보에 대해 머지 후보 리스트로부터 머지 후보들 중 하나를 선택하는 단계; 및 머지 후보들 중 상기 하나를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 포함하고, 방법은: 머지 후보 리스트로부터 머지 후보들 중 상기 하나를 제거하여 감소된 머지 후보 리스트를 형성하는 단계; 및 감소된 머지 후보 리스트 내 나머지 머지 후보들 중 하나를 사용하여 제3 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 34: The method of clause 28, wherein the second prediction block includes one additional motion hypothesis among the plurality of additional motion hypotheses, and coding the motion information for the second prediction block comprises: comprising two or more merge candidates. forming a merge candidate list; selecting one of the merge candidates from the merge candidate list for motion information for the second prediction block; and coding motion information for a second prediction block using said one of the merge candidates, the method comprising: removing said one of the merge candidates from a merge candidate list to form a reduced merge candidate list; and coding motion information for the third prediction block using one of the remaining merge candidates in the reduced merge candidate list.

조항 35: 조항 34에 있어서, 제2 예측 블록에 대한 제1 머지 후보 인덱스를 코딩하는 단계로서, 머지 후보 리스트는 N 개의 머지 후보들을 갖고, N은 1보다 큰 양의 정수이고, 제1 머지 후보 인덱스는 N의 최대 가능한 절삭된 이진 값을 갖는, 상기 제1 머지 후보 인덱스를 코딩하는 단계; 및 제3 예측 블록에 대한 제2 머지 후보 인덱스를 코딩하는 단계로서, 감소된 머지 후보 리스트는 N-1 개의 머지 후보들을 갖고, 제2 머지 후보 인덱스는 N-1의 최대 가능한 절삭된 이진 값을 갖는, 상기 제2 머지 후보 인덱스를 코딩하는 단계를 더 포함하는, 방법.Clause 35: The clause 34, wherein coding a first merge candidate index for a second prediction block, wherein the merge candidate list has N merge candidates, N is a positive integer greater than 1, and the first merge candidate coding the first merge candidate index, wherein the index has N maximum possible truncated binary values; and coding a second merge candidate index for the third prediction block, wherein the reduced merge candidate list has N-1 merge candidates, and the second merge candidate index has N-1 maximum possible truncated binary values. The method further comprising coding the second merge candidate index, having:

조항 36: 조항 28에 있어서, 머지 모드 신택스 엘리먼트는 제1 예측 블록의 기본 인터 예측 모드를 위한 머지 모드 신택스 엘리먼트를 포함하는, 방법.Clause 36: The method of clause 28, wherein the merge mode syntax element comprises a merge mode syntax element for a primary inter prediction mode of the first prediction block.

조항 37: 조항 28에 있어서, 머지 모드 신택스 엘리먼트는 제2 머지 모드 신택스 엘리먼트를 포함하고, 방법은 제1 예측 블록의 기본 인터 예측 모드를 위한 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 더 포함하며, 제2 머지 모드 신택스 엘리먼트는 제1 머지 모드 신택스 엘리먼트와는 상이한, 방법.Clause 37: The method of clause 28, wherein the merge mode syntax element comprises a second merge mode syntax element, and the method further comprises coding the first merge mode syntax element for a primary inter prediction mode of the first prediction block, , wherein the second merge mode syntax element is different from the first merge mode syntax element.

조항 38: 조항 37에 있어서, 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제1 CABAC 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩한 것에 응답하여 제1 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 38: The clause 37, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and a second A method, wherein coding the merge mode syntax element includes coding a second merge mode syntax element using the first CABAC context in response to coding the first merge mode syntax element using the first CABAC context.

조항 39: 조항 38에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 CABAC 컨텍스트인, 방법.Clause 39: The method of clause 38, wherein the first CABAC context is a CABAC context used for merge mode.

조항 40: 조항 38에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 제2 CABAC 컨텍스트와는 상이한, 방법.Clause 40: The method of clause 38, wherein the first CABAC context is different from the second CABAC context used for merge mode.

조항 41: 조항 37에 있어서, 상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제2 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 41: The clause 37, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and The method of claim 2, wherein coding the merge mode syntax element includes coding the second merge mode syntax element using a second CABAC context.

조항 42: 조항 41에 있어서, 제2 CABAC 컨텍스트는 제1 CABAC 컨텍스트와는 상이한, 방법.Clause 42: The method of clause 41, wherein the second CABAC context is different from the first CABAC context.

조항 43: 조항 28에 있어서, 방법은: 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 단계로서, 제3 예측 블록의 모션 정보를 코딩하는 단계는, 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하는 단계를 포함하며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하는 단계; 및 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하는 단계를 더 포함하며, 제2 예측 블록을 생성하는 단계는, 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하는 단계를 포함하는, 방법.Clause 43: The method of clause 28, wherein: coding the motion information of the third prediction block using an advanced motion vector prediction (AMVP) mode, wherein coding the motion information of the third prediction block comprises: half luma coding motion information of a third prediction block, comprising coding a motion vector difference (MVD) value with sample resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block to the current block; and coding a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein generating the second prediction block comprises: generating the second prediction block using a 6-tap interpolation filter; Interpolating half-pixel samples of a reference block for .

조항 44: 조항 1 내지 조항 43 중 임의의 조항에 있어서, 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하는 단계를 더 포함하는, 방법.Clause 44: The method of any of clauses 1-43, further comprising encoding the current block prior to decoding the current block.

조항 45: 비디오 데이터를 디코딩하기 위한 디바이스로서, 상기 디바이스는 조항 1 내지 조항 44 중 임의의 조항의 방법을 수행하기 위한 하나 이상의 수단을 포함하는, 디바이스.Clause 45: A device for decoding video data, the device comprising one or more means for performing the method of any of clauses 1 to 44.

조항 46: 조항 45에 있어서, 상기 하나 이상의 수단은 회로부에서 구현되는 하나 이상의 프로세서들을 포함하는, 디바이스.Clause 46: The device of clause 45, wherein the one or more means comprises one or more processors implemented in circuitry.

조항 47: 조항 45 및 조항 46 중 임의의 조항에 있어서, 디코딩된 비디오 데이터를 디스플레이하도록 구성된 디스플레이를 더 포함하는, 디바이스.Clause 47: The device of any of clauses 45 and 46, further comprising a display configured to display decoded video data.

조항 48: 조항 45 내지 조항 47 중 임의의 조항에 있어서, 디바이스는 카메라, 컴퓨터, 모바일 디바이스, 브로드캐스트 수신기 디바이스, 또는 셋톱 박스 중 하나 이상을 포함하는, 디바이스.Clause 48: The device of any of clauses 45-47, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set top box.

조항 49: 조항 45 내지 조항 48에 있어서, 비디오 데이터를 저장하도록 구성된 메모리를 더 포함하는, 디바이스.Clause 49: The device of clauses 45-48, further comprising a memory configured to store video data.

조항 50: 명령들을 저장한 컴퓨터 판독가능 저장 매체로서, 명령들은, 실행될 때, 비디오 데이터를 디코딩하기 위한 디바이스의 프로세서로 하여금 조항 1 내지 조항 44 중 임의의 조항의 방법을 수행하게 하는, 컴퓨터 판독가능 저장 매체.Clause 50: A computer-readable storage medium storing instructions that, when executed, cause a processor of a device for decoding video data to perform the method of any of clauses 1-44. storage media.

조항 51: 비디오 데이터를 디코딩하기 위한 디바이스로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하기 위한 수단; 추가적인 예측 가설로서 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하기 위한 수단; 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하기 위한 수단; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하기 위한 수단; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하기 위한 수단을 포함하는, 디바이스.Clause 51: A device for decoding video data, comprising: means for generating a first prediction block for a current block of video data using a basic inter prediction mode; means for generating a second prediction block for the current block of video data as an additional prediction hypothesis; means for determining whether to apply local lighting compensation (LIC) to a second prediction block depending on whether LIC has been applied to the first prediction block; means for forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and means for decoding the current block using the multiple hypothesis prediction block.

조항 52: 비디오 데이터를 디코딩하기 위한 디바이스로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하기 위한 수단; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하기 위한 수단; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하기 위한 수단; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하기 위한 수단을 포함하는, 디바이스.Clause 52: A device for decoding video data, comprising: means for generating a first prediction block for a current block of video data using a basic inter prediction mode; As a means for coding a merge mode syntax element for a second prediction block, the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. means for coding the merge mode syntax element, indicating whether the merge mode syntax element is coded; means for coding motion information for the second prediction block according to a merge mode syntax element; means for generating a second prediction block for a current block of video data using motion information; means for forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and means for decoding the current block using the multiple hypothesis prediction block.

조항 53: 비디오 데이터를 디코딩하는 방법으로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 머지 모드 신택스 엘리먼트를 코딩하는 단계; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 단계로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함하는, 방법.Clause 53: A method of decoding video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. coding a merge mode syntax element, indicating whether to be coded; Coding motion information for the second prediction block according to a merge mode syntax element, wherein the motion information for the second prediction block is encoded in the merge mode syntax element. When indicating that it is coded using , forming a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. coding; generating a second prediction block for the current block of video data using motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 54: 조항 53에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용됨을 표시하는 경우, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 모션 정보를 상속받을 머지 후보를 표시하는 머지 인덱스를 코딩하는 단계를 포함하는, 방법.Clause 54: The clause 53, wherein if the merge mode syntax element indicates that a merge mode is used, coding the motion information for the second prediction block comprises selecting a merge candidate to inherit the motion information for the second prediction block. A method comprising coding a merge index to indicate.

조항 55: 조항 53에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용되지 않음을 표시하는 경우, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 코딩하는 단계를 포함하는, 방법.Clause 55: The method of clause 53, wherein if the merge mode syntax element indicates that merge mode is not used, coding motion information for the second prediction block comprises: a reference picture index for the second prediction block, a motion vector A method comprising coding a predictor index and a motion vector difference.

조항 56: 조항 53에 있어서, 머지 후보 리스트를 형성하는 단계는: 제1 모션 정보 및 제2 모션 정보를 사용하여 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하는 단계; 및 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계로서, 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계는 적어도 하나의 단방향 예측 머지 후보에 대해 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만을 선택하는 단계를 포함하는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계를 포함하는, 방법.Clause 56: The clause 53, wherein forming a merge candidate list comprises: determining that a neighboring block for the second prediction block is bi-directionally predicted using the first motion information and the second motion information; and forming at least one unidirectional prediction merge candidate from the neighboring block, wherein forming the at least one unidirectional prediction merge candidate includes only one of the first motion information or the second motion information for the at least one unidirectional prediction merge candidate. A method comprising forming the at least one one-way prediction merge candidate, comprising selecting .

조항 57: 조항 56에 있어서, 상기 머지 후보 리스트를 형성하는 단계는, 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하는 단계; 및 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하는 단계를 포함하는, 방법.Clause 57: The method of clause 56, wherein forming the merge candidate list comprises: forming a first one-way prediction merge candidate using first motion information; and forming a second one-way prediction merge candidate using the second motion information.

조항 58: 조항 53에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 모션 가설을 포함하고, 방법은 동일한 머지 후보 리스트를 사용하여 추가적인 모션 가설들 각각에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 58: The clause 53, wherein the second prediction block includes one additional motion hypothesis among the plurality of additional motion hypotheses, and the method further comprises coding motion information for each of the additional motion hypotheses using the same merge candidate list. A method comprising further steps.

조항 59: 조항 53에 있어서, 상기 머지 후보 리스트를 형성하는 단계는, 기하학적 파티셔닝 모드(GPM)의 머지 후보 리스트 구성 프로세스에 따라 머지 후보 리스트를 형성하는 단계를 포함하는, 방법.Clause 59: The method of clause 53, wherein forming the merge candidate list includes forming the merge candidate list according to a merge candidate list construction process in geometric partitioning mode (GPM).

조항 60: 조항 53에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 예측 가설을 포함하며, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는: 2 개 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계; 제2 예측 블록에 대한 모션 정보에 대해 머지 후보 리스트로부터 머지 후보들 중 하나를 선택하는 단계; 및 머지 후보들 중 상기 하나를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 포함하고, 방법은: 머지 후보 리스트로부터 머지 후보들 중 상기 하나를 제거하여 감소된 머지 후보 리스트를 형성하는 단계; 및 감소된 머지 후보 리스트 내 나머지 머지 후보들 중 하나를 사용하여 제3 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 60: The clause 53, wherein the second prediction block includes one additional prediction hypothesis among the plurality of additional motion hypotheses, and coding the motion information for the second prediction block comprises: including two or more merge candidates. forming a merge candidate list; selecting one of the merge candidates from the merge candidate list for motion information for the second prediction block; and coding motion information for a second prediction block using said one of the merge candidates, the method comprising: removing said one of the merge candidates from a merge candidate list to form a reduced merge candidate list; and coding motion information for the third prediction block using one of the remaining merge candidates in the reduced merge candidate list.

조항 61: 조항 60에 있어서, 제2 예측 블록에 대한 제1 머지 후보 인덱스를 코딩하는 단계로서, 머지 후보 리스트는 N 개의 머지 후보들을 갖고, N은 1보다 큰 양의 정수이고, 제1 머지 후보 인덱스는 N의 최대 가능한 절삭된 이진 값을 갖는, 상기 제1 머지 후보 인덱스를 코딩하는 단계; 및 제3 예측 블록에 대한 제2 머지 후보 인덱스를 코딩하는 단계로서, 감소된 머지 후보 리스트는 N-1 개의 머지 후보들을 갖고, 제2 머지 후보 인덱스는 N-1의 최대 가능한 절삭된 이진 값을 갖는, 상기 제2 머지 후보 인덱스를 코딩하는 단계를 더 포함하는, 방법.Clause 61: The clause 60, wherein coding a first merge candidate index for a second prediction block, wherein the merge candidate list has N merge candidates, N is a positive integer greater than 1, and the first merge candidate coding the first merge candidate index, wherein the index has N maximum possible truncated binary values; and coding a second merge candidate index for the third prediction block, wherein the reduced merge candidate list has N-1 merge candidates, and the second merge candidate index has N-1 maximum possible truncated binary values. The method further comprising coding the second merge candidate index, having:

조항 62: 조항 53에 있어서, 머지 모드 신택스 엘리먼트는 제1 예측 블록의 기본 인터 예측 모드를 위한 머지 모드 신택스 엘리먼트를 포함하는, 방법.Clause 62: The method of clause 53, wherein the merge mode syntax element comprises a merge mode syntax element for a primary inter prediction mode of the first prediction block.

조항 63: 조항 53에 있어서, 머지 모드 신택스 엘리먼트는 제2 머지 모드 신택스 엘리먼트를 포함하고, 방법은 제1 예측 블록의 기본 인터 예측 모드를 위한 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 더 포함하며, 제2 머지 모드 신택스 엘리먼트는 제1 머지 모드 신택스 엘리먼트와는 상이한, 방법.Clause 63: The clause 53, wherein the merge mode syntax element comprises a second merge mode syntax element, and the method further comprises coding the first merge mode syntax element for a primary inter prediction mode of the first prediction block, and , wherein the second merge mode syntax element is different from the first merge mode syntax element.

조항 64: 조항 63에 있어서, 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제1 CABAC 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩한 것에 응답하여 제1 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 64: The clause 63, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and a second A method, wherein coding the merge mode syntax element includes coding a second merge mode syntax element using the first CABAC context in response to coding the first merge mode syntax element using the first CABAC context.

조항 65: 조항 64에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 CABAC 컨텍스트인, 방법.Clause 65: The method of clause 64, wherein the first CABAC context is a CABAC context used for merge mode.

조항 66: 조항 64에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 제2 CABAC 컨텍스트와는 상이한, 방법.Clause 66: The method of clause 64, wherein the first CABAC context is different from the second CABAC context used for merge mode.

조항 67: 조항 63에 있어서, 상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제2 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 67: The clause 63, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and The method of claim 2, wherein coding the merge mode syntax element includes coding the second merge mode syntax element using a second CABAC context.

조항 68: 조항 67에 있어서, 제2 CABAC 컨텍스트는 제1 CABAC 컨텍스트와는 상이한, 방법.Clause 68: The method of clause 67, wherein the second CABAC context is different from the first CABAC context.

조항 69: 조항 53에 있어서, 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 단계로서, 제3 예측 블록의 모션 정보를 코딩하는 단계는, 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하는 단계를 포함하며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하는 단계; 및 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록을 생성하는 단계는, 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하는 단계를 포함하는, 방법.Clause 69: The method of clause 53, wherein coding the motion information of the third prediction block using an advanced motion vector prediction (AMVP) mode, wherein coding the motion information of the third prediction block comprises half luma sample resolution. Coding a motion vector difference (MVD) value having a motion vector difference (MVD) value, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block; and coding a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein generating the second prediction block comprises: second prediction using a 6-tap interpolation filter; A method comprising interpolating half-pixel samples of a reference block for the block.

조항 70: 조항 53에 있어서, 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 더 포함하는, 방법.Clause 70: The method of clause 53, further comprising determining whether to apply local lighting compensation (LIC) to the second prediction block depending on whether LIC was applied to the first prediction block.

조항 71: 조항 70에 있어서, 기본 인터 예측 모드는 단방향 인터 예측 또는 양방향 인터 예측 중 하나를 포함하는, 방법.Clause 71: The method of clause 70, wherein the default inter prediction mode comprises one of one-way inter prediction or two-way inter prediction.

조항 72: 조항 70에 있어서, 제1 예측 블록에 LIC를 적용하는 단계를 더 포함하며, 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 것은 제1 예측 블록에 LIC를 적용한 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 것을 포함하는, 방법.Clause 72: The clause 70, further comprising applying the LIC to the first prediction block, wherein determining whether to apply the LIC to the second prediction block is performed by the second prediction block in response to applying the LIC to the first prediction block. A method comprising determining to apply LIC to a prediction block.

조항 73: 조항 70에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계는, 제1 예측 블록에 LIC를 적용하는 것 및 AMVP를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 단계를 포함하는, 방법.Clause 73: The method of clause 70, comprising: applying LIC to the first prediction block; and coding motion information for a second prediction block using an advanced motion vector prediction (AMVP) mode, wherein determining whether to apply LIC to the second prediction block comprises: Applying LIC to and determining to apply LIC to the second prediction block in response to coding motion information for the second prediction block using AMVP.

조항 74: 조항 70에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 머지 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 대해 LIC를 적용할지 여부를 결정하는 단계는: 제2 예측 블록의 머지 후보에 대한 LIC 플래그를 코딩하는 단계; 및 제2 예측 블록의 머지 후보에 대한 LIC 플래그의 값에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 포함하는, 방법.Clause 74: The method of clause 70, comprising: applying LIC to the first prediction block; and coding motion information for the second prediction block using a merge mode, wherein determining whether to apply LIC to the second prediction block includes: coding the LIC flag; and determining whether to apply LIC to the second prediction block according to the value of the LIC flag for the merge candidate of the second prediction block.

조항 75: 조항 53에 있어서, 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하는 단계를 더 포함하는, 방법.Clause 75: The method of clause 53, further comprising encoding the current block before decoding the current block.

조항 76: 비디오 데이터를 디코딩하기 위한 디바이스로서, 비디오 데이터를 저장하도록 구성된 메모리; 및 회로부에서 구현되는 하나 이상의 프로세서들을 포함하며, 상기 하나 이상의 프로세서들은: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 것으로서, 모션 정보를 코딩하기 위해, 하나 이상의 프로세서들은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하도록 구성되며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 모션 정보를 코딩하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하도록 구성되는, 디바이스.Clause 76: A device for decoding video data, comprising: a memory configured to store video data; and one or more processors implemented in circuitry, wherein the one or more processors: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element is such that motion information for the second prediction block is coded using merge mode. code the merge mode syntax element to indicate whether to do so; coding the motion information for the second prediction block according to the merge mode syntax element, wherein to code the motion information, the one or more processors may configure the merge mode syntax element to cause the motion information for the second prediction block to use merge mode. when indicating coded, is configured to form a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information, coding the motion information; generate a second prediction block for the current block of video data using the motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 77: 조항 76에 있어서, 머지 후보 리스트를 형성하기 위해, 상기 하나 이상의 프로세서들은: 제1 모션 정보 및 제2 모션 정보를 사용하여 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하고; 그리고 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하는 것으로서, 하나 이상의 프로세서들은 적어도 하나의 단방향 예측 머지 후보에 대해 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만을 선택하도록 구성되는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하도록 구성되는, 디바이스.Clause 77: The clause 76 of clause 76, wherein to form a merge candidate list, the one or more processors: determine that a neighboring block for a second prediction block is bi-directionally predicted using first motion information and second motion information; and forming at least one unidirectional prediction merge candidate from a neighboring block, wherein the one or more processors are configured to select only one of the first motion information or the second motion information for the at least one unidirectional prediction merge candidate. A device configured to form a one-way prediction merge candidate.

조항 78: 조항 77에 있어서, 머지 후보 리스트를 형성하기 위해, 상기 하나 이상의 프로세서들은: 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하고; 그리고 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하도록 구성되는, 디바이스.Clause 78: The clause 77, wherein to form a merge candidate list, the one or more processors: use first motion information to form a first one-way predictive merge candidate; and form a second one-way prediction merge candidate using the second motion information.

조항 79: 조항 76에 있어서, 상기 하나 이상의 프로세서들은 추가로: 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 것으로서, 제3 예측 블록의 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하도록 구성되며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하고; 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하도록 구성되며, 제2 예측 블록을 생성하기 위해, 상기 하나 이상의 프로세서들은 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하도록 구성되는, 디바이스.Clause 79: The method of clause 76, wherein the one or more processors further: code the motion information of the third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, wherein: , the one or more processors are configured to code a motion vector difference (MVD) value with half luma sample resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block. coding information; configured to code a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein to generate the second prediction block, the one or more processors use a 6-tap interpolation filter to A device configured to interpolate half-pixel samples of a reference block for .

조항 80: 조항 76에 있어서, 상기 하나 이상의 프로세서는, 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하도록 구성되는, 디바이스.Clause 80: The device of clause 76, wherein the one or more processors are configured to determine whether to apply local lighting compensation (LIC) to the second prediction block depending on whether LIC was applied to the first prediction block.

조항 81: 조항 76에 있어서, 상기 하나 이상의 프로세서들은 추가로, 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하도록 구성되는, 디바이스.Clause 81: The device of clause 76, wherein the one or more processors are further configured to encode the current block before decoding the current block.

조항 82: 조항 76에 있어서, 디코딩된 비디오 데이터를 디스플레이하도록 구성된 디스플레이를 더 포함하는, 디바이스.Clause 82: The device of clause 76, further comprising a display configured to display decoded video data.

조항 83: 조항 76에 있어서, 디바이스는 카메라, 컴퓨터, 모바일 디바이스, 브로드캐스트 수신기 디바이스, 또는 셋톱 박스 중 하나 이상을 포함하는, 디바이스.Clause 83: The device of clause 76, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set top box.

조항 84: 명령들이 저장된 컴퓨터 판독가능 저장 매체로서, 명령들은, 실행 시, 프로세서로 하여금: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하게 하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하게 하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하게 하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하게 하는 것으로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 것은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 것을 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하게 하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하게 하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하게 하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하게 하는, 컴퓨터 판독가능 저장 매체.Clause 84: A computer readable storage medium having stored thereon instructions that, when executed, cause a processor to: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. code the merge mode syntax element, indicating whether to code; By coding the motion information for the second prediction block according to the merge mode syntax element, coding the motion information for the second prediction block means that the merge mode syntax element causes the motion information for the second prediction block to be in merge mode. When indicating that it is coded using, forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information, motion information for the second prediction block. Let them code; generate a second prediction block for the current block of video data using the motion information; form a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multiple hypothesis prediction block.

조항 85: 조항 84에 있어서, 프로세서로 하여금 머지 후보 리스트를 형성하게 하는 명령들은, 프로세서로 하여금: 제1 모션 정보 및 제2 모션 정보를 사용하여 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하게 하고; 그리고 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하게 하는 것으로서, 프로세서로 하여금 적어도 하나의 단방향 예측 머지 후보에 대해 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만을 선택하게 하는 명령들을 포함하는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.Clause 85: The clause 84 of clause 84, wherein the instructions causing the processor to form a merge candidate list further cause the processor to: determine that a neighboring block to the second prediction block is bi-directionally predicted using the first motion information and the second motion information. to do; and forming at least one one-way prediction merge candidate from a neighboring block, comprising instructions that cause the processor to select only one of the first motion information or the second motion information for the at least one one-way prediction merge candidate, A computer-readable storage medium comprising instructions for forming the at least one one-way predictive merge candidate.

조항 86: 조항 85에 있어서, 프로세서로 하여금 머지 후보 리스트를 형성하게 하는 명령들은, 프로세서로 하여금: 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하게 하고; 그리고 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.Clause 86: The clause 85, wherein the instructions causing the processor to form a merge candidate list further cause the processor to: form a first one-way predictive merge candidate using first motion information; and instructions for forming a second one-way predictive merge candidate using the second motion information.

조항 87: 조항 84에 있어서, 프로세서로 하여금: 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하게 하는 것으로서, 프로세서로 하여금 제3 예측 블록의 모션 정보를 코딩하게 하는 명령들은, 프로세서로 하여금 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하게 하는 명령들을 포함하며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하게 하고; 그리고 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하게 하는 명령들을 더 포함하며, 프로세서로 하여금 제2 예측 블록을 생성하게 하는 명령들은, 프로세서로 하여금 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.Clause 87: The clause 84 of clause 84, further comprising: causing the processor to: code the motion information of the third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, wherein: cause the processor to code the motion information of the third prediction block. The instructions include instructions that cause a processor to code a motion vector difference (MVD) value with half luma sample resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block to the current block. coding the motion information of the block; and further include instructions for causing the processor to code a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein the instructions for causing the processor to generate the second prediction block are to cause the processor to perform 6-tap interpolation. A computer-readable storage medium comprising instructions for interpolating half-pixel samples of a reference block to a second prediction block using a filter.

조항 88: 조항 84에 있어서, 프로세서로 하여금, 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하게 하는 명령들을 더 포함하는, 컴퓨터 판독가능 저장 매체.Clause 88: The computer of clause 84, further comprising instructions that cause the processor to determine whether to apply local illumination compensation (LIC) to the second prediction block depending on whether LIC was applied to the first prediction block. Readable storage medium.

조항 89: 조항 84에 있어서, 프로세서로 하여금 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하게 하는 명령들을 더 포함하는, 컴퓨터 판독가능 저장 매체.Clause 89: The computer-readable storage medium of clause 84, further comprising instructions to cause the processor to encode the current block prior to decoding the current block.

조항 90: 비디오 데이터를 디코딩하기 위한 디바이스로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하기 위한 수단; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단으로서, 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하기 위한 수단을 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하기 위한 수단; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하기 위한 수단; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하기 위한 수단을 포함하는, 디바이스.Clause 90: A device for decoding video data, comprising: means for generating a first prediction block for a current block of video data using a basic inter prediction mode; As a means for coding a merge mode syntax element for a second prediction block, the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. means for coding the merge mode syntax element, indicating whether the merge mode syntax element is coded; Means for coding motion information for a second prediction block according to a merge mode syntax element, wherein the merge mode syntax element includes motion information for the second prediction block. When indicating that it is coded using a merge mode, means for forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. means for coding motion information for; means for generating a second prediction block for a current block of video data using motion information; means for forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and means for decoding the current block using the multiple hypothesis prediction block.

조항 91: 비디오 데이터를 디코딩하는 방법으로서, 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하는 단계; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 단계로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하는 단계; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하는 단계를 포함하는, 방법.Clause 91: A method of decoding video data, comprising: generating a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. coding the merge mode syntax element, indicating whether it is coded; Coding motion information for the second prediction block according to a merge mode syntax element, wherein the motion information for the second prediction block is encoded in the merge mode syntax element. When indicating that it is coded using , forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. coding information; generating a second prediction block for the current block of video data using motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 92: 조항 91에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용됨을 표시하는 경우, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 모션 정보를 상속받을 머지 후보를 표시하는 머지 인덱스를 코딩하는 단계를 포함하는, 방법.Clause 92: The clause 91, wherein if the merge mode syntax element indicates that merge mode is used, then coding motion information for the second prediction block comprises selecting a merge candidate to inherit the motion information for the second prediction block. A method comprising coding a merge index to indicate.

조항 93: 조항 91 및 조항 92 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트가 머지 모드가 사용되지 않음을 표시하는 경우, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 제2 예측 블록에 대한 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 코딩하는 단계를 포함하는, 방법.Clause 93: The clause of any of clauses 91 and 92, wherein if the merge mode syntax element indicates that merge mode is not used, coding the motion information for the second prediction block comprises: A method comprising coding a reference picture index, a motion vector predictor index, and a motion vector difference.

조항 94: 조항 91 내지 조항 93 중 임의의 조항에 있어서, 머지 후보 리스트를 형성하는 단계는: 제1 모션 정보 및 제2 모션 정보를 사용하여 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하는 단계; 및 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계로서, 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계는 적어도 하나의 단방향 예측 머지 후보에 대해 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만을 선택하는 단계를 포함하는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계를 포함하는, 방법.Clause 94: The method of any of clauses 91-93, wherein forming the merge candidate list comprises: determining that a neighboring block for the second prediction block is bi-directionally predicted using the first motion information and the second motion information. step; and forming at least one unidirectional prediction merge candidate from the neighboring block, wherein forming the at least one unidirectional prediction merge candidate includes only one of the first motion information or the second motion information for the at least one unidirectional prediction merge candidate. A method comprising forming the at least one one-way prediction merge candidate, comprising selecting .

조항 95: 조항 94에 있어서, 상기 머지 후보 리스트를 형성하는 단계는, 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하는 단계; 및 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하는 단계를 포함하는, 방법.Clause 95: The clause 94, wherein forming the merge candidate list comprises: forming a first one-way prediction merge candidate using first motion information; and forming a second one-way prediction merge candidate using the second motion information.

조항 96: 조항 91 내지 조항 95 중 임의의 조항에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 모션 가설을 포함하고, 방법은 동일한 머지 후보 리스트를 사용하여 추가적인 모션 가설들 각각에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 96: The method of any of clauses 91-95, wherein the second prediction block includes one additional motion hypothesis from a plurality of additional motion hypotheses, and the method comprises merging each of the additional motion hypotheses using the same merge candidate list. A method further comprising coding motion information for.

조항 97: 조항 91 내지 조항 96 중 임의의 조항에 있어서, 상기 머지 후보 리스트를 형성하는 단계는, 기하학적 파티셔닝 모드(GPM)의 머지 후보 리스트 구성 프로세스에 따라 머지 후보 리스트를 형성하는 단계를 포함하는, 방법.Clause 97: The method of any of clauses 91-96, wherein forming the merge candidate list comprises forming the merge candidate list according to a merge candidate list construction process in geometric partitioning mode (GPM). method.

조항 98: 조항 91 내지 조항 97 중 임의의 조항에 있어서, 제2 예측 블록은 복수의 추가적인 모션 가설들 중 1 개의 추가적인 예측 가설을 포함하며, 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는: 2 개 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계; 제2 예측 블록에 대한 모션 정보에 대해 머지 후보 리스트로부터 머지 후보들 중 하나를 선택하는 단계; 및 머지 후보들 중 상기 하나를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 포함하고, 방법은: 머지 후보 리스트로부터 머지 후보들 중 상기 하나를 제거하여 감소된 머지 후보 리스트를 형성하는 단계; 및 감소된 머지 후보 리스트 내 나머지 머지 후보들 중 하나를 사용하여 제3 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 방법.Clause 98: The method of any of clauses 91-97, wherein the second prediction block comprises one additional prediction hypothesis among a plurality of additional motion hypotheses, and coding motion information for the second prediction block comprises: forming a merge candidate list including two or more merge candidates; selecting one of the merge candidates from the merge candidate list for motion information for the second prediction block; and coding motion information for a second prediction block using said one of the merge candidates, the method comprising: removing said one of the merge candidates from a merge candidate list to form a reduced merge candidate list; and coding motion information for the third prediction block using one of the remaining merge candidates in the reduced merge candidate list.

조항 99: 조항 98에 있어서, 제2 예측 블록에 대한 제1 머지 후보 인덱스를 코딩하는 단계로서, 머지 후보 리스트는 N 개의 머지 후보들을 갖고, N은 1보다 큰 양의 정수이고, 제1 머지 후보 인덱스는 N의 최대 가능한 절삭된 이진 값을 갖는, 상기 제1 머지 후보 인덱스를 코딩하는 단계; 및 제3 예측 블록에 대한 제2 머지 후보 인덱스를 코딩하는 단계로서, 감소된 머지 후보 리스트는 N-1 개의 머지 후보들을 갖고, 제2 머지 후보 인덱스는 N-1의 최대 가능한 절삭된 이진 값을 갖는, 상기 제2 머지 후보 인덱스를 코딩하는 단계를 더 포함하는, 방법.Clause 99: The clause 98, wherein coding a first merge candidate index for a second prediction block, wherein the merge candidate list has N merge candidates, N is a positive integer greater than 1, and the first merge candidate coding the first merge candidate index, wherein the index has N maximum possible truncated binary values; and coding a second merge candidate index for the third prediction block, wherein the reduced merge candidate list has N-1 merge candidates, and the second merge candidate index has N-1 maximum possible truncated binary values. The method further comprising coding the second merge candidate index, having:

조항 100: 조항 91 내지 조항 99 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트는 제1 예측 블록의 기본 인터 예측 모드를 위한 머지 모드 신택스 엘리먼트를 포함하는, 방법.Clause 100: The method of any of clauses 91-99, wherein the merge mode syntax element comprises a merge mode syntax element for a primary inter prediction mode of the first prediction block.

조항 101: 조항 91 내지 조항 100 중 임의의 조항에 있어서, 머지 모드 신택스 엘리먼트는 제2 머지 모드 신택스 엘리먼트를 포함하고, 방법은 제1 예측 블록의 기본 인터 예측 모드를 위한 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 더 포함하며, 제2 머지 모드 신택스 엘리먼트는 제1 머지 모드 신택스 엘리먼트와는 상이한, 방법.Clause 101: The method of any of clauses 91-100, wherein the merge mode syntax element comprises a second merge mode syntax element, and the method comprises a first merge mode syntax element for a basic inter prediction mode of the first prediction block. The method further comprising coding, wherein the second merge mode syntax element is different from the first merge mode syntax element.

조항 102: 조항 101에 있어서, 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제1 CABAC 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩한 것에 응답하여 제1 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 102: The clause 101, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and a second A method, wherein coding the merge mode syntax element includes coding a second merge mode syntax element using the first CABAC context in response to coding the first merge mode syntax element using the first CABAC context.

조항 103: 조항 102에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 CABAC 컨텍스트인, 방법.Clause 103: The method of clause 102, wherein the first CABAC context is a CABAC context used for merge mode.

조항 104: 조항 102에 있어서, 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 제2 CABAC 컨텍스트와는 상이한, 방법.Clause 104: The method of clause 102, wherein the first CABAC context is different from the second CABAC context used for merge mode.

조항 105: 조항 101에 있어서, 상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제2 CABAC 컨텍스트를 사용하여 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 방법.Clause 105: The clause 101, wherein coding the first merge mode syntax element comprises coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and The method of claim 2, wherein coding the merge mode syntax element includes coding the second merge mode syntax element using a second CABAC context.

조항 106: 조항 105에 있어서, 제2 CABAC 컨텍스트는 제1 CABAC 컨텍스트와는 상이한, 방법.Clause 106: The method of clause 105, wherein the second CABAC context is different from the first CABAC context.

조항 107: 조항 91 내지 조항 106 중 임의의 조항에 있어서, 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 단계로서, 제3 예측 블록의 모션 정보를 코딩하는 단계는, 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하는 단계를 포함하며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하는 단계; 및 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록을 생성하는 단계는, 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하는 단계를 포함하는, 방법.Clause 107: The method of any of clauses 91-106, wherein coding the motion information of the third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, comprising: coding the motion information of the third prediction block. , comprising coding a motion vector difference (MVD) value with half luma sample resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block, the motion information of the third prediction block. coding step; and coding a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein generating the second prediction block comprises: second prediction using a 6-tap interpolation filter; A method comprising interpolating half-pixel samples of a reference block for the block.

조항 108: 조항 91 내지 조항 107 중 임의의 조항에 있어서, 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 더 포함하는, 방법.Clause 108: The method of any of clauses 91-107, further comprising determining whether to apply local lighting compensation (LIC) to the second prediction block depending on whether LIC was applied to the first prediction block. , method.

조항 109: 조항 108에 있어서, 기본 인터 예측 모드는 단방향 인터 예측 또는 양방향 인터 예측 중 하나를 포함하는, 방법.Clause 109: The method of clause 108, wherein the default inter prediction mode comprises one of one-way inter prediction or two-way inter prediction.

조항 110: 조항 108 및 조항 109 중 임의의 조항에 있어서, 제1 예측 블록에 LIC를 적용하는 단계를 더 포함하며, 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 것은 제1 예측 블록에 LIC를 적용한 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 것을 포함하는, 방법.Clause 110: The clause of any of clauses 108 and 109, further comprising applying the LIC to the first prediction block, wherein determining whether to apply the LIC to the second prediction block comprises applying the LIC to the first prediction block. The method comprising determining to apply LIC to the second prediction block in response to applying .

조항 111: 조항 108 내지 조항 110 중 임의의 조항에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계는, 제1 예측 블록에 LIC를 적용하는 것 및 AMVP를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 것에 응답하여 제2 예측 블록에 LIC를 적용할 것을 결정하는 단계를 포함하는, 방법.Clause 111: The method of any of clauses 108-110, comprising: applying LIC to the first prediction block; and coding motion information for a second prediction block using an advanced motion vector prediction (AMVP) mode, wherein determining whether to apply LIC to the second prediction block comprises: Applying LIC to and determining to apply LIC to the second prediction block in response to coding motion information for the second prediction block using AMVP.

조항 112: 조항 108 내지 조항 111 중 임의의 조항에 있어서, 제1 예측 블록에 LIC를 적용하는 단계; 및 머지 모드를 사용하여 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며, 상기 제2 예측 블록에 대해 LIC를 적용할지 여부를 결정하는 단계는: 제2 예측 블록의 머지 후보에 대한 LIC 플래그를 코딩하는 단계; 및 제2 예측 블록의 머지 후보에 대한 LIC 플래그의 값에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 포함하는, 방법.Clause 112: The method of any of clauses 108-111, comprising: applying LIC to the first prediction block; and coding motion information for the second prediction block using a merge mode, wherein determining whether to apply LIC to the second prediction block includes: coding the LIC flag; and determining whether to apply LIC to the second prediction block according to the value of the LIC flag for the merge candidate of the second prediction block.

조항 113: 조항 91 내지 조항 112 중 임의의 조항에 있어서, 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하는 단계를 더 포함하는, 방법.Clause 113: The method of any of clauses 91-112, further comprising encoding the current block prior to decoding the current block.

조항 114: 비디오 데이터를 디코딩하기 위한 디바이스로서, 비디오 데이터를 저장하도록 구성된 메모리; 및 회로부에서 구현되는 하나 이상의 프로세서들을 포함하며, 하나 이상의 프로세서들은: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하는 것으로서, 모션 정보를 코딩하기 위해, 하나 이상의 프로세서들은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하도록 구성되며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 모션 정보를 코딩하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하도록 구성되는, 디바이스.Article 114: A device for decoding video data, comprising: a memory configured to store video data; and one or more processors implemented in circuitry, wherein the one or more processors: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element is such that motion information for the second prediction block is coded using merge mode. code the merge mode syntax element to indicate whether to do so; coding the motion information for the second prediction block according to the merge mode syntax element, wherein to code the motion information, the one or more processors may configure the merge mode syntax element to cause the motion information for the second prediction block to use merge mode. when indicating coded, is configured to form a merge candidate list including one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information, coding the motion information; generate a second prediction block for the current block of video data using the motion information; forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multi-hypothesis prediction block.

조항 115: 조항 114에 있어서, 머지 후보 리스트를 형성하기 위해, 상기 하나 이상의 프로세서들은: 제1 모션 정보 및 제2 모션 정보를 사용하여 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하고; 그리고 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하는 것으로서, 하나 이상의 프로세서들은 적어도 하나의 단방향 예측 머지 후보에 대해 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만을 선택하도록 구성되는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하도록 구성되는, 디바이스.Clause 115: The clause 114 of clause 114, wherein to form a merge candidate list, the one or more processors: determine that a neighboring block for a second prediction block is bi-directionally predicted using first motion information and second motion information; and forming at least one unidirectional prediction merge candidate from a neighboring block, wherein the one or more processors are configured to select only one of the first motion information or the second motion information for the at least one unidirectional prediction merge candidate. A device configured to form a one-way prediction merge candidate.

조항 116: 조항 115에 있어서, 머지 후보 리스트를 형성하기 위해, 상기 하나 이상의 프로세서들은: 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하고; 그리고 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하도록 구성되는, 디바이스.Clause 116: The clause 115 of clause 115, wherein to form a merge candidate list, the one or more processors: use first motion information to form a first one-way predictive merge candidate; and form a second one-way prediction merge candidate using the second motion information.

조항 117: 조항 114 내지 조항 116 중 임의의 조항에 있어서, 상기 하나 이상의 프로세서들은 추가로: 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 것으로서, 제3 예측 블록의 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하도록 구성되며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하고; 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하도록 구성되며, 제2 예측 블록을 생성하기 위해, 상기 하나 이상의 프로세서들은 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하도록 구성되는, 디바이스.Clause 117: The clause of any of clauses 114-116, wherein the one or more processors further: code motion information of the third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, wherein the third prediction block: To code motion information, the one or more processors are configured to code a motion vector difference (MVD) value with half luma sample resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block, coding motion information of the third prediction block; configured to code a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein to generate the second prediction block, the one or more processors use a 6-tap interpolation filter to A device configured to interpolate half-pixel samples of a reference block for .

조항 118: 조항 114 내지 조항 117 중 임의의 조항에 있어서, 상기 하나 이상의 프로세서는, 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하도록 구성되는, 디바이스.Clause 118: The clauses of any of clauses 114-117, wherein the one or more processors determine whether to apply local lighting compensation (LIC) to a second prediction block depending on whether LIC was applied to the first prediction block. A device configured to:

조항 119: 조항 114 내지 조항 118 중 임의의 조항에 있어서, 상기 하나 이상의 프로세서들은 추가로, 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하도록 구성되는, 디바이스.Clause 119: The device of any of clauses 114-118, wherein the one or more processors are further configured to encode the current block before decoding the current block.

조항 120: 조항 114 내지 조항 119 중 임의의 조항에 있어서, 디코딩된 비디오 데이터를 디스플레이하도록 구성된 디스플레이를 더 포함하는, 디바이스.Clause 120: The device of any of clauses 114-119, further comprising a display configured to display decoded video data.

조항 121: 조항 114 내지 조항 120 중 임의의 조항에 있어서, 디바이스는 카메라, 컴퓨터, 모바일 디바이스, 브로드캐스트 수신기 디바이스, 또는 셋톱 박스 중 하나 이상을 포함하는, 디바이스.Clause 121: The device of any of clauses 114-120, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set top box.

조항 122: 명령들이 저장된 컴퓨터 판독가능 저장 매체로서, 명령들은, 실행 시, 프로세서로 하여금: 기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하게 하고; 제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하게 하는 것으로서, 제2 예측 블록은 현재 블록에 대한 추가적인 예측 가설을 나타내며, 머지 모드 신택스 엘리먼트는 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하게 하고; 머지 모드 신택스 엘리먼트에 따라 제2 예측 블록에 대한 모션 정보를 코딩하게 하는 것으로서, 제2 예측 블록에 대한 모션 정보를 코딩하는 것은, 머지 모드 신택스 엘리먼트가 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 것을 포함하며, 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하게 하고; 모션 정보를 사용하여 비디오 데이터의 현재 블록에 대한 제2 예측 블록을 생성하게 하고; 제1 예측 블록과 제2 예측 블록의 조합으로서 현재 블록에 대한 다중 가설 예측 블록을 형성하게 하고; 그리고 다중 가설 예측 블록을 사용하여 현재 블록을 디코딩하게 하는, 컴퓨터 판독가능 저장 매체.Clause 122: A computer-readable storage medium having stored thereon instructions that, when executed, cause a processor to: generate a first prediction block for a current block of video data using a basic inter prediction mode; Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block uses merge mode. code the merge mode syntax element, indicating whether to code; By coding the motion information for the second prediction block according to the merge mode syntax element, coding the motion information for the second prediction block means that the merge mode syntax element causes the motion information for the second prediction block to be in merge mode. When indicating that it is coded using, forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information, motion information for the second prediction block. Let them code; generate a second prediction block for the current block of video data using the motion information; form a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and decoding the current block using the multiple hypothesis prediction block.

조항 123: 조항 122에 있어서, 프로세서로 하여금 머지 후보 리스트를 형성하게 하는 명령들은, 프로세서로 하여금: 제1 모션 정보 및 제2 모션 정보를 사용하여 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하게 하고; 그리고 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하게 하는 것으로서, 프로세서로 하여금 적어도 하나의 단방향 예측 머지 후보에 대해 제1 모션 정보 또는 제2 모션 정보 중 오직 하나만을 선택하게 하는 명령들을 포함하는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.Clause 123: The clause 122, wherein the instructions causing the processor to form a merge candidate list further cause the processor to: Determine that a neighboring block for the second prediction block is bi-directionally predicted using the first motion information and the second motion information. to do; and forming at least one one-way prediction merge candidate from a neighboring block, comprising instructions that cause the processor to select only one of the first motion information or the second motion information for the at least one one-way prediction merge candidate, A computer-readable storage medium comprising instructions for forming the at least one one-way predictive merge candidate.

조항 124: 조항 123에 있어서, 프로세서로 하여금 머지 후보 리스트를 형성하게 하는 명령들은, 프로세서로 하여금: 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하게 하고; 그리고 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.Clause 124: The clause 123, wherein the instructions causing the processor to form a merge candidate list further cause the processor to: form a first one-way predictive merge candidate using first motion information; and instructions for forming a second one-way predictive merge candidate using the second motion information.

조항 125: 조항 122 내지 조항 124 중 임의의 조항에 있어서, 프로세서로 하여금: 어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하게 하는 것으로서, 프로세서로 하여금 제3 예측 블록의 모션 정보를 코딩하게 하는 명령들은, 프로세서로 하여금 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하게 하는 명령들을 포함하며, 제3 예측 블록은 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하게 하고; 그리고 제3 예측 블록을 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하게 하는 명령들을 더 포함하며, 프로세서로 하여금 제2 예측 블록을 생성하게 하는 명령들은, 프로세서로 하여금 6탭 보간 필터를 사용하여 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.Clause 125: The method of any of clauses 122-124, further comprising: causing the processor to: code the motion information of the third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, wherein the processor encodes the motion information of the third prediction block using Advanced Motion Vector Prediction (AMVP) mode. The instructions for coding the motion information include instructions for causing the processor to code a motion vector difference (MVD) value with half luma sample resolution, wherein the third prediction block is the basic inter prediction of the neighboring block with respect to the current block. code motion information of the third prediction block, which is a block; and further include instructions for causing the processor to code a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block, wherein the instructions for causing the processor to generate the second prediction block are to cause the processor to perform 6-tap interpolation. A computer-readable storage medium comprising instructions for interpolating half-pixel samples of a reference block to a second prediction block using a filter.

조항 126: 조항 122 내지 조항 125 중 임의의 조항에 있어서, 프로세서로 하여금, 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 제2 예측 블록에 LIC를 적용할지 여부를 결정하게 하는 명령들을 더 포함하는, 컴퓨터 판독가능 저장 매체.Clause 126: The method of any of clauses 122-125, further comprising: causing the processor to determine whether to apply local lighting compensation (LIC) to a second prediction block depending on whether LIC was applied to the first prediction block. A computer-readable storage medium further comprising instructions.

조항 127: 조항 122 내지 조항 126 중 임의의 조항에 있어서, 프로세서로 하여금 현재 블록을 디코딩하기 전에 현재 블록을 인코딩하게 하는 명령들을 더 포함하는, 컴퓨터 판독가능 저장 매체.Clause 127: The computer-readable storage medium of any of clauses 122-126, further comprising instructions to cause the processor to encode the current block prior to decoding the current block.

예에 의존하여, 본 명세서에 설명된 기법들 중 임의의 것의 소정의 액트들 또는 이벤트들은 상이한 시퀀스로 수행될 수 있고, 모두 함께 더해지거나 머지되거나 또는 제거될 수도 있음(예를 들어, 기법들의 실시를 위해 모든 설명된 액트들 또는 이벤트들이 필수적인 것은 아님)이 인식되어야 한다. 더욱이, 소정의 예들에서, 액트들 또는 이벤트들은 순차적이기보다는 동시에, 예를 들어 멀티 스레디드 프로세싱, 인터럽트 프로세싱, 또는 다수의 프로세서들을 통해, 수행될 수도 있다.Depending on the example, certain acts or events of any of the techniques described herein may be performed in different sequences and may be added or merged or removed all together (e.g., implementation of the techniques It should be recognized that not all described acts or events are essential for . Moreover, in certain examples, acts or events may be performed concurrently rather than sequentially, such as through multi-threaded processing, interrupt processing, or multiple processors.

하나 이상의 예들에서, 설명된 기능들은 하드웨어, 소프트웨어, 펌웨어, 또는 이들의 임의의 조합에서 구현될 수도 있다. 소프트웨어에서 구현되는 경우, 기능들은 컴퓨터 판독가능 매체 상에서 하나 이상의 명령들 또는 코드로서 저장되거나 또는 이를 통해 송신되고 하드웨어 기반 프로세싱 유닛에 의해 실행될 수도 있다. 컴퓨터 판독가능 매체들은, 데이터 저장 매체들과 같은 유형의(tangible) 매체에 대응하는 컴퓨터 판독가능 저장 매체들 또는, 예를 들어 통신 프로토콜에 따라, 한 장소로부터 다른 장소로의 컴퓨터 프로그램의 전송을 용이하게 하는 임의의 매체를 포함하는 통신 매체들을 포함할 수도 있다. 이러한 방식으로, 컴퓨터 판독가능 매체들은 일반적으로 (1) 비일시적인, 유형의 컴퓨터 판독가능 저장 매체들 또는 (2) 신호 또는 캐리어 파와 같은 통신 매체에 대응할 수도 있다. 데이터 저장 매체들은 본 개시에서 설명된 기법들의 구현을 위한 명령들, 코드 및/또는 데이터 구조들을 검색하기 위해 하나 이상의 컴퓨터들 또는 하나 이상의 프로세서들에 의해 액세스될 수 있는 임의의 이용가능한 매체들일 수도 있다. 컴퓨터 프로그램 제품은 컴퓨터 판독가능 매체를 포함할 수도 있다.In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media refers to a computer-readable storage medium, such as a tangible medium, such as data storage media, or a computer program that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. It may also include communication media including any medium that allows. In this manner, computer-readable media may generally correspond to (1) non-transitory, tangible computer-readable storage media or (2) communication media, such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. . A computer program product may include computer-readable media.

한정이 아닌 예로서, 이러한 컴퓨터 판독가능 저장 매체들은 RAM, ROM, EEPROM, CD-ROM 또는 다른 광학 디스크 스토리, 자기 디스크 스토리지, 또는 다른 자기 스토리지 디바이스들, 플래시 메모리, 또는 명령들 또는 데이터 구조들의 형태로 원하는 프로그램 코드를 저장하기 위해 사용될 수 있고 컴퓨터에 의해 액세스될 수 있는 임의의 다른 매체를 포함할 수 있다. 또한, 임의의 커넥션이 컴퓨터 판독가능 매체로 적절히 칭해진다. 예를 들어, 동축 케이블, 광섬유 케이블, 트위스트 페어(twisted pair), 디지털 가입자 라인(DSL), 또는 적외선, 라디오, 및 마이크로파와 같은 무선 기술들을 사용하여 웹사이트, 서버, 또는 다른 원격 소스로부터 명령들이 송신된다면, 동축 케이블, 광섬유 케이블, 트위스트 페어, DSL, 또는 적외선, 라디오, 및 마이크로파와 같은 무선 기술들이 매체의 정의에 포함된다. 그러나, 컴퓨터 판독가능 저장 매체들 및 데이터 저장 매체들은 커넥션들, 캐리어파들, 신호들, 또는 다른 일시적 매체들을 포함하지 않지만 대신에 비일시적, 유형의 저장 매체들로 지향됨이 이해되어야 한다. 본 명세서에서 사용된 바와 같은, 디스크(disk) 및 디스크(disc)는 콤팩트 디스크(CD), 레이저 디스크, 광학 디스크, DVD(digital versatile disc), 플로피 디스크 및 블루레이 디스크를 포함하며, 여기서 디스크(disk)들은 일반적으로 데이터를 자기적으로 재생하는 반면, 디스크(disc)는 레이저를 사용하여 데이터를 광학적으로 재생한다. 상기의 조합들 또한, 컴퓨터 판독가능 매체들의 범위 내에 포함되어야 한다.By way of example, and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or in the form of instructions or data structures. It may be used to store desired program code and may include any other medium that can be accessed by a computer. Additionally, any connection is properly termed a computer-readable medium. For example, commands can be sent from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave. When transmitted, coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transient media, but are instead directed to non-transitory, tangible storage media. As used herein, disk and disc include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray disc, where disk ( Disks generally reproduce data magnetically, while discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

명령들은 하나 이상의 프로세서들, 이를 테면 하나 이상의 디지털 신호 프로세서들(DSP들), 범용 마이크로프로세서들, 주문형 집적 회로들(ASIC들), 필드 프로그래밍가능 게이트 어레이들(FPGA들), 또는 다른 등가의 집적 또는 이산 로직 회로부에 의해 실행될 수도 있다. 이에 따라, 본 명세서에서 사용된 바와 같은 용어들 "프로세서" 및 "프로세싱 회로부"는 본 명세서에서 설명된 기법들의 구현에 적합한 임의의 다른 구조 또는 전술한 구조들 중 임의의 것을 지칭할 수도 있다. 추가로, 일부 양태들에서, 본 명세서에서 설명된 기능성은 인코딩 및 디코딩을 위해 구성되는 또는 결합된 코덱에 통합되는 전용 하드웨어 및/또는 소프트웨어 모듈들 내에서 제공될 수도 있다. 또한, 기법들은 하나 이상의 회로들 또는 로직 엘리먼트들에서 완전히 구현될 수도 있다.The instructions may be transferred to one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other equivalent integrated circuits. Alternatively, it may be implemented by discrete logic circuitry. Accordingly, the terms “processor” and “processing circuitry” as used herein may refer to any of the foregoing structures or any other structure suitable for implementation of the techniques described herein. Additionally, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding or incorporated into a combined codec. Additionally, the techniques may be fully implemented in one or more circuits or logic elements.

본 개시의 기법들은 무선 핸드셋, 집적 회로(IC) 또는 IC들의 세트(예를 들면, 칩 세트)를 포함하는, 광범위하게 다양한 디바이스들 또는 장치들에서 구현될 수도 있다. 다양한 컴포넌트들, 모듈들, 또는 유닛들이 개시된 기법들을 수행하도록 구성된 디바이스들의 기능적 양태들을 강조하기 위해 본 개시에서 설명되지만, 상이한 하드웨어 유닛들에 의한 실현을 반드시 필요로 하는 것은 아니다. 오히려, 상술된 바와 같이, 다양한 유닛들은 코덱 하드웨어 유닛에 결합될 수도 있고, 또는 적합한 소프트웨어 및/또는 펌웨어와 함께, 상술된 바와 같은 하나 이상의 프로세서들을 포함하는 상호동작 하드웨어 유닛들의 집합에 의해 제공될 수도 있다.The techniques of this disclosure may be implemented in a wide variety of devices or apparatus, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to highlight functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require implementation by different hardware units. Rather, as described above, the various units may be coupled to a codec hardware unit, or may be provided by a set of interoperable hardware units including one or more processors as described above, together with appropriate software and/or firmware. there is.

다양한 예들이 기술되었다. 이들 그리고 다른 예들이 다음의 청구항들의 범위 내에 있다.Various examples have been described. These and other examples are within the scope of the following claims.

Claims (38)

비디오 데이터를 디코딩하는 방법으로서,
기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하는 단계;
제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 단계로서, 상기 제2 예측 블록은 상기 현재 블록에 대한 추가적인 예측 가설을 나타내며, 상기 머지 모드 신택스 엘리먼트는 상기 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하는 단계;
상기 머지 모드 신택스 엘리먼트에 따라 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계로서, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는, 상기 머지 모드 신택스 엘리먼트가 상기 제2 예측 블록에 대한 상기 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계를 포함하며, 상기 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계;
상기 모션 정보를 사용하여 상기 비디오 데이터의 상기 현재 블록에 대한 상기 제2 예측 블록을 생성하는 단계;
상기 제1 예측 블록과 상기 제2 예측 블록의 조합으로서 상기 현재 블록에 대한 다중 가설 예측 블록을 형성하는 단계; 및
상기 다중 가설 예측 블록을 사용하여 상기 현재 블록을 디코딩하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
A method for decoding video data, comprising:
generating a first prediction block for a current block of video data using a basic inter prediction mode;
Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block is merged. coding the merge mode syntax element, indicating whether it is coded using a mode;
Coding motion information for the second prediction block according to the merge mode syntax element, wherein the step of coding motion information for the second prediction block includes the merge mode syntax element for the second prediction block. When indicating that the motion information is coded using a merge mode, forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. coding motion information for a second prediction block;
generating the second prediction block for the current block of the video data using the motion information;
forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and
A method of decoding video data, comprising decoding the current block using the multiple hypothesis prediction block.
제 1 항에 있어서,
상기 머지 모드 신택스 엘리먼트가 머지 모드가 사용됨을 표시하는 경우, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 상기 제2 예측 블록에 대한 상기 모션 정보를 상속받을 머지 후보를 표시하는 머지 인덱스를 코딩하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
When the merge mode syntax element indicates that a merge mode is used, coding motion information for the second prediction block includes generating a merge index indicating a merge candidate to inherit the motion information for the second prediction block. A method of decoding video data, comprising the step of coding.
제 1 항에 있어서,
상기 머지 모드 신택스 엘리먼트가 머지 모드가 사용되지 않음을 표시하는 경우, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는 상기 제2 예측 블록에 대한 참조 픽처 리스트 식별자, 참조 픽처 인덱스, 모션 벡터 예측자 인덱스, 및 모션 벡터 차이를 코딩하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
If the merge mode syntax element indicates that merge mode is not used, coding motion information for the second prediction block may include predicting a reference picture list identifier, reference picture index, and motion vector for the second prediction block. A method for decoding video data, comprising coding a character index, and a motion vector difference.
제 1 항에 있어서,
상기 머지 후보 리스트를 형성하는 단계는:
제1 모션 정보 및 제2 모션 정보를 사용하여 상기 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하는 단계; 및
상기 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계로서, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계는 상기 적어도 하나의 단방향 예측 머지 후보에 대해 상기 제1 모션 정보 또는 상기 제2 모션 정보 중 오직 하나만을 선택하는 단계를 포함하는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하는 단계
를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The steps of forming the merge candidate list are:
determining that a neighboring block for the second prediction block is bi-directionally predicted using first motion information and second motion information; and
Forming at least one unidirectional prediction merge candidate from the neighboring block, wherein forming the at least one unidirectional prediction merge candidate includes the first motion information or the second motion for the at least one unidirectional prediction merge candidate. forming the at least one one-way prediction merge candidate, comprising selecting only one of the information
A method of decoding video data, including.
제 4 항에 있어서,
상기 머지 후보 리스트를 형성하는 단계는:
상기 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하는 단계; 및
상기 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하는 단계
를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 4,
The steps of forming the merge candidate list are:
forming a first unidirectional prediction merge candidate using the first motion information; and
Forming a second one-way prediction merge candidate using the second motion information.
A method of decoding video data, including.
제 1 항에 있어서,
상기 제2 예측 블록은 복수의 추가적인 예측 가설들 중 1 개의 추가적인 예측 가설을 포함하고, 상기 방법은 동일한 머지 후보 리스트를 사용하여 상기 추가적인 예측 가설들 각각에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The second prediction block includes one additional prediction hypothesis among a plurality of additional prediction hypotheses, and the method further includes coding motion information for each of the additional prediction hypotheses using the same merge candidate list. , how to decode video data.
제 1 항에 있어서,
상기 머지 후보 리스트를 형성하는 단계는, 기하학적 파티셔닝 모드(GPM)의 머지 후보 리스트 구성 프로세스에 따라 상기 머지 후보 리스트를 형성하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
Wherein forming the merge candidate list includes forming the merge candidate list according to a merge candidate list construction process in geometric partitioning mode (GPM).
제 1 항에 있어서,
상기 제2 예측 블록은 복수의 추가적인 예측 가설들 중 1 개의 추가적인 예측 가설을 포함하며, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계는:
2 개 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 단계;
상기 제2 예측 블록에 대한 상기 모션 정보에 대해 상기 머지 후보 리스트로부터 상기 머지 후보들 중 하나를 선택하는 단계; 및
상기 머지 후보들 중 상기 하나를 사용하여 상기 제2 예측 블록에 대한 상기 모션 정보를 코딩하는 단계를 포함하고,
상기 방법은:
상기 머지 후보 리스트로부터 상기 머지 후보들 중 상기 하나를 제거하여 감소된 머지 후보 리스트를 형성하는 단계; 및
상기 감소된 머지 후보 리스트 내 나머지 머지 후보들 중 하나를 사용하여 제3 예측 후보에 대한 모션 정보를 코딩하는 단계를 더 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The second prediction block includes one additional prediction hypothesis among a plurality of additional prediction hypotheses, and coding motion information for the second prediction block includes:
forming a merge candidate list including two or more merge candidates;
selecting one of the merge candidates from the merge candidate list for the motion information for the second prediction block; and
coding the motion information for the second prediction block using the one of the merge candidates,
The above method is:
forming a reduced merge candidate list by removing the one of the merge candidates from the merge candidate list; and
The method further comprising coding motion information for a third prediction candidate using one of the remaining merge candidates in the reduced merge candidate list.
제 8 항에 있어서,
상기 제2 예측 블록에 대한 제1 머지 후보 인덱스를 코딩하는 단계로서, 상기 머지 후보 리스트는 N 개의 머지 후보들을 갖고, N은 1보다 큰 양의 정수이고, 상기 제1 머지 후보 인덱스는 N의 최대 가능한 절삭된 이진 값을 갖는, 상기 제1 머지 후보 인덱스를 코딩하는 단계; 및
상기 제3 예측 후보에 대한 제2 머지 후보 인덱스를 코딩하는 단계로서, 상기 감소된 머지 후보 리스트는 N-1 개의 머지 후보들을 갖고, 상기 제2 머지 후보 인덱스는 N-1의 최대 가능한 절삭된 이진 값을 갖는, 상기 제2 머지 후보 인덱스를 코딩하는 단계를 더 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 8,
Coding a first merge candidate index for the second prediction block, wherein the merge candidate list has N merge candidates, N is a positive integer greater than 1, and the first merge candidate index is a maximum of N. coding the first merge candidate index with possible truncated binary values; and
coding a second merge candidate index for the third prediction candidate, wherein the reduced merge candidate list has N-1 merge candidates, and the second merge candidate index is a maximum possible truncated binary number of N-1. The method of decoding video data further comprising coding the second merge candidate index with a value.
제 1 항에 있어서,
상기 머지 모드 신택스 엘리먼트는 상기 제1 예측 블록의 상기 기본 인터 예측 모드를 위한 머지 모드 신택스 엘리먼트를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The merge mode syntax element includes a merge mode syntax element for the basic inter prediction mode of the first prediction block.
제 1 항에 있어서,
상기 머지 모드 신택스 엘리먼트는 제2 머지 모드 신택스 엘리먼트를 포함하고, 상기 방법은 상기 제1 예측 블록의 상기 기본 인터 예측 모드를 위한 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 더 포함하며, 상기 제2 머지 모드 신택스 엘리먼트는 상기 제1 머지 모드 신택스 엘리먼트와는 상이한, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The merge mode syntax element includes a second merge mode syntax element, and the method further includes coding a first merge mode syntax element for the basic inter prediction mode of the first prediction block, wherein the second merge mode syntax element includes A merge mode syntax element is different from the first merge mode syntax element.
제 11 항에 있어서,
상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 상기 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 상기 제1 CABAC 컨텍스트를 사용하여 상기 제1 머지 모드 신택스 엘리먼트를 코딩한 것에 응답하여 상기 제1 CABAC 컨텍스트를 사용하여 상기 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 11,
Coding the first merge mode syntax element includes coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and coding the second merge mode syntax element Coding includes coding the second merge mode syntax element using the first CABAC context in response to coding the first merge mode syntax element using the first CABAC context. How to.
제 12 항에 있어서,
상기 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 CABAC 컨텍스트인, 비디오 데이터를 디코딩하는 방법.
According to claim 12,
The method of decoding video data, wherein the first CABAC context is a CABAC context used for merge mode.
제 12 항에 있어서,
상기 제1 CABAC 컨텍스트는 머지 모드를 위해 사용되는 제2 CABAC 컨텍스트와는 상이한, 비디오 데이터를 디코딩하는 방법.
According to claim 12,
The method of decoding video data, wherein the first CABAC context is different from the second CABAC context used for merge mode.
제 11 항에 있어서,
상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계는 제1 컨텍스트 적응형 이진 산술 코딩(CABAC) 컨텍스트를 사용하여 상기 제1 머지 모드 신택스 엘리먼트를 코딩하는 단계를 포함하고, 상기 제2 머지 모드 신택스 엘리먼트를 코딩하는 것은 제2 CABAC 컨텍스트를 사용하여 상기 제2 머지 모드 신택스 엘리먼트를 코딩하는 것을 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 11,
Coding the first merge mode syntax element includes coding the first merge mode syntax element using a first context adaptive binary arithmetic coding (CABAC) context, and coding the second merge mode syntax element The method of decoding video data, wherein coding includes coding the second merge mode syntax element using a second CABAC context.
제 15 항에 있어서,
상기 제2 CABAC 컨텍스트는 제1 CABAC 컨텍스트와는 상이한, 비디오 데이터를 디코딩하는 방법.
According to claim 15,
The method of decoding video data, wherein the second CABAC context is different from the first CABAC context.
제 1 항에 있어서,
어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 단계로서, 상기 제3 예측 블록의 모션 정보를 코딩하는 단계는, 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하는 단계를 포함하고, 상기 제3 예측 블록은 상기 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하는 단계; 및
상기 제3 예측 블록을 상기 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하는 단계를 더 포함하며,
상기 제2 예측 블록을 생성하는 단계는, 6탭 보간 필터를 사용하여 상기 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
Coding the motion information of the third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, wherein coding the motion information of the third prediction block includes a motion vector difference (MVD) with half luma sample resolution. coding motion information of the third prediction block, including coding a value, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block; and
further comprising coding a candidate index identifying the third prediction block as a motion information candidate for the second prediction block,
Wherein generating the second prediction block includes interpolating half-pixel samples of a reference block for the second prediction block using a 6-tap interpolation filter.
제 1 항에 있어서,
상기 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 더 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The method further comprising determining whether to apply local illumination compensation (LIC) to the second prediction block depending on whether LIC has been applied to the first prediction block.
제 18 항에 있어서,
상기 기본 인터 예측 모드는 단방향 인터 예측 또는 양방향 인터 예측 중 하나를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 18,
The method of decoding video data, wherein the basic inter prediction mode includes one of unidirectional inter prediction or bidirectional inter prediction.
제 18 항에 있어서,
상기 제1 예측 블록에 LIC를 적용하는 단계를 더 포함하며, 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 것은 상기 제1 예측 블록에 LIC를 적용한 것에 응답하여 상기 제2 예측 블록에 LIC를 적용할 것을 결정하는 것을 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 18,
further comprising applying LIC to the first prediction block, wherein determining whether to apply LIC to the second prediction block includes applying LIC to the second prediction block in response to applying LIC to the first prediction block. A method of decoding video data, including determining to apply.
제 18 항에 있어서,
상기 제1 예측 블록에 LIC를 적용하는 단계; 및
어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며,
상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계는, 상기 제1 예측 블록에 LIC를 적용하는 것 및 AMVP를 사용하여 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 것에 응답하여 상기 제2 예측 블록에 LIC를 적용할 것을 결정하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 18,
applying LIC to the first prediction block; and
further comprising coding motion information for the second prediction block using advanced motion vector prediction (AMVP) mode,
Determining whether to apply LIC to the second prediction block may include applying LIC to the first prediction block and coding motion information for the second prediction block using AMVP. 2. A method for decoding video data, comprising determining to apply LIC to a prediction block.
제 18 항에 있어서,
상기 제1 예측 블록에 LIC를 적용하는 단계; 및
머지 모드를 사용하여 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 단계를 더 포함하며,
상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계는:
상기 제2 예측 블록의 머지 후보에 대한 LIC 플래그를 코딩하는 단계; 및
상기 제2 예측 블록의 상기 머지 후보에 대한 상기 LIC 플래그의 값에 따라 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 18,
applying LIC to the first prediction block; and
Further comprising coding motion information for the second prediction block using merge mode,
The step of determining whether to apply LIC to the second prediction block is:
coding an LIC flag for a merge candidate of the second prediction block; and
A method for decoding video data, comprising determining whether to apply LIC to the second prediction block according to the value of the LIC flag for the merge candidate of the second prediction block.
제 1 항에 있어서,
상기 현재 블록을 디코딩하기 전에 상기 현재 블록을 인코딩하는 단계를 더 포함하는, 비디오 데이터를 디코딩하는 방법.
According to claim 1,
The method of decoding video data further comprising encoding the current block before decoding the current block.
비디오 데이터를 디코딩하기 위한 디바이스로서,
비디오 데이터를 저장하도록 구성된 메모리; 및
회로부에서 구현되는 하나 이상의 프로세서들을 포함하며, 상기 하나 이상의 프로세서들은:
기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하고;
제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하는 것으로서, 상기 제2 예측 블록은 상기 현재 블록에 대한 추가적인 예측 가설을 나타내며, 상기 머지 모드 신택스 엘리먼트는 상기 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하고;
상기 머지 모드 신택스 엘리먼트에 따라 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 것으로서, 상기 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은, 상기 머지 모드 신택스 엘리먼트가 상기 제2 예측 블록에 대한 상기 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하도록 구성되며, 상기 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 모션 정보를 코딩하고;
상기 모션 정보를 사용하여 상기 비디오 데이터의 상기 현재 블록에 대한 상기 제2 예측 블록을 생성하고;
상기 제1 예측 블록과 상기 제2 예측 블록의 조합으로서 상기 현재 블록에 대한 다중 가설 예측 블록을 형성하고; 그리고
상기 다중 가설 예측 블록을 사용하여 상기 현재 블록을 디코딩하도록
구성되는, 비디오 데이터를 디코딩하기 위한 디바이스.
A device for decoding video data, comprising:
A memory configured to store video data; and
It includes one or more processors implemented in circuitry, wherein the one or more processors:
generate a first prediction block for a current block of video data using a basic inter prediction mode;
Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block is merge mode code the merge mode syntax element, indicating whether it is coded using;
coding motion information for the second prediction block according to the merge mode syntax element, wherein to code the motion information, the one or more processors are configured to encode the motion information for the second prediction block according to the merge mode syntax element. If the information indicates that it is coded using a merge mode, then coding the motion information is configured to form a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. do;
generate the second prediction block for the current block of the video data using the motion information;
forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and
To decode the current block using the multi-hypothesis prediction block
A device configured to decode video data.
제 24 항에 있어서,
상기 머지 후보 리스트를 형성하기 위해, 상기 하나 이상의 프로세서들은:
제1 모션 정보 및 제2 모션 정보를 사용하여 상기 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하고; 그리고
상기 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하는 것으로서, 상기 하나 이상의 프로세서들은 상기 적어도 하나의 단방향 예측 머지 후보에 대해 상기 제1 모션 정보 또는 상기 제2 모션 정보 중 오직 하나만을 선택하도록 구성되는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하도록
구성되는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 24,
To form the merge candidate list, the one or more processors:
determine that a neighboring block for the second prediction block is bi-directionally predicted using first motion information and second motion information; and
forming at least one unidirectional prediction merge candidate from the neighboring block, wherein the one or more processors are configured to select only one of the first motion information or the second motion information for the at least one unidirectional prediction merge candidate. , to form the at least one one-way prediction merge candidate.
A device configured to decode video data.
제 25 항에 있어서,
상기 머지 후보 리스트를 형성하기 위해, 상기 하나 이상의 프로세서들은:
상기 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하고; 그리고
상기 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하도록
구성되는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 25,
To form the merge candidate list, the one or more processors:
forming a first one-way prediction merge candidate using the first motion information; and
To form a second one-way prediction merge candidate using the second motion information.
A device configured to decode video data.
제 24 항에 있어서,
상기 하나 이상의 프로세서들은 추가로:
어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하는 것으로서, 상기 제3 예측 블록의 모션 정보를 코딩하기 위해, 상기 하나 이상의 프로세서들은 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하도록 구성되며, 상기 제3 예측 블록은 상기 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하고;
상기 제3 예측 블록을 상기 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하도록
구성되며, 상기 제2 예측 블록을 생성하기 위해, 상기 하나 이상의 프로세서들은 6탭 보간 필터를 사용하여 상기 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하도록 구성되는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 24,
The one or more processors further:
Coding motion information of a third prediction block using an Advanced Motion Vector Prediction (AMVP) mode, wherein, to code the motion information of the third prediction block, the one or more processors perform a motion vector difference with half luma sample resolution. (MVD) value, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block;
to code a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block
and wherein, to generate the second prediction block, the one or more processors are configured to interpolate half-pixel samples of a reference block for the second prediction block using a 6-tap interpolation filter. device.
제 24 항에 있어서,
상기 하나 이상의 프로세서들은 추가로, 상기 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하도록 구성되는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 24,
The one or more processors are further configured to determine whether to apply local illumination compensation (LIC) to the second prediction block depending on whether LIC was applied to the first prediction block. .
제 24 항에 있어서,
상기 하나 이상의 프로세서들은 추가로, 상기 현재 블록을 디코딩하기 전에 상기 현재 블록을 인코딩하도록 구성되는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 24,
The device for decoding video data, wherein the one or more processors are further configured to encode the current block before decoding the current block.
제 24 항에 있어서,
디코딩된 상기 비디오 데이터를 디스플레이하도록 구성된 디스플레이를 더 포함하는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 24,
A device for decoding video data, further comprising a display configured to display the decoded video data.
제 24 항에 있어서,
상기 디바이스는 카메라, 컴퓨터, 모바일 디바이스, 브로드캐스트 수신기 디바이스, 또는 셋톱 박스 중 하나 이상을 포함하는, 비디오 데이터를 디코딩하기 위한 디바이스.
According to claim 24,
A device for decoding video data, wherein the device includes one or more of a camera, computer, mobile device, broadcast receiver device, or set top box.
명령들이 저장된 컴퓨터 판독가능 저장 매체로서,
상기 명령들은, 실행 시, 프로세서로 하여금:
기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하게 하고;
제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하게 하는 것으로서, 상기 제2 예측 블록은 상기 현재 블록에 대한 추가적인 예측 가설을 나타내며, 상기 머지 모드 신택스 엘리먼트는 상기 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하게 하고;
상기 머지 모드 신택스 엘리먼트에 따라 상기 제2 예측 블록에 대한 모션 정보를 코딩하게 하는 것으로서, 상기 제2 예측 블록에 대한 모션 정보를 코딩하는 것은, 상기 머지 모드 신택스 엘리먼트가 상기 제2 예측 블록에 대한 상기 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하는 것을 포함하며, 상기 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하게 하고;
상기 모션 정보를 사용하여 상기 비디오 데이터의 상기 현재 블록에 대한 상기 제2 예측 블록을 생성하게 하고;
상기 제1 예측 블록과 상기 제2 예측 블록의 조합으로서 상기 현재 블록에 대한 다중 가설 예측 블록을 형성하게 하고; 그리고
상기 다중 가설 예측 블록을 사용하여 상기 현재 블록을 디코딩하게 하는, 컴퓨터 판독가능 저장 매체.
A computer-readable storage medium storing instructions, comprising:
The above instructions, when executed, cause the processor to:
generate a first prediction block for a current block of video data using a basic inter prediction mode;
Coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element indicates that motion information for the second prediction block is merged. code the merge mode syntax element, indicating whether to code using a mode;
By coding the motion information for the second prediction block according to the merge mode syntax element, coding the motion information for the second prediction block includes the merge mode syntax element When indicating that the motion information is coded using a merge mode, forming a merge candidate list comprising one or more merge candidates, each of the merge candidates representing respective sets of one-way prediction motion information. code motion information for a prediction block;
use the motion information to generate the second prediction block for the current block of video data;
form a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and
and decoding the current block using the multiple hypothesis prediction block.
제 32 항에 있어서,
상기 프로세서로 하여금 상기 머지 후보 리스트를 형성하게 하는 명령들은, 상기 프로세서로 하여금:
제1 모션 정보 및 제2 모션 정보를 사용하여 상기 제2 예측 블록에 대한 이웃 블록이 양방향 예측된다고 결정하게 하고; 그리고
상기 이웃 블록으로부터 적어도 하나의 단방향 예측 머지 후보를 형성하게 하는 것으로서, 상기 프로세서로 하여금 상기 적어도 하나의 단방향 예측 머지 후보에 대해 상기 제1 모션 정보 또는 상기 제2 모션 정보 중 오직 하나만을 선택하게 하는 명령들을 포함하는, 상기 적어도 하나의 단방향 예측 머지 후보를 형성하게 하는
명령들을 포함하는, 컴퓨터 판독가능 저장 매체.
According to claim 32,
Instructions that cause the processor to form the merge candidate list cause the processor to:
determine that a neighboring block for the second prediction block is bi-directionally predicted using first motion information and second motion information; and
Instructions for forming at least one unidirectional prediction merge candidate from the neighboring block, wherein the processor selects only one of the first motion information or the second motion information for the at least one unidirectional prediction merge candidate. to form the at least one one-way prediction merge candidate, comprising:
A computer-readable storage medium containing instructions.
제 33 항에 있어서,
상기 프로세서로 하여금 상기 머지 후보 리스트를 형성하게 하는 명령들은, 상기 프로세서로 하여금:
상기 제1 모션 정보를 사용하여 제1 단방향 예측 머지 후보를 형성하게 하고; 그리고
상기 제2 모션 정보를 사용하여 제2 단방향 예측 머지 후보를 형성하게 하는
명령들을 포함하는, 컴퓨터 판독가능 저장 매체.
According to claim 33,
Instructions that cause the processor to form the merge candidate list cause the processor to:
Use the first motion information to form a first one-way prediction merge candidate; and
forming a second one-way prediction merge candidate using the second motion information.
A computer-readable storage medium containing instructions.
제 32 항에 있어서,
상기 프로세서로 하여금:
어드밴스드 모션 벡터 예측(AMVP) 모드를 사용하여 제3 예측 블록의 모션 정보를 코딩하게 하는 것으로서, 상기 프로세서로 하여금 상기 제3 예측 블록의 모션 정보를 코딩하게 하는 명령들은, 상기 프로세서로 하여금 하프 루마 샘플 해상도를 갖는 모션 벡터 차이(MVD) 값을 코딩하게 하는 명령들을 포함하며, 상기 제3 예측 블록은 상기 현재 블록에 대한 이웃 블록의 기본 인터 예측 블록인, 상기 제3 예측 블록의 모션 정보를 코딩하게 하고; 그리고
상기 제3 예측 블록을 상기 제2 예측 블록에 대한 모션 정보 후보로서 식별하는 후보 인덱스를 코딩하게 하는
명령들을 더 포함하며,
상기 프로세서로 하여금 상기 제2 예측 블록을 생성하게 하는 명령들은, 상기 프로세서로 하여금 6탭 보간 필터를 사용하여 상기 제2 예측 블록에 대한 참조 블록의 하프 픽셀 샘플들을 보간하게 하는 명령들을 포함하는, 컴퓨터 판독가능 저장 매체.
According to claim 32,
causing the processor to:
Coding motion information of a third prediction block using Advanced Motion Vector Prediction (AMVP) mode, wherein instructions causing the processor to code motion information of the third prediction block include: Instructions for coding a motion vector difference (MVD) value with a resolution, wherein the third prediction block is a basic inter prediction block of a neighboring block for the current block. do; and
coding a candidate index that identifies the third prediction block as a motion information candidate for the second prediction block
Contains more commands,
The instructions causing the processor to generate the second prediction block include instructions causing the processor to interpolate half-pixel samples of a reference block for the second prediction block using a 6-tap interpolation filter. Readable storage medium.
제 32 항에 있어서,
상기 프로세서로 하여금, 상기 제1 예측 블록에 로컬 조명 보상(LIC)이 적용되었는지 여부에 따라 상기 제2 예측 블록에 LIC를 적용할지 여부를 결정하게 하는 명령들을 더 포함하는, 컴퓨터 판독가능 저장 매체.
According to claim 32,
The computer-readable storage medium further comprising instructions that cause the processor to determine whether to apply local illumination compensation (LIC) to the second prediction block depending on whether LIC was applied to the first prediction block.
제 32 항에 있어서,
상기 프로세서로 하여금 상기 현재 블록을 디코딩하기 전에 상기 현재 블록을 인코딩하게 하는 명령들을 더 포함하는, 컴퓨터 판독가능 저장 매체.
According to claim 32,
instructions that cause the processor to encode the current block before decoding the current block.
비디오 데이터를 디코딩하기 위한 디바이스로서,
기본 인터 예측 모드를 사용하여 비디오 데이터의 현재 블록에 대한 제1 예측 블록을 생성하기 위한 수단;
제2 예측 블록에 대한 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단으로서, 상기 제2 예측 블록은 상기 현재 블록에 대한 추가적인 예측 가설을 나타내며, 상기 머지 모드 신택스 엘리먼트는 상기 제2 예측 블록에 대한 모션 정보가 머지 모드를 사용하여 코딩되는지 여부를 표시하는, 상기 머지 모드 신택스 엘리먼트를 코딩하기 위한 수단;
상기 머지 모드 신택스 엘리먼트에 따라 상기 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단으로서, 상기 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단은, 상기 머지 모드 신택스 엘리먼트가 상기 제2 예측 블록에 대한 상기 모션 정보가 머지 모드를 사용하여 코딩됨을 표시하는 경우, 하나 이상의 머지 후보들을 포함하는 머지 후보 리스트를 형성하기 위한 수단을 포함하며, 상기 머지 후보들 각각은 단방향 예측 모션 정보의 각각의 세트들을 나타내는, 상기 제2 예측 블록에 대한 모션 정보를 코딩하기 위한 수단;
상기 모션 정보를 사용하여 상기 비디오 데이터의 상기 현재 블록에 대한 상기 제2 예측 블록을 생성하기 위한 수단;
상기 제1 예측 블록과 상기 제2 예측 블록의 조합으로서 상기 현재 블록에 대한 다중 가설 예측 블록을 형성하기 위한 수단; 및
상기 다중 가설 예측 블록을 사용하여 상기 현재 블록을 디코딩하기 위한 수단을 포함하는, 비디오 데이터를 디코딩하기 위한 디바이스.
A device for decoding video data, comprising:
means for generating a first prediction block for a current block of video data using a basic inter prediction mode;
Means for coding a merge mode syntax element for a second prediction block, wherein the second prediction block represents an additional prediction hypothesis for the current block, and the merge mode syntax element includes motion information for the second prediction block. means for coding the merge mode syntax element, indicating whether it is coded using merge mode;
Means for coding motion information for the second prediction block according to the merge mode syntax element, wherein the merge mode syntax element is used to encode motion information for the second prediction block. When indicating that the motion information for means for coding motion information for the second prediction block, indicating:
means for generating the second prediction block for the current block of video data using the motion information;
means for forming a multi-hypothesis prediction block for the current block as a combination of the first prediction block and the second prediction block; and
A device for decoding video data, comprising means for decoding the current block using the multiple hypothesis prediction block.
KR1020237032564A 2021-03-29 2022-03-23 Adaptive coding of motion information for multi-hypothesis prediction for video coding. KR20230162614A (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US202163167480P 2021-03-29 2021-03-29
US63/167,480 2021-03-29
US17/655,919 2022-03-22
US17/655,919 US20220311997A1 (en) 2021-03-29 2022-03-22 Adaptively coding motion information for multiple hypothesis prediction for video coding
PCT/US2022/071289 WO2022213026A1 (en) 2021-03-29 2022-03-23 Adaptively coding motion information for multiple hypothesis prediction for video coding

Publications (1)

Publication Number Publication Date
KR20230162614A true KR20230162614A (en) 2023-11-28

Family

ID=81308524

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020237032564A KR20230162614A (en) 2021-03-29 2022-03-23 Adaptive coding of motion information for multi-hypothesis prediction for video coding.

Country Status (10)

Country Link
EP (1) EP4315850A1 (en)
JP (1) JP2024512539A (en)
KR (1) KR20230162614A (en)
AU (1) AU2022246716A1 (en)
BR (1) BR112023018885A2 (en)
CA (1) CA3208108A1 (en)
CL (1) CL2023002817A1 (en)
MX (1) MX2023011284A (en)
TW (1) TW202243478A (en)
WO (1) WO2022213026A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10652571B2 (en) * 2018-01-25 2020-05-12 Qualcomm Incorporated Advanced motion vector prediction speedups for video coding
US11140406B2 (en) * 2019-02-20 2021-10-05 Qualcomm Incorporated Signalling for merge mode with motion vector differences in video coding
US11076169B2 (en) * 2019-05-14 2021-07-27 Qualcomm Incorporated Switchable interpolation filtering (SIF) for video coding
US11611759B2 (en) * 2019-05-24 2023-03-21 Qualcomm Incorporated Merge mode coding for video coding

Also Published As

Publication number Publication date
CA3208108A1 (en) 2022-10-06
TW202243478A (en) 2022-11-01
AU2022246716A1 (en) 2023-07-27
BR112023018885A2 (en) 2023-10-03
AU2022246716A9 (en) 2024-05-09
EP4315850A1 (en) 2024-02-07
JP2024512539A (en) 2024-03-19
WO2022213026A1 (en) 2022-10-06
CL2023002817A1 (en) 2024-01-26
MX2023011284A (en) 2023-10-04

Similar Documents

Publication Publication Date Title
WO2020061490A1 (en) History-based motion vector prediction for affine mode
EP3861745A1 (en) History-based motion vector prediction for inter prediction coding
EP4128787A1 (en) General constraint information syntax in video coding
JP7474774B2 (en) Motion Vector Predictor List Generation for Intra Block Copy Mode in Video Coding
CN114128261A (en) Combined inter and intra prediction modes for video coding
KR20210138613A (en) Refine Gradient-Based Predictions for Video Coding
US11064192B2 (en) Simplification of spatial-temporal motion vector prediction
WO2019199953A1 (en) Decoder-side motion vector derivation for video coding
WO2019144002A1 (en) Quantization group for video coding
WO2020023280A1 (en) Rounding of motion vectors for adaptive motion vector difference resolution and increased motion vector storage precision in video coding
WO2021173556A1 (en) Reference picture list and collocated picture signaling in video coding
US20230300368A1 (en) Signaling number of subblock merge candidates in video coding
WO2020132530A1 (en) Derivation of processing area for parallel processing in video coding
WO2021138428A1 (en) History-based motion vector predictor constraint for merge estimation region
CN114175643B (en) Palette and prediction mode signaling
US20220311997A1 (en) Adaptively coding motion information for multiple hypothesis prediction for video coding
KR20230123933A (en) Multi-hypothesis prediction for video coding
KR20230162614A (en) Adaptive coding of motion information for multi-hypothesis prediction for video coding.
US20230336713A1 (en) Methods for adaptive signaling of maximum number of merge candidates in multiple hypothesis prediction
US20230336716A1 (en) Intra chroma mode list construction for video coding
CN117157975A (en) Adaptive coding of motion information for multi-hypothesis prediction for video coding
WO2023200561A1 (en) Methods for adaptive signaling of maximum number of merge candidates in multiple hypothesis prediction
WO2024148066A1 (en) Template matching for flipped intra block copy
WO2023044247A1 (en) Multiple inter predictors with decoder side motion vector derivation for video coding
TW202332272A (en) Block-level reference pictures adaptation for video coding