# US 2020/0267406 A1 · Signalling for merge mode with motion vector differences 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 2020/0267406 A1
- Document ID: US20200267406A1
- Status: Published application
- Kind: A1
- Application number: 16/793,807
- Filed: 2020-02-18
- Published: 2020-08-20
- Earliest claimed: 2019-02-20
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Yao-Jen Chang; Wei-Jung Chien; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US20200267406A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/513: Processing of motion vectors
- H04N 19/109: among a plurality of temporal predictive coding modes
- H04N 19/52: by predictive encoding
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A video decoder configured to generate a first merge candidate list for a first block; determine that the first block is coded in a merge mode with motion vector differences; in response to determining that a maximum number of entries for the first merge candidate list is equal to 1, infer a value of a first instance of a flag to be equal to a first value, wherein the first value for the flag indicates that the first block is to be decoded using a first entry in the first merge candidate list; receive first motion vector difference information; determine first motion information for predicting the first block based on candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information; and decode the first block using the first motion information.

## Claims

### Claim 1

A method of decoding video data, the method comprising:
generating a first merge candidate list for a first block;
determining that the first block is coded in a merge mode with motion vector differences;
in response to determining that a maximum number of entries for the first merge candidate list is equal to 1, inferring a value of a first instance of a flag to be equal to a first value, wherein the first value for the flag indicates that the first block is to be decoded using a first entry in the first merge candidate list;
receiving first motion vector difference information;
determining first motion information for predicting the first block based on candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information; and
decoding the first block using the first motion information.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
generating a second merge candidate list for a second block;
determining that the second block is coded in the merge mode with motion vector differences;
in response to determining that a maximum number of entries for the second merge candidate list is greater than one, receiving, in the video data, a second instance of the flag, wherein the second instance of the flag is set equal to the first value, wherein the first value for the second instance of the flag indicates that the second block is to be decoded using a first entry in the second merge candidate list; and
receiving second motion vector difference information;
determining second motion information for predicting the second block based on candidate motion information included in the first entry of the second merge candidate list and the second motion vector difference information;
decoding the second block using the second motion information.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
generating a third merge candidate list for the third block;
determining that the third block is coded in the merge mode with motion vector differences;
in response to determining that a maximum number of entries for the third merge candidate list is greater than one, receiving, in the video data, a third instance of the flag, wherein the third instance of the flag is equal to a second value, wherein the second value for the flag indicates that the third block is to be decoded using a second entry in the third merge candidate list;
receiving third motion vector difference information;
determining third motion information for predicting the third block based on candidate motion information included in the second entry of the third merge candidate list and the third motion vector difference information; and
decoding the third block using the third motion information.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining that the first block is coded in the merge mode with motion vector differences comprises:
receiving a first syntax element indicating the first block is coded in merge mode;
in response to determining that the first syntax element indicates the first block is coded in the merge mode, receiving a second syntax element indicating that the first block is coded in the merge mode with motion vector differences.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining that the number of entries for the first merge candidate list is equal to 1 comprises receiving an indication of the number of entries for the first merge candidate list in a sequence parameter set.

### Claim 6 (depends on 1)

The method of claim 1, wherein
receiving the first motion vector difference information comprises receiving a distance index that identifies an offset, and
determining the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information comprises modifying a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the offset.

### Claim 7 (depends on 6)

The method of claim 6, wherein
receiving the first motion vector difference information further comprises receiving a direction index that identifies a direction for the offset, and
determining the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information further comprises modifying a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the direction for the offset.

### Claim 8

A device for decoding video data, the device comprising:
a memory configured to store video data; and
one or more processors implemented in circuitry and configured to:
generate a first merge candidate list for a first block;
determine that the first block is coded in a merge mode with motion vector differences;
in response to determining that a maximum number of entries for the first merge candidate list is equal to 1, infer a value of a first instance of a flag to be equal to a first value, wherein the first value for the flag indicates that the first block is to be decoded using a first entry in the first merge candidate list;
receive first motion vector difference information;
determine first motion information for predicting the first block based on candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information; and
decode the first block using the first motion information.

### Claim 9 (depends on 8)

