KR20240021173A - Building motion vector candidates for geometric partitioning modes in video coding. - Google Patents

Building motion vector candidates for geometric partitioning modes in video coding. Download PDF

Info

Publication number
KR20240021173A
KR20240021173A KR1020237042567A KR20237042567A KR20240021173A KR 20240021173 A KR20240021173 A KR 20240021173A KR 1020237042567 A KR1020237042567 A KR 1020237042567A KR 20237042567 A KR20237042567 A KR 20237042567A KR 20240021173 A KR20240021173 A KR 20240021173A
Authority
KR
South Korea
Prior art keywords
motion vector
candidate
candidate list
list
video data
Prior art date
Application number
KR1020237042567A
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/806,221 external-priority patent/US20220400257A1/en
Application filed by 퀄컴 인코포레이티드 filed Critical 퀄컴 인코포레이티드
Publication of KR20240021173A publication Critical patent/KR20240021173A/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/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/573Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
    • 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/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/537Motion estimation other than block-based
    • H04N19/543Motion estimation other than block-based using regions
    • 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/563Motion estimation with padding, i.e. with filling of non-object values in an arbitrarily shaped picture block or region for estimation purposes
    • 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

Landscapes

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

Abstract

비디오 코더는, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 코딩하여, 비디오 데이터의 디코딩된 블록을 생성하도록 구성될 수 있다.The video coder determines partitioning for blocks of video data using a geometric partitioning mode; Decoding the video data by building two unidirectional prediction motion vector candidate lists for a block of video data, and coding the block of video data using unidirectional prediction based on at least one of the two unidirectional prediction motion vector candidate lists. It can be configured to create a block.

Description

비디오 코딩에서의 기하학적 파티셔닝 모드에 대한 모션 벡터 후보 구축Building motion vector candidates for geometric partitioning modes in video coding.

본 출원은 2022년 6월 9일자로 출원된 미국 특허출원 제17/806,221호, 및 2021년 6월 15일자로 출원된 미국 가출원 제63/210,883호에 대한 우선권을 주장하며, 이 출원들 각각의 전체 내용들은 본 명세서에 참조로 포함된다. 2022년 6월 9일자로 출원된 미국 특허출원 제17/806,221호는 2021년 6월 15일자로 출원된 미국 가출원 제63/210,883호의 이익을 주장한다.This application claims priority to U.S. Patent Application No. 17/806,221, filed June 9, 2022, and U.S. Provisional Application No. 63/210,883, filed June 15, 2021, each of which The entire contents are incorporated herein by reference. U.S. Patent Application No. 17/806,221, filed June 9, 2022, claims the benefit of U.S. Provisional Application No. 63/210,883, filed June 15, 2021.

본 개시내용은 비디오 인코딩 및 비디오 디코딩에 관한 것이다.This disclosure relates to video encoding and video decoding.

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

비디오 코딩 기법들은 비디오 시퀀스들에 내재한 리던던시를 감소 또는 제거하기 위해 공간 (인트라-픽처) 예측 및/또는 시간 (인터-픽처) 예측을 포함한다. 블록 기반 비디오 코딩을 위해, 비디오 슬라이스(예를 들어, 비디오 픽처, 또는 비디오 픽처의 일부)는 비디오 블록들로 파티셔닝될 수 있고, 이 비디오 블록들은 코딩 트리 유닛(coding tree unit, CTU)들, 코딩 유닛(coding unit, 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) can be partitioned into video blocks, which are called coding tree units (CTUs). May also be referred to as coding units (CUs), and/or coding nodes. Video blocks in an intra-coded (I) slice of a picture are encoded using spatial prediction with respect to reference samples in neighboring blocks of the same picture. Video blocks in an inter-coded (P or B) slice of a picture can use spatial prediction relative to reference samples in neighboring blocks in the same picture, or temporal prediction relative to reference samples in other reference pictures. there is. Pictures may be referred to as frames, and reference pictures may be referred to as reference frames.

대체적으로, 본 개시내용은 비디오 데이터를 인코딩 및 디코딩하기 위한 기법들을 설명한다. 특히, 본 개시내용은 기하학적 파티셔닝 모드(geometric partitioning mode, GPM)에 따라 파티셔닝된 비디오 데이터의 블록들의 인터 예측을 위한 기법들을 설명한다. 본 개시내용의 기법들은 기하학적 파티셔닝 모드에 대한 병합 후보 목록 구축, 기하학적 파티셔닝 모드에 대한 병합 후보 목록들의 프루닝(pruning), 및/또는 기하학적 파티셔닝 모드에서의 제로 모션 벡터들의 사용을 위한 기법들을 포함한다. 본 개시내용의 기법들은, 코딩된 비디오 데이터에서 압축을 증가시키고/시키거나 왜곡을 감소시키는 것을 포함하여, 기하학적 파티셔닝 모드를 사용하도록 구성된 비디오 코덱들의 코딩 성능을 개선시킬 수 있다.In general, this disclosure describes techniques for encoding and decoding video data. In particular, this disclosure describes techniques for inter prediction of blocks of video data partitioned according to geometric partitioning mode (GPM). Techniques of the present disclosure include techniques for building a merge candidate list for a geometric partitioning mode, pruning merge candidate lists for a geometric partitioning mode, and/or using zero motion vectors in the geometric partitioning mode. . Techniques of this disclosure can improve coding performance of video codecs configured to use geometric partitioning mode, including increasing compression and/or reducing distortion in coded video data.

일례에서, 방법은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하는 단계, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계, 및 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하는 단계를 포함한다.In one example, the method includes determining a partitioning for a block of video data using a geometric partitioning mode, building two one-way predictive motion vector candidate lists for the block of video data, and two one-way predictive motion vectors. and decoding the block of video data using one-way prediction based on at least one of the candidate lists.

다른 예에서, 디바이스는 메모리 및 메모리와 통신하는 하나 이상의 프로세서들을 포함하고, 하나 이상의 프로세서들은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하도록 구성된다.In another example, a device includes a memory and one or more processors in communication with the memory, wherein the one or more processors determine partitioning for a block of video data using a geometric partitioning mode, and determine partitioning for a block of video data in two one-way partitions for a block of video data. Construct predictive motion vector candidate lists, and decode a block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists.

다른 예에서, 디바이스는 메모리 및 메모리와 통신하는 하나 이상의 프로세서들을 포함하고, 하나 이상의 프로세서들은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 인코딩하도록 구성된다.In another example, a device includes a memory and one or more processors in communication with the memory, wherein the one or more processors determine partitioning for a block of video data using a geometric partitioning mode, and determine partitioning for a block of video data in two one-way partitions for a block of video data. Construct predictive motion vector candidate lists, and encode a block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists.

다른 예에서, 디바이스는, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하기 위한 수단, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위한 수단, 및 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하기 위한 수단을 포함한다.In another example, the device includes means for determining a partitioning for a block of video data using a geometric partitioning mode, means for building two unidirectional predictive motion vector candidate lists for a block of video data, and two unidirectional motion vector candidate lists. and means for decoding a block of video data using one-way prediction based on at least one of the predictive motion vector candidate lists.

다른 예에서, 컴퓨터 판독가능 저장 매체는 명령들로 인코딩되고, 명령들은, 실행될 때, 프로그래밍가능 프로세서로 하여금, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하게 하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하게 하고, 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하게 한다.In another example, a computer-readable storage medium is encoded with instructions that, when executed, cause the programmable processor to determine partitioning for a block of video data using a geometric partitioning mode, Construct two unidirectional prediction motion vector candidate lists for , and decode a block of video data using unidirectional prediction based on at least one of the two unidirectional prediction motion vector candidate lists.

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

도 1은 본 개시내용의 기법들을 수행할 수 있는 예시적인 비디오 인코딩 및 디코딩 시스템을 예시하는 블록도이다.
도 2는 예시적인 기하학적 파티션들을 예시하는 개념도이다.
도 3은 기하학적 파티션 모드에 대한 예시적인 병합 인덱스들 및 모션 벡터 후보 목록들을 예시하는 테이블이다.
도 4는 본 개시내용의 기법들을 수행할 수 있는 예시적인 비디오 인코더를 예시하는 블록도이다.
도 5는 본 개시내용의 기법들을 수행할 수 있는 예시적인 비디오 디코더를 예시하는 블록도이다.
도 6은 본 개시내용의 기법들에 따라 현재 블록을 인코딩하기 위한 예시적인 방법을 예시하는 흐름도이다.
도 7은 본 개시내용의 기법들에 따라 현재 블록을 디코딩하기 위한 예시적인 방법을 예시하는 흐름도이다.
도 8은 본 개시내용의 기법들에 따라 현재 블록을 인코딩하기 위한 다른 예시적인 방법을 예시하는 흐름도이다.
도 9는 본 개시내용의 기법들에 따라 현재 블록을 디코딩하기 위한 다른 예시적인 방법을 예시하는 흐름도이다.
1 is a block diagram illustrating an example video encoding and decoding system that can perform the techniques of this disclosure.
2 is a conceptual diagram illustrating example geometric partitions.
Figure 3 is a table illustrating example merge indices and motion vector candidate lists for geometric partition mode.
4 is a block diagram illustrating an example video encoder that can perform the techniques of this disclosure.
5 is a block diagram illustrating an example video decoder that can perform the techniques of this disclosure.
6 is a flow diagram illustrating an example method for encoding a current block in accordance with the techniques of this disclosure.
7 is a flow diagram illustrating an example method for decoding a current block in accordance with the techniques of this disclosure.
8 is a flow diagram illustrating another example method for encoding a current block in accordance with the techniques of this disclosure.
9 is a flow diagram illustrating another example method for decoding a current block in accordance with the techniques of this disclosure.

대체적으로, 본 개시내용은 비디오 데이터를 인코딩 및 디코딩하기 위한 기법들을 설명한다. 특히, 본 개시내용은 기하학적 파티셔닝 모드에 따라 파티셔닝된 비디오 데이터의 블록들의 인터 예측을 위한 기법들을 설명한다. 본 개시내용의 기법들은 기하학적 파티셔닝 모드에 대한 병합 후보 목록 구축, 기하학적 파티셔닝 모드에 대한 병합 후보 목록들의 프루닝, 및/또는 기하학적 파티셔닝 모드에서의 제로 모션 벡터들의 사용을 위한 기법들을 포함한다. 본 개시내용의 기법들은, 코딩된 비디오 데이터에서 압축을 증가시키고/시키거나 왜곡을 감소시키는 것을 포함하여, 기하학적 파티셔닝 모드를 사용하도록 구성된 비디오 코덱들의 코딩 성능을 개선시킬 수 있다.In general, this disclosure describes techniques for encoding and decoding video data. In particular, this disclosure describes techniques for inter prediction of blocks of video data partitioned according to a geometric partitioning mode. Techniques of this disclosure include techniques for building a merge candidate list for a geometric partitioning mode, pruning merge candidate lists for a geometric partitioning mode, and/or using zero motion vectors in the geometric partitioning mode. Techniques of this disclosure can improve coding performance of video codecs configured to use geometric partitioning mode, including increasing compression and/or reducing distortion in coded video data.

도 1은 본 개시내용의 기법들을 수행할 수 있는 예시적인 비디오 인코딩 및 디코딩 시스템(100)을 예시하는 블록도이다. 본 개시내용의 기법들은 대체적으로, 비디오 데이터를 코딩(인코딩 및/또는 디코딩)하는 것에 관한 것이다. 일반적으로, 비디오 데이터는 비디오를 프로세싱하기 위한 임의의 데이터를 포함한다. 따라서, 비디오 데이터는 원시, 코딩되지 않은 비디오, 인코딩된 비디오, 디코딩된 (예를 들어, 재구성된) 비디오, 및 비디오 메타데이터, 이를 테면 시그널링 데이터를 포함할 수 있다.1 is a block diagram illustrating an example video encoding and decoding system 100 that can perform the techniques of this disclosure. The 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, uncoded 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 may include desktop computers, notebook (i.e., laptop) computers, mobile devices, tablet computers, set-top boxes, telephone handsets, e.g., smartphones, televisions. , 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 the present disclosure, video encoder 200 of source device 102 and video decoder 300 of destination device 116 may be configured to apply techniques for building a merge candidate list for geometric partitioning mode. Accordingly, source device 102 represents an example of a video encoding device, and 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 just one example. In general, any digital video encoding and/or decoding device can perform techniques for building a merge candidate list for geometric partitioning mode. 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 examples of coding devices, particularly a video encoder and video decoder, respectively. In some examples, source device 102 and destination device 116 may operate in a substantially symmetrical manner such that each of source device 102 and destination device 116 includes video encoding and decoding components. . Accordingly, system 100 may support one-way or two-way video transmission between source device 102 and destination device 116, such as for video streaming, video playback, video broadcasting, or video calling.

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

소스 디바이스(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 memory. 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 may also serve functionally similar or equivalent purposes. It should be understood that it may include internal memories for Additionally, the memories 106 and 120 may store, for example, encoded video data output from the video encoder 200 and input to the video decoder 300. In some examples, portions of memories 106, 120 may be allocated as one or more video buffers, for example, 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 transferring encoded video data from source device 102 to destination device 116. In one example, computer-readable medium 110 may enable source device 102 to transmit encoded video data to destination device 116 in real time, for example, directly over a radio frequency network or computer-based network. It represents a communication medium to enable communication. Depending on a 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 can 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 media for storing encoded video data. It may include any of a variety of distributed or locally accessed data storage media.

일부 예들에서, 소스 디바이스(102)는 소스 디바이스(102)에 의해 생성된 인코딩된 비디오 데이터를 저장할 수 있는 파일 서버(114) 또는 다른 중간 저장 디바이스에 인코딩된 비디오 데이터를 출력할 수 있다. 목적지 디바이스(116)는 파일 서버(114)로부터의 저장된 비디오 데이터에 스트리밍 또는 다운로드를 통해 액세스할 수 있다.In some examples, source device 102 may output encoded video data to a file server 114 or other 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) 디바이스를 나타낼 수 있다. 파일 서버(114)는, 부가적으로 또는 대안적으로, DASH(Dynamic Adaptive Streaming over HTTP), HTTP 라이브 스트리밍(HLS), 실시간 스트리밍 프로토콜(RTSP), HTTP 동적 스트리밍 등과 같은 하나 이상의 HTTP 스트리밍 프로토콜들을 구현할 수 있다.File server 114 may be any type of server device capable of storing encoded video data and transmitting 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), or a content delivery network. (CDN) device, Hypertext Transfer Protocol (HTTP) server, Multimedia Broadcast Multicast Service (MBMS) or Enhanced MBMS (eMBMS) server, and/or 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. You can.

목적지 디바이스(116)는 파일 서버(114)로부터의 인코딩된 비디오 데이터에, 인터넷 연결을 포함한 임의의 표준 데이터 연결을 통해 액세스할 수 있다. 이것은 파일 서버(114) 상에 저장된 인코딩된 비디오 데이터에 액세스하기에 적합한, 무선 채널(예를 들어, Wi-Fi 접속), 유선 접속(예를 들어, 디지털 가입자 회선(DSL: digital subscriber line), 케이블 모뎀 등), 또는 양자의 조합을 포함할 수 있다. 입력 인터페이스(122)는 파일 서버(114)로부터 미디어 데이터를 취출하거나 수신하기 위해 상기 논의된 다양한 프로토콜들 중 임의의 하나 이상의 프로토콜들, 또는 미디어 데이터를 취출하기 위한 다른 그러한 프로토콜들에 따라 동작하도록 구성될 수 있다.Destination device 116 may access encoded video data from file server 114 over any standard data connection, including an Internet connection. This is suitable for accessing encoded video data stored on file server 114 via wireless channels (e.g., Wi-Fi connections), wired connections (e.g., digital subscriber line (DSL), cable modem, etc.), or a combination of both. Input interface 122 is 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. It can be.

출력 인터페이스(108) 및 입력 인터페이스(122)는 무선 송신기/수신기, 모뎀들, 유선 네트워킹 컴포넌트들(예를 들어, 이더넷 카드들), 다양한 IEEE 802.11 표준들 중 임의의 것에 따라 동작하는 무선 통신 컴포넌트들, 또는 다른 물리적 컴포넌트들을 나타낼 수 있다. 출력 인터페이스(108) 및 입력 인터페이스(122)가 무선 컴포넌트를 포함하는 예들에 있어서, 출력 인터페이스(108) 및 입력 인터페이스(122)는 4G, 4G-LTE(Long-Term Evolution), 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), and 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 may support 4G, 4G-LTE (Long-Term Evolution), LTE Advanced, 5G, etc. It may be configured to transmit data, such as encoded video data, according to the same cellular communication standard. In some examples where output interface 108 includes a wireless transmitter, output interface 108 and input interface 122 may be configured to comply with other standards, such as the IEEE 802.11 specification, IEEE 802.15 specification (e.g., ZigBee™), Bluetooth™ standard, etc. In accordance with wireless 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 the functions attributed 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 functions attributed to the input interface 122.

본 개시의 기법들은, 공중 경유(over-the-air) 텔레비전 브로드캐스트, 케이블 텔레비전 송신, 위성 텔레비전 송신, DASH와 같은 인터넷 스트리밍 비디오 송신, 데이터 저장 매체 상에 인코딩되는 디지털 비디오, 데이터 저장 매체 상에 저장된 디지털 비디오의 디코딩, 또는 다른 애플리케이션 등의 다양한 멀티미디어 애플리케이션들 중 어느 것을 지원하는 비디오 코딩에 적용될 수 있다.Techniques of the present disclosure include over-the-air television broadcast, cable television transmission, satellite television transmission, Internet streaming video transmission such as DASH, digital video encoded on a data storage medium, and video transmission on a data storage medium. It can be applied to video coding to support any of a variety of multimedia applications, such as decoding of stored digital video, or other applications.

목적지 디바이스(116)의 입력 인터페이스(122)는 컴퓨터 판독가능 매체(110)(예를 들어, 통신 매체, 저장 디바이스(112), 파일 서버(114) 등)로부터 인코딩된 비디오 비트스트림을 수신한다. 인코딩된 비디오 비트스트림은 비디오 블록들 또는 다른 코딩된 유닛들(예를 들어, 슬라이스들, 픽처들, 픽처들의 그룹들, 시퀀스들 등)의 프로세싱 및/또는 특성들을 기술하는 값들을 갖는 신택스 엘리먼트들과 같은, 비디오 디코더(300)에 의해 또한 사용되는 비디오 인코더(200)에 의해 정의된 시그널링 정보를 포함할 수 있다. 디스플레이 디바이스(118)는 디코딩된 비디오 데이터의 디코딩된 픽처들을 사용자에게 디스플레이한다. 디스플레이 디바이스(118)는 액정 디스플레이(LCD), 플라즈마 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 또는 다른 타입의 디스플레이 디바이스와 같은 다양한 디스플레이 디바이스들 중 임의의 것을 나타낼 수 있다.Input interface 122 of destination device 116 receives an encoded video bitstream from computer-readable medium 110 (e.g., communication medium, storage device 112, file server 114, etc.). The encoded video bitstream contains 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.) It may include signaling information defined by the video encoder 200 that is also used by the video decoder 300, such as . 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 FIG. 1, in some examples, video encoder 200 and video decoder 300 may be integrated with an audio encoder and/or an audio decoder, respectively, and may be configured to multiplex multiplexing including both audio and video in a common data stream. It may include appropriate MUX-DEMUX units, or other hardware and/or software, to handle the streams.

