# US 2023/0421791 A1 · System and method for signaling of motion merge modes in video coding

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0421791 A1
- Document ID: US20230421791A1
- Status: Published application
- Kind: A1
- Application number: 18/242,486
- Filed: 2023-09-05
- Published: 2023-12-28
- Earliest claimed: 2018-12-31
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Yi-Wen CHEN; Xianglin WANG
- Web page: https://patentgrep.com/patent/US20230421791A1

## CPC

- H04N 19/46: Embedding additional information in the video signal during the compression process (H04N19/517, H04N19/68, H04N19/70 take precedence)
- H04N 19/52: by predictive encoding
- H04N 19/109: among a plurality of temporal predictive coding modes
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/137: Motion inside a coding unit, e.g. average field, frame or block difference
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure relates to a decoding method. The method includes acquiring, from a decoder, a regular merge flag for a coding unit (CU) that is coded as merge mode and merge related modes; when the regular merge flag is one, indicating that a regular merge mode or merge mode with motion vector differences (MMVD) is used by the CU, constructing a single merge list for the CU and using regular merge index to indicate which candidate is used; when the regular merge flag is zero, indicating the regular merge mode is not used by the CU, and further receiving mode flags to indicate associated merge related modes are used when a mode flag's constraints are met; and when the regular merge flag is one, determining whether a MMVD merge flag is received based on the value of a MMVD flag.

## Claims

### Claim 1

A computer implemented method for motion merge modes, comprising:
acquiring, from a decoder, a regular merge flag for a coding unit (CU) that is coded as merge mode and merge related modes;
when the regular merge flag is one, indicating that a regular merge mode or merge mode with motion vector differences (MMVD) is used by the CU, constructing a single merge list for the CU, wherein the single merge list comprises regular motion vector candidates and MMVD motion vector candidates selected by a regular merge index to indicate which candidate is used, wherein the single merge list is constructed for both the regular merge mode and the MMVD;
when the regular merge flag is zero, indicating the regular merge mode is not used by the CU, and further receiving mode flags to indicate associated merge related modes are used when a mode flag's constraints are met; and
when the regular merge flag is one, determining whether a MMVD merge flag is received based on the value of a MMVD flag.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, by the decoder, the MMVD merge flag when the MMVD flag is equal to one.

### Claim 3 (depends on 1)

The method of claim 1, further comprising receiving subblock flag and the subblock flag's constraints includes:
acquiring a coding block from a decoder, wherein the coding block has a width and height;
determining, by the decoder, whether maximum number of subblock-based merging MVP candidates (MaxNumSubblockMergeCand) is greater than zero;
determining, by the decoder, whether coding block width is greater than equal to eight; and
determining, by the decoder, whether coding block height is greater than equal to eight.

### Claim 4 (depends on 1)

The method of claim 1, wherein the mode flag is a combined inter and intra prediction (CIIP) flag and the CIIP flag's constraints include:
acquiring a coding block from a decoder, wherein the coding block has a width and height;
determining, by the decoder, whether sps_mh_intra_enabled_flag is set;
determining, by the decoder, whether cu_skip_flag is equal to zero;
determining, by the decoder, whether the coding block width times the coding block height is greater than equal to sixty-four;
determining, by the decoder, whether coding block width is less than one hundred and twenty-eight; and
determining, by the decoder, whether coding block height is less than one hundred and twenty-eight.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, by the decoder, a regular merge flag before receiving, by the decoder, the mode flag when the mode flag's constraints are met.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving, by the decoder, a regular merge flag before receiving, by the decoder, a merge mode with motion vector differences (MMVD) flag when the merge mode with motion vector differences (MMVD) flag's constraints are met.

### Claim 7 (depends on 5)

The method of claim 5, further comprising:
receiving, by the decoder, a regular merge flag before receiving, by the decoder, a combined inter and intra prediction (CIIP) flag when the CIIP flag's constraints are met.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving, by the decoder, a regular merge flag after receiving, by the decoder, a mode flag when the mode flag's constraints are met.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving, by the decoder, a regular merge flag after receiving, by the decoder, a subblock merge mode flag when the subblock merge mode flag's constraints are met.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
receiving, by the decoder, the regular merge flag using Context-adaptive binary arithmetic coding (CABAC) with multiple context models and the selection of the context model is based on coded information.