The device of claim 8, wherein the one or more processors are further configured to:
generate a second merge candidate list for a second block;
determine that the second block is coded in the merge mode with motion vector differences;
in response to determining that a maximum number of entries for the second merge candidate list is greater than one, receive, in the video data, a second instance of the flag, wherein the second instance of the flag is equal to the first value, wherein the first value for the second instance of the flag indicates that the second block is to be decoded using a first entry in the second merge candidate list; and
receive second motion vector difference information;
determine second motion information for predicting the second block based on candidate motion information included in the first entry of the second merge candidate list and the second motion vector difference information;
decode the second block using the second motion information.

### Claim 10 (depends on 9)

The device of claim 9, wherein the one or more processors are further configured to:
generate a third merge candidate list for the third block;
determine that the third block is coded in the merge mode with motion vector differences;
in response to determining that a maximum number of entries for the third merge candidate list is greater than one, receive, in the video data, a third instance of the flag, wherein the third instance of the flag is equal to a second value, wherein the second value for the third instance of the flag indicates that the third block is to be decoded using a second entry in the third merge candidate list;
receive third motion vector difference information;
determine third motion information for predicting the third block based on candidate motion information included in the second entry of the third merge candidate list and the third motion vector difference information; and
decode the third block using the third motion information.

### Claim 11 (depends on 8)

The device of claim 8, wherein to determine that the first block is coded in the merge mode with motion vector differences, the one or more processors are configured to:
receive a first syntax element indicating the first block is coded in merge mode;
in response to determining that the first syntax element indicates the first block is coded in the merge mode, receive a second syntax element indicating that the first block is coded in the merge mode with motion vector differences.

### Claim 12 (depends on 8)

The device of claim 8, wherein to determine that the number of entries for the first merge candidate list is equal to 1, the one or more processors are configured to receive an indication of the number of entries for the first merge candidate list in a sequence parameter set.

### Claim 13 (depends on 8)

The device of claim 8, wherein to receive the first motion vector difference information, the one or more processors are configured to receive a distance index that identifies an offset, and wherein to determine the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information, the one or more processors are configured to modify a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the offset.

### Claim 14 (depends on 13)

The device of claim 13, wherein to receive the first motion vector difference information, the one or more processors are configured to receive a direction index that identifies a direction for the offset, and wherein to determine the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information, the one or more processors are configured to modify a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the direction for the offset.

### Claim 15 (depends on 14)

The device of claim 14, wherein the device comprises a wireless communication device, further comprising a receiver configured to receive encoded video data.

### Claim 16 (depends on 15)

The device of claim 15, wherein the wireless communication device comprises a telephone handset and wherein the receiver is configured to demodulate, according to a wireless communication standard, a signal comprising the encoded video data.

### Claim 17 (depends on 14)

The device of claim 14, further comprising:
a display configured to display decoded video data.

### Claim 18 (depends on 14)

The device of claim 14, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set-top box.

### Claim 19

An apparatus for decoding video data, the apparatus comprising:
means for generating a first merge candidate list for a first block;
means for determining that the first block is coded in a merge mode with motion vector differences;
means for inferring a value of a first instance of a flag to be equal to a first value in response to determining that a maximum number of entries for the first merge candidate list is equal to 1, wherein the first value for the flag indicates that the first block is to be decoded using a first entry in the first merge candidate list;
means for receiving first motion vector difference information;
means for determining first motion information for predicting the first block based on candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information; and
means for decoding the first block using the first motion information.

### Claim 20 (depends on 19)

The apparatus of claim 19, further comprising:
means for generating a second merge candidate list for a second block;
means for determining that the second block is coded in the merge mode with motion vector differences;
means for receiving, in the video data, a second instance of the flag in response to determining that a maximum number of entries for the second merge candidate list is greater than one, wherein the second instance of the flag is set equal to the first value, wherein the first value for the second instance of the flag indicates that the second block is to be decoded using a first entry in the second merge candidate list; and
means for receiving second motion vector difference information;
means for determining second motion information for predicting the second block based on candidate motion information included in the first entry of the second merge candidate list and the second motion vector difference information;
means for decoding the second block using the second motion information.