비디오 인코더(200) 및 비디오 디코더(300) 각각은 하나 이상의 마이크로프로세서들, 디지털 신호 프로세서(digital signal processor, DSP)들, 주문형 집적회로(application specific integrated circuit, ASIC)들, 필드 프로그래밍가능 게이트 어레이(field programmable gate array, FPGA)들, 이산 로직, 소프트웨어, 하드웨어, 펌웨어 또는 이들의 임의의 조합들과 같은 다양한 적합한 인코더 및/또는 디코더 회로부 중 임의의 것으로서 구현될 수 있다. 기술들이 부분적으로 소프트웨어로 구현되는 경우, 디바이스는 소프트웨어를 위한 명령들을 적절한 비일시적 컴퓨터 판독가능 매체에 저장할 수 있고 본 개시의 기술들을 수행하기 위해 하나 이상의 프로세서들을 사용하여 명령들을 하드웨어로 실행할 수 있다. 비디오 인코더(200) 및 비디오 디코더(300) 각각은 하나 이상의 인코더들 또는 디코더들에 포함될 수 있고, 이들 중 어느 하나는 각자의 디바이스에서 조합형 인코더/디코더(CODEC)의 일부로서 통합될 수 있다. 비디오 인코더(200) 및/또는 비디오 디코더(300)를 포함하는 디바이스는 집적 회로, 마이크로프로세서, 및/또는 셀룰러 전화기와 같은 무선 통신 디바이스를 포함할 수 있다.Video encoder 200 and video decoder 300 each include one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), and field programmable gate arrays ( It may be implemented as any of a variety of suitable encoder and/or decoder circuitry, such as field programmable 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. Video encoder 200 and video decoder 300 may each be included in one or more encoders or decoders, either of which may be integrated as part of a combined encoder/decoder (CODEC) in the respective 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(Versatile Video Coding)로서 또한 지칭되는 ITU-T H.266과 같은 다른 독점 또는 산업 표준들에 따라 동작할 수 있다. 다른 예들에서, 비디오 인코더(200) 및 비디오 디코더(300)는 AOMedia Video 1(AV1), AV1의 확장들, 및/또는 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 video coding. It can operate depending on 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 encode data according to a proprietary video codec/format, such as AOMedia Video 1 (AV1), extensions of AV1, and/or successors to AV1 (e.g., AV2). It can work. 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 can be configured to perform the techniques of this disclosure along with any video coding techniques that use a geometric partitioning mode.

대체적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 픽처들의 블록 기반 코딩을 수행할 수 있다. 용어 "블록"은 일반적으로 프로세싱될 (예를 들어, 인코딩될, 디코딩될, 또는 그렇지 않으면 인코딩 및/또는 디코딩 프로세스에서 사용될) 데이터를 포함하는 구조를 지칭한다. 예를 들어, 블록은 휘도 및/또는 색차 데이터의 샘플의 2차원 행렬을 포함할 수 있다. 대체적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 YUV(예컨대, Y, Cb, Cr) 포맷으로 표현된 비디오 데이터를 코딩할 수 있다. 즉, 픽처의 샘플들에 대해 RGB(Red, Green, Blue) 데이터를 코딩하기보다는, 비디오 인코더(200) 및 비디오 디코더(300)는 휘도 및 색차 성분을 코딩할 수 있고, 여기서 색차 성분들은 적색 색조 및 청색 색조 색차 성분들 둘 모두를 포함할 수 있다. 일부 예들에서, 비디오 인코더(200)는 인코딩 이전에, 수신된 RGB 포맷된 데이터를 YUV 표현으로 변환하고, 비디오 디코더(300)는 YUV 표현을 RGB 포맷으로 변환한다. 대안적으로, 사전 프로세싱 및 사후 프로세싱 유닛들(도시되지 않음)이 이들 변환을 수행할 수 있다.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 (e.g., 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 RGB (Red, Green, Blue) data for samples of a picture, video encoder 200 and video decoder 300 may code luminance and chrominance components, where the chrominance components have a red tint. and blue tint chrominance components. In some examples, video encoder 200 converts the received RGB formatted data to a YUV representation and video decoder 300 converts the YUV representation to an RGB format prior to encoding. Alternatively, pre-processing and post-processing units (not shown) may perform these transformations.

본 개시내용은 대체적으로 픽처의 데이터를 인코딩 또는 디코딩하는 프로세스를 포함하기 위해 픽처의 코딩(예를 들어, 인코딩 및 디코딩)을 지칭할 수 있다. 유사하게, 본 개시는 예측 및/또는 잔차 코딩과 같은 블록들에 대한 데이터를 인코딩 또는 디코딩하는 프로세스를 포함하도록 픽처의 블록들의 코딩을 지칭할 수 있다. 인코딩된 비디오 비트스트림은 일반적으로 픽처들의 블록들로의 파티셔닝 및 코딩 결정들(예를 들어, 코딩 모드들)을 나타내는 신택스 엘리먼트들에 대한 일련의 값들을 포함한다. 따라서, 픽처 또는 블록을 코딩하는 것에 대한 언급들은 대체적으로 픽처 또는 블록을 형성하는 신택스 엘리먼트에 대한 코딩 값으로 이해되어야 한다.This disclosure may generally refer to coding (e.g., encoding and decoding) of a picture to include the process of encoding or decoding data of a picture. Similarly, this disclosure may refer to coding of blocks of a picture to include processes for encoding or decoding data for the blocks, such as prediction and/or residual coding. An encoded video bitstream generally contains a series 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 a picture or block.

HEVC는 코딩 유닛(CU), 예측 유닛(PU) 및 변환 유닛(TU)을 포함하여 다양한 블록을 정의한다. HEVC에 따르면, (비디오 인코더(200)와 같은) 비디오 코더는 쿼드트리 구조에 따라 코딩 트리 유닛(CTU)을 CU들로 파티셔닝한다. 즉, 비디오 코더는 CTU 및 CU를 4개의 동일한 비중첩 사각형으로 파티셔닝하고, 쿼드트리의 각 노드는 0 또는 4개의 자식 노드를 갖는다. 자식 노드가 없는 노드는 "리프 노드" 라고 지칭될 수 있으며, 이러한 리프 노드의 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 CTUs and CUs into four identical non-overlapping rectangles, and each node in the quadtree has 0 or 4 child nodes. A node without child nodes may be referred to as a “leaf node,” and the CU of such a leaf node may include one or more PUs and/or one or more TUs. The video coder can further partition PUs and TUs. For example, in HEVC, the residual quadtree (RQT) represents the partitioning of TUs. In HEVC, PU represents inter prediction data and TU represents residual data. The intra predicted CU includes intra prediction information such as intra mode indication.

다른 예로서, 비디오 인코더(200) 및 비디오 디코더(300)는 VVC에 따라 동작하도록 구성될 수 있다. VVC에 따라, 비디오 코더(예컨대 비디오 인코더(200))는 픽처를 복수의 코딩 트리 유닛들(CTU들)로 파티셔닝한다. 비디오 인코더(200)는 트리 구조, 예컨대 쿼드트리 이진 트리(quadtree-binary tree, QTBT) 구조 또는 다중 타입 트리(Multi-Type Tree, 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, for example, a quadtree-binary tree (QTBT) structure or a multi-type tree (MTT) structure. The QTBT structure eliminates the concept of multiple partition types, such as the separation 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) (터너리 (ternary) 트리 (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. You can. A triple or ternary tree partition is a partition in which a block is split into three sub-blocks. In some examples, a triple or ternary tree partition splits a block into three sub-blocks without splitting the original block through the center. The partitioning type in MTT (e.g., QT, BT, and TT) can 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 into blocks. In AV1, the largest coding block that can be processed is called a superblock. In AV1, a superblock can be 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 can be coded independently from other tiles. That is, the video encoder 200 and the video decoder 300 can each encode and decode coding blocks within a tile without using video data from other tiles. However, video encoder 200 and video decoder 300 may perform filtering across tile boundaries. Tiles may or may not be uniform in size. Tile-based coding can 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 each of the luminance and chrominance components, while in other examples, video encoder 200 and video decoder ( 300) is two or more QTBT or MTT structures can be used.

비디오 인코더(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개의 배열들(루마 및 두 개의 크로마) 중 하나로부터의 배열 또는 단일 샘플 또는 모노크롬 포맷의 픽처를 구성하는 배열 또는 배열의 단일 샘플이다. 일부 예들에서, 코딩 블록은 코딩 블록들로의 CTB의 분할이 파티셔닝이 되도록 M 및 N의 일부 값들에 대한 샘플들의 MxN 블록이다.In some examples, a CTU is a coding tree block (CTB) of luma samples, two corresponding CTBs of a chroma sample of a picture with a three sample array, or a monochrome picture or a picture coded using three separate color planes. Contains the CTB of the samples and the syntax structure used to code the samples. A CTB may be an NxN block of samples for some value of N such that the division of a component into CTBs is partitioned. A component is an array from one of three arrays (luma and two chromas) that make up a picture in 4:2:0, 4:2:2 or 4:4:4 color format, or a single sample or a picture in monochrome format. It is an array or a single sample of an array that makes up an array. In some examples, a 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 partitioned.

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

일부 예들에서, 타일은 다중 브릭들로 파티셔닝될 수 있고, 그 브릭들의 각각은 타일 내의 하나 이상의 CTU 행들을 포함할 수 있다. 다중 브릭들로 파티셔닝되지 않은 타일은 또한 브릭으로 지칭될 수 있다. 하지만, 타일의 진정한 서브세트인 브릭은 타일로서 지칭되지 않을 수 있다. 픽처에서의 브릭들은 또한 슬라이스로 배열될 수 있다. 슬라이스는 단일 네트워크 추상화 계층 (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 can also be arranged into slices. A slice can be an integer number of bricks of a picture that can be contained exclusively in a single network abstraction layer (NAL) unit. In some examples, a slice includes either a number of complete tiles or a continuous sequence of complete bricks of only 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" to refer to the sample dimension of a block (such as a CU or other video block) in terms of vertical and horizontal dimensions, e.g. 16x16 samples or 16 by 16 samples. can be used interchangeably. 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 can be arranged in rows and columns. Moreover, 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 directs how the CU will be predicted to form a prediction block for the CU. Residual information generally represents the sample-by-sample difference between samples of the CU and the prediction block before encoding.

CU를 예측하기 위해, 비디오 인코더(200)는 대체적으로 인터 예측 또는 인트라 예측을 통해 CU에 대한 예측 블록을 형성할 수 있다. 인터 예측은 일반적으로 이전에 코딩된 픽처의 데이터로부터 CU를 예측하는 것을 지칭하는 반면, 인트라 예측은 일반적으로 동일한 픽처의 이전에 코딩된 데이터로부터 CU를 예측하는 것을 지칭한다. 인터 예측을 수행하기 위해, 비디오 인코더(200)는 하나 이상의 모션 벡터들을 사용하여 예측 블록을 생성할 수 있다. 비디오 인코더(200)는 대체적으로, 예컨대 CU와 참조 블록 사이의 차이의 관점에서 CU와 밀접하게 매칭되는 참조 블록을 식별하기 위해 모션 검색을 수행할 수 있다. 비디오 인코더(200)는 참조 블록이 현재 CU와 밀접하게 매칭되는지 여부를 결정하기 위해 SAD(Sum of Absolute Difference), SSD(Sum of Squared Difference), MAD(Mean Absolute Difference), MSD(Mean Squared Difference), 또는 다른 그러한 차이 계산들을 사용하여 차이 메트릭을 계산할 수 있다. 일부 예들에서, 비디오 인코더(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 alternatively perform a motion search to identify a reference block that closely matches a CU, such as in terms of the difference between the CU and the reference block. The video encoder 200 uses Sum of Absolute Difference (SAD), Sum of Squared Difference (SSD), Mean Absolute Difference (MAD), and Mean Squared Difference (MSD) measurements to determine whether the reference block closely matches the current CU. , or other such difference calculations can be used to calculate the difference metric. In some examples, video encoder 200 may predict the current CU using unidirectional prediction or bidirectional prediction.

VVC의 일부 예들은 또한, 인터-예측 모드로 고려될 수 있는 아핀 모션 보상 모드를 제공한다. 아핀 모션 보상 모드에서, 비디오 인코더(200)는 확대 또는 축소, 회전, 원근 모션(perspective motion), 또는 다른 불규칙한 모션 타입들과 같은 비-병진 모션을 나타내는 2개 이상의 모션 벡터들을 결정할 수 있다.Some examples of VVC also provide an affine motion compensation mode, which can 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)가 래스터 스캔 순서로(왼쪽에서 오른쪽으로, 위에서 아래로) 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. Alternatively, video encoder 200 selects an intra prediction mode that describes neighboring samples for the current block (e.g., a block of a CU) from which to predict samples of the current block. Such samples are generally 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 on the left side, or on the left side.

비디오 인코더(200)는 현재 블록에 대한 예측 모드를 나타내는 데이터를 인코딩한다. 예를 들어, 인터 예측 모드들에 대해, 비디오 인코더(200)는 이용 가능한 다양한 인터 예측 모드들 중 어느 것이 사용되는지를 나타내는 데이터뿐만 아니라, 대응하는 모드에 대한 모션 정보를 인코딩할 수 있다. 단방향성 또는 양방향성 인터 예측을 위해, 예를 들어, 비디오 인코더(200)는 AMVP(advanced motion vector prediction) 또는 병합 모드를 사용하여 모션 벡터를 인코딩할 수 있다. 비디오 인코더(200)는 유사한 모드들을 사용하여 아핀 모션 보상 모드를 위한 모션 벡터들을 인코딩할 수 있다.The video encoder 200 encodes data indicating the prediction mode for the current block. For example, for inter prediction modes, video encoder 200 may encode data indicating which of the various available inter prediction modes is used, as well as motion information for the corresponding mode. 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 can 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)는 이산 코사인 변환(discrete cosine transform, DCT), 정수 변환, 웨이블릿 변환, 또는 개념적으로 유사한 변환을 잔차 비디오 데이터에 적용할 수 있다. 추가적으로, 비디오 인코더(200)는 모드 의존적 비분리형 이차 변환(mode-dependent non-separable secondary transform, MDNSST), 신호 의존적 변환, 카루넨 루베 변환(Karhunen-Loeve transform, KLT) 등과 같은, 제1 변환 이후에 이차 변환을 적용할 수 있다. 비디오 인코더(200)는 하나 이상의 변환들의 적용 이후에 변환 계수들을 생성한다.After prediction, such as intra-prediction or inter-prediction of a block, the video encoder 200 may calculate residual data for the block. Residual data, such as a residual block, represents the sample-by-sample difference between a block formed using a corresponding prediction mode and a prediction block for that block. 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, the 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 performs a first transform, such as a mode-dependent non-separable secondary transform (MDNSST), signal dependent transform, Karhunen-Loeve transform (KLT), etc. A quadratic transformation can be applied to . Video encoder 200 generates transform coefficients after applying one or more transforms.

상기에 언급된 바와 같이, 변환 계수들을 생성하기 위한 임의의 변환들 이후에, 비디오 인코더(200)는 변환 계수들의 양자화를 수행할 수 있다. 양자화는 일반적으로, 변환 계수들이 그 변환 계수들을 나타내는데 사용되는 데이터의 양을 가능하게는 감소시키도록 양자화되어 추가 압축을 제공하는 프로세스를 지칭한다. 양자화 프로세스를 수행함으로써, 비디오 인코더(200)는 변환 계수들의 일부 또는 전부와 연관된 비트 심도를 감소시킬 수 있다. 예를 들어, 비디오 인코더(200)는 양자화 동안 n-비트 값을 m-비트 값으로 라운딩 다운할 수 있고, 여기서 n은 m 보다 크다. 일부 예들에서, 양자화를 수행하기 위해, 비디오 인코더(200)는 양자화될 값의 비트단위(bitwise) 우측-시프트를 수행할 수 있다.As mentioned above, after 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 possibly reduce 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)는, 예컨대 콘텍스트 적응적 이진 산술 코딩(context-adaptive binary arithmetic coding, CABAC)에 따라 1차원 벡터를 엔트로피 인코딩할 수 있다. 비디오 인코더(200)는 또한, 비디오 데이터를 디코딩함에 있어서 비디오 디코더(300)에 의한 사용을 위해 인코딩된 비디오 데이터와 연관된 메타데이터를 설명하는 신택스 엘리먼트들에 대한 값들을 엔트로피 인코딩할 수 있다.After quantization, the video encoder 200 may scan the transform coefficients to generate a one-dimensional vector from a two-dimensional matrix including the quantized transform coefficients. The scan can be designed to place higher energy (and therefore lower frequency) transform coefficients in front of the vector and lower energy (and therefore higher frequency) transform coefficients behind the vector. In some examples, video encoder 200 may utilize a predefined scan order to scan the quantized transform coefficients 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). there is. 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, video encoder 200 can assign a context within a context model to a symbol to be transmitted. The context may relate, for example, to whether a symbol's neighboring values are zero values. The probability determination may be based on the context assigned to the symbol.

비디오 인코더(200)는 신택스 데이터, 예컨대 블록 기반 신택스 데이터, 픽처 기반 신택스 데이터, 및 시퀀스 기반 신택스 데이터를, 비디오 디코더(300)에, 예컨대 픽처 헤더, 블록 헤더, 슬라이스 헤더, 또는 다른 신택스 데이터, 예컨대 시퀀스 파라미터 세트(sequence parameter set, SPS), 픽처 파라미터 세트(picture parameter set, PPS), 또는 비디오 파라미터 세트(video parameter set, VPS)로 추가로 생성할 수 있다. 비디오 디코더(300)는 마찬가지로, 대응하는 비디오 데이터를 디코딩하는 방법을 결정하기 위해 그러한 신택스 데이터를 디코딩할 수 있다.Video encoder 200 may transmit syntax data, such as block-based syntax data, picture-based syntax data, and sequence-based syntax data, to video decoder 300, such as a picture header, block header, slice header, or other syntax data, e.g. It can be additionally created as a sequence parameter set (SPS), picture parameter set (PPS), or video parameter set (VPS). 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 partitioning a picture into blocks (e.g., CUs) and bits that contain prediction and/or residual information for the blocks. Streams can be created. Ultimately, video decoder 300 can receive the bitstream and decode the encoded video data.

일반적으로, 비디오 디코더(300)는 비트스트림의 인코딩된 비디오 데이터를 디코딩하기 위해 비디오 인코더(200)에 의해 수행되는 것과 상반되는 프로세스를 수행한다. 예를 들어, 비디오 디코더(300)는 비디오 인코더(200)의 CABAC 인코딩 프로세스와 실질적으로 유사하지만, 그와 상반되는 방식으로 CABAC를 사용하여 비트스트림의 신택스 엘리먼트들에 대한 값들을 디코딩할 수 있다. 신택스 엘리먼트들은 픽처의 CTU들로 분할하기 위한 분할 정보, 및 QTBT 구조와 같은 대응하는 파티션 구조에 따른 각각의 CTU의 분할을 정의하여, CTU의 CU들을 정의할 수 있다. 신택스 엘리먼트들은 비디오 데이터의 블록들(예를 들어, CU 들)에 대한 예측 및 잔차 정보를 추가로 정의할 수 있다.In general, video decoder 300 performs a process opposite 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 substantially similar to, but contrasts with, the CABAC encoding process of video encoder 200. Syntax elements may define partition information for dividing a picture into CTUs, and partitioning of each CTU according to a corresponding partition structure, such as a QTBT structure, to define CUs of the CTU. Syntax elements may further define prediction and residual information for blocks (e.g., CUs) of video data.

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

본 개시는 일반적으로 신택스 엘리먼트들과 같은 어떤 정보를 "시그널링 (signaling)" 하는 것을 언급할 수 있다. 용어 "시그널링"은 일반적으로 인코딩된 비디오 데이터를 디코딩하는데 사용되는 신택스 엘리먼트들에 대한 값들 및/또는 다른 데이터의 통신을 지칭할 수 있다. 즉, 비디오 인코더(200)는 비트 스트림에서 신택스 엘리먼트들에 대한 값들을 시그널링할 수 있다. 일반적으로, 시그널링은 비트 스트림에서 값을 생성하는 것을 의미한다. 전술한 바와 같이, 소스 디바이스(102)는, 목적지 디바이스(116)에 의한 추후 취출을 위해 신택스 엘리먼트를 저장 디바이스(112)에 저장할 때 발생할 수 있는 것과 같이, 실질적으로 실시간으로 또는 비실시간으로 비트 스트림을 목적지 디바이스(116)로 전송할 수 있다.This disclosure may generally refer to “signaling” some 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 can signal values for syntax elements in the bit stream. In general, signaling means generating value from a bit stream. As described above, source device 102 may store a bit stream in substantially real-time or non-real-time, such as may occur when storing syntax elements in storage device 112 for later retrieval by destination device 116. Can be transmitted to the destination device 116.

광범위한 애플리케이션들에 대해 고효율 비디오 코딩(HEVC) 표준을 넘어서는 실질적인 압축 능력을 달성하기 위해 ITU-T 및 ISO/IEC의 JVET(Joint Video Experts Team)에 의해 다용도 비디오 코딩(VVC) 표준이 개발되었다. VVC 사양은 2020년 7월에 완결되었으며, ITU-T 및 ISO/IEC 둘 모두에 의해 발행되었다. VVC 사양은 규범적 비트스트림 및 픽처 포맷들, 고레벨 신택스(HLS), 코딩 유닛 레벨 신택스, 및 파싱 및 디코딩 프로세스를 특정한다. VVC는 또한, 부록에 프로파일/티어/레벨(profile/tier/level, PTL) 제한들, 바이트 스트림 포맷들, 가상 참조 디코더 및 보충 강화 정보(supplemental enhancement information, SEI)를 특정한다. 하기에 설명되는 바와 같이, 본 개시내용의 기법들은 기하학적 파티셔닝 모드를 사용하는 VVC, AV1, 또는 임의의 미래의 비디오 코딩 표준들 또는 포맷들의 확장들에 적용될 수 있다.The Versatile Video Coding (VVC) standard was developed by the Joint Video Experts Team (JVET) of ITU-T and ISO/IEC to achieve practical compression capabilities beyond the High Efficiency Video Coding (HEVC) standard for a wide range of applications. The VVC specification was finalized in July 2020 and has been published by both ITU-T and ISO/IEC. The VVC specification specifies canonical bitstream and picture formats, high-level syntax (HLS), coding unit level syntax, and parsing and decoding processes. VVC also specifies profile/tier/level (PTL) restrictions, byte stream formats, virtual reference decoder and supplemental enhancement information (SEI) in the appendix. As described below, the techniques of this disclosure can be applied to extensions of VVC, AV1, or any future video coding standards or formats that use geometric partitioning mode.

본 개시내용은 기하학적 파티셔닝 모드에 따라 파티셔닝된 비디오 데이터의 블록들의 인터 예측을 위한 기법들을 설명한다. 본 개시내용의 기법들은 기하학적 파티셔닝 모드에 대한 병합 후보 목록 구축, 기하학적 파티셔닝 모드에 대한 병합 후보 목록들의 프루닝, 및/또는 기하학적 파티셔닝 모드에서의 제로 모션 벡터들의 사용의 기법들을 포함한다. 본 개시내용의 기법들은, 코딩된 비디오 데이터에서 압축을 증가시키고/시키거나 왜곡을 감소시키는 것을 포함하여, 기하학적 파티셔닝 모드를 사용하도록 구성된 비디오 코덱들의 코딩 성능을 개선시킬 수 있다. 본 개시내용의 기법들에 따르면, 하기에서 더 상세히 설명되는 바와 같이, 비디오 인코더(200) 및/또는 비디오 디코더(300)는 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초하는 단방향 예측을 사용하여 비디오 데이터의 블록을 코딩하도록 구성될 수 있다.This disclosure describes techniques for inter prediction of blocks of video data partitioned according to a geometric partitioning mode. Techniques of this disclosure include techniques of building a merge candidate list for a geometric partitioning mode, pruning merge candidate lists for a geometric partitioning mode, and/or using zero motion vectors in the geometric partitioning mode. Techniques of this disclosure can improve coding performance of video codecs configured to use geometric partitioning mode, including increasing compression and/or reducing distortion in coded video data. According to the techniques of this disclosure, as described in more detail below, video encoder 200 and/or video decoder 300 use a geometric partitioning mode to determine partitioning for a block of video data and The method may be configured to build two unidirectional prediction motion vector candidate lists for a block of data, and code the block of video data using unidirectional prediction based on at least one of the two unidirectional prediction motion vector candidate lists.

VVC에서, 기하학적 파티셔닝 모드(GPM)가 인터 예측을 위해 지원된다. 비디오 인코더(200)는 CU 레벨 플래그를 사용하여 기하학적 파티셔닝 모드의 사용을 시그널링할 수 있다. 비디오 인코더(200) 및 비디오 디코더(300)는, 정규 병합 모드, 모션 벡터 차이와의 병합(merge with motion vector difference, MMVD) 모드, 조합된 인터-인트라 예측(combined inter-intra prediction, CIIP) 모드, 및 서브블록 병합 모드를 포함하는 다른 병합 모드들과 함께, 특정 종류의 병합 모드를 사용한 기하학적 파티셔닝 모드를 사용하여 비디오 데이터를 코딩한다. 전체적으로, 64개의 파티션들이, 8x64 및 64x8을 배제한, 각각의 가능한 CU 사이즈 (이때, 임)에 대해 VVC에서 기하학적 파티셔닝 모드에 의해 지원된다.In VVC, geometric partitioning mode (GPM) is supported for inter prediction. Video encoder 200 may signal use of the geometric partitioning mode using a CU level flag. The video encoder 200 and the video decoder 300 operate in a regular merge mode, a merge with motion vector difference (MMVD) mode, and a combined inter-intra prediction (CIIP) mode. , and other merging modes including subblock merging mode, and geometric partitioning mode using a specific kind of merging mode to code video data. In total, 64 partitions, each possible CU size, excluding 8x64 and 64x8. (At this time, is supported by the geometric partitioning mode in VVC.

도 2는 예시적인 기하학적 파티션들을 예시하는 개념도이다. 기하학적 파티셔닝 모드가 사용될 때, 비디오 인코더(200)는, 도 2에 도시된 바와 같이, 기하학적으로 위치된 직선에 의해 CU들(400) 중 하나를 2개의 부분들로 분할한다. 비디오 인코더(200) 및 비디오 디코더(300)는 특정 파티션의 각도 및 오프셋 파라미터들로부터 분할 라인의 위치를 수학적으로 도출한다. 비디오 인코더(200) 및 비디오 디코더(300)는 각각의 파티션에 대한 별개의 모션 벡터들을 사용하는 인터 예측을 사용하여 CU에서의 기하학적 파티션의 각각의 부분을 코딩하도록 구성될 수 있다. 일례에서, 각각의 파티션에 대해 단방향 예측만이 허용된다. 즉, 각각의 파티션은 하나의 모션 벡터 및 하나의 참조 인덱스와 연관된다. 각각의 파티션에 대한 단방향 예측 모션은 하기에 설명되는 바와 같이 도출된다.2 is a conceptual diagram illustrating example geometric partitions. When the geometric partitioning mode is used, the video encoder 200 divides one of the CUs 400 into two parts by a geometrically located straight line, as shown in FIG. 2. The video encoder 200 and video decoder 300 mathematically derive the position of the division line from the angle and offset parameters of a specific partition. Video encoder 200 and video decoder 300 may be configured to code each portion of a geometric partition in a CU using inter prediction using separate motion vectors for each partition. In one example, only one-way prediction is allowed for each partition. That is, each partition is associated with one motion vector and one reference index. One-way predicted motion for each partition is derived as described below.

VVC에 따라 동작할 때, 비디오 인코더(200) 및 비디오 디코더(300)는 정규 병합 모드에 대해 구축된 병합 후보 목록으로부터 직접적으로 기하학적 파티셔닝 모드에 대한 단방향 예측 후보 목록을 도출하도록 구성된다. n을 기하학적 단방향 예측 후보 목록 내의 단방향 예측 모션의 인덱스로서 표기한다. n-번째 병합 후보의 LX 모션 벡터(이때, X는 n의 패리티(짝수 또는 홀수)와 동일함)는 기하학적 파티셔닝 모드에 대한 n-번째 단방향 예측 모션 벡터로서 사용된다. 이러한 맥락에서, LX는 참조 픽처 목록 0 또는 1(예컨대, L0 및 L1, 여기서 X는 0 또는 1일 수 있음)을 참조한다. 도 3은 기하학적 파티션 모드에 대한 예시적인 병합 인덱스들 및 모션 벡터 후보 목록들을 예시하는 테이블(410)을 도시한다. 기하학적 파티셔닝 모드에 대한 모션 벡터들은 도 3에서 "x"로 마킹된다. n-번째 확장된 병합 후보의 대응하는 LX 모션 벡터가 존재하지 않는 경우에, 동일한 후보의 L(1-X) 모션 벡터가 기하학적 파티셔닝 모드에 대한 단방향 예측 모션 벡터로서 대신 사용된다.When operating according to VVC, video encoder 200 and video decoder 300 are configured to derive a one-way prediction candidate list for the geometric partitioning mode directly from the merge candidate list built for the regular merge mode. We denote n as the index of the unidirectional prediction motion in the geometric unidirectional prediction candidate list. The LX motion vector of the n-th merge candidate (where X is equal to the parity (even or odd) of n) is used as the n-th unidirectional prediction motion vector for the geometric partitioning mode. In this context, LX refers to a reference picture list 0 or 1 (e.g., L0 and L1, where X may be 0 or 1). Figure 3 shows a table 410 illustrating example merge indices and motion vector candidate lists for geometric partition mode. Motion vectors for the geometric partitioning mode are marked with “x” in Figure 3. In case the corresponding LX motion vector of the n-th extended merge candidate does not exist, the L(1-X) motion vector of the same candidate is used instead as the one-way prediction motion vector for the geometric partitioning mode.

기하학적 파티셔닝 모드가 현재 CU에 대해 사용되는 경우, 기하학적 파티션의 파티션 모드를 나타내는 기하학적 파티션 인덱스(예컨대, 각도 및 오프셋), 및 2개의 병합 인덱스들(각각의 파티션에 대해 하나씩)이 추가로 시그널링된다. 최대 기하학적 파티셔닝 모드 후보 사이즈의 수는 SPS에서 명시적으로 시그널링되고, 기하학적 파티셔닝 모드 병합 인덱스들에 대한 신택스 이진화를 특정한다. 기하학적 파티션의 일부 각각을 예측한 후에, 기하학적 파티션 에지를 따른 샘플 값들은 적응적 가중치들을 갖는 블렌딩 프로세싱을 사용하여 조정된다.If a geometric partitioning mode is used for the current CU, a geometric partition index (e.g., angle and offset) indicating the partition mode of the geometric partition, and two merge indices (one for each partition) are additionally signaled. The maximum number of geometric partitioning mode candidate sizes is explicitly signaled in the SPS and specifies the syntax binarization for the geometric partitioning mode merge indices. After predicting each part of the geometric partition, sample values along the geometric partition edges are adjusted using blending processing with adaptive weights.

본 개시내용은 기하학적 파티셔닝 모드에 대한 병합 모션 벡터 후보 목록 구축, 프루닝, 및 제로 모션 벡터 패딩을 위한 다음의 기법들을 설명한다. 본 개시내용의 기법들은 기하학적 파티셔닝 모드를 사용하여 코딩된 비디오 데이터의 픽처들에 대해 코딩 효율을 개선하고/하거나 왜곡을 감소시킬 수 있다. 하기에 설명되는 본 개시내용의 기법들은 개별적으로 또는 임의의 조합으로 적용될 수 있다.This disclosure describes the following techniques for merge motion vector candidate list construction, pruning, and zero motion vector padding for geometric partitioning mode. Techniques of this disclosure can improve coding efficiency and/or reduce distortion for pictures of video data coded using a geometric partitioning mode. The techniques of this disclosure described below can be applied individually or in any combination.

GEO MV 목록 구축Building a GEO MV List

본 개시내용의 일례에서, 기하학적 파티셔닝 모드(GEO) 모션 벡터(MV) 후보 목록 구축이 설명된다. 이러한 예는 GEO MV 후보 목록 구축과 관련하여 설명되지만, 이러한 예의 기법들은 단방향 예측만을 사용하는(예컨대, 하나의 참조 픽처 목록만을 사용함) 다른 인터 예측 모드들에 유용할 수 있다.In one example of the present disclosure, geometric partitioning mode (GEO) motion vector (MV) candidate list construction is described. Although this example is described in the context of building a GEO MV candidate list, the techniques in this example may be useful for other inter prediction modes that use only unidirectional prediction (eg, using only one reference picture list).

이러한 예에서, 정규 병합 모드로부터의 병합 후보 목록을 사용하기보다는, 비디오 인코더(200) 및 비디오 디코더(300)는 기하학적 파티셔닝 모드를 사용할 때 GEO MV 예측에 대해 2개의 단방향 예측 MV 후보 목록들(예컨대, 제1 후보 목록 및 제2 후보 목록)을 구축하도록 구성될 수 있다. 후보 목록들 둘 모두는 L0(목록 0) MV 후보들 및 L1(목록 1) MV 후보들을 포함한다. L0 MV 후보들은 제1 참조 픽처 목록(L0)으로부터의 것이고, L1 MV 후보들은 제2 참조 픽처 목록(L1)으로부터의 것이다. L0 MV 후보들은 제1 후보 목록에서 L1 MV 후보들보다 더 높은 우선순위를 가질 수 있고, L1 MV 후보들은 제2 후보 목록에서 L0 MV 후보들보다 더 높은 우선순위를 가질 수 있다.In this example, rather than using a merge candidate list from the regular merge mode, video encoder 200 and video decoder 300 use two one-way prediction MV candidate lists for GEO MV prediction when using geometric partitioning mode (e.g. , a first candidate list and a second candidate list). Both candidate lists include L0 (list 0) MV candidates and L1 (list 1) MV candidates. L0 MV candidates are from the first reference picture list (L0), and L1 MV candidates are from the second reference picture list (L1). L0 MV candidates may have higher priority than L1 MV candidates in the first candidate list, and L1 MV candidates may have higher priority than L0 MV candidates in the second candidate list.

이러한 맥락에서, 더 높은 우선순위는, 특정 참조 픽처 목록으로부터의 특정 MV 후보가 인터리빙된 방식으로 먼저 추가된다는 것을 의미한다. 그와 같이, 제1 후보 목록의 경우, L0 및 L1 둘 모두로부터의 MV 후보들이 인터리빙되고, 이때 L0 MV 후보들이 먼저 추가된다. 예를 들어, 제1 후보 목록은 다음의 순서로 MV 후보들을 포함할 수 있다: C-L0, C-L1, C-L0, C-L1... C-L0은 목록 L0으로부터의 MV 후보를 나타내고 C-L1은 목록 L1로부터의 MV 후보를 나타낸다. 따라서, 제2 후보 목록의 경우, L0 및 L1 둘 모두로부터의 MV 후보들이 인터리빙되고, 이때 L1 MV 후보들이 먼저 추가된다. 예를 들어, 제1 후보 목록은 다음의 순서로 MV 후보들을 포함할 수 있다: C-L1, C-L0, C-L1, C-L0...In this context, a higher priority means that a specific MV candidate from a specific reference picture list is added first in an interleaved manner. As such, for the first candidate list, MV candidates from both L0 and L1 are interleaved, with L0 MV candidates added first. For example, the first candidate list may include MV candidates in the following order: C-L0, C-L1, C-L0, C-L1... C-L0 represents the MV candidate from list L0. and C-L1 represents the MV candidate from list L1. Therefore, for the second candidate list, MV candidates from both L0 and L1 are interleaved, with L1 MV candidates added first. For example, the first candidate list may include MV candidates in the following order: C-L1, C-L0, C-L1, C-L0...

따라서, 본 개시내용의 일례에서, 비디오 인코더(200) 및 비디오 디코더(300)는 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초하는 단방향 예측을 사용하여 비디오 데이터의 블록을 코딩하도록 구성될 수 있다. 2개의 단방향 예측 MV 후보 목록들은 제1 단방향 예측 MV 후보 목록(제1 후보 목록) 및 제2 단방향 예측 MV 후보 목록(제2 후보 목록)을 포함한다.Accordingly, in one example of the present disclosure, video encoder 200 and video decoder 300 use a geometric partitioning mode to determine partitioning for a block of video data and generate two one-way predictive motion vectors for a block of video data. The method may be configured to build candidate lists and code a block of video data using one-way prediction based on at least one of two one-way prediction motion vector candidate lists. The two unidirectional prediction MV candidate lists include a first unidirectional prediction MV candidate list (first candidate list) and a second unidirectional prediction MV candidate list (second candidate list).

비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 비디오 인코더(200) 및 비디오 디코더(300)는, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축할 수 있고, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축할 수 있다.To build two unidirectional predictive motion vector candidate lists for a block of video data, video encoder 200 and video decoder 300 combine first motion vector candidates from a first reference picture list into a second reference picture list. A first of two unidirectional predictive motion vector candidate lists may be constructed, including interleaving second motion vector candidates from a second reference picture list with second motion vector candidates from a first reference picture list. A second of the two unidirectional predictive motion vector candidate lists may be constructed, including interleaving the first motion vector candidates from the picture list.

이러한 맥락에서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것은, 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 교번하는 방식으로 제1 후보 목록에 추가하는 것을 포함하고, 제1 모션 벡터 후보들로부터의 후보가 먼저 추가된다. 마찬가지로, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것은, 제2 모션 벡터 후보들 및 제1 모션 벡터 후보들을 교번하는 방식으로 제2 후보 목록에 추가하는 것을 포함하고, 제2 모션 벡터 후보들로부터의 후보가 먼저 추가된다.In this context, interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list in a manner that alternates the first motion vector candidates and the second motion vector candidates. and adding to a first candidate list, where a candidate from the first motion vector candidates is added first. Likewise, interleaving second motion vector candidates from a second reference picture list with first motion vector candidates from a first reference picture list means alternating the second motion vector candidates and the first motion vector candidates. and adding to a candidate list, where the candidate from the second motion vector candidates is added first.

일례에서, 제1 단방향 예측 MV 후보 목록(제1 후보 목록)에서, 제1 단방향 예측 MV 후보 목록에 대한 n-번째 단방향 예측 모션 벡터의 기본 MV는 (예컨대, 정규 병합 모드 후보 목록으로부터의) n-번째 정규 병합 후보와 동일하게 설정될 수 있다. X가 0 또는 1과 동일한, n-번째 기본 MV의 목록 X의 모션 벡터는 제1 단방향 예측 MV 후보 목록에 대한 n-번째 단방향 예측 모션 벡터로서 사용된다. n-번째 기본 MV의 대응하는 LX 모션 벡터가 존재하지 않는 경우에, 동일한 기본 MV 후보의 L(1-X) 모션 벡터가 사용된다.In one example, in a first unidirectional predictive MV candidate list (first candidate list), the base MV of the n-th unidirectional predictive motion vector for the first unidirectional predictive MV candidate list is n (e.g., from the canonical merge mode candidate list) It can be set to be the same as the -th regular merge candidate. The motion vector of the list X of the n-th basic MV, where In case the corresponding LX motion vector of the n-th basic MV does not exist, the L(1-X) motion vector of the same basic MV candidate is used.

다른 예에서, 제1 단방향 예측 MV 후보 목록 내의 n-번째 단방향 예측 모션 벡터의 기본 MV는, n-번째 정규 병합 후보 대신에, 이웃 블록들, 병치된 블록들, 또는 다른 블록들의 MV 후보들로부터 소정 체크 순서로 구축될 수 있다.In another example, the base MV of the n-th unidirectional prediction motion vector in the first unidirectional prediction MV candidate list is determined from MV candidates of neighboring blocks, collocated blocks, or other blocks, instead of the n-th regular merge candidate. It can be built in a check order.

제2 단방향 예측 MV 후보 목록(제2 후보 목록)에서, 제2 단방향 예측 MV 후보 목록에 대한 n-번째 단방향 예측 모션 벡터의 기본 MV는 n-번째 정규 병합 후보와 동일하게 설정될 수 있다. 이어서, Y가 1 또는 0과 동일한, n-번째 기본 MV의 목록 Y의 모션 벡터가 제2 단방향 예측 MV 후보 목록에 대한 n-번째 단방향 예측 모션 벡터로서 사용된다. n-번째 기본 MV의 대응하는 LY 모션 벡터가 존재하지 않는 경우에, 동일한 기본 MV 후보의 L(1-Y) 모션 벡터가 사용된다.In the second unidirectional prediction MV candidate list (second candidate list), the base MV of the n-th unidirectional prediction motion vector for the second unidirectional prediction MV candidate list may be set equal to the n-th normal merge candidate. Then, the motion vector of the list Y of the n-th basic MV, where Y is equal to 1 or 0, is used as the n-th one-way prediction motion vector for the second one-way prediction MV candidate list. In case the corresponding LY motion vector of the n-th basic MV does not exist, the L(1-Y) motion vector of the same basic MV candidate is used.

상기 예들에서, X와 Y 사이의 관계는 Y = 1 - X이며, 여기서 X는 0 및 1의 값들을 가질 수 있다.In the above examples, the relationship between X and Y is Y = 1 - X, where X can have the values 0 and 1.

다른 예에서, 제2 단방향 예측 MV 후보 목록 내의 n-번째 단방향 예측 모션 벡터의 기본 MV는, n-번째 정규 병합 후보 대신에, 이웃 블록들, 병치된 블록들, 또는 다른 블록들의 MV 후보들로부터 소정 체크 순서로 구축될 수 있다.In another example, the base MV of the n-th unidirectional prediction motion vector in the second unidirectional prediction MV candidate list is determined from MV candidates of neighboring blocks, collocated blocks, or other blocks, instead of the n-th regular merge candidate. It can be built in a check order.

비디오 인코더(200) 및 비디오 디코더(300)는 제1 단방향 예측 MV 후보 목록(제1 후보 목록), 제2 단방향 예측 MV 후보 목록(제2 후보 목록), 또는 제1 단방향 예측 MV 후보 목록 및 제2 단방향 예측 MV 후보 목록 둘 모두로부터 최종 GEO MV 후보 목록을 구축할 수 있다. 대체적으로, 비디오 인코더(200) 및 비디오 디코더(300)는 제1 후보 목록으로부터의 MV 후보들 모두를 먼저 사용할 수 있다. 제1 후보 목록으로부터 모든 후보들을 추가한 후에 목록의 미리결정된 사이즈(예컨대, 10개의 후보들)가 충분하지 않으면, 비디오 인코더(200) 및 비디오 디코더(300)는, 최종 후보 목록이 미리결정된 수의 후보들에 도달할 때까지 제2 후보 목록으로부터의 MV 후보들을 추가할 수 있다. 제2 후보 목록들로부터 후보들을 추가한 후에 목록이 여전히 부족한 경우, 비디오 인코더(200) 및 비디오 디코더(300)는 최종 후보 목록에 후보들을 패딩할 수 있다. 일부 예들에서, 제1 후보 목록 및 제2 후보 목록으로부터의 MV 후보들의 추가는 하기에 설명되는 프루닝 기법들의 적용을 받는다.The video encoder 200 and the video decoder 300 may include a first unidirectional prediction MV candidate list (first candidate list), a second unidirectional prediction MV candidate list (second candidate list), or a first unidirectional prediction MV candidate list and a second unidirectional prediction MV candidate list. 2 The final GEO MV candidate list can be constructed from both one-way predicted MV candidate lists. Alternatively, video encoder 200 and video decoder 300 may first use all of the MV candidates from the first candidate list. If the predetermined size of the list (e.g., 10 candidates) is not sufficient after adding all candidates from the first candidate list, video encoder 200 and video decoder 300 may determine that the final candidate list has a predetermined number of candidates. MV candidates from the second candidate list may be added until . If the list is still insufficient after adding candidates from the second candidate lists, the video encoder 200 and video decoder 300 may pad the candidates into the final candidate list. In some examples, addition of MV candidates from the first candidate list and the second candidate list is subject to pruning techniques described below.

상기의 일례에서, 최종 GEO MV 후보 목록의 사이즈, 제1 단방향 예측 MV 후보 목록의 사이즈, 및 제2 단방향 예측 MV 후보 목록의 사이즈는 각각 M, M1, 및 M2이며, 여기서 M은 미리할당된 양의 정수이다. M1 < M이면, 제1 단방향 예측 MV 후보 목록 내의 M1개의 단방향 예측 MV 후보들, 및 제2 단방향 예측 MV 후보 목록 내의 (M - M1)개의 단방향 예측 MV 후보들이 최종 GEO MV 후보 목록에 추가되어, 프루닝을 적용받는다. 그렇지 않은 경우, M1 ≥ M이면, 제1 단방향 예측 MV 후보 목록 내의 M개의 단방향 예측 MV 후보들이 최종 GEO MV 후보 목록에 추가되고, 제2 단방향 예측 MV 후보 목록으로부터의 후보들은 사용되지 않는다.In the above example, the size of the final GEO MV candidate list, the size of the first one-way prediction MV candidate list, and the size of the second one-way prediction MV candidate list are M, M1, and M2, respectively, where M is a preallocated amount. is the integer of If M1 < M, M1 unidirectional prediction MV candidates in the first unidirectional prediction MV candidate list and (M - M1) unidirectional prediction MV candidates in the second unidirectional prediction MV candidate list are added to the final GEO MV candidate list, Ruening is applied. Otherwise, if M1 ≥ M, M unidirectional predictive MV candidates in the first unidirectional predictive MV candidate list are added to the final GEO MV candidate list, and candidates from the second unidirectional predictive MV candidate list are not used.

따라서, 본 개시내용의 추가 예에서, 비디오 인코더(200) 및 비디오 디코더(300)는 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나를 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하고, 그리고 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 코딩하도록 구성될 수 있다.Accordingly, in a further example of the present disclosure, video encoder 200 and video decoder 300 use at least one of the two unidirectional prediction motion vector candidate lists to build a final geometric partitioning mode motion vector candidate list, and It may be configured to code blocks of video data using one-way prediction and the final geometric partitioning mode motion vector candidate list.

GEO MV 후보들의 프루닝Pruning of GEO MV candidates

이러한 예에서, 비디오 인코더(200) 및 비디오 디코더(300)는 중복 GEO MV 후보들을 제거하기 위해 프루닝 프로세스를 적용하도록 구성될 수 있다. 예를 들어, 이러한 프루닝 프로세스는 최종 GEO 후보 목록을 구축하는 동안 적용될 수 있다. 비디오 인코더(200) 및 비디오 디코더(300)는 최종 GEO MV 후보 목록에 추가될 MV 후보를 최종 GEO MV 후보 목록에 이미 추가된 후보들과 비교하도록 구성될 수 있다. 비교 결과에 기초하여, 고려된 후보는 최종 GEO MV 후보 목록에 추가되지 않을 수 있다. 예를 들어, 고려된 후보가 이미 최종 GEO MV 후보 목록에 있는 경우, 추가되도록 고려되는 후보는 추가되지 않는다. 일례에서, 비디오 인코더(200) 및 비디오 디코더(300)는 i-번째 GEO MV 후보를 j-번째 GEO MV 후보들 모두와 비교하여(여기서, j는 0, 1,..., 및 i-1일 수 있음), i-번째 GEO MV 후보가 최종 GEO MV 후보 목록으로부터 프루닝될 수 있는지(예컨대, 목록으로부터 제거되거나 또는 그에 추가되지 않는지)를 체크할 수 있다.In this example, video encoder 200 and video decoder 300 may be configured to apply a pruning process to remove redundant GEO MV candidates. For example, this pruning process can be applied while building the final GEO candidate list. The video encoder 200 and the video decoder 300 may be configured to compare MV candidates to be added to the final GEO MV candidate list with candidates already added to the final GEO MV candidate list. Based on the comparison results, the considered candidates may not be added to the final GEO MV candidate list. For example, if a considered candidate is already in the final GEO MV candidate list, the candidate being considered for addition will not be added. In one example, video encoder 200 and video decoder 300 compare the i-th GEO MV candidate with all of the j-th GEO MV candidates, where j is 0, 1,..., and i-1. can be checked), it can be checked whether the i-th GEO MV candidate can be pruned from the final GEO MV candidate list (eg, removed from the list or not added to it).

특정 예에서, 다음의 조건들 모두가 j-번째 GEO MV 후보들 중 적어도 하나에서 참(true)인 경우, 비디오 인코더(200) 및 비디오 디코더(300)는 최종 GEO 병합 후보 목록으로부터 i-번째 GEO MV 후보를 프루닝하도록 구성된다:In a specific example, if all of the following conditions are true for at least one of the j-th GEO MV candidates, video encoder 200 and video decoder 300 select the i-th GEO MV from the final GEO merge candidate list. It is configured to prune candidates:

1. 동일한 참조 픽처 목록(즉, L0 또는 L1)이 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용되는 경우. 예를 들어, L0은 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용된다. 다른 예에서, L1은 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용된다.One. When the same reference picture list (i.e. L0 or L1) is used by the i-th GEO MV candidate and the j-th GEO MV candidate. For example, L0 is used by the i-th GEO MV candidate and the j-th GEO MV candidate. In another example, L1 is used by the i-th GEO MV candidate and the j-th GEO MV candidate.

2. 동일한 참조 픽처 목록 인덱스가 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용되는 경우. 예를 들어, 참조 픽처 목록 인덱스 0이 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용된다. 다른 예에서, 참조 픽처 목록 인덱스 1이 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용된다.2. When the same reference picture list index is used by the i-th GEO MV candidate and the j-th GEO MV candidate. For example, reference picture list index 0 is used by the i-th GEO MV candidate and the j-th GEO MV candidate. In another example, reference picture list index 1 is used by the i-th GEO MV candidate and the j-th GEO MV candidate.

3. i-번째 GEO MV 후보와 j-번째 GEO MV 후보 사이의 수평 MV 차이의 절대 값이 미리정의된 MV 차이 임계치(Tx) 이하이고, i-번째 GEO MV 후보와 j-번째 GEO MV 후보 사이의 수직 MV 차이의 절대 값이 미리정의된 MV 차이 임계치(Ty) 이하인 경우(L0 MV들 및 L1 MV들 둘 모두가 체크됨), 여기서 Tx 및 Ty는 임의의 양의 미리할당된 값, 예컨대 1/4, 1/2, 및 1일 수 있음. Tx 및 Ty 값들은 동일할 수 있다.3. The absolute value of the horizontal MV difference between the i-th GEO MV candidate and the j-th GEO MV candidate is less than or equal to the predefined MV difference threshold (Tx), and the vertical value between the i-th GEO MV candidate and the j-th GEO MV candidate is less than or equal to the predefined MV difference threshold (Tx). If the absolute value of the MV difference is less than or equal to a predefined MV difference threshold (Ty) (both L0 MVs and L1 MVs are checked), where Tx and Ty are arbitrary positive preassigned values, such as 1/4. , 1/2, and 1. Tx and Ty values may be the same.

일례에서, 제1 후보 목록에 대한 프루닝 프로세스는, 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 제1 후보 목록으로부터 제1 후보를 제거하는 것을 포함할 수 있고, 제1 후보는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제1 후보는 임계치보다 더 크지 않은 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는다. 마찬가지로, 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하는 것은, 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 제2 후보 목록으로부터 제2 후보를 제거하는 것을 포함할 수 있고, 제2 후보는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제2 후보는 임계치보다 더 크지 않은 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는다.In one example, the pruning process for the first candidate list may include removing a first candidate from the first candidate list based on the first candidate having the same reference picture list as another candidate in the first candidate list, and , the first candidate has the same reference picture list index as other candidates in the first candidate list, and the first candidate has horizontal and vertical motion vector differences with other candidates in the first candidate list that are no greater than a threshold. Likewise, performing a second pruning process on the second candidate list means performing a second pruning process on the second candidate list based on the second candidate having the same reference picture list as the first candidate list or another candidate in the second candidate list. and removing a candidate, wherein the second candidate has the same reference picture list index as another candidate in the first candidate list or the second candidate list, and the second candidate is not greater than the threshold. 2 It has horizontal and vertical motion vector differences from other candidates in the candidate list.

후보 목록 구축에 대해 전술된 기법들과 조합되는 경우, 프루닝 프로세스는 제1 후보 목록 및 제2 후보 목록에 독립적으로 적용될 수 있다. 일례에서, 프루닝은, 최종 GEO MV 후보 목록이 그들 목록들로부터 구축되기 전에 수행된다. 다시 말하면, 제1 단방향 예측 MV 후보 목록 내의 i-번째 GEO MV 후보는 제1 단방향 예측 MV 후보 목록 내의 j-번째 GEO MV 후보들과 비교되고(여기서 j = 0, 1,..., i-1임), 제2 단방향 예측 MV 후보 목록 내의 m-번째 GEO MV 후보는 제2 단방향 예측 MV 후보 목록 내의 n-번째 GEO MV 후보들과 비교된다(여기서 n = 0, 1, ..., m-1임).When combined with the techniques described above for candidate list construction, the pruning process can be applied independently to the first candidate list and the second candidate list. In one example, pruning is performed before the final GEO MV candidate list is built from those lists. In other words, the i-th GEO MV candidate in the first one-way prediction MV candidate list is compared with the j-th GEO MV candidates in the first one-way prediction MV candidate list (where j = 0, 1,..., i-1 ), the m-th GEO MV candidate in the second one-way prediction MV candidate list is compared with the n-th GEO MV candidates in the second one-way prediction MV candidate list (where n = 0, 1, ..., m-1 lim).

다른 예에서, 비디오 인코더(200) 및 비디오 디코더(300)는 제1 단방향 예측 MV 후보 목록 및 제2 단방향 예측 MV 후보 목록에 공동으로 프루닝 프로세스를 적용할 수 있다. 다시 말하면, 제1 단방향 예측 MV 후보 목록 내의 i-번째 GEO MV 후보는 제1 단방향 예측 MV 후보 목록 내의 j-번째 GEO MV 후보들과 비교되고(여기서 j = 0, 1,..., i-1임), 제2 단방향 예측 MV 후보 목록 내의 m-번째 GEO MV 후보는 제1 단방향 예측 MV 후보 목록 내의 j-번째 GEO MV 후보들과 비교되고(여기서 j = 0, 1, ..., M1-1임), 또한 제2 단방향 예측 MV 후보 목록 내의 n-번째 GEO MV 후보들과 비교된다(여기서 n = 0, 1, ..., m-1임).In another example, video encoder 200 and video decoder 300 may jointly apply a pruning process to the first unidirectional prediction MV candidate list and the second unidirectional prediction MV candidate list. In other words, the i-th GEO MV candidate in the first one-way prediction MV candidate list is compared with the j-th GEO MV candidates in the first one-way prediction MV candidate list (where j = 0, 1,..., i-1 ), the m-th GEO MV candidate in the second one-way prediction MV candidate list is compared with the j-th GEO MV candidates in the first one-way prediction MV candidate list (where j = 0, 1, ..., M1-1 is), and is also compared with the n-th GEO MV candidates in the second one-way prediction MV candidate list (where n = 0, 1, ..., m-1).

일례에서, 임계치들(Tx, Ty)은 블록 사이즈들에 의존하는 적응적 값들일 수 있다. 일례에서, 현재 코딩 블록 내의 샘플들의 수가 미리정의된 양의 정수 N1보다 큰 경우, Tx 및 Ty는 T1과 동일하다. 그렇지 않으면, 현재 코딩 블록 내의 샘플들의 수가 미리정의된 양의 정수 N2보다 크고 N1 이하인 경우, Tx 및 Ty는 T2와 동일하다. 그렇지 않으면, 현재 코딩 블록 내의 샘플들의 수가 미리정의된 양의 정수 N3보다 크고 N2 이하인 경우, Tx 및 Ty는 T3과 동일하다. 그렇지 않으면, Tx 및 Ty는 T4와 동일하다. N1 > N2 > N3임에 유의한다.In one example, the thresholds (Tx, Ty) may be adaptive values that depend on block sizes. In one example, if the number of samples in the current coding block is greater than a predefined positive integer N1, Tx and Ty are equal to T1. Otherwise, if the number of samples in the current coding block is greater than a predefined positive integer N2 and less than or equal to N1, Tx and Ty are equal to T2. Otherwise, if the number of samples in the current coding block is greater than a predefined positive integer N3 and less than or equal to N2, Tx and Ty are equal to T3. Otherwise, Tx and Ty are equal to T4. Note that N1 > N2 > N3.

일례에서, Tx 및 Ty의 값들은 GEO 코딩 블록에서 선택된 모드들에 의존하는 적응적 값들일 수 있다. 일례에서, 템플릿 매칭 GEO 모드가 현재 블록에서 사용되는 경우, Tx 및 Ty는 T1과 동일하다. 그렇지 않으면, MMVD GEO 모드가 선택되는 경우, Tx 및 Ty는 T2와 동일하다. 그렇지 않으면, 정규 GEO 모드가 선택되는 경우, Tx 및 Ty는 T3과 동일하다. 상기에서 언급된 T1, T2, T3, 및 T4는 양의 값들임에 유의한다.In one example, the values of Tx and Ty may be adaptive values depending on the modes selected in the GEO coding block. In one example, if template matching GEO mode is used in the current block, Tx and Ty are equal to T1. Otherwise, if MMVD GEO mode is selected, Tx and Ty are equal to T2. Otherwise, if regular GEO mode is selected, Tx and Ty are equal to T3. Note that T1, T2, T3, and T4 mentioned above are positive values.

프루닝 프로세스의 조건들에 대한 다른 예에서, 참조 픽처가 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보 둘 모두에 대해 동일한지를 식별하기 위해 픽처 순서 카운트(picture order count, POC)가 사용될 수 있다. 구체적으로, 다음의 조건들 모두가 j-번째 GEO MV 후보들 중 적어도 하나에서 참인 경우, i-번째 GEO MV 후보는 최종 GEO 병합 후보 목록으로부터 프루닝된다:In another example of the conditions of the pruning process, a picture order count (POC) can be used to identify whether the reference picture is the same for both the i-th GEO MV candidate and the j-th GEO MV candidate. there is. Specifically, if all of the following conditions are true for at least one of the j-th GEO MV candidates, the i-th GEO MV candidate is pruned from the final GEO merge candidate list:

1. 동일한 POC 값을 갖는 픽처가 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 참조되는 경우.One. When a picture with the same POC value is referenced by the i-th GEO MV candidate and the j-th GEO MV candidate.

2. 동일한 참조 픽처 목록 인덱스가 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용되는 경우. 예를 들어, 참조 픽처 목록 인덱스 0이 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용된다. 다른 예에서, 참조 픽처 목록 인덱스 1이 i-번째 GEO MV 후보 및 j-번째 GEO MV 후보에 의해 사용된다.2. When the same reference picture list index is used by the i-th GEO MV candidate and the j-th GEO MV candidate. For example, reference picture list index 0 is used by the i-th GEO MV candidate and the j-th GEO MV candidate. In another example, reference picture list index 1 is used by the i-th GEO MV candidate and the j-th GEO MV candidate.

본 개시내용의 다른 예에서, 비디오 인코더(200) 및 비디오 디코더(300)는 일부 GEO MV 후보들에 대한 프루닝만을 가능하게 하기 위해 프루닝 프로세스에 적용되는 제약들에 따라 동작하도록 구성될 수 있다. 일례는, 비디오 인코더(200) 및 비디오 디코더(300)가 GEO 후보들 목록 내의 처음 P개의 후보들에만 프루닝을 적용하도록 구성되며, 여기서 P는 목록의 사이즈보다 더 작다는 것이다. 다른 예에서, 프루닝 프로세스는 후보 목록으로부터 프루닝되는(그로부터 감소되거나, 또는 그에 추가되지 않는) 처음 Q개의 후보들에만 적용되며, 여기서 Q는 목록의 사이즈보다 더 작다.In another example of this disclosure, video encoder 200 and video decoder 300 may be configured to operate according to constraints applied to the pruning process to enable pruning only for some GEO MV candidates. One example is that video encoder 200 and video decoder 300 are configured to apply pruning only to the first P candidates in the GEO candidates list, where P is smaller than the size of the list. In another example, the pruning process applies only to the first Q candidates that are pruned from (reduced from, or added to) the candidate list, where Q is smaller than the size of the list.

대체적으로, 일례에서, 비디오 인코더(200) 및 비디오 디코더(300)는 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하도록 구성될 수 있다. 다른 예에서, 비디오 인코더(200) 및 비디오 디코더(300)는 2개의 단방향 예측 모션 벡터 후보 목록들(예컨대, 제1 단방향 예측 MV 후보 목록 및 제2 단방향 예측 MV 후보 목록)에 대해 프루닝 프로세스를 수행하도록 구성될 수 있다.Alternatively, in one example, video encoder 200 and video decoder 300 may be configured to perform a pruning process on the final geometric partitioning mode motion vector candidate list. In another example, video encoder 200 and video decoder 300 perform a pruning process on two unidirectional prediction motion vector candidate lists (e.g., a first unidirectional prediction MV candidate list and a second unidirectional prediction MV candidate list). It can be configured to perform.

단방향 예측 제로 GEO MV 후보들One-way prediction zero GEO MV candidates

본 개시내용의 이러한 예에서, 비디오 인코더(200) 및 비디오 디코더(300)는, 최종 GEO MV 후보 목록이 충분하지 않은 경우, 즉 후보들의 수가 M보다 작은 경우, 단방향 예측 MV 후보들을 최종 GEO MV 후보 목록에 패딩하도록 구성된다. 추가된 단방향 예측 MV 후보들은 인터리빙된 목록 0 MV 후보들 및 목록 1 MV 후보들을 포함한다. MV의 x 및 y 성분들은 미리정의된 고정 값들일 수 있다. 패딩된 MV 후보들에 대한 참조 인덱스들은 미리정의된 고정 값들이거나 또는 이용가능한 값들에 걸쳐 순환(loop)할 수 있다.In this example of the present disclosure, video encoder 200 and video decoder 300 combine the one-way prediction MV candidates into the final GEO MV candidate if the final GEO MV candidate list is not sufficient, i.e., if the number of candidates is less than M. It is configured to pad the list. The added unidirectional prediction MV candidates include interleaved List 0 MV candidates and List 1 MV candidates. The x and y components of MV may be predefined fixed values. Reference indices for padded MV candidates may be predefined fixed values or may loop through the available values.

일례가 다음과 같이 설명된다: refListIdx에 대한 초기 값을 -1로 설정함. 최종 GEO MV 후보 목록 내의 i-번째 후보가 비어있는 경우, List X 및 refListIdx를 갖는 제로 MV가 패딩되며, 여기서 X는 i의 패리티로 설정되고, 여기서 패리티 = i & 1이고, refListIdx는 (refListIdx + 1)이도록 설정된다.One example is described as follows: Set the initial value for refListIdx to -1. If the i-th candidate within the final GEO MV candidate list is empty, a zero MV with List It is set to 1).

참조 인덱스들의 최대 수, maxNumRefIdx가 다음과 같이 설정된다고 가정한다: 슬라이스가 B-슬라이스인 경우, maxNumRefIdx는 min(REF_PIC_LIST_0에서의 참조 인덱스들의 수, REF_PIC_LIST_1에서의 참조 인덱스들의 수)과 동일하고; 그렇지 않은 경우, maxNumRefIdx는 REF_PIC_LIST_0에서의 참조 인덱스들의 수와 동일하다.Assume the maximum number of reference indices, maxNumRefIdx, is set as follows: If the slice is a B-slice, maxNumRefIdx is equal to min (number of reference indices in REF_PIC_LIST_0, number of reference indices in REF_PIC_LIST_1); Otherwise, maxNumRefIdx is equal to the number of reference indices in REF_PIC_LIST_0.

refListIdx가, 하나의 후보 패딩이 완료된 후 maxNumRefIdx - 1과 동일한 경우, refListIdx의 값은 -1이도록 재설정된다.If refListIdx is equal to maxNumRefIdx - 1 after one candidate padding is completed, the value of refListIdx is reset to -1.

대체적으로, 비디오 인코더(200) 및 비디오 디코더(300)는, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록의 사이즈가 임계치 미만인 경우, 하나 이상의 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하도록 구성될 수 있다.In general, video encoder 200 and video decoder 300 are configured to add one or more zero motion vector candidates to the final geometric partitioning mode motion vector candidate list if the size of the final geometric partitioning mode motion vector candidate list is less than a threshold. It can be.

도 4는 본 개시내용의 기법들을 수행할 수 있는 예시적인 비디오 인코더(200)를 예시하는 블록도이다. 도 4는 설명의 목적들로 제공되며, 본 개시내용에서 대략적으로 예시화되고 설명된 바와 같은 기법들의 제한으로 간주되지 않아야 한다. 설명의 목적으로, 본 개시는 VVC(ITU-T H.266, 개발중) 및 HEVC(ITU-T H.265)의 기법들에 따른 비디오 인코더(200)를 기술한다. 그러나, 본 개시내용의 기법들은, AV1 및 AV1 비디오 코딩 포맷에 대한 후속들과 같은, 다른 비디오 코딩 표준들 및 비디오 코딩 포맷들로 구성되는 비디오 인코딩 디바이스들에 의해 수행될 수 있다.4 is a block diagram illustrating an example video encoder 200 that can perform the techniques of this disclosure. 4 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 a 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 can 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.

도 4의 예에서, 비디오 인코더(200)는 비디오 데이터 메모리(230), 모드 선택 유닛(202), 잔차 생성 유닛(204), 변환 프로세싱 유닛(206), 양자화 유닛(208), 역 양자화 유닛(210), 역 변환 프로세싱 유닛(212), 재구성 유닛(214), 필터 유닛(216), 디코딩된 픽처 버퍼(decoded picture buffer, DPB)(218), 및 엔트로피 인코딩 유닛(220)을 포함한다. 비디오 데이터 메모리(230), 모드 선택 유닛(202), 잔차 생성 유닛(204), 변환 프로세싱 유닛(206), 양자화 유닛(208), 역 양자화 유닛(210), 역 변환 프로세싱 유닛(212), 재구성 유닛(214), 필터 유닛(216), DPB(218), 및 엔트로피 인코딩 유닛(220)의 어느 것 또는 전부는 하나 이상의 프로세서들에서 또는 프로세싱 회로부에서 구현될 수 있다. 예를 들어, 비디오 인코더(200)의 유닛은 하드웨어 회로부의 일부로서 또는 프로세서, ASIC 또는 FPGA의 일부로서 하나 이상의 회로 또는 로직 엘리먼트로서 구현될 수 있다. 더욱이, 비디오 인코더(200)는 이들 및 다른 기능들을 수행하기 위해 추가적인 또는 대안적인 프로세서들 또는 프로세싱 회로부를 포함할 수 있다.In the example of Figure 4, video encoder 200 includes video data memory 230, mode selection unit 202, residual generation unit 204, transform processing unit 206, quantization unit 208, and inverse quantization unit ( 210), an inverse transform processing unit 212, a reconstruction 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, reconstruction. Any or all of unit 214, filter unit 216, DPB 218, and entropy encoding unit 220 may be implemented in one or more processors or processing circuitry. For example, a unit 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)는 예를 들어, 비디오 소스(104)(도 1)로부터 비디오 데이터 메모리(230)에 저장된 비디오 데이터를 수신할 수 있다. DPB(218)는 비디오 인코더(200)에 의한 후속 비디오 데이터의 예측에 사용하기 위해 참조 비디오 데이터를 저장하는 참조 픽처 메모리로서 작용할 수 있다. 비디오 데이터 메모리(230) 및 DPB(218)는 다양한 메모리 디바이스들, 예컨대 SDRAM(synchronous DRAM), MRAM(magnetoresistive RAM), RRAM(resistive RAM)을 포함하는 DRAM(Dynamic random access memory), 또는 다른 타입들의 메모리 디바이스들 중 임의의 것에 의해 형성될 수 있다. 비디오 데이터 메모리(230) 및 DPB(218)는 동일한 메모리 디바이스 또는 별개의 메모리 디바이스들에 의해 제공될 수 있다. 다양한 예들에서, 비디오 데이터 메모리(230)는 예시된 바와 같이, 비디오 인코더(200)의 다른 컴포넌트들과 온-칩형이거나 그 컴포넌트들에 대하여 오프-칩형일 수 있다.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 (FIG. 1). DPB 218 may act 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 include various memory devices, such as dynamic random access memory (DRAM), including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types. It may be formed by any of the 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 or off-chip relative to other components of video encoder 200, as illustrated.

본 개시에서, 비디오 데이터 메모리(230)에 대한 참조는 이처럼 구체적으로 기재되지 않으면 비디오 인코더(200) 내부의 메모리 또는 이처럼 구체적으로 기재되지 않으면 비디오 인코더(200) 외부의 메모리로 제한되는 것으로 해석되지 않아야 한다. 오히려, 비디오 데이터 메모리(230)에 대한 참조는 비디오 인코더(200)가 인코딩을 위해 수신하는 비디오 데이터(예를 들어, 인코딩될 현재 블록에 대한 비디오 데이터)를 저장하는 참조 메모리로서 이해되어야 한다. 도 1의 메모리(106)는 또한 비디오 인코더(200)의 다양한 유닛들로부터의 출력들의 일시적 저장을 제공할 수 있다.In this disclosure, references to video data memory 230 should not be construed as limited to memory internal to video encoder 200 unless specifically stated as such, or memory external to video encoder 200 unless specifically stated as such. do. 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.

도 4의 다양한 유닛들은 비디오 인코더(200)에 의해 수행되는 동작들의 이해를 돕기 위해 예시된다. 이 유닛들은 고정 기능 회로들, 프로그램가능 회로들, 또는 이들의 조합으로서 구현될 수 있다. 고정 기능 회로들은 특정 기능성을 제공하는 회로들을 지칭하며, 수행될 수 있는 동작들에 대해 미리설정된다. 프로그램 가능한 회로들은 다양한 작업을 수행하도록 프로그래밍될 수 있는 회로들을 지칭하고, 수행될 수 있는 동작들에 유연한 기능을 제공한다. 예를 들어, 프로그램가능 회로들은, 프로그램가능 회로들이 소프트웨어 또는 펌웨어의 명령들에 의해 정의된 방식으로 동작하게 하는 소프트웨어 또는 펌웨어를 실행할 수 있다. 고정 기능 회로들은 소프트웨어 명령들을 (예를 들어, 파라미터들을 수신하거나 파라미터들을 출력하기 위해) 실행할 수 있지만, 고정 기능 회로들이 수행하는 동작 타입들은 일반적으로 불변이다. 일부 예들에서, 유닛들의 하나 이상은 별개의 회로 블록들(고정 기능 또는 프로그램가능)일 수 있고, 일부 예들에서, 유닛들의 하나 이상은 집적 회로들일 수 있다.Various units in FIG. 4 are illustrated to aid understanding of operations performed by video encoder 200. These 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 predefined for the operations that can be performed. Programmable circuits refer to circuits that can be programmed to perform various tasks, providing flexible functionality in the operations that can 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 (e.g., to receive parameters or output parameters), but the types of operations that fixed function circuits perform are generally immutable. In some examples, one or more of the units may be discrete circuit blocks (fixed function or programmable), and in some examples, one or more of the units may be integrated circuits.

비디오 인코더(200)는 프로그램가능 회로들로부터 형성된, 산술 로직 유닛(arithmetic logic unit; ALU)들, 기본 기능 유닛(elementary function unit; EFU)들, 디지털 회로들, 아날로그 회로들, 및/또는 프로그램가능 코어들을 포함할 수 있다. 비디오 인코더(200)의 동작들이 프로그래밍가능 회로들에 의해 실행되는 소프트웨어를 사용하여 수행되는 예들에서, 메모리(106)(도 1)는 비디오 인코더(200)가 수신하고 실행하는 소프트웨어의 명령들(예를 들어, 오브젝트 코드)을 저장할 수 있거나, 또는 (도시되지 않은) 비디오 인코더(200) 내의 다른 메모리가 그러한 명령들을 저장할 수 있다.Video encoder 200 may be formed from programmable circuits, such as arithmetic logic units (ALUs), elementary function units (EFUs), digital circuits, analog circuits, and/or programmable circuits. May include cores. 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. For example, object code), or other memory within video encoder 200 (not shown) 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. 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. The mode selection unit 202 may include additional functional units to perform video prediction according to different prediction modes. For example, mode selection unit 202 may be 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. may include.