### Claim 11

A computing device comprising:
one or more processors;
a non-transitory computer-readable memory storing instructions executable by the one or more processors, wherein the one or more processors are configured to:
acquire, from a decoder, a regular merge flag for a coding unit (CU) that is coded as merge mode and merge related modes;
when the regular merge flag is one, indicate that a regular merge mode or merge mode with motion vector differences (MMVD) is used by the CU, construct a single merge list for the CU, wherein the single merge list comprises regular motion vector candidates and MMVD motion vector candidates selected by a regular merge index to indicate which candidate is used, wherein the single merge list is constructed for both the regular merge mode and the MMVD;
when the regular merge flag is zero, indicate the regular merge mode is not used by the CU, and further receive mode flags to indicate associated merge related modes are used when a mode flag's constraints are met; and
when the regular merge flag is one, determine whether a MMVD merge flag is received based on the value of a MMVD flag.

### Claim 12 (depends on 11)

The computing device of claim 11, further comprising:
receive, by the decoder, the MMVD merge flag when MMVD flag is equal to one.

### Claim 13 (depends on 11)

The computing device of claim 11, wherein the one or more processors are further configured to receive subblock flag and the subblock flag's constraints includes:
acquire a coding block from a decoder, wherein the coding block has a width and height;
determine, by the decoder, whether maximum number of subblock-based merging MVP candidates (MaxNumSubblockMergeCand) is greater than zero;
determine, by the decoder, whether coding block width is greater than equal to eight; and
determine, by the decoder, whether coding block height is greater than equal to eight.

### Claim 14 (depends on 11)

The computing device of claim 11, wherein the mode flag is a combined inter and intra prediction (CIIP) flag and the CIIP flag's constraints include:
acquire a coding block from a decoder, wherein the coding block has a width and height;
determine, by the decoder, whether sps_mh_intra_enabled_flag is set;
determine, by the decoder, whether cu skip flag is equal to zero;
determine, by the decoder, whether the coding block width times the coding block height is greater than equal to sixty-four;
determine, by the decoder, whether coding block width is less than one hundred and twenty-eight; and
determine, by the decoder, whether coding block height is less than one hundred and twenty-eight.

### Claim 15 (depends on 11)

The computing device of claim 11, further comprising:
signal, by the decoder, a regular merge flag before signaling, by the decoder, the mode flag when the mode flag's constraints are met.

### Claim 16 (depends on 15)

The computing device of claim 15, further comprising:
signal, by the decoder, a regular merge flag before signaling, by the decoder, a combined inter and intra prediction (CIIP) flag when the CIIP flag's constraints are met.

### Claim 17 (depends on 11)

The computing device of claim 11, further comprising:
receive, by the decoder, a regular merge flag after receiving, by the decoder, a mode flag when the mode flag's constraints are met.

### Claim 18 (depends on 17)

The computing device of claim 17, further comprising:
receive, by the decoder, a regular merge flag after receiving, by the decoder, a subblock merge mode flag when the subblock merge mode flag's constraints are met.

### Claim 19 (depends on 11)

The computing device of claim 11, further comprising:
receive, by the decoder, the regular merge flag using Context-adaptive binary arithmetic coding (CABAC) with multiple context models and the selection of the context model is based on coded information.

### Claim 20

A non-transitory computer-readable storage medium storing a bitstream to be decoded by a decoding method including the following operations:
acquiring, from a decoder, a regular merge flag for a coding unit (CU) that is coded as merge mode and merge related modes;
when the regular merge flag is one, indicating that a regular merge mode or merge mode with motion vector differences (MMVD) is used by the CU, constructing a single merge list for the CU, wherein the single merge list comprises regular motion vector candidates and MMVD motion vector candidates selected by a regular merge index to indicate which candidate is used, wherein the single merge list is constructed for both the regular merge mode and the MMVD;
when the regular merge flag is zero, indicating the regular merge mode is not used by the CU, and further receiving mode flags to indicate associated merge related modes are used when a mode flag's constraints are met; and
when the regular merge flag is one, determining whether a MMVD merge flag is received based on the value of a MMVD flag.