### Claim 21 (depends on 20)

The apparatus of claim 20, further comprising:
means for generating a third merge candidate list for the third block;
means for determining that the third block is coded in the merge mode with motion vector differences;
means for receiving, in the video data, a third instance of the flag in response to determining that a maximum number of entries for the third merge candidate list is greater than one, wherein the third instance of the flag is equal to a second value, wherein the second value for the flag indicates that the third block is to be decoded using a second entry in the third merge candidate list;
means for receiving third motion vector difference information;
means for determining third motion information for predicting the third block based on candidate motion information included in the second entry of the third merge candidate list and the third motion vector difference information; and
means for decoding the third block using the third motion information.

### Claim 22 (depends on 19)

The apparatus of claim 19, wherein the means for determining that the first block is coded in the merge mode with motion vector differences comprises:
means for receiving a first syntax element indicating the first block is coded in merge mode;
means for receiving a second syntax element indicating that the first block is coded in the merge mode with motion vector differences in response to determining that the first syntax element indicates the first block is coded in the merge mode.

### Claim 23 (depends on 19)

The apparatus of claim 19, wherein the means for determining that the number of entries for the first merge candidate list is equal to 1 comprises means for receiving an indication of the number of entries for the first merge candidate list in a sequence parameter set.

### Claim 24 (depends on 19)

The apparatus of claim 19, wherein
the means for receiving the first motion vector difference information comprises means for receiving a distance index that identifies an offset, and
the means for determining the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information comprises means for modifying a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the offset.

### Claim 25 (depends on 24)

The apparatus of claim 24, wherein
the means for receiving the first motion vector difference information further comprises means for receiving a direction index that identifies a direction for the offset, and
the means for determining the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information further comprises means for modifying a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the direction for the offset.

### Claim 26

A device for encoding video data, the device comprising:
a memory configured to store video data; and
one or more processors implemented in circuitry and configured to:
generate a first merge candidate list for a first block;
determine that the first block is coded in a merge mode with motion vector differences;
determine first motion information for predicting the first block;
determine first motion vector difference information, wherein the first motion vector difference information represents a difference between the first motion information for predicting the first block and candidate motion information included in a first entry of the first merge candidate list;
in response to determining that a maximum number of entries for the first merge candidate list is equal to 1, refrain from including, in a bitstream of encoded video data, a flag, wherein a first value for the flag indicates that the first block is to be decoded using a first entry in the first merge candidate list and a second value for the flag indicates that the first block is to be decoded using a second entry in the first merge candidate list;
generate, for inclusion in the bitstream of encoded video data, the first motion vector difference information; and
output the bitstream of encoded video data.

### Claim 27 (depends on 26)

The device of claim 26, further comprising:
generating a second merge candidate list for a second block;
determining that the second block is coded in the merge mode with motion vector differences;
determining second motion information for predicting the second block;
determining second motion vector difference information, wherein the second motion vector difference information represents a difference between the second motion information for predicting the second block and candidate motion information included in an entry of the second merge candidate list;
in response to determining that a maximum number of entries for the second merge candidate list is greater than 1, generating, for inclusion in the bitstream of encoded video data, an instance of the flag, wherein a first value for the flag indicates that the second block is to be decoded using a first entry in the second merge candidate list and a second value for the flag indicates that the second block is to be decoded using a second entry in the second merge candidate list;
generating, for inclusion in the bitstream of encoded video data, the second motion vector difference information.

### Claim 28 (depends on 26)

The device of claim 26, further comprising:
generating, for inclusion in the bitstream of encoded video data, a first syntax element indicating the first block is coded in merge mode;
generating, for inclusion in the bitstream of encoded video data, a second syntax element indicating that the first block is coded in the merge mode with motion vector differences.

### Claim 29 (depends on 26)

The device of claim 26, further comprising:
generating, for inclusion in a sequence parameter set data structure in the bitstream of encoded video data, an indication of a number of entries for the first merge candidate list.

### Claim 30 (depends on 26)

The device of claim 26, wherein the first motion vector difference information comprises a distance index that identifies an offset.