모드 선택 유닛(202)은 일반적으로 인코딩 파라미터들의 조합들 및 그러한 조합들에 대한 결과의 레이트-왜곡 값들을 테스트하기 위해 다중 인코딩 패스들을 조정한다. 인코딩 파라미터들은 CU들로의 CTU들의 파티셔닝, CU들에 대한 예측 모드들, CU들의 잔차 데이터에 대한 변환 타입들, CU들의 잔차 데이터에 대한 양자화 파라미터들 등을 포함할 수 있다. 모드 선택 유닛(202)은 궁극적으로 다른 테스트된 조합들보다 우수한 레이트-왜곡 값들을 갖는 인코딩 파라미터들의 조합을 선택할 수 있다.Mode selection unit 202 generally coordinates multiple encoding passes to test combinations of encoding parameters and the 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 ultimately 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는 일반적으로 "비디오 블록" 또는 "블록"으로도 지칭될 수 있다.The video encoder 200 may partition a picture retrieved from the 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 above-described MTT structure, QTBT structure, superblock structure, or quadtree structure. As described above, video encoder 200 can form one or more CUs from partitioning CTUs according to a tree structure. These CUs may also be generally referred to as “video blocks” or “blocks.”

일반적으로, 모드 선택 유닛(202)은 또한 현재 블록(예를 들어, 현재 CU, 또는 HEVC에서, PU 및 TU의 오버랩 부분)에 대한 예측 블록을 생성하기 위해 그의 컴포넌트들(예를 들어, 모션 추정 유닛(222), 모션 보상 유닛(224) 및 인트라 예측 유닛(226))을 제어한다. 현재 블록의 인터 예측을 위해, 모션 추정 유닛(222)은 모션 검색을 수행하여 하나 이상의 참조 픽처들(예를 들어, DPB(218)에 저장된 하나 이상의 이전에 코딩된 픽처들)에서 하나 이상의 근접하게 매칭하는 참조 블록들을 식별할 수 있다. 특히, 모션 추정 유닛(222)은, 예를 들어 절대차의 합(sum of absolute difference; SAD), 제곱차의 합(sum of squared differences; SSD), 평균 절대차(mean absolute difference; MAD), 평균 제곱차(mean squared differences; MSD) 등에 따라, 잠재적 참조 블록이 현재 블록에 얼마나 유사한지를 나타내는 값을 계산할 수 있다. 모션 추정 유닛(222)은 일반적으로 고려되는 참조 블록과 현재 블록 사이의 샘플 별(sample-by-sample) 차이들을 사용하여 이러한 계산들을 수행할 수 있다. 모션 추정 유닛(222)은 현재 블록과 가장 근접하게 매칭하는 참조 블록을 표시하는, 이러한 계산들로부터 야기되는 최저 값을 갖는 참조 블록을 식별할 수 있다.In general, mode selection unit 202 also selects its components (e.g., motion estimation unit 222, motion compensation unit 224, and intra prediction unit 226). For inter prediction of the current block, motion estimation unit 222 performs a motion search to find one or more adjacent reference pictures (e.g., one or more previously coded pictures stored in DPB 218). Matching reference blocks can be identified. In particular, the motion estimation unit 222 may perform, for example, sum of absolute differences (SAD), sum of squared differences (SSD), mean absolute difference (MAD), Depending on the mean squared differences (MSD), a value indicating how similar a potential reference block is to the current block can be calculated. Motion estimation unit 222 may perform these calculations using sample-by-sample differences between the reference block and the current block, which are generally considered. Motion estimation unit 222 may identify the reference block with the lowest value resulting from these calculations, which indicates the reference block that most closely matches the current block.

모션 추정 유닛(222)은 현재 픽처에서의 현재 블록의 포지션에 대한 참조 픽처들에서의 참조 블록들의 포지션들을 정의하는 하나 이상의 모션 벡터(MV)들을 형성할 수 있다. 모션 추정 유닛(222)은 그 후 모션 벡터들을 모션 보상 유닛(224)에 제공할 수 있다. 예를 들어, 단방향성 인터 예측에 대해, 모션 추정 유닛(222)은 단일 모션 벡터를 제공할 수 있는 반면, 양방향성 인터 예측에 대해, 모션 추정 유닛(222)은 2개의 모션 벡터들을 제공할 수 있다. 그 후, 모션 보상 유닛(224)은 모션 벡터들을 사용하여 예측 블록을 생성할 수 있다. 예를 들어, 모션 보상 유닛(224)은 모션 벡터를 사용하여 참조 블록의 데이터를 취출할 수 있다. 다른 예로서, 모션 벡터가 분수 샘플 정밀도를 갖는다면, 모션 보상 유닛(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 generate a prediction block using the motion vectors. For example, motion compensation unit 224 can retrieve data of a reference block using a motion vector. As another example, if the motion vector has fractional sample precision, motion compensation unit 224 may interpolate the values for the prediction block according to one or more interpolation filters. Additionally, for bidirectional inter prediction, the motion compensation unit 224 retrieves data for two reference blocks identified by their respective motion vectors, e.g., through sample-wise averaging or weighted averaging. can be combined.

AV1 비디오 코딩 포맷에 따라 동작할 때, 모션 추정 유닛(222) 및 모션 보상 유닛(224)은 병진 모션 보상, 아핀 모션 보상, 중첩 블록 모션 보상(overlapped block motion compensation, 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 intercompensation. -Can be configured to encode coding blocks of video data (e.g., both luma and chroma coding blocks) 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 across the current block. You can. 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 containing the average of these results for each sample of the prediction block. there is.

AV1 비디오 코딩 포맷에 따라 동작할 때, 인트라 예측 유닛(226)은 방향성 인트라 예측, 비방향성 인트라 예측, 재귀 필터 인트라 예측, CFL(chroma-from-luma) 예측, 인트라 블록 복사(intra block copy, IBC), 및/또는 색상 팔레트 모드를 사용하여 비디오 데이터의 코딩 블록들(예컨대, 루마 및 크로마 코딩 블록들 둘 모두)을 인코딩하도록 구성될 수 있다. 모드 선택 유닛(202)은 다른 예측 모드들에 따라 비디오 예측을 수행하기 위해 부가적인 기능 유닛들을 포함할 수 있다.When operating according to the AV1 video coding format, intra prediction unit 226 can perform directed intra prediction, undirectional intra prediction, recursive filter intra prediction, chroma-from-luma (CFL) prediction, and 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. The mode selection unit 202 may include additional functional units to perform video prediction according to different prediction modes.

모드 선택 유닛(202)은 예측 블록을 잔차 생성 유닛(204)에 제공한다. 잔차 생성 유닛(204)은 비디오 데이터 메모리(230)로부터의 현재 블록의 원시의, 코딩되지 않은 버전 및 모드 선택 유닛(202)으로부터의 예측 블록을 수신한다. 잔차 생성 유닛(204)은 현재 블록과 예측 블록 사이의 샘플 별 차이를 계산한다. 결과의 샘플 별 차이는 현재 블록에 대한 잔차 블록을 정의한다. 일부 예들에서, 잔차 생성 유닛(204)은 또한 잔차 차분 펄스 코드 변조(residual differential pulse code modulation; RDPCM)를 사용하여 잔차 블록을 생성하기 위해 잔차 블록에서의 샘플 값들 사이의 차이를 결정할 수 있다. 일부 예들에서, 잔차 생성 유닛(204)은 이진 감산을 수행하는 하나 이상의 감산 회로들을 사용하여 형성될 수 있다.Mode selection unit 202 provides prediction blocks to residual generation unit 204. Residual generation unit 204 receives a raw, uncoded version of the current block from video data memory 230 and a prediction block from mode select unit 202. The residual generation unit 204 calculates the sample-by-sample difference between the current block and the prediction block. The sample-by-sample difference in the results defines the residual block for the current block. In some examples, residual generation unit 204 may also use residual differential pulse code modulation (RDPCM) to determine a difference between sample values in a residual block to generate the residual block. In some examples, residual generation unit 204 may be formed using one or more subtraction 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 can support PUs of various sizes. As indicated above, the size of the CU may indicate the size of the luma coding block of the CU and the size of the PU may indicate the size of the luma prediction unit 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 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)는 2N×2N, 2N×N, 또는 N×2N의 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 2N×2N, 2N×N, or N×2N.

몇몇 예들로서, 인트라-블록 카피 모드 코딩, 아핀-모드 코딩, 및 선형 모델(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 selects individual units associated with the coding techniques. Through this, a prediction block for the current block being encoded is generated. 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 selection 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. The residual generation unit 204 then generates a residual block for the current block. To generate a residual block, the residual generation unit 204 calculates sample-by-sample differences between the current block and the prediction block.

변환 프로세싱 유닛(206)은 잔차 블록에 하나 이상의 변환들을 적용하여 변환 계수들의 블록(본 명세서에서는 "변환 계수 블록"으로 지칭됨)을 생성한다. 변환 프로세싱 유닛(206)은 다양한 변환들을 잔차 블록에 적용하여 변환 계수 블록을 형성할 수 있다. 예를 들어, 변환 프로세싱 유닛(206)은 이산 코사인 변환(DCT), 방향성 변환, Karhunen-Loeve 변환(KLT) 또는 개념적으로 유사한 변환을 잔차 블록에 적용할 수 있다. 일부 예들에서, 변환 프로세싱 유닛(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 on the residual block, such as a first-order transform and a second-order transform, such as a rotation transform. 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), a flipped ADST (e.g., ADST in inverse order), and an identity transform (IDTX). A combination of horizontal/vertical transformations can be applied. When using identity transformation, transformation is skipped in either the vertical or horizontal directions. In some examples, conversion processing can be skipped.

양자화 유닛(208)은 양자화된 변환 계수 블록을 생성하기 위해 변환 계수 블록에서의 변환 계수들을 양자화할 수 있다. 양자화 유닛(208)은 현재 블록과 연관된 양자화 파라미터(QP) 값에 따라 변환 계수 블록의 변환 계수들을 양자화할 수 있다. 비디오 인코더(200)는 (예를 들어, 모드 선택 유닛(202)을 통해) 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 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 (e.g., via mode select unit 202). Quantization may introduce loss of information, and thus quantized transform coefficients may have lower accuracy 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 reconstruct the residual block from the transform coefficient block. Reconstruction unit 214 may generate a reconstructed block corresponding to the current block (potentially with some degree of distortion) based on the prediction block and the reconstructed residual block generated by mode selection unit 202. You can. 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 produce a reconstructed block.

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

AV1에 따라 동작할 때, 필터 유닛(216)은 재구성된 블록들에 대해 하나 이상의 필터 동작들을 수행할 수 있다. 예를 들어, 필터 유닛(216)은 CU의 에지를 따라 블록크니스 아티팩트를 감소시키기 위해 디블록킹 동작들을 수행할 수 있다. 다른 예들에서, 필터 유닛(216)은, 디블록킹 후에 적용될 수 있는 제약된 방향성 향상 필터(constrained directional enhancement filter, CDEF)를 적용할 수 있고, 추정된 에지 방향들에 기초하여 비분리가능, 비선형, 저역 통과 방향성 필터들의 적용을 포함할 수 있다. 필터 유닛(216)은 또한, CDEF 후에 적용되는 루프 복원 필터를 포함할 수 있고, 분리가능한 대칭 정규화된 위너 필터(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 edge of a CU. In other examples, filter unit 216 may apply a constrained directional enhancement filter (CDEF) that may be applied after deblocking and may be non-separable, non-linear, or non-separable based on the estimated edge directions. May include application of low-pass directional filters. Filter unit 216 may also include a loop restoration filter applied after CDEF, and may include a separable symmetric normalized Wiener filter or a dual self-guided filter.

비디오 인코더(200)는 DPB(218)에 재구성된 블록들을 저장한다. 예를 들어, 필터 유닛(216)의 동작들이 수행되지 않는 예들에서, 재구성 유닛(214)은 재구성된 블록들을 DPB(218)에 저장할 수 있다. 필터 유닛(216)의 동작들이 수행되는 예들에서, 필터 유닛(216)은 필터링된 재구성된 블록들을 DPB(218)에 저장할 수 있다. 모션 추정 유닛(222) 및 모션 보상 유닛(224)은 재구성된 (및 잠재적으로 필터링된) 블록들로부터 형성된 DPB(218)로부터 참조 픽처를 취출하여, 후속하여 인코딩된 픽처들의 블록들을 인터 예측할 수 있다. 또한, 인트라 예측 유닛(226)은 현재 픽처에서의 다른 블록들을 인트라 예측하기 위해 현재 픽처의 DPB(218)에서 재구성된 블록들을 사용할 수 있다.Video encoder 200 stores the reconstructed blocks in 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 instances where 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 from DPB 218 formed from the reconstructed (and potentially filtered) blocks to inter-predict blocks of subsequently encoded pictures. . Additionally, intra prediction unit 226 may use the reconstructed blocks in 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(variable-to-variable) 길이 코딩 동작, 신택스 기반 콘텍스트 적응적 바이너리 산술 코딩(SBAC) 동작, 확률 간격 파티셔닝 엔트로피(PIPE) 코딩 동작, 지수-골롬 인코딩 동작, 또는 다른 타입의 엔트로피 인코딩 동작을 데이터에 대해 수행할 수 있다. 일부 예들에서, 엔트로피 인코딩 유닛(220)은 신택스 엘리먼트들이 엔트로피 인코딩되지 않은 바이패스 모드에서 동작할 수 있다.In general, entropy encoding unit 220 may entropy encode syntax elements retrieved 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., intra mode information for intra prediction or motion information for inter prediction) from mode selection unit 202. The entropy encoding unit 220 may perform one or more entropy encoding operations on syntax elements, which are another example of video data, to generate entropy encoded data. For example, the entropy encoding unit 220 may perform a context adaptive variable length coding (CAVLC) operation, a CABAC operation, a variable-to-variable (V2V) length coding operation, a syntax-based context adaptive binary arithmetic coding (SBAC) operation, A probability interval 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 비트) 누적 분포 함수(cumulative distribution function, CDF)들로서 저장할 수 있다. 엔트로피 인코딩 유닛(22)은 콘텍스트들을 업데이트하기 위해, 알파벳 사이즈에 기초한 업데이트 인자로, 재귀적 스케일링을 수행할 수 있다.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 the probabilities as n-bit (eg, 15 bit) cumulative distribution functions (CDF). Entropy encoding unit 22 may perform recursive scaling with an update factor based on the alphabet size to update the contexts.

상술한 동작들은 블록과 관련하여 설명된다. 이러한 설명은 루마 코딩 블록 및/또는 크로마 코딩 블록들에 대한 동작들인 것으로 이해되어야 한다. 상술한 바와 같이, 일부 예들에서, 루마 코딩 블록 및 크로마 코딩 블록들은 CU의 루마 및 크로마 컴포넌트들이다. 일부 예들에서, 루마 코딩 블록 및 크로마 코딩 블록들은 PU의 루마 및 크로마 컴포넌트들이다.The above-described operations are described in relation to blocks. This 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 a chroma coding block. 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 can be scaled to determine the MV for the chroma blocks, and the reference picture can be the same. As another example, the intra-prediction process may be the same for luma coding blocks and chroma coding blocks.

비디오 인코더(200)는, 비디오 데이터를 저장하도록 구성된 메모리, 및 회로부에서 구현되고 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 인코딩하도록 구성된 하나 이상의 프로세싱 유닛들을 포함한, 비디오 데이터를 인코딩하도록 구성된 디바이스의 일례를 나타낸다.The video encoder 200 is implemented in a memory and circuitry configured to store video data and determines partitioning for a block of video data using a geometric partitioning mode, and determines partitioning for a block of video data and generates two unidirectional predictive motion vector candidates for the block of video data. An example of a device configured to encode video data, comprising one or more processing units configured to build lists, and encode a block of video data using one-way prediction based on at least one of two one-way prediction motion vector candidate lists. indicates.

도 5는 본 개시내용의 기법들을 수행할 수 있는 예시적인 비디오 디코더(300)를 예시하는 블록도이다. 도 5는 설명의 목적들로 제공되며, 본 개시내용에 대략적으로 예시화되고 설명된 바와 같은 기법들에 대한 제한이 아니다. 설명의 목적으로, 본 개시는 VVC(ITU-T H.266, 개발중) 및 HEVC(ITU-T H.265)의 기법들에 따른 비디오 디코더(300)를 기술한다. 그러나, 본 개시의 기법들은 다른 비디오 코딩 표준들로 구성되는 비디오 코딩 디바이스들에 의해 수행될 수 있다.FIG. 5 is a block diagram illustrating an example video decoder 300 that can perform the techniques of this disclosure. 5 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 a 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 can be performed by video coding devices configured with other video coding standards.

도 5의 예에서, 비디오 디코더(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 5, 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, reconstruction unit 310, filter unit 312, and DPB ( Any or all of 314) may be implemented in one or more processors or 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 to perform prediction according to different prediction modes. For example, predictive 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., luma and can be configured to decode both chroma coding blocks). Intra prediction unit 318 uses directed intra prediction, non-directional intra prediction, recursive filter intra prediction, CFL, intra block copy (IBC), and/or color palette modes as described above to code blocks of video data (e.g. For example, 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)는 SDRAM을 포함하는 DRAM, MRAM, 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. Additionally, CPB memory 320 may store video data other than syntax elements of a coded picture, such as transient data representing outputs from various units of video decoder 300. DPB 314 generally stores decoded pictures that video decoder 300 can 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 formed by any of a variety of memory devices, such as DRAM, including SDRAM, MRAM, RRAM, or other types 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 with 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 can 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. .

도 5에 도시된 다양한 유닛들은 비디오 디코더(300)에 의해 수행되는 동작들의 이해를 돕기 위해 예시된다. 이 유닛들은 고정 기능 회로들, 프로그램가능 회로들, 또는 이들의 조합으로서 구현될 수 있다. 도 4와 유사하게, 고정 기능 회로들은 특정 기능성을 제공하는 회로들을 지칭하고, 수행될 수 있는 동작들에 대해 미리설정된다. 프로그램 가능한 회로들은 다양한 작업을 수행하도록 프로그래밍될 수 있는 회로들을 지칭하고, 수행될 수 있는 동작들에 유연한 기능을 제공한다. 예를 들어, 프로그램가능 회로들은, 프로그램가능 회로들이 소프트웨어 또는 펌웨어의 명령들에 의해 정의된 방식으로 동작하게 하는 소프트웨어 또는 펌웨어를 실행할 수 있다. 고정 기능 회로들은 소프트웨어 명령들을 (예를 들어, 파라미터들을 수신하거나 파라미터들을 출력하기 위해) 실행할 수 있지만, 고정 기능 회로들이 수행하는 동작 타입들은 일반적으로 불변이다. 일부 예들에서, 유닛들의 하나 이상은 별개의 회로 블록들(고정 기능 또는 프로그램가능)일 수 있고, 일부 예들에서, 유닛들의 하나 이상은 집적 회로들일 수 있다.The various units shown in FIG. 5 are illustrated to aid understanding of operations performed by the video decoder 300. These units may be implemented as fixed function circuits, programmable circuits, or a combination thereof. Similar to Figure 4, 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 can be programmed to perform various tasks, providing flexible functionality in the operations that can 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 (e.g., to receive parameters or output parameters), but the types of operations that fixed function circuits perform are generally immutable. In some examples, one or more of the units may be discrete 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 where the operations of video decoder 300 are performed by software executing on programmable circuits, on-chip or off-chip memory may contain instructions from the software that video decoder 300 receives and executes (e.g. , object code) can be stored.

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

일반적으로, 비디오 디코더(300)는 블록별(block-by-block) 단위로 픽처를 재구성한다. 비디오 디코더(300)는 개별적으로 (현재 재구성되고 있는, 즉 디코딩되는 블록이 "현재 블록"으로 지칭될 수 있는 경우) 각각의 블록에 대해 재구성 동작을 수행할 수 있다.In general, the video decoder 300 reconstructs a picture on a block-by-block basis. Video decoder 300 may perform a reconstruction operation on each block individually (if the block that is currently being reconstructed, i.e., the block 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 parameters (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, similarly, the degree of inverse quantization for inverse quantization unit 306 to apply. Inverse quantization unit 306 may, for example, perform a bitwise left-shift operation to inverse quantize quantized transform coefficients. Accordingly, inverse quantization unit 306 may form a transform coefficient block containing transform coefficients.

역 양자화 유닛(306)이 변환 계수 블록을 형성한 후, 역변환 프로세싱 유닛(308)은 현재 블록과 연관된 잔차 블록을 생성하기 위해 변환 계수 블록에 하나 이상의 역 변환들을 적용할 수 있다. 예를 들어, 역 변환 프로세싱 유닛(308)은 역 DCT, 역 정수 변환, 역 Karhunen-Loeve 변환(KLT), 역 회전 변환, 역 방향성 변환, 또는 다른 역 변환을 변환 계수 블록에 적용할 수 있다.After inverse quantization unit 306 forms the 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)(도 4)과 관련하여 설명된 것과 실질적으로 유사한 방식으로 인터 예측 프로세스를 수행할 수 있다.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 the 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 indicate a motion vector indicating the position of the reference block in the reference picture relative to the position of the current block in the current picture as well as the reference picture in the DPB 314 from which to retrieve the reference block. 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 4).

다른 예로서, 예측 정보 신택스 엘리먼트가 현재 블록이 인트라 예측되는 것을 표시하면, 인트라 예측 유닛(318)은 예측 정보 신택스 엘리먼트들에 의해 표시된 인트라 예측 모드에 따라 예측 블록을 생성할 수 있다. 다시, 인트라 예측 유닛(318)은 대체적으로 인트라 예측 유닛(226)(도 4)과 관련하여 설명된 것과 실질적으로 유사한 방식으로 인트라 예측 프로세스를 수행할 수 있다. 인트라 예측 유닛(318)은 DPB(314)로부터 현재 블록에 이웃하는 샘플들의 데이터를 취출할 수 있다.As another example, if the prediction information syntax element indicates 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 generally perform an intra prediction process in a manner substantially similar to that described with respect to intra prediction unit 226 (Figure 4). The intra prediction unit 318 may retrieve data of samples neighboring the current block from the DPB 314.

재구성 유닛(310)은 예측 블록 및 잔차 블록을 사용하여 현재 블록을 재구성한다. 예를 들어, 재구성 유닛(310)은 잔차 블록의 샘플들을 예측 블록의 대응하는 샘플들에 가산하여 현재 블록을 재구성할 수 있다.Reconstruction unit 310 reconstructs the current block using the prediction block and the residual block. For example, the reconstruction unit 310 may reconstruct the current block by adding samples of the residual block to corresponding samples of the prediction block.

필터 유닛(312)은 재구성된 블록에 대해 하나 이상의 필터 동작들을 수행할 수 있다. 예를 들어, 필터 유닛(312)은 재구성된 블록들의 에지들을 따라 블록크니스 아티팩트를 감소시키기 위해 디블록킹 동작들을 수행할 수 있다. 필터 유닛(312)의 동작들이 모든 예들에서 반드시 수행되는 것은 아니다.Filter unit 312 may perform one or more filter operations on the reconstructed block. 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)로부터 디코딩된 픽처들(예컨대, 디코딩된 비디오)을 출력할 수 있다.Video decoder 300 may store reconstructed blocks in DPB 314. For example, in instances 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 prediction processing unit 304 with reference information, such as samples of the current picture for intra prediction and 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.