### Claim 31 (depends on 30)

The device of claim 30, wherein the first motion vector difference information comprises a direction index that identifies a direction for the offset.

### Claim 32 (depends on 26)

The device of claim 26, wherein the device comprises a wireless communication device, further comprising a transmitter configured to transmit encoded video data.

### Claim 33 (depends on 32)

The device of claim 32, wherein the wireless communication device comprises a telephone handset and wherein the transmitter is configured to modulate, according to a wireless communication standard, a signal comprising the encoded video data.

### Claim 34 (depends on 26)

The device of claim 26, further comprising:
a camera configured to capture the video data.

### Claim 35 (depends on 26)

The device of claim 26, wherein the device comprises one or more of a camera, a computer, or a mobile device.

### Claim 36

A computer-readable storage medium storing instructions that when executed by one or more processors cause the one or more processors to:
generate a first merge candidate list for a first block;
determine that the first block is coded in a merge mode with motion vector differences;
in response to determining that a maximum number of entries for the first merge candidate list is equal to 1, infer a value of a first instance of a flag to be equal to a first value, wherein the first value for the flag indicates that the first block is to be decoded using a first entry in the first merge candidate list;
receive first motion vector difference information;
determine first motion information for predicting the first block based on candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information; and
decode the first block using the first motion information.

### Claim 37 (depends on 36)

The computer-readable storage medium of claim 36, storing further instructions that when executed by the one or more processors cause the one or more processors to:
generate a second merge candidate list for a second block;
determine that the second block is coded in the merge mode with motion vector differences;
in response to determining that a maximum number of entries for the second merge candidate list is greater than one, receive, in the video data, a second instance of the flag, wherein the second instance of the flag is set equal to the first value, wherein the first value for the second instance of the flag indicates that the second block is to be decoded using a first entry in the second merge candidate list; and
receive second motion vector difference information;
determine second motion information for predicting the second block based on candidate motion information included in the first entry of the second merge candidate list and the second motion vector difference information;
decode the second block using the second motion information.

### Claim 38 (depends on 37)

The computer-readable storage medium of claim 37, storing further instructions that when executed by the one or more processors cause the one or more processors to
generate a third merge candidate list for the third block;
determine that the third block is coded in the merge mode with motion vector differences;
in response to determining that a maximum number of entries for the third merge candidate list is greater than one, receive, in the video data, a third instance of the flag, wherein the third instance of the flag is equal to a second value, wherein the second value for the flag indicates that the third block is to be decoded using a second entry in the third merge candidate list;
receive third motion vector difference information;
determine third motion information for predicting the third block based on candidate motion information included in the second entry of the third merge candidate list and the third motion vector difference information; and
decode the third block using the third motion information.

### Claim 39 (depends on 36)

The computer-readable storage medium of claim 36, wherein to determine that the first block is coded in the merge mode with motion vector differences, the instructions cause the one or more processors to:
receive a first syntax element indicating the first block is coded in merge mode;
in response to determining that the first syntax element indicates the first block is coded in the merge mode, receive a second syntax element indicating that the first block is coded in the merge mode with motion vector differences.

### Claim 40 (depends on 36)

The computer-readable storage medium of claim 36, wherein to determine that the number of entries for the first merge candidate list is equal to 1, the instructions cause the one or more processors to comprises receive an indication of the number of entries for the first merge candidate list in a sequence parameter set.

### Claim 41 (depends on 36)

The computer-readable storage medium of claim 36, wherein
to receive the first motion vector difference information, the instructions cause the one or more processors to receive a distance index that identifies an offset, and
to determine the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information, the instructions cause the one or more processors to modify a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the offset.

### Claim 42 (depends on 41)

The computer-readable storage medium of claim 41, wherein
to receive the first motion vector difference information further, the instructions cause the one or more processors to receive a direction index that identifies a direction for the offset, and
to determine the first motion information for predicting the first block based on the candidate motion information included in the first entry of the first merge candidate list and the first motion vector difference information further, the instructions cause the one or more processors to modify a motion vector of the candidate motion information included in the first entry of the first merge candidate list based on the direction for the offset.