이러한 방식으로, 비디오 디코더(300)는, 비디오 데이터를 저장하도록 구성된 메모리, 및 회로부에서 구현되고 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고, 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하도록 구성된 하나 이상의 프로세싱 유닛들을 포함한, 비디오 디코딩 디바이스의 일례를 나타낸다.In this way, the video decoder 300 is implemented in a memory and circuitry configured to store video data and determines partitioning for blocks of video data using a geometric partitioning mode, and determines partitioning for blocks of video data into two one-way partitions for blocks of video data. An example of a video decoding device comprising one or more processing units configured to build predictive motion vector candidate lists, and decode a block of video data using one-way prediction based on at least one of two one-way prediction motion vector candidate lists. indicates.

도 6은 본 개시내용의 기법들에 따라 현재 블록을 인코딩하기 위한 예시적인 방법을 예시하는 흐름도이다. 현재 블록은 현재 CU를 포함할 수 있다. 비디오 인코더(200)(도 1 및 도 4)와 관련하여 설명되었지만, 다른 디바이스들이 도 6의 방법과 유사한 방법을 수행하도록 구성될 수 있음을 이해해야 한다.6 is a flow diagram 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 4 ), it should be understood that other devices may be configured to perform methods similar to those of FIG. 6 .

이 예에서, 비디오 인코더(200)는 초기에 현재 블록을 예측한다(350). 예를 들어, 비디오 인코더(200)는 현재 블록에 대한 예측 블록을 형성할 수 있다. 그 후, 비디오 인코더(200)는 현재 블록에 대한 잔여 블록을 계산할 수 있다(352). 잔차 블록을 계산하기 위해, 비디오 인코더(200)는 원래의, 인코딩되지 않은 블록과 현재 블록에 대한 예측 블록 사이의 차이를 계산할 수 있다. 비디오 인코더(200)는 그 후 잔차 블록을 변환하고 잔차 블록의 변환 계수들을 양자화할 수 있다(354). 다음으로, 비디오 인코더(200)는 잔차 블록의 양자화된 변환 계수들을 스캐닝할 수 있다(356). 스캔 동안 또는 스캔 이후에, 비디오 인코더(200)는 변환 계수들을 엔트로피 인코딩할 수 있다(358). 예를 들어, 비디오 인코더(200)는 CAVLC 또는 CABAC를 사용하여 변환 계수들을 인코딩할 수 있다. 비디오 인코더(200)는 그 후 블록의 엔트로피 인코딩된 데이터를 출력할 수 있다(360).In this example, video encoder 200 initially predicts the current block (350). For example, video encoder 200 may form a prediction block for the current block. Afterwards, the video encoder 200 may calculate the residual block for the current block (352). To calculate the residual block, video encoder 200 may calculate the difference between the original, unencoded block and the prediction block for the current block. Video encoder 200 may then 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 after the scan, video encoder 200 may entropy encode the transform coefficients (358). For example, video encoder 200 may encode transform coefficients using CAVLC or CABAC. The video encoder 200 may then output the entropy-encoded data of the block (360).

도 7은 본 개시내용의 기법들에 따라 비디오 데이터의 현재 블록을 디코딩하기 위한 예시적인 방법을 예시하는 흐름도이다. 현재 블록은 현재 CU를 포함할 수 있다. 비디오 디코더(300)(도 1 및 도 5)와 관련하여 설명되었지만, 다른 디바이스들이 도 7의 방법과 유사한 방법을 수행하도록 구성될 수 있음을 이해해야 한다.7 is a flow diagram 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 5 ), it should be understood that other devices may be configured to perform methods similar to those of FIG. 7 .

비디오 디코더(300)는 현재 블록에 대응하는 잔차 블록의 변환 계수들에 대한 엔트로피 인코딩된 예측 정보 및 엔트로피 인코딩된 데이터와 같은, 현재 블록에 대한 엔트로피 인코딩된 데이터를 수신할 수 있다(370). 비디오 디코더(300)는 엔트로피 인코딩된 데이터를 엔트로피 디코딩하여 현재 블록에 대한 예측 정보를 결정하고 잔차 블록의 변환 계수들을 재생할 수 있다(372). 비디오 디코더(300)는 현재 블록에 대한 예측 블록을 계산하기 위해, 예를 들어 현재 블록에 대한 예측 정보에 의해 표시된 것과 같은 인트라 예측 또는 인터 예측 모드를 사용하여 현재 블록을 예측할 수 있다(374). 비디오 디코더(300)는 그 후 양자화된 변환 계수들의 블록을 생성하기 위해, 재생된 변환 계수들을 역 스캐닝할 수 있다(376). 비디오 디코더(300)는 그 후 변환 계수들을 역 양자화하고 변환 계수들에 역 변환을 적용하여 잔차 블록을 생성할 수 있다(378). 비디오 디코더(300)는 예측 블록과 잔차 블록을 결합함으로써 궁극적으로 현재 블록을 디코딩할 수 있다(380).Video decoder 300 may receive entropy encoded data for the current block, such as entropy encoded prediction information and entropy encoded data for transform coefficients of the residual block corresponding to the current block (370). The video decoder 300 may determine prediction information for the current block by entropy decoding the entropy encoded data and reproduce the transform coefficients of the residual block (372). Video decoder 300 may predict the current block using, for example, an intra-prediction 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 reverse scan the reproduced transform coefficients to generate a block of quantized transform coefficients (376). Video decoder 300 may then inversely quantize the transform coefficients and apply an inverse transform to the transform coefficients to generate a residual block (378). The video decoder 300 can ultimately decode the current block by combining the prediction block and the residual block (380).

도 8은 본 개시내용의 기법들에 따라 현재 블록을 인코딩하기 위한 다른 예시적인 방법을 예시하는 흐름도이다. 도 8의 기법들은 모션 추정 유닛(222) 및/또는 모션 보상 유닛(224)(도 4)을 포함하는, 비디오 인코더(200)의 하나 이상의 구조적 컴포넌트들에 의해 수행될 수 있다.8 is a flow diagram illustrating another example method for encoding a current block in accordance with the techniques of this disclosure. The techniques of FIG. 8 may be performed by one or more structural components of video encoder 200, including motion estimation unit 222 and/or motion compensation unit 224 (FIG. 4).

일례에서, 비디오 인코더(200)는 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하도록(800), 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하도록(802), 그리고 비디오 데이터의 인코딩된 블록을 생성하기 위해 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 인코딩하도록(804) 구성될 수 있다.In one example, video encoder 200 uses a geometric partitioning mode to determine partitioning for a block of video data (800), to build two unidirectional predictive motion vector candidate lists for a block of video data (802), and encode 804 the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists to generate the encoded block of video data.

일례에서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 비디오 인코더(200)는, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하고, 그리고 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하도록 추가로 구성된다.In one example, to build two unidirectional predictive motion vector candidate lists for a block of video data, video encoder 200 combines the first motion vector candidates from a first reference picture list with the first motion vector candidates from a second reference picture list. Build a first of two unidirectional predictive motion vector candidate lists, including interleaving the second motion vector candidates with two motion vector candidates, and dividing the second motion vector candidates from the second reference picture list into and to build a second one of the two unidirectional predictive motion vector candidate lists, including interleaving the first motion vector candidates.

다른 예에서, 비디오 인코더(200)는 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고, 그리고 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 구성된다.In another example, video encoder 200 is configured to perform a first pruning process on a first candidate list and a second pruning process on a second candidate list.

도 9는 본 개시내용의 기법들에 따라 현재 블록을 디코딩하기 위한 다른 예시적인 방법을 예시하는 흐름도이다. 도 8의 기법들은 모션 보상 유닛(316)(도 5)을 포함하는, 비디오 디코더(300)의 하나 이상의 구조적 컴포넌트들에 의해 수행될 수 있다.9 is a flow diagram illustrating another example method for decoding a current block in accordance with the techniques of this disclosure. The techniques of FIG. 8 may be performed by one or more structural components of video decoder 300, including motion compensation unit 316 (FIG. 5).

일례에서, 비디오 디코더(300)는 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하도록(900), 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하도록(902), 그리고 비디오 데이터의 디코딩된 블록을 생성하기 위해 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하도록(904) 구성된다.In one example, video decoder 300 uses a geometric partitioning mode to determine partitioning for a block of video data (900), to build two unidirectional predictive motion vector candidate lists for a block of video data (902), and decode (904) the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists to produce a decoded block of video data.

일례에서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 비디오 디코더(300)는, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하고, 그리고 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하도록 구성된다.In one example, to build two unidirectional predictive motion vector candidate lists for a block of video data, video decoder 300 combines the first motion vector candidates from a first reference picture list with the first motion vector candidates from a second reference picture list. Build a first of two unidirectional predictive motion vector candidate lists, including interleaving the second motion vector candidates with two motion vector candidates, and dividing the second motion vector candidates from the second reference picture list into and construct a second one of the two unidirectional predictive motion vector candidate lists, including interleaving the first motion vector candidates.

일례에서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하기 위해, 비디오 디코더(300)는 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 교번하는 방식으로 제1 후보 목록에 추가하도록 구성되고, 여기서 제1 모션 벡터 후보들로부터의 후보가 먼저 추가된다.In one example, to interleave first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list, video decoder 300 uses the first motion vector candidates and the second motion vector candidates. is configured to add to the first candidate list in an alternating manner, where candidates from the first motion vector candidates are added first.

다른 예에서, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하기 위해, 비디오 디코더(300)는 제2 모션 벡터 후보들 및 제1 모션 벡터 후보들을 교번하는 방식으로 제2 후보 목록에 추가하도록 구성되고, 여기서 제2 모션 벡터 후보들로부터의 후보가 먼저 추가된다.In another example, to interleave second motion vector candidates from a second reference picture list with first motion vector candidates from a first reference picture list, video decoder 300 may use the second motion vector candidates and the first motion vector. It is configured to add candidates to the second candidate list in an alternating manner, where the candidate from the second motion vector candidates is added first.

다른 예에서, 비디오 디코더(300)는 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고, 그리고 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 구성된다. 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하기 위해, 비디오 디코더(300)는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 제1 후보 목록으로부터 제1 후보를 제거하도록 구성될 수 있고, 제1 후보는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제1 후보는 임계치보다 더 크지 않은 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는다. 마찬가지로, 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하기 위해, 비디오 디코더(300)는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 제2 후보 목록으로부터 제2 후보를 제거하도록 구성되고, 제2 후보는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제2 후보는 임계치보다 더 크지 않은 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는다.In another example, video decoder 300 is configured to perform a first pruning process on a first candidate list and a second pruning process on a second candidate list. To perform a first pruning process on a first candidate list, video decoder 300 selects a first candidate from the first candidate list based on the first candidate having the same reference picture list as another candidate in the first candidate list. Can be configured to remove, wherein the first candidate has the same reference picture list index as another candidate in the first candidate list, and the first candidate has horizontal and vertical motion with the other candidate in the first candidate list that is no greater than a threshold. It has vector differences. Similarly, to perform a second pruning process on the second candidate list, video decoder 300 may perform a second pruning process based on the second candidate having the same reference picture list as the first candidate list or another candidate in the second candidate list. 2 configured to remove a second candidate from the candidate list, wherein the second candidate has the same reference picture list index as the first candidate list or another candidate in the second candidate list, and the second candidate is a first candidate that is not greater than the threshold. Has horizontal and vertical motion vector differences from other candidates in the list or the second candidate list.

다른 예에서, 비디오 디코더(300)는 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하도록 구성된다. 일례에서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하기 위해, 비디오 디코더(300)는, 제1 후보 목록으로부터의 제1 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제2 후보 목록으로부터의 제2 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고, 그리고 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하도록 구성된다. 다른 예에서, 비디오 디코더(300)는 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하도록 구성된다. 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하기 위해, 비디오 디코더(300)는 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 디코딩하도록 구성된다.In another example, video decoder 300 is configured to use the first candidate list and the second candidate list to build a final geometric partitioning mode motion vector candidate list. In one example, to build a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list, video decoder 300 performs final geometric partitioning of the first motion vector candidates from the first candidate list. add to the mode motion vector candidate list, and if the final geometric partitioning mode motion vector candidate list is less than a predetermined number of candidates after adding the first motion vector candidates, add the second motion vector candidates from the second candidate list to the final Add to the geometric partitioning mode motion vector candidate list, and if the final geometric partitioning mode motion vector candidate list is less than a predetermined number of candidates after adding the first motion vector candidates and the second motion vector candidates, zero motion vector candidates. The final geometric partitioning mode is configured to pad the motion vector candidate list. In another example, video decoder 300 is configured to perform a pruning process on the final geometric partitioning mode motion vector candidate list. To decode a block of video data using one-way prediction, video decoder 300 is configured to decode a block of video data using one-way prediction and a final geometric partitioning mode motion vector candidate list.

본 개시내용의 다른 예시적인 양태들이 하기에 설명된다.Other exemplary aspects of the disclosure are described below.

양태 1A - 비디오 데이터를 코딩하는 방법으로서, 본 방법은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하는 단계; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계; 및 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 코딩하는 단계를 포함한다.Aspect 1A - A method of coding video data, the method comprising: determining partitioning for blocks of video data using a geometric partitioning mode; building two unidirectional predictive motion vector candidate lists for a block of video data; and coding the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists.

양태 2A - 양태 1A의 방법에 있어서, 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나를 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계를 추가로 포함한다.Aspect 2A - The method of aspect 1A, further comprising building a final geometric partitioning mode motion vector candidate list using at least one of the two unidirectional prediction motion vector candidate lists.

양태 3A - 양태 2A의 방법에 있어서, 단방향 예측을 사용하여 비디오 데이터의 블록을 코딩하는 단계는, 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 코딩하는 단계를 포함한다.Aspect 3A - The method of aspect 2A, wherein coding the block of video data using one-way prediction includes coding the block of video data using one-way prediction and a final geometric partitioning mode motion vector candidate list. .

양태 4A - 양태 3A의 방법에 있어서, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하는 단계를 추가로 포함한다.Aspect 4A - The method of aspect 3A, further comprising performing a pruning process on the final geometric partitioning mode motion vector candidate list.

양태 5A - 양태 1A 내지 양태 4A 중 어느 한 방법에 있어서, 2개의 단방향 예측 모션 벡터 후보 목록들에 대해 프루닝 프로세스를 수행하는 단계를 추가로 포함한다.Aspect 5A - The method of any of Aspects 1A-4A, further comprising performing a pruning process on the two unidirectional predictive motion vector candidate lists.

양태 6A - 양태 3A의 방법에 있어서, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록의 사이즈가 임계치 미만인 경우, 하나 이상의 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계를 추가로 포함한다.Aspect 6A - The method of aspect 3A, further comprising adding one or more zero motion vector candidates to the final geometric partitioning mode motion vector candidate list if the size of the final geometric partitioning mode motion vector candidate list is less than the threshold.

양태 7A - 양태 1A 내지 양태 6A 중 어느 한 방법에 있어서, 코딩은 디코딩을 포함한다.Aspect 7A - The method of any of Aspects 1A through 6A, wherein coding includes decoding.

양태 8A - 양태 1A 내지 양태 6A 중 어느 한 방법에 있어서, 코딩은 인코딩을 포함한다.Aspect 8A - The method of any of Aspects 1A through 6A, wherein coding comprises encoding.

양태 9A - 비디오 데이터를 코딩하기 위한 디바이스로서, 본 디바이스는 양태 1A 내지 양태 8A 중 어느 한 양태의 방법을 수행하기 위한 하나 이상의 수단을 포함한다.Aspect 9A—A device for coding video data, the device comprising one or more means for performing the method of any one of Aspects 1A through 8A.

양태 10A - 양태 9A의 디바이스에 있어서, 하나 이상의 수단은 회로부에서 구현된 하나 이상의 프로세서들을 포함한다.Aspect 10A - The device of aspect 9A, wherein the one or more means comprises one or more processors implemented in circuitry.

양태 11A - 양태 9A 또는 양태 10A의 디바이스에 있어서, 비디오 데이터를 저장하기 위한 메모리를 추가로 포함한다.Aspect 11A - The device of aspect 9A or aspect 10A, further comprising a memory for storing video data.

양태 12A - 양태 9A 내지 양태 11A 중 어느 한 디바이스에 있어서, 디코딩된 비디오 데이터를 디스플레이하도록 구성된 디스플레이를 추가로 포함한다.Aspect 12A - The device of any of Aspects 9A-11A, further comprising a display configured to display decoded video data.

양태 13A - 양태 9A 내지 양태 12A 중 어느 한 디바이스에 있어서, 디바이스는 카메라, 컴퓨터, 모바일 디바이스, 브로드캐스트 수신기 디바이스, 또는 셋톱 박스 중 하나 이상을 포함한다.Aspect 13A - The device of any one of Aspects 9A through 12A, wherein the device includes one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set top box.

양태 14A - 양태 9A 내지 양태 13A 중 어느 한 디바이스에 있어서, 디바이스는 비디오 디코더를 포함한다.Aspect 14A - The device of any of Aspects 9A through 13A, wherein the device includes a video decoder.

양태 15A - 양태 9A 내지 양태 14A 중 어느 한 디바이스에 있어서, 디바이스는 비디오 인코더를 포함한다.Aspect 15A - The device of any of Aspects 9A through 14A, wherein the device includes a video encoder.

양태 16A - 명령들이 저장된 컴퓨터 판독가능 저장 매체로서, 명령들은, 실행될 때, 하나 이상의 프로세서들로 하여금, 양태 1A 내지 양태 8A 중 어느 한 양태의 방법을 수행하게 한다.Aspect 16A - A computer-readable storage medium having instructions stored thereon, wherein the instructions, when executed, cause one or more processors to perform the method of any one of aspects 1A-8A.

양태 17A - 비디오 데이터를 코딩하기 위한 디바이스로서, 본 디바이스는, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하기 위한 수단; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위한 수단; 및 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 코딩하기 위한 수단을 포함한다.Aspect 17A - A device for coding video data, the device comprising: means for determining partitioning for blocks of video data using a geometric partitioning mode; means for building two unidirectional predictive motion vector candidate lists for a block of video data; and means for coding the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists.

양태 1B - 비디오 데이터를 디코딩하는 방법으로서, 본 방법은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하는 단계; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계; 및 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하여, 비디오 데이터의 디코딩된 블록을 생성하는 단계를 포함한다.Aspect 1B - A method of decoding video data, the method comprising: determining partitioning for blocks of video data using a geometric partitioning mode; building two unidirectional predictive motion vector candidate lists for a block of video data; and decoding the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists, thereby producing a decoded block of video data.

양태 2B - 양태 1B의 방법에 있어서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계는, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 단계를 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하는 단계; 및 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 단계를 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하는 단계를 포함한다.Aspect 2B - The method of aspect 1B, wherein building two unidirectional predictive motion vector candidate lists for a block of video data comprises combining the first motion vector candidates from the first reference picture list with the first motion vector candidates from the second reference picture list. building a first of two unidirectional predictive motion vector candidate lists, including interleaving with second motion vector candidates; and interleaving second motion vector candidates from the second reference picture list with first motion vector candidates from the first reference picture list, forming a second one of the two unidirectional predictive motion vector candidate lists. It includes steps to:

양태 3B - 양태 2B의 방법에 있어서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 단계는, 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 교번하는 방식으로 제1 후보 목록에 추가하는 단계를 포함하고, 제1 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 3B - The method of aspect 2B, wherein interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list comprises: the first motion vector candidates and the second motion. and adding vector candidates to the first candidate list in an alternating manner, with candidates from the first motion vector candidates being added first.

양태 4B - 양태 2B의 방법에 있어서, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 단계는, 제2 모션 벡터 후보들 및 제1 모션 벡터 후보들을 교번하는 방식으로 제2 후보 목록에 추가하는 단계를 포함하고, 제2 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 4B - The method of aspect 2B, wherein interleaving the second motion vector candidates from the second reference picture list with the first motion vector candidates from the first reference picture list comprises: the second motion vector candidates and the first motion. and adding vector candidates to the second candidate list in an alternating manner, with candidates from the second motion vector candidates being added first.

양태 5B - 양태 2B의 방법에 있어서, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하는 단계; 및 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하는 단계를 추가로 포함한다.Aspect 5B - The method of aspect 2B, comprising: performing a first pruning process on a first candidate list; and performing a second pruning process on the second candidate list.

양태 6B - 양태 5B의 방법에 있어서, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하는 단계는, 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 제1 후보 목록으로부터 제1 후보를 제거하는 단계로서, 제1 후보는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제1 후보는 임계치보다 더 크지 않은 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제1 후보를 제거하는 단계를 포함하고, 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하는 단계는, 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 제2 후보 목록으로부터 제2 후보를 제거하는 단계로서, 제2 후보는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제2 후보는 임계치보다 더 크지 않은 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제2 후보를 제거하는 단계를 포함한다.Aspect 6B - The method of aspect 5B, wherein performing a first pruning process on the first candidate list comprises pruning the first candidate based on the first candidate having the same reference picture list as another candidate in the first candidate list. removing a first candidate from the list, wherein the first candidate has the same reference picture list index as another candidate in the first candidate list, and the first candidate has a level with another candidate in the first candidate list that is not greater than a threshold. and removing the first candidate having the vertical motion vector difference, wherein performing a second pruning process on the second candidate list comprises: removing the first candidate having the same removing a second candidate from the second candidate list based on the second candidate having a reference picture list, wherein the second candidate has the same reference picture list index as another candidate in the first candidate list or the second candidate list; and removing the second candidate, wherein the second candidate has a horizontal and vertical motion vector difference from another candidate in the first candidate list or the second candidate list that is no greater than a threshold.

양태 7B - 양태 2B의 방법에 있어서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계를 추가로 포함한다.Aspect 7B - The method of aspect 2B, further comprising building a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list.

양태 8B - 양태 7B의 방법에 있어서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계는, 제1 후보 목록으로부터의 제1 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계; 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제2 후보 목록으로부터의 제2 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계; 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하는 단계를 포함한다.Aspect 8B - The method of aspect 7B, wherein building a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list comprises: dividing the first motion vector candidates from the first candidate list into the final geometric partitioning mode motion vector candidate list. adding partitioning mode motion vector candidates to the list; If the final geometric partitioning mode motion vector candidate list is less than the predetermined number of candidates after adding the first motion vector candidates, adding the second motion vector candidates from the second candidate list to the final geometric partitioning mode motion vector candidate list. steps; and if the final geometric partitioning mode motion vector candidate list is less than a predetermined number of candidates after adding the first motion vector candidates and the second motion vector candidates, then padding the zero motion vector candidates to the final geometric partitioning mode motion vector candidate list. It includes steps to:

양태 9B - 양태 7B의 방법에 있어서, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하는 단계를 추가로 포함한다.Aspect 9B - The method of aspect 7B, further comprising performing a pruning process on the final geometric partitioning mode motion vector candidate list.

양태 10B - 양태 7B의 방법에 있어서, 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하는 단계는, 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 디코딩하는 단계를 포함한다.Aspect 10B - The method of aspect 7B, wherein decoding the block of video data using one-way prediction includes decoding the block of video data using one-way prediction and a final geometric partitioning mode motion vector candidate list. .

양태 11B - 양태 1B의 방법에 있어서, 비디오 데이터의 디코딩된 블록을 포함하는 픽처를 디스플레이하는 단계를 추가로 포함한다.Aspect 11B - The method of aspect 1B, further comprising displaying a picture containing a decoded block of video data.

양태 12B - 비디오 데이터를 디코딩하도록 구성된 장치로서, 장치는 비디오 데이터의 블록을 저장하도록 구성된 메모리; 및 메모리와 통신하는 하나 이상의 프로세서들을 포함하고, 하나 이상의 프로세서들은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고; 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하여, 비디오 데이터의 디코딩된 블록을 생성하도록 구성된다.Aspect 12B - An apparatus configured to decode video data, the apparatus comprising: a memory configured to store a block of video data; and one or more processors in communication with a memory, wherein the one or more processors determine partitioning for a block of video data using a geometric partitioning mode; Construct two unidirectional predictive motion vector candidate lists for a block of video data; and decode the block of video data using unidirectional prediction based on at least one of the two unidirectional prediction motion vector candidate lists, thereby producing a decoded block of video data.

양태 13B - 양태 12B의 장치에 있어서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 하나 이상의 프로세서들은, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하고; 그리고 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하도록 추가로 구성된다.Aspect 13B - The apparatus of aspect 12B, wherein to build two unidirectional predictive motion vector candidate lists for a block of video data, the one or more processors second reference the first motion vector candidates from the first reference picture list. construct a first of two one-way predictive motion vector candidate lists, including interleaving with second motion vector candidates from the picture list; and interleaving second motion vector candidates from the second reference picture list with first motion vector candidates from the first reference picture list, to build a second one of the two unidirectional predictive motion vector candidate lists. It is composed additionally.

양태 14B - 양태 13B의 장치에 있어서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하기 위해, 하나 이상의 프로세서들은, 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 교번하는 방식으로 제1 후보 목록에 추가하도록 구성되고, 제1 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 14B - The apparatus of aspect 13B, wherein to interleave first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list, the one or more processors include: and adding the second motion vector candidates to the first candidate list in an alternating manner, with candidates from the first motion vector candidates being added first.

양태 15B - 양태 13B의 장치에 있어서, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하기 위해, 하나 이상의 프로세서들은, 제2 모션 벡터 후보들 및 제1 모션 벡터 후보들을 교번하는 방식으로 제2 후보 목록에 추가하도록 구성되고, 제2 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 15B - The apparatus of aspect 13B, wherein to interleave second motion vector candidates from a second reference picture list with first motion vector candidates from a first reference picture list, the one or more processors: and adding the first motion vector candidates to the second candidate list in an alternating manner, with candidates from the second motion vector candidates being added first.

양태 16B - 양태 13B의 장치에 있어서, 하나 이상의 프로세서들은, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고; 그리고 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 추가로 구성된다.Aspect 16B - The apparatus of aspect 13B, wherein the one or more processors: perform a first pruning process on a first candidate list; and further configured to perform a second pruning process on the second candidate list.

양태 17B - 양태 16B의 장치에 있어서, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하기 위해, 하나 이상의 프로세서들은, 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 제1 후보 목록으로부터 제1 후보를 제거하는 것으로서, 제1 후보는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제1 후보는 임계치보다 더 크지 않은 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제1 후보를 제거하도록 구성되고, 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하기 위해, 하나 이상의 프로세서들은, 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 제2 후보 목록으로부터 제2 후보를 제거하는 것으로서, 제2 후보는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제2 후보는 임계치보다 더 크지 않은 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제2 후보를 제거하도록 구성된다.Aspect 17B - The apparatus of aspect 16B, wherein to perform a first pruning process on a first candidate list, the one or more processors base the first candidate having the same reference picture list as another candidate in the first candidate list. to remove the first candidate from the first candidate list, wherein the first candidate has the same reference picture list index as another candidate in the first candidate list, and the first candidate has another candidate in the first candidate list that is not greater than the threshold. The one or more processors are configured to remove a first candidate having a horizontal and vertical motion vector difference from and to perform a second pruning process on the second candidate list, the one or more processors configured to: Removing a second candidate from a second candidate list based on the second candidate having the same reference picture list as another candidate in the second candidate list, wherein the second candidate has the same reference picture list as another candidate in the first candidate list or the second candidate list. and is configured to remove a second candidate having an index, wherein the second candidate has a horizontal and vertical motion vector difference with other candidates in the first candidate list or the second candidate list that is no greater than a threshold.

양태 18B - 양태 13B의 장치에 있어서, 하나 이상의 프로세서들은, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하도록 추가로 구성된다.Aspect 18B - The apparatus of aspect 13B, wherein the one or more processors are further configured to build a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list.

양태 19B - 양태 18B의 장치에 있어서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하기 위해, 하나 이상의 프로세서들은, 제1 후보 목록으로부터의 제1 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고; 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제2 후보 목록으로부터의 제2 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고; 그리고 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하도록 추가로 구성된다.Aspect 19B - The apparatus of aspect 18B, wherein to build a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list, the one or more processors comprise: selecting a first motion vector from the first candidate list; Add the candidates to the final geometric partitioning mode motion vector candidate list; If the final geometric partitioning mode motion vector candidate list is less than the predetermined number of candidates after adding the first motion vector candidates, adding the second motion vector candidates from the second candidate list to the final geometric partitioning mode motion vector candidate list. do; and if the final geometric partitioning mode motion vector candidate list is less than the predetermined number of candidates after adding the first motion vector candidates and the second motion vector candidates, then padding the zero motion vector candidates to the final geometric partitioning mode motion vector candidate list. It is additionally configured to do so.

양태 20B - 양태 19B의 장치에 있어서, 하나 이상의 프로세서들은, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하도록 추가로 구성된다.Aspect 20B - The apparatus of aspect 19B, wherein the one or more processors are further configured to perform a pruning process on the final geometric partitioning mode motion vector candidate list.

양태 21B - 양태 19B의 장치에 있어서, 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하기 위해, 하나 이상의 프로세서들은, 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 디코딩하도록 추가로 구성된다.Aspect 21B - The apparatus of aspect 19B, wherein, to decode a block of video data using one-way prediction, the one or more processors are configured to: decode the block of video data using one-way prediction and a final geometric partitioning mode motion vector candidate list. It is composed additionally.

양태 22B - 양태 12B의 장치에 있어서, 비디오 데이터의 디코딩된 블록을 포함하는 픽처를 디스플레이하도록 구성된 디스플레이를 추가로 포함한다.Aspect 22B - The apparatus of aspect 12B, further comprising a display configured to display a picture comprising a decoded block of video data.

양태 23B - 명령들을 저장하는 비일시적 컴퓨터 판독가능 저장 매체로서, 명령들은, 실행될 때, 비디오 데이터를 디코딩하도록 구성된 디바이스의 하나 이상의 프로세서들로 하여금, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하게 하고; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하게 하고; 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하여, 비디오 데이터의 디코딩된 블록을 생성하게 한다.Aspect 23B - A non-transitory computer-readable storage medium storing instructions, wherein the instructions, when executed, cause one or more processors of a device configured to decode video data, partitioning a block of video data using a geometric partitioning mode. Let them decide; build two unidirectional predictive motion vector candidate lists for a block of video data; Decode the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists, thereby producing a decoded block of video data.

양태 24B. 양태 23B의 비일시적 컴퓨터 판독가능 저장 매체에 있어서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 명령들은 추가로, 하나 이상의 프로세서들로 하여금, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하게 하고; 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하게 한다.Aspect 24B. The non-transitory computer-readable storage medium of aspect 23B, wherein the instructions further cause the one or more processors to: construct two unidirectional predictive motion vector candidate lists for a block of video data; build a first of the two unidirectional predictive motion vector candidate lists, including interleaving the first motion vector candidates of with the second motion vector candidates from the second reference picture list; Interleaving second motion vector candidates from the second reference picture list with first motion vector candidates from the first reference picture list, thereby constructing a second candidate list of the two one-way predictive motion vector candidate lists. .

양태 25B - 양태 24B의 비일시적 컴퓨터 판독가능 저장 매체에 있어서, 명령들은 추가로, 하나 이상의 프로세서들로 하여금, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하게 하고; 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하게 한다.Aspect 25B - The non-transitory computer-readable storage medium of aspect 24B, wherein the instructions further cause the one or more processors to perform a first pruning process on the first candidate list; A second pruning process is performed on the second candidate list.

양태 26B - 비디오 데이터를 인코딩하도록 구성된 장치로서, 장치는 비디오 데이터의 블록을 저장하도록 구성된 메모리; 및 메모리와 통신하는 하나 이상의 프로세서들을 포함하고, 하나 이상의 프로세서들은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고; 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 인코딩하여, 비디오 데이터의 인코딩된 블록을 생성하도록 구성된다.Aspect 26B - An apparatus configured to encode video data, the apparatus comprising: a memory configured to store a block of video data; and one or more processors in communication with a memory, wherein the one or more processors determine partitioning for a block of video data using a geometric partitioning mode; Construct two unidirectional predictive motion vector candidate lists for a block of video data; and encode the block of video data using unidirectional prediction based on at least one of the two unidirectional prediction motion vector candidate lists, thereby producing an encoded block of video data.

양태 27B - 양태 26B의 장치에 있어서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 하나 이상의 프로세서들은, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하고; 그리고 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하도록 추가로 구성된다.Aspect 27B - The apparatus of aspect 26B, wherein to build two unidirectional predictive motion vector candidate lists for a block of video data, the one or more processors second reference the first motion vector candidates from the first reference picture list. construct a first of two one-way predictive motion vector candidate lists, including interleaving with second motion vector candidates from the picture list; and interleaving second motion vector candidates from the second reference picture list with first motion vector candidates from the first reference picture list, to build a second one of the two unidirectional predictive motion vector candidate lists. It is composed additionally.

양태 28B - 양태 27B의 장치에 있어서, 하나 이상의 프로세서들은, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고; 그리고 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 추가로 구성된다.Aspect 28B - The apparatus of aspect 27B, wherein the one or more processors perform a first pruning process on a first candidate list; and further configured to perform a second pruning process on the second candidate list.

양태 1C - 비디오 데이터를 디코딩하는 방법으로서, 본 방법은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하는 단계; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계; 및 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하여, 비디오 데이터의 디코딩된 블록을 생성하는 단계를 포함한다.Aspect 1C - A method of decoding video data, the method comprising: determining partitioning for blocks of video data using a geometric partitioning mode; building two unidirectional predictive motion vector candidate lists for a block of video data; and decoding the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists, thereby producing a decoded block of video data.

양태 2C - 양태 1C의 방법에 있어서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계는, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 단계를 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하는 단계; 및 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 단계를 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하는 단계를 포함한다.Aspect 2C - The method of aspect 1C, wherein building two unidirectional predictive motion vector candidate lists for a block of video data comprises combining the first motion vector candidates from the first reference picture list with the first motion vector candidates from the second reference picture list. building a first of two unidirectional predictive motion vector candidate lists, including interleaving with second motion vector candidates; and interleaving second motion vector candidates from the second reference picture list with first motion vector candidates from the first reference picture list, forming a second one of the two unidirectional predictive motion vector candidate lists. It includes steps to:

양태 3C - 양태 2C의 방법에 있어서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 단계는, 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 교번하는 방식으로 제1 후보 목록에 추가하는 단계를 포함하고, 제1 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 3C - The method of aspect 2C, wherein interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list comprises: the first motion vector candidates and the second motion. and adding vector candidates to the first candidate list in an alternating manner, with candidates from the first motion vector candidates being added first.

양태 4C - 양태 2C 또는 양태 3C의 방법에 있어서, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 단계는, 제2 모션 벡터 후보들 및 제1 모션 벡터 후보들을 교번하는 방식으로 제2 후보 목록에 추가하는 단계를 포함하고, 제2 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 4C - The method of aspect 2C or 3C, wherein interleaving second motion vector candidates from a second reference picture list with first motion vector candidates from a first reference picture list comprises: second motion vector candidates and and adding the first motion vector candidates to the second candidate list in an alternating manner, with candidates from the second motion vector candidates being added first.

양태 5C - 양태 2C 내지 양태 4C 중 어느 한 방법에 있어서, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하는 단계; 및 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하는 단계를 추가로 포함한다.Aspect 5C - The method of any one of Aspects 2C-4C, comprising: performing a first pruning process on a first candidate list; and performing a second pruning process on the second candidate list.

양태 6C - 양태 5C의 방법에 있어서, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하는 단계는, 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 제1 후보 목록으로부터 제1 후보를 제거하는 단계로서, 제1 후보는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제1 후보는 임계치보다 더 크지 않은 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제1 후보를 제거하는 단계를 포함하고, 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하는 단계는, 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 제2 후보 목록으로부터 제2 후보를 제거하는 단계로서, 제2 후보는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제2 후보는 임계치보다 더 크지 않은 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제2 후보를 제거하는 단계를 포함한다.Aspect 6C - The method of aspect 5C, wherein performing a first pruning process on the first candidate list comprises pruning the first candidate based on the first candidate having the same reference picture list as another candidate in the first candidate list. removing a first candidate from the list, wherein the first candidate has the same reference picture list index as another candidate in the first candidate list, and the first candidate has a level with another candidate in the first candidate list that is not greater than a threshold. and removing the first candidate having the vertical motion vector difference, wherein performing a second pruning process on the second candidate list comprises: removing the first candidate having the same removing a second candidate from the second candidate list based on the second candidate having a reference picture list, wherein the second candidate has the same reference picture list index as another candidate in the first candidate list or the second candidate list; and removing the second candidate, wherein the second candidate has a horizontal and vertical motion vector difference from another candidate in the first candidate list or the second candidate list that is no greater than a threshold.

양태 7C - 양태 2C 내지 양태 6C 중 어느 한 방법에 있어서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계를 추가로 포함한다.Aspect 7C - The method of any of Aspects 2C-6C, further comprising using the first candidate list and the second candidate list to build a final geometric partitioning mode motion vector candidate list.

양태 8C - 양태 7C의 방법에 있어서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계는, 제1 후보 목록으로부터의 제1 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계; 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제2 후보 목록으로부터의 제2 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계; 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하는 단계를 포함한다.Aspect 8C - The method of aspect 7C, wherein building a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list comprises: dividing the first motion vector candidates from the first candidate list into the final geometric partitioning mode motion vector candidate list. adding partitioning mode motion vector candidates to the list; If the final geometric partitioning mode motion vector candidate list is less than the predetermined number of candidates after adding the first motion vector candidates, adding the second motion vector candidates from the second candidate list to the final geometric partitioning mode motion vector candidate list. steps; and if the final geometric partitioning mode motion vector candidate list is less than a predetermined number of candidates after adding the first motion vector candidates and the second motion vector candidates, then padding the zero motion vector candidates to the final geometric partitioning mode motion vector candidate list. It includes steps to:

양태 9C - 양태 7C 또는 양태 8C의 방법에 있어서, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하는 단계를 추가로 포함한다.Aspect 9C - The method of aspect 7C or aspect 8C, further comprising performing a pruning process on the final geometric partitioning mode motion vector candidate list.

양태 10C - 양태 7C 내지 양태 9C 중 어느 한 방법에 있어서, 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하는 단계는, 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 디코딩하는 단계를 포함한다.Aspect 10C - The method of any of Aspects 7C-9C, wherein decoding the block of video data using one-way prediction comprises decoding the block of video data using one-way prediction and the final geometric partitioning mode motion vector candidate list. It includes steps to:

양태 11C - 양태 1C 내지 양태 10C 중 어느 한 방법에 있어서, 비디오 데이터의 디코딩된 블록을 포함하는 픽처를 디스플레이하는 단계를 추가로 포함한다.Aspect 11C - The method of any of Aspects 1C to 10C, further comprising displaying a picture including a decoded block of video data.

양태 12C - 비디오 데이터를 디코딩하도록 구성된 장치로서, 장치는 비디오 데이터의 블록을 저장하도록 구성된 메모리; 및 메모리와 통신하는 하나 이상의 프로세서들을 포함하고, 하나 이상의 프로세서들은, 기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하고; 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고; 그리고 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하여, 비디오 데이터의 디코딩된 블록을 생성하도록 구성된다.Aspect 12C - An apparatus configured to decode video data, the apparatus comprising: a memory configured to store a block of video data; and one or more processors in communication with a memory, wherein the one or more processors determine partitioning for a block of video data using a geometric partitioning mode; Construct two unidirectional predictive motion vector candidate lists for a block of video data; and decode the block of video data using unidirectional prediction based on at least one of the two unidirectional prediction motion vector candidate lists, thereby producing a decoded block of video data.

양태 13C - 양태 12C의 장치에 있어서, 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 하나 이상의 프로세서들은, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하고; 그리고 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하여, 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하도록 추가로 구성된다.Aspect 13C - The apparatus of aspect 12C, wherein to build two unidirectional predictive motion vector candidate lists for a block of video data, the one or more processors second reference the first motion vector candidates from the first reference picture list. construct a first of two one-way predictive motion vector candidate lists, including interleaving with second motion vector candidates from the picture list; and interleaving second motion vector candidates from the second reference picture list with first motion vector candidates from the first reference picture list, to build a second one of the two unidirectional predictive motion vector candidate lists. It is configured additionally.

양태 14C - 양태 13C의 장치에 있어서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하기 위해, 하나 이상의 프로세서들은, 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 교번하는 방식으로 제1 후보 목록에 추가하도록 구성되고, 제1 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspects 14C - The apparatus of aspect 13C, wherein to interleave first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list, the one or more processors: and adding the second motion vector candidates to the first candidate list in an alternating manner, with candidates from the first motion vector candidates being added first.

양태 15C - 양태 13C 또는 양태 14C의 장치에 있어서, 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들을 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들과 인터리빙하기 위해, 하나 이상의 프로세서들은, 제2 모션 벡터 후보들 및 제1 모션 벡터 후보들을 교번하는 방식으로 제2 후보 목록에 추가하도록 구성되고, 제2 모션 벡터 후보들로부터의 후보가 먼저 추가된다.Aspect 15C - The apparatus of aspect 13C or 14C, wherein to interleave second motion vector candidates from a second reference picture list with first motion vector candidates from a first reference picture list, the one or more processors: It is configured to add the motion vector candidates and the first motion vector candidates to the second candidate list in an alternating manner, with the candidate from the second motion vector candidates being added first.

양태 16C - 양태 13C 내지 양태 15C 중 어느 한 장치에 있어서, 하나 이상의 프로세서들은, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고; 그리고 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 추가로 구성된다.Aspect 16C - The apparatus of any one of Aspects 13C-15C, wherein the one or more processors are configured to: perform a first pruning process on a first candidate list; and further configured to perform a second pruning process on the second candidate list.

양태 17C - 양태 16C의 장치에 있어서, 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하기 위해, 하나 이상의 프로세서들은, 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 제1 후보 목록으로부터 제1 후보를 제거하는 것으로서, 제1 후보는 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제1 후보는 임계치보다 더 크지 않은 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제1 후보를 제거하도록 구성되고, 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하기 위해, 하나 이상의 프로세서들은, 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 제2 후보 목록으로부터 제2 후보를 제거하는 것으로서, 제2 후보는 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 제2 후보는 임계치보다 더 크지 않은 제1 후보 목록 또는 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 제2 후보를 제거하도록 구성된다.Aspects 17C - The apparatus of aspect 16C, wherein to perform a first pruning process on a first candidate list, the one or more processors base the first candidate having the same reference picture list as another candidate in the first candidate list. to remove the first candidate from the first candidate list, wherein the first candidate has the same reference picture list index as another candidate in the first candidate list, and the first candidate has another candidate in the first candidate list that is not greater than the threshold. The one or more processors are configured to remove a first candidate having a horizontal and vertical motion vector difference from and to perform a second pruning process on the second candidate list, the one or more processors configured to: Removing a second candidate from a second candidate list based on the second candidate having the same reference picture list as another candidate in the second candidate list, wherein the second candidate has the same reference picture list as another candidate in the first candidate list or the second candidate list. and is configured to remove a second candidate having an index, wherein the second candidate has a horizontal and vertical motion vector difference with other candidates in the first candidate list or the second candidate list that is no greater than a threshold.

양태 18C - 양태 13C 내지 양태 17C 중 어느 한 장치에 있어서, 하나 이상의 프로세서들은, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하도록 추가로 구성된다.Aspect 18C - The apparatus of any one of aspects 13C-17C, wherein the one or more processors are further configured to build a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list.

양태 19C - 양태 18C의 장치에 있어서, 제1 후보 목록 및 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하기 위해, 하나 이상의 프로세서들은, 제1 후보 목록으로부터의 제1 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고; 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제2 후보 목록으로부터의 제2 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고; 그리고 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 제1 모션 벡터 후보들 및 제2 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하도록 추가로 구성된다.Aspects 19C - The apparatus of aspect 18C, wherein, to build a final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list, the one or more processors: select a first motion vector from the first candidate list; Add the candidates to the final geometric partitioning mode motion vector candidate list; If the final geometric partitioning mode motion vector candidate list is less than the predetermined number of candidates after adding the first motion vector candidates, adding the second motion vector candidates from the second candidate list to the final geometric partitioning mode motion vector candidate list. do; and if the final geometric partitioning mode motion vector candidate list is less than the predetermined number of candidates after adding the first motion vector candidates and the second motion vector candidates, then padding the zero motion vector candidates to the final geometric partitioning mode motion vector candidate list. It is additionally configured to do so.

양태 20C - 양태 19C의 장치에 있어서, 하나 이상의 프로세서들은, 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하도록 추가로 구성된다.Aspects 20C - The apparatus of aspect 19C, wherein the one or more processors are further configured to perform a pruning process on the final geometric partitioning mode motion vector candidate list.

양태 21C - 양태 19C 또는 양태 20C의 장치에 있어서, 단방향 예측을 사용하여 비디오 데이터의 블록을 디코딩하기 위해, 하나 이상의 프로세서들은, 단방향 예측 및 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 비디오 데이터의 블록을 디코딩하도록 추가로 구성된다.Aspect 21C - The apparatus of aspect 19C or 20C, wherein to decode a block of video data using one-way prediction, the one or more processors: decode the block of video data using one-way prediction and a final geometric partitioning mode motion vector candidate list. It is further configured to decode.

양태 22C - 양태 12C 내지 21C 중 어느 한 장치에 있어서, 비디오 데이터의 디코딩된 블록을 포함하는 픽처를 디스플레이하도록 구성된 디스플레이를 추가로 포함한다.Aspect 22C - The apparatus of any of aspects 12C-21C, further comprising a display configured to display a picture comprising a decoded block of video data.

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

하나 이상의 예들에서, 설명된 기능들은 하드웨어, 소프트웨어, 펌웨어, 또는 이들의 임의의 조합으로 구현될 수 있다. 소프트웨어로 구현되면, 그 기능들은 컴퓨터 판독가능 매체 상의 하나 이상의 명령 또는 코드로서 저장되거나 송신될 수 있고 하드웨어 기반 프로세싱 유닛에 의해 실행될 수 있다. 컴퓨터 판독가능 매체는, 데이터 저장 매체와 같은 유형의 매체에 대응하는 컴퓨터 판독가능 저장 매체, 또는 예를 들면, 통신 프로토콜에 따라, 일 장소로부터 다른 장소로의 컴퓨터 프로그램의 전송을 가능하게 하는 임의의 매체를 포함하는 통신 매체를 포함할 수 있다. 이런 방식으로, 컴퓨터 판독가능 매체는 일반적으로, (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 or transmitted 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 any device that facilitates transfer of a computer program from one place to another, e.g., according to a communication protocol. It may include communication media including media. In this manner, computer-readable media may generally correspond to (1) a tangible computer-readable storage medium, or (2) a communication medium, 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 herein. A computer program product may include computer-readable media.

한정이 아닌 예로서, 그러한 컴퓨터 판독가능 저장 매체들은 RAM, ROM, EEPROM, CD-ROM 또는 다른 광학 디스크 저장부, 자기 디스크 저장부 또는 다른 자기 저장 디바이스들, 플래시 메모리, 또는 원하는 프로그램 코드를 명령들 또는 데이터 구조들의 형태로 저장하는데 이용될 수 있고 컴퓨터에 의해 액세스될 수 있는 임의의 다른 매체를 포함할 수 있다. 또한, 임의의 연결수단(connection)이 컴퓨터-판독가능 매체로 적절히 지칭된다. 예를 들어, 명령들이 동축 케이블, 광섬유 케이블, 꼬임 쌍선, 디지털 가입자 회선(DSL), 또는 적외선, 라디오 및 마이크로파와 같은 무선 기술들을 이용하여 웹사이트, 서버 또는 다른 원격 소스로부터 송신된다면, 동축 케이블, 광섬유 케이블, 꼬임 쌍선, DSL, 또는 적외선, 라디오 및 마이크로파와 같은 무선 기술들이 매체의 정의에 포함된다. 하지만, 컴퓨터 판독가능 저장 매체 및 데이터 저장 매체는 접속, 캐리어 파, 신호 또는 다른 일시적 매체를 포함하는 것이 아니라, 대신에 비일시적, 유형의 저장 매체에 관련된다는 것이 이해되야 한다. 본 명세서에서 사용된 바와 같은 디스크(disk) 및 디스크(disc)는 컴팩트 디스크(CD), 레이저 디스크, 광학 디스크, 디지털 다기능 디스크(DVD), 플로피 디스크 및 블루레이 디스크를 포함하며, 여기서, 디스크(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 any desired program code instructions. or any other medium that can be used to store data in the form of data structures and that can be accessed by a computer. Additionally, any connection is properly termed a computer-readable medium. For example, if the commands are transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, a 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 instead relate to non-transitory, tangible storage media. Disk and disc, as used herein, include compact disk (CD), laser disk, optical disk, digital versatile disk (DVD), floppy disk, and Blu-ray disk, where disk ( A disk usually reproduces data magnetically, but a disc reproduces data optically using a laser. Combinations of the above should also be included within the scope of computer-readable media.

명령들은 하나 이상의 프로세서들, 이를 테면 하나 이상의 DSP들, 범용 마이크로프로세서들, ASIC들, FPGA들, 또는 다른 등가의 집적 또는 이산 로직 회로부에 의해 실행될 수 있다. 이에 따라, 본 명세서에서 사용된 바와 같은 용어들 "프로세서" 및 "프로세싱 회로부"는 전술한 구조들 또는 본 명세서에서 설명된 기법들의 구현에 적합한 임의의 다른 구조 중 임의의 것을 지칭할 수 있다. 부가적으로, 일부 양태들에 있어서, 본 명세서에서 설명된 기능은 인코딩 및 디코딩을 위해 구성되거나 또는 결합된 코덱에서 통합된 전용 하드웨어 및/또는 소프트웨어 모듈들 내에 제공될 수 있다. 또한, 기법들은 하나 이상의 회로들 또는 로직 엘리먼트로 완전히 구현될 수 있다.The instructions may be executed by one or more processors, such as one or more DSPs, general purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or 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 integrated in a combined codec. Additionally, the techniques may be fully implemented with one or more circuits or logic elements.

본 개시내용의 기법들은, 무선 핸드셋, IC(integrated circuit) 또는 IC들의 세트(예컨대, 칩셋)를 포함하는 광범위하게 다양한 디바이스들 또는 장치들에서 구현될 수 있다. 다양한 엘리먼트들, 모듈들, 또는 유닛들은, 개시된 기법들을 수행하도록 구성된 디바이스들의 기능 양상들을 강조하기 위해 본 개시내용에서 설명되지만, 상이한 하드웨어 유닛들에 의한 실현을 반드시 요구하지는 않는다. 오히려, 위에서 설명된 바와 같이, 다양한 유닛들은, 코덱 하드웨어 유닛으로 결합될 수 있거나, 또는 적합한 소프트웨어 및/또는 펌웨어와 함께 위에서 설명된 바와 같은 하나 이상의 프로세서들을 포함하는 상호동작하는 하드웨어 유닛들의 집합에 의해 제공될 수 있다.The techniques of this disclosure can be implemented in a wide variety of devices or apparatus, including a wireless handset, an integrated circuit (IC), or set of ICs (e.g., a chipset). Various elements, 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 combined into a codec hardware unit, or by a set of interoperating hardware units including one or more processors as described above together with appropriate software and/or firmware. can be provided.

다양한 예들이 설명되었다. 이들 및 다른 예들은 다음의 청구항들의 범위 내에 있다.Various examples have been described. These and other examples are within the scope of the following claims.

Claims (28)

비디오 데이터를 디코딩하는 방법으로서,
기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하는 단계;
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계; 및
비디오 데이터의 디코딩된 블록을 생성하기 위해, 상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 상기 비디오 데이터의 블록을 디코딩하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
A method for decoding video data, comprising:
determining partitioning for blocks of video data using a geometric partitioning mode;
building two unidirectional predictive motion vector candidate lists for the block of video data; and
A method of decoding video data, comprising decoding the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists to produce a decoded block of video data. .
제1항에 있어서,
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하는 단계는,
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하는 단계로서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 단계를 포함하는, 상기 제1 후보 목록을 구축하는 단계; 및
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하는 단계로서, 상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들과 인터리빙하는 단계를 포함하는, 상기 제2 후보 목록을 구축하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to paragraph 1,
The step of building two unidirectional prediction motion vector candidate lists for the block of video data includes:
Building a first one of the two unidirectional predictive motion vector candidate lists, interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list. Constructing the first candidate list, comprising: and
Building a second candidate list of the two unidirectional prediction motion vector candidate lists, wherein the second motion vector candidates from the second reference picture list are combined with the first motion vector candidates from the first reference picture list. and interleaving the second candidate list.
제2항에 있어서,
상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들을 상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들과 인터리빙하는 단계는, 상기 제1 모션 벡터 후보들 및 상기 제2 모션 벡터 후보들을 교번하는 방식으로 상기 제1 후보 목록에 추가하는 단계를 포함하고, 상기 제1 모션 벡터 후보들로부터의 후보가 먼저 추가되는, 비디오 데이터를 디코딩하는 방법.
According to paragraph 2,
Interleaving the first motion vector candidates from the first reference picture list with the second motion vector candidates from the second reference picture list comprises alternating the first motion vector candidates and the second motion vector candidates. and adding to the first candidate list in such a way that a candidate from the first motion vector candidates is added first.
제2항에 있어서,
상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들과 인터리빙하는 단계는, 상기 제2 모션 벡터 후보들 및 상기 제1 모션 벡터 후보들을 교번하는 방식으로 상기 제2 후보 목록에 추가하는 단계를 포함하고, 상기 제2 모션 벡터 후보들로부터의 후보가 먼저 추가되는, 비디오 데이터를 디코딩하는 방법.
According to paragraph 2,
Interleaving the second motion vector candidates from the second reference picture list with the first motion vector candidates from the first reference picture list comprises alternating the second motion vector candidates and the first motion vector candidates. adding to the second candidate list in such a way that a candidate from the second motion vector candidates is added first.
제2항에 있어서,
상기 제1 후보 목록에 대해 제1 프루닝(pruning) 프로세스를 수행하는 단계; 및
상기 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하는 단계를 추가로 포함하는, 비디오 데이터를 디코딩하는 방법.
According to paragraph 2,
performing a first pruning process on the first candidate list; and
The method of decoding video data, further comprising performing a second pruning process on the second candidate list.
제5항에 있어서,
상기 제1 후보 목록에 대해 상기 제1 프루닝 프로세스를 수행하는 단계는,
상기 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 상기 제1 후보 목록으로부터 상기 제1 후보를 제거하는 단계로서, 상기 제1 후보는 상기 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 상기 제1 후보는 임계치보다 더 크지 않은 상기 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 상기 제1 후보를 제거하는 단계를 포함하고,
상기 제2 후보 목록에 대해 상기 제2 프루닝 프로세스를 수행하는 단계는,
상기 제1 후보 목록 또는 상기 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 상기 제2 후보 목록으로부터 상기 제2 후보를 제거하는 단계로서, 상기 제2 후보는 상기 제1 후보 목록 또는 상기 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 상기 제2 후보는 임계치보다 더 크지 않은 상기 제1 후보 목록 또는 상기 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 상기 제2 후보를 제거하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
According to clause 5,
Performing the first pruning process on the first candidate list includes:
removing the first candidate from the first candidate list based on a first candidate having the same reference picture list as another candidate in the first candidate list, wherein the first candidate is a different candidate from the first candidate list. and removing the first candidate, wherein the first candidate has a horizontal and vertical motion vector difference with other candidates in the first candidate list that is no greater than a threshold,
Performing the second pruning process on the second candidate list includes:
removing the second candidate from the second candidate list based on a second candidate having the same reference picture list as the first candidate list or another candidate in the second candidate list, wherein the second candidate is the second candidate. 1 has the same reference picture list index as a candidate list or another candidate in the second candidate list, and the second candidate has a horizontal and vertical index with another candidate in the first candidate list or the second candidate list that is not greater than a threshold. A method of decoding video data, comprising removing the second candidate having a motion vector difference.
제2항에 있어서,
상기 제1 후보 목록 및 상기 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계를 추가로 포함하는, 비디오 데이터를 디코딩하는 방법.
According to paragraph 2,
The method of decoding video data further comprising using the first candidate list and the second candidate list to build a final geometric partitioning mode motion vector candidate list.
제7항에 있어서,
상기 제1 후보 목록 및 상기 제2 후보 목록을 사용하여 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하는 단계는,
상기 제1 후보 목록으로부터의 상기 제1 모션 벡터 후보들을 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계;
상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 상기 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 상기 제2 후보 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하는 단계; 및
상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 상기 제1 모션 벡터 후보들 및 상기 제2 모션 벡터 후보들을 추가한 후, 상기 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
In clause 7,
Building the final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list includes:
adding the first motion vector candidates from the first candidate list to the final geometric partitioning mode motion vector candidate list;
If the final geometric partitioning mode motion vector candidate list, after adding the first motion vector candidates, is less than a predetermined number of candidates, the second motion vector candidates from the second candidate list are selected from the final geometric partitioning mode motion vector candidates. adding to the vector candidate list; and
If the final geometric partitioning mode motion vector candidate list, after adding the first motion vector candidates and the second motion vector candidates, is less than the predetermined number of candidates, zero motion vector candidates are selected from the final geometric partitioning mode motion vector. A method for decoding video data, comprising padding a candidate list.
제7항에 있어서,
상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하는 단계를 추가로 포함하는, 비디오 데이터를 디코딩하는 방법.
In clause 7,
The method of decoding video data further comprising performing a pruning process on the final geometric partitioning mode motion vector candidate list.
제7항에 있어서,
단방향 예측을 사용하여 상기 비디오 데이터의 블록을 디코딩하는 단계는,
단방향 예측 및 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 상기 비디오 데이터의 블록을 디코딩하는 단계를 포함하는, 비디오 데이터를 디코딩하는 방법.
In clause 7,
Decoding the block of video data using one-way prediction includes:
Decoding the block of video data using one-way prediction and the final geometric partitioning mode motion vector candidate list.
제1항에 있어서,
상기 비디오 데이터의 디코딩된 블록을 포함하는 픽처를 디스플레이하는 단계를 추가로 포함하는, 비디오 데이터를 디코딩하는 방법.
According to paragraph 1,
A method of decoding video data, further comprising displaying a picture containing a decoded block of video data.
비디오 데이터를 디코딩하도록 구성된 장치로서,
비디오 데이터의 블록을 저장하도록 구성된 메모리; 및
상기 메모리와 통신하는 하나 이상의 프로세서들을 포함하고,
상기 하나 이상의 프로세서들은,
기하학적 파티셔닝 모드를 사용하여 상기 비디오 데이터의 블록에 대한 파티셔닝을 결정하고;
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고; 그리고
비디오 데이터의 디코딩된 블록을 생성하기 위해, 상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 상기 비디오 데이터의 블록을 디코딩하도록 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
A device configured to decode video data, comprising:
a memory configured to store blocks of video data; and
comprising one or more processors in communication with the memory,
The one or more processors:
determine partitioning for blocks of the video data using a geometric partitioning mode;
construct two unidirectional predictive motion vector candidate lists for the block of video data; and
and decode the block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists to produce a decoded block of video data.
제12항에 있어서,
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 상기 하나 이상의 프로세서들은,
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하는 것으로서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하는, 상기 제1 후보 목록을 구축하고; 그리고
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하는 것으로서, 상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하는, 상기 제2 후보 목록을 구축하도록 추가로 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 12,
To build two unidirectional predictive motion vector candidate lists for the block of video data, the one or more processors:
Building a first candidate list of the two unidirectional predictive motion vector candidate lists, comprising interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list. constructing the first candidate list; and
Building a second candidate list of the two unidirectional prediction motion vector candidate lists, wherein the second motion vector candidates from the second reference picture list are combined with the first motion vector candidates from the first reference picture list. The apparatus further configured to build the second candidate list, comprising interleaving.
제13항에 있어서,
상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들을 상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들과 인터리빙하기 위해, 상기 하나 이상의 프로세서들은, 상기 제1 모션 벡터 후보들 및 상기 제2 모션 벡터 후보들을 교번하는 방식으로 상기 제1 후보 목록에 추가하도록 구성되고, 상기 제1 모션 벡터 후보들로부터의 후보가 먼저 추가되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 13,
To interleave the first motion vector candidates from the first reference picture list with the second motion vector candidates from the second reference picture list, the one or more processors are configured to: An apparatus configured to decode video data, configured to add motion vector candidates to the first candidate list in an alternating manner, with candidates from the first motion vector candidates being added first.
제13항에 있어서,
상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들과 인터리빙하기 위해, 상기 하나 이상의 프로세서들은, 상기 제2 모션 벡터 후보들 및 상기 제1 모션 벡터 후보들을 교번하는 방식으로 상기 제2 후보 목록에 추가하도록 구성되고, 상기 제2 모션 벡터 후보들로부터의 후보가 먼저 추가되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 13,
To interleave the second motion vector candidates from the second reference picture list with the first motion vector candidates from the first reference picture list, the one or more processors are configured to: An apparatus configured to decode video data, configured to add motion vector candidates to the second candidate list in an alternating manner, with a candidate from the second motion vector candidates being added first.
제13항에 있어서,
상기 하나 이상의 프로세서들은,
상기 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고; 그리고
상기 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 추가로 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 13,
The one or more processors:
perform a first pruning process on the first candidate list; and
and perform a second pruning process on the second candidate list.
제16항에 있어서,
상기 제1 후보 목록에 대해 상기 제1 프루닝 프로세스를 수행하기 위해, 상기 하나 이상의 프로세서들은,
상기 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제1 후보에 기초하여 상기 제1 후보 목록으로부터 상기 제1 후보를 제거하는 것으로서, 상기 제1 후보는 상기 제1 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 상기 제1 후보는 임계치보다 더 크지 않은 상기 제1 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 상기 제1 후보를 제거하도록 구성되고,
상기 제2 후보 목록에 대해 상기 제2 프루닝 프로세스를 수행하기 위해, 상기 하나 이상의 프로세서들은,
상기 제1 후보 목록 또는 상기 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록을 갖는 제2 후보에 기초하여 상기 제2 후보 목록으로부터 상기 제2 후보를 제거하는 것으로서, 상기 제2 후보는 상기 제1 후보 목록 또는 상기 제2 후보 목록 내의 다른 후보와 동일한 참조 픽처 목록 인덱스를 갖고, 상기 제2 후보는 임계치보다 더 크지 않은 상기 제1 후보 목록 또는 상기 제2 후보 목록 내의 다른 후보와의 수평 및 수직 모션 벡터 차이를 갖는, 상기 제2 후보를 제거하도록 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 16,
To perform the first pruning process on the first candidate list, the one or more processors:
Removing the first candidate from the first candidate list based on the first candidate having the same reference picture list as another candidate in the first candidate list, wherein the first candidate is different from the other candidate in the first candidate list. configured to remove the first candidate, which has the same reference picture list index, and wherein the first candidate has horizontal and vertical motion vector differences with other candidates in the first candidate list that are no greater than a threshold;
To perform the second pruning process on the second candidate list, the one or more processors:
removing the second candidate from the second candidate list based on the second candidate having the same reference picture list as the first candidate list or another candidate in the second candidate list, wherein the second candidate is the first candidate list. has the same reference picture list index as the candidate list or another candidate in the second candidate list, and the second candidate has horizontal and vertical motion with the first candidate list or another candidate in the second candidate list that is not greater than a threshold Apparatus configured to decode video data, configured to remove the second candidate having a vector difference.
제13항에 있어서,
상기 하나 이상의 프로세서들은,
상기 제1 후보 목록 및 상기 제2 후보 목록을 사용하여 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하도록 추가로 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 13,
The one or more processors:
and use the first candidate list and the second candidate list to build a final geometric partitioning mode motion vector candidate list.
제18항에 있어서,
상기 제1 후보 목록 및 상기 제2 후보 목록을 사용하여 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 구축하기 위해, 상기 하나 이상의 프로세서들은,
상기 제1 후보 목록으로부터의 상기 제1 모션 벡터 후보들을 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고;
상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 상기 제1 모션 벡터 후보들을 추가한 후, 후보들의 미리결정된 수 미만인 경우에, 상기 제2 후보 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 추가하고; 그리고
상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록이 상기 제1 모션 벡터 후보들 및 상기 제2 모션 벡터 후보들을 추가한 후, 상기 후보들의 미리결정된 수 미만인 경우에, 제로 모션 벡터 후보들을 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 패딩하도록 추가로 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 18,
To build the final geometric partitioning mode motion vector candidate list using the first candidate list and the second candidate list, the one or more processors:
add the first motion vector candidates from the first candidate list to the final geometric partitioning mode motion vector candidate list;
If the final geometric partitioning mode motion vector candidate list, after adding the first motion vector candidates, is less than a predetermined number of candidates, the second motion vector candidates from the second candidate list are selected from the final geometric partitioning mode motion vector candidates. Add to vector candidate list; and
If the final geometric partitioning mode motion vector candidate list, after adding the first motion vector candidates and the second motion vector candidates, is less than the predetermined number of candidates, zero motion vector candidates are selected from the final geometric partitioning mode motion vector. A device configured to decode video data, further configured to pad the candidate list.
제19항에 있어서,
상기 하나 이상의 프로세서들은,
상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록에 대해 프루닝 프로세스를 수행하도록 추가로 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 19,
The one or more processors:
and perform a pruning process on the final geometric partitioning mode motion vector candidate list.
제19항에 있어서,
단방향 예측을 사용하여 상기 비디오 데이터의 블록을 디코딩하기 위해, 상기 하나 이상의 프로세서들은,
단방향 예측 및 상기 최종 기하학적 파티셔닝 모드 모션 벡터 후보 목록을 사용하여 상기 비디오 데이터의 블록을 디코딩하도록 추가로 구성되는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 19,
To decode the block of video data using one-way prediction, the one or more processors:
The apparatus further configured to decode the block of video data using one-way prediction and the final geometric partitioning mode motion vector candidate list.
제12항에 있어서,
상기 비디오 데이터의 디코딩된 블록을 포함하는 픽처를 디스플레이하도록 구성된 디스플레이를 추가로 포함하는, 비디오 데이터를 디코딩하도록 구성된 장치.
According to clause 12,
An apparatus configured to decode video data, further comprising a display configured to display a picture comprising a decoded block of video data.
명령들을 저장하는 비일시적 컴퓨터 판독가능 저장 매체로서,
상기 명령들은, 실행될 때, 비디오 데이터를 디코딩하도록 구성된 디바이스의 하나 이상의 프로세서들로 하여금,
기하학적 파티셔닝 모드를 사용하여 비디오 데이터의 블록에 대한 파티셔닝을 결정하게 하고;
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하게 하고;
비디오 데이터의 디코딩된 블록을 생성하기 위해, 상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 상기 비디오 데이터의 블록을 디코딩하게 하는, 비일시적 컴퓨터 판독가능 저장 매체.
A non-transitory computer-readable storage medium storing instructions, comprising:
The instructions, when executed, cause one or more processors of a device configured to decode video data:
determine partitioning for blocks of video data using a geometric partitioning mode;
build two unidirectional predictive motion vector candidate lists for the block of video data;
A non-transitory computer-readable storage medium that causes decoding a block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists to produce a decoded block of video data.
제23항에 있어서,
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 상기 명령들은 추가로, 상기 하나 이상의 프로세서들로 하여금,
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하게 하는 것으로서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하는, 상기 제1 후보 목록을 구축하게 하고;
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하게 하는 것으로서, 상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하는, 상기 제2 후보 목록을 구축하게 하는, 비일시적 컴퓨터 판독가능 저장 매체.
According to clause 23,
To build two unidirectional predictive motion vector candidate lists for the block of video data, the instructions further cause the one or more processors to:
Building a first candidate list of the two unidirectional predictive motion vector candidate lists, comprising interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list. Build the first candidate list, comprising:
Building a second candidate list of the two unidirectional prediction motion vector candidate lists, wherein the second motion vector candidates from the second reference picture list are combined with the first motion vector candidates from the first reference picture list. and interleaving the second candidate list.
제24항에 있어서,
상기 명령들은 추가로, 상기 하나 이상의 프로세서들로 하여금,
상기 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하게 하고;
상기 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하게 하는, 비일시적 컴퓨터 판독가능 저장 매체.
According to clause 24,
The instructions further cause the one or more processors to:
perform a first pruning process on the first candidate list;
and perform a second pruning process on the second candidate list.
비디오 데이터를 인코딩하도록 구성된 장치로서,
비디오 데이터의 블록을 저장하도록 구성된 메모리; 및
상기 메모리와 통신하는 하나 이상의 프로세서들을 포함하고,
상기 하나 이상의 프로세서들은,
기하학적 파티셔닝 모드를 사용하여 상기 비디오 데이터의 블록에 대한 파티셔닝을 결정하고;
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하고; 그리고
비디오 데이터의 인코딩된 블록을 생성하기 위해, 상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 적어도 하나에 기초한 단방향 예측을 사용하여 상기 비디오 데이터의 블록을 인코딩하도록 구성되는, 비디오 데이터를 인코딩하도록 구성된 장치.
A device configured to encode video data, comprising:
a memory configured to store blocks of video data; and
comprising one or more processors in communication with the memory,
The one or more processors:
determine partitioning for blocks of the video data using a geometric partitioning mode;
construct two unidirectional predictive motion vector candidate lists for the block of video data; and
An apparatus configured to encode a block of video data using one-way prediction based on at least one of the two one-way prediction motion vector candidate lists to produce an encoded block of video data.
제26항에 있어서,
상기 비디오 데이터의 블록에 대한 2개의 단방향 예측 모션 벡터 후보 목록들을 구축하기 위해, 상기 하나 이상의 프로세서들은,
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제1 후보 목록을 구축하는 것으로서, 제1 참조 픽처 목록으로부터의 제1 모션 벡터 후보들을 제2 참조 픽처 목록으로부터의 제2 모션 벡터 후보들과 인터리빙하는 것을 포함하는, 상기 제1 후보 목록을 구축하고; 그리고
상기 2개의 단방향 예측 모션 벡터 후보 목록들 중 제2 후보 목록을 구축하는 것으로서, 상기 제2 참조 픽처 목록으로부터의 상기 제2 모션 벡터 후보들을 상기 제1 참조 픽처 목록으로부터의 상기 제1 모션 벡터 후보들과 인터리빙하는 것을 포함하는, 상기 제2 후보 목록을 구축하도록 추가로 구성되는, 비디오 데이터를 인코딩하도록 구성된 장치.
According to clause 26,
To build two unidirectional predictive motion vector candidate lists for the block of video data, the one or more processors:
Building a first candidate list of the two unidirectional predictive motion vector candidate lists, comprising interleaving first motion vector candidates from a first reference picture list with second motion vector candidates from a second reference picture list. constructing the first candidate list; and
Building a second candidate list of the two unidirectional prediction motion vector candidate lists, wherein the second motion vector candidates from the second reference picture list are combined with the first motion vector candidates from the first reference picture list. The apparatus configured to encode video data, wherein the apparatus is further configured to build the second candidate list, comprising interleaving.
제27항에 있어서,
상기 하나 이상의 프로세서들은,
상기 제1 후보 목록에 대해 제1 프루닝 프로세스를 수행하고; 그리고
상기 제2 후보 목록에 대해 제2 프루닝 프로세스를 수행하도록 추가로 구성되는, 비디오 데이터를 인코딩하도록 구성된 장치.
According to clause 27,
The one or more processors:
perform a first pruning process on the first candidate list; and
and perform a second pruning process on the second candidate list.
KR1020237042567A 2021-06-15 2022-06-10 Building motion vector candidates for geometric partitioning modes in video coding. KR20240021173A (en)

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US202163210883P 2021-06-15 2021-06-15
US63/210,883 2021-06-15
US17/806,221 2022-06-09
US17/806,221 US20220400257A1 (en) 2021-06-15 2022-06-09 Motion vector candidate construction for geometric partitioning mode in video coding
PCT/US2022/072865 WO2022266592A1 (en) 2021-06-15 2022-06-10 Motion vector candidate construction for geometric partitioning mode in video coding

Publications (1)

Publication Number Publication Date
KR20240021173A true KR20240021173A (en) 2024-02-16

Family

ID=82404078

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020237042567A KR20240021173A (en) 2021-06-15 2022-06-10 Building motion vector candidates for geometric partitioning modes in video coding.

Country Status (5)

Country Link
EP (1) EP4356609A1 (en)
KR (1) KR20240021173A (en)
BR (1) BR112023025326A2 (en)
TW (1) TW202306388A (en)
WO (1) WO2022266592A1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3884667B1 (en) * 2018-12-25 2024-04-17 Beijing Dajia Internet Information Technology Co., Ltd. Video coding with triangular shape prediction units
CN116800959B (en) * 2019-03-12 2024-03-26 北京达佳互联信息技术有限公司 Method, apparatus and storage medium for video encoding

Also Published As

Publication number Publication date
EP4356609A1 (en) 2024-04-24
BR112023025326A2 (en) 2024-02-27
WO2022266592A1 (en) 2022-12-22
TW202306388A (en) 2023-02-01

Similar Documents

Publication Publication Date Title
EP3808084A1 (en) Trellis coded quantization coefficient coding
CN114424570B (en) Transform unit design for video coding and decoding
CN114868387B (en) Chroma transform skipping and joint chroma coding enablement for blocks in video coding
KR20230038709A (en) Multiple adaptive loop filter sets
WO2020181105A2 (en) Simplification of sub-block transforms in video coding
WO2021133731A1 (en) Inferring intra coding mode in bdpcm coded block
WO2021061616A1 (en) Inter-layer reference picture signaling in video coding
WO2021133973A1 (en) Equation-based rice parameter derivation for regular transform coefficients in video coding
CN114830657A (en) Low frequency non-separable transforms (LFNST) with reduced zeroing in video coding
US11706425B2 (en) Multiple transform set signaling for video coding
US11729381B2 (en) Deblocking filter parameter signaling
KR20220163374A (en) Block partitioning for image and video coding
CN114868397A (en) Coefficient group-based constraints on multiple transform selection signaling in video coding
KR20240021173A (en) Building motion vector candidates for geometric partitioning modes in video coding.
US20220400257A1 (en) Motion vector candidate construction for geometric partitioning mode in video coding
US11924410B2 (en) Video coding using overlapped block motion compensation, combined inter-intra prediction, and/or luma mapping and chroma scaling
CN117461313A (en) Motion vector candidate construction for geometric partitioning modes in video coding
WO2023200715A1 (en) Flexible activation of multiple transform selection for inter-coding in video coding
CN116724551A (en) Most probable mode of intra prediction for video coding
WO2023056176A1 (en) Candidate lists of multiple reference lines for video coding
KR20230125781A (en) Highest Probability Modes for Intra Prediction for Video Coding
KR20240016957A (en) Video coding using nested block motion compensation, combined inter-intra prediction, and/or luma mapping and chroma scaling
KR20230159428A (en) Picture Orientation and Quality Metrics Supplementary Enhancement Information Messages for Video Coding
KR20240027612A (en) Signaled adaptive loop filter using multiple classifiers in video coding
KR20230159427A (en) Picture Orientation and Quality Metrics Supplementary Enhancement Information Messages for Video Coding