# US 10,958,927 B2 · Motion information derivation mode determination 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 10,958,927 B2
- Document ID: US10958927B2
- Status: Granted
- Kind: B2
- Application number: 15/080,479
- Filed: 2016-03-24
- Published: 2016-09-29
- Granted: 2021-03-23
- Earliest claimed: 2015-03-27
- Assignees: QUALCOMM Incorporated
- Applicants: QUALCOMM Incorporated
- Inventors: Xiang Li; Ying Chen; Li Zhang; Hongbin Liu; Jianle Chen; Marta Karczewicz
- Web page: https://patentgrep.com/patent/US10958927B2

## CPC

- H04N 19/513: Processing of motion vectors
- H04N 19/109: among a plurality of temporal predictive coding modes
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- 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/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/57: Motion estimation characterised by a search window with variable size or shape
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

In an example, a method of decoding video data includes selecting a motion information derivation mode from a plurality of motion information derivation modes for determining motion information for a current block, where each motion information derivation mode of the plurality comprises performing a motion search for a first set of reference data that corresponds to a second set of reference data outside of the current block, and where the motion information indicates motion of the current block relative to reference video data. The method also includes determining the motion information for the current block using the selected motion information derivation mode. The method also includes decoding the current block using the determined motion information and without decoding syntax elements representative of the motion information.

## Claims

### Claim 1

A method of decoding video data, the method comprising:
selecting, for a current block of video data of a current picture, a motion information derivation mode from a plurality of motion information derivation modes for determining motion information for the current block, wherein the motion information indicates motion of the current block relative to reference video data for the current block, wherein the motion information is based on a first set of reference video data and a second set of reference video data, wherein each motion information derivation mode of the plurality of motion information derivation modes comprises performing a motion search for the first set of reference video data based on the second set of reference video data, and wherein the plurality of motion information derivation modes comprises at least a bilateral matching mode in which the first set of reference video data is included in a first reference picture and the second set of reference video data is included in a second reference picture and a template matching mode in which the first set of reference video data is included in the first reference picture and the second set of reference video data is included in the current picture;
determining the motion information for the current block using the selected motion information derivation mode; and
decoding the current block using the determined motion information and without decoding syntax elements representative of the motion information from an encoded bitstream, wherein decoding the current block comprises decoding residual data for the current block from the encoded bitstream, determining the reference video data for the current block using the determined motion information, and combining the residual data for the current block with the reference video data to reconstruct the current block.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of motion information derivation modes further comprises at least one of a unilateral motion estimation mode or a mirror based mode.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the motion information for the current block comprises using an optimization process to refine initial motion information, wherein the optimization process is the same for each of the motion information derivation modes.

### Claim 4 (depends on 1)

The method of claim 1, further comprising decoding one or more syntax elements that indicate whether to perform motion derivation for the current block.

### Claim 5 (depends on 1)

The method of claim 1, further comprising decoding one or more syntax elements that indicate the motion information derivation mode from the plurality of motion information derivation modes, and wherein selecting the motion information derivation mode comprises selecting the motion information derivation mode in accordance with the one or more syntax elements.

### Claim 6 (depends on 5)

The method of claim 5, wherein decoding one or more syntax elements that indicate the motion information derivation mode comprises decoding a flag that indicates one of the bilateral matching mode or the template matching mode as the motion information derivation mode.

### Claim 7 (depends on 5)

The method of claim 5, wherein decoding one or more syntax elements that indicate the motion information derivation mode comprises decoding an index that indicates the motion information derivation mode.

### Claim 8 (depends on 7)

The method of claim 7, wherein decoding the index comprises context adaptive entropy decoding the index.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
determining a merge mode or advanced motion vector prediction (AMVP) candidate list for the current block, the candidate list comprising one or more motion vector candidates and a candidate that is assigned to the motion information derivation mode; and
wherein selecting the motion information derivation mode comprises selecting the candidate that is assigned to the motion information derivation mode from the merge mode or AMVP list.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
decoding one or more syntax elements, within a sequence parameter set (SPS), a picture parameter set (PPS), or a slice header, that indicate whether motion information derivation is enabled for the current block of video data.

### Claim 11 (depends on 10)

The method of claim 10, wherein, when the one or more syntax elements indicate that motion information derivation is not enabled, the method further comprises skipping decoding of motion information derivation at a decoding unit (CU) or prediction unit (PU) level.

### Claim 12 (depends on 1)

The method of claim 1, wherein selecting the motion information derivation mode comprises selecting the bilateral matching mode, and wherein determining the motion information for the current block using the selected motion information derivation mode comprises:
performing bilateral matching, such that temporal positions of both the first reference picture and the second reference picture occur before or after the current picture that contains the current block;
determining two interpolated motion vectors for the current block based on the first reference picture and the second reference picture.

### Claim 13 (depends on 1)

The method of claim 1, wherein determining the motion information for the current block using the selected motion information derivation mode comprises:
searching for the first set of reference video data that best matches the second set of reference video data; and
determining at least one motion vector for the current block based on the first set of reference video data and the second set of reference video data.

### Claim 14 (depends on 13)

The method of claim 13, wherein searching for the first set of reference video data is performed using an interpolation filter that is different than an interpolation filter used for performing motion compensation for the current block.

### Claim 15 (depends on 14)

The method of claim 14, wherein searching for the first set of reference video data is performed using a bi-linear filter to determine pixel values of the first set of reference video data or the second set of reference video data at a sub-pixel location.

### Claim 16 (depends on 13)

The method of claim 13, wherein the searching comprises searching for the first set of reference video data using a starting point, and wherein the starting point is the same for each motion information mode of the plurality of motion information derivation modes.

### Claim 17 (depends on 1)

The method of claim 1, wherein decoding the current block comprises: decoding one or more syntax elements that indicate the motion information derivation mode for the current block; and wherein selecting the motion information derivation mode comprises selecting the motion information derivation mode based on the decoded one or more syntax elements.

### Claim 18

A method of encoding video data, the method comprising:
selecting, for a current block of video data of a current picture, a motion information derivation mode from a plurality of motion information derivation modes for determining motion information for the current block, wherein the motion information indicates motion of the current block relative to reference video data for the current block, wherein the motion information is based on a first set of reference video data and a second set of reference video data, wherein each motion information derivation mode of the plurality of motion information derivation modes comprises performing a motion search for the first set of reference video data based on the second set of reference video data, and wherein the plurality of motion information derivation modes comprises at least a bilateral matching mode in which the first set of reference video data is included in a first reference picture and the second set of reference video data is included in a second reference picture and a template matching mode in which the first set of reference video data is included in the first reference picture and the second set of reference video data is included in the current picture;
determining the motion information for the current block using the selected motion information derivation mode; and
encoding the current block using the determined motion information and without encoding syntax elements representative of the motion information, wherein encoding the current block comprises determining the reference video data for the current block using the determined motion information, determining residual data based on a difference between the current block and the reference video data and encoding the residual data in an encoded bitstream.

### Claim 19 (depends on 18)

The method of claim 18, wherein the plurality of motion information derivation modes further comprises at least one of a unilateral motion estimation mode or a mirror based mode.

### Claim 20 (depends on 18)

The method of claim 18, wherein determining the motion information for the current block comprises using an optimization process to refine initial motion information, wherein the optimization process is the same for each of the motion information derivation modes.

### Claim 21 (depends on 18)

The method of claim 18, further comprising encoding one or more syntax elements that indicate whether to perform motion derivation for the current block.

### Claim 22 (depends on 18)

The method of claim 18, further comprising encoding one or more syntax elements that indicate the motion information derivation mode from the plurality of motion information derivation modes, and wherein selecting the motion information derivation mode comprises selecting the motion information derivation mode in accordance with the one or more syntax elements.

### Claim 23 (depends on 22)

The method of claim 22, wherein encoding one or more syntax elements that indicate the motion information derivation mode comprises encoding a flag that indicates one of the bilateral matching mode or the template matching mode as the motion information derivation mode.

### Claim 24 (depends on 22)

The method of claim 22, wherein encoding one or more syntax elements that indicate the motion information derivation mode comprises encoding an index that indicates the motion information derivation mode.

### Claim 25 (depends on 24)

The method of claim 24, wherein encoding the index comprises context adaptive entropy encoding the index.

### Claim 26 (depends on 18)

The method of claim 18, further comprising:
determining a merge mode or advanced motion vector prediction (AMVP) candidate list for the current block, the candidate list comprising one or more motion vector candidates and a candidate that is assigned to the motion information derivation mode; and
wherein selecting the motion information derivation mode comprises selecting the candidate that is assigned to the motion information derivation mode from the merge mode or AMVP list.

### Claim 27 (depends on 18)

The method of claim 18, further comprising:
encoding one or more syntax elements, within a sequence parameter set (SPS), a picture parameter set (PPS), or a slice header, that indicate whether motion information derivation is enabled for the current block of video data.

### Claim 28 (depends on 27)

The method of claim 27, wherein, when the one or more syntax elements indicate that motion information derivation is not enabled, the method further comprises skipping encoding of motion information derivation at a encoding unit (CU) or prediction unit (PU) level.

### Claim 29 (depends on 18)

The method of claim 18, wherein selecting the motion information derivation mode comprises selecting the bilateral matching mode, and wherein determining the motion information for the current block using the selected motion information derivation mode comprises:
performing bilateral matching, such that temporal positions of both the first reference picture and the second reference picture occur before or after the current picture that contains the current block;
determining two interpolated motion vectors for the current block based on the first reference picture and the second reference picture.

### Claim 30 (depends on 18)

The method of claim 18, wherein determining the motion information for the current block using the selected motion information derivation mode comprises:
searching for the first set of reference video data that best matches the second set of reference video data; and
determining at least one motion vector for the current block based on the first set of reference video data and the second set of reference video data.

### Claim 31 (depends on 30)

The method of claim 30, wherein searching for the first set of reference video data is performed using an interpolation filter that is different than an interpolation filter used for performing motion compensation for the current block.

### Claim 32 (depends on 31)

The method of claim 31, wherein searching for the first set of reference video data is performed using a bi-linear filter to determine pixel values of the first set of reference video data or the second set of reference video data at a sub-pixel location.

### Claim 33 (depends on 30)

The method of claim 30, wherein the searching comprises searching for the first set of reference video data using a starting point, and wherein the starting point is the same for each motion information mode of the plurality of motion information derivation modes.

### Claim 34 (depends on 18)

The device of claim 18, wherein to search for the first set of reference video data, the one or more processors are configured to use an interpolation filter that is different than an interpolation filter used for performing motion compensation for the current block.

### Claim 35 (depends on 34)

The device of claim 34, wherein to search for the first set of reference video data, the one or more processors are configured to use a bi-linear filter to determine pixel values of the first set of reference video data or the second set of reference video data at a sub-pixel location.

### Claim 36

A device for coding video data, the device comprising:
a memory configured to store a current block of video data of a current picture; and
one or more processors configured to:
select, for the current block of video data, a motion information derivation mode from a plurality of motion information derivation modes for determining motion information for the current block, wherein the motion information indicates motion of the current block relative to reference video data for the current block, wherein the motion information is based on a first set of reference video data and a second set of reference video data, wherein each motion information derivation mode of the plurality of motion information derivation modes comprises performing a motion search for the first set of reference video data based on the second set of reference video data, and wherein the plurality of motion information derivation modes comprises at least a bilateral matching mode in which the first set of reference video data is included in a first reference picture and the second set of reference video data is included in a second reference picture and a template matching mode in which the first set of reference video data is included in the first reference picture and the second set of reference video data is included in the current picture;
determine the motion information for the current block using the selected motion information derivation mode; and
code the current block using the determined motion information and without coding syntax elements representative of the motion information.

### Claim 37 (depends on 36)

The device of claim 36, wherein the plurality of motion information derivation modes further comprises at least one of a unilateral motion estimation mode or a mirror based mode.

### Claim 38 (depends on 36)

The device of claim 36, wherein to determine the motion information for the current block, the one or more processors are configured to use an optimization process to refine initial motion information, wherein the optimization process is the same for each of the motion information derivation modes.

### Claim 39 (depends on 36)

The device of claim 36, wherein the one or more processors are further configured to code one or more syntax elements that indicate whether to perform motion derivation for the current block.

### Claim 40 (depends on 36)

The device of claim 36, wherein the one or more processors are further configured to code one or more syntax elements that indicate the motion information derivation mode from the plurality of motion information derivation modes, and wherein to select the motion information derivation mode, the one or more processors are configured to select the motion information derivation mode in accordance with the one or more syntax elements.

### Claim 41 (depends on 40)

The device of claim 40, wherein to code one or more syntax elements that indicate the motion information derivation mode, the one or more processors are configured to code a flag that indicates one of the bilateral matching mode or the template matching mode as the motion information derivation mode.

### Claim 42 (depends on 40)

The device of claim 40, wherein to code one or more syntax elements that indicate the motion information derivation mode, the one or more processors are configured to code an index that indicates the motion information derivation mode.

### Claim 43 (depends on 42)

The device of claim 42, wherein to code the index, the one or more processors are configured to context adaptive entropy coding the index.

### Claim 44 (depends on 40)

The device of claim 40, wherein the one or more processors are further configured to:
determine a merge mode or advanced motion vector prediction (AMVP) candidate list for the current block, the candidate list comprising one or more motion vector candidates and a candidate that is assigned to the motion information derivation mode; and
wherein to select the motion information derivation mode, the one or more processors are configured to select the candidate that is assigned to the motion information derivation mode from the merge mode or AMVP list.

### Claim 45 (depends on 36)

The device of claim 36, wherein the one or more processors are further configured to code one or more syntax elements, within a sequence parameter set (SPS), a picture parameter set (PPS), or a slice header, that indicate whether motion information derivation is enabled for the current block of video data.

### Claim 46 (depends on 45)

The device of claim 45, wherein, when the one or more syntax elements indicate that motion information derivation is not enabled, the one or more processors are further configured to skip coding of motion information derivation at a coding unit (CU) or prediction unit (PU) level.

### Claim 47 (depends on 36)

The device of claim 36, wherein to select the motion information derivation mode, the one or more processors are configured to select the bilateral matching mode, and wherein to determine the motion information for the current block using the selected motion information derivation mode, the one or more processors are configured to:
perform bilateral matching, such that temporal positions of both the first reference picture and the second reference picture occur before or after the current picture that contains the current block;
determine two interpolated motion vectors for the current block based on the first reference picture and the second reference picture.

### Claim 48 (depends on 36)

The device of claim 36, wherein to determine the motion information for the current block using the selected motion information derivation mode, the one or more processors are configured to:
search for the first set of reference video data that best matches the second set of reference video data; and
determine at least one motion vector for the current block based on the first set of reference video data and the second set of reference video data.

### Claim 49 (depends on 48)

The device of claim 48, wherein to search, the one or more processors are configured to search for the first set of reference video data using a starting point, and wherein the starting point is the same for each motion information mode of the plurality of motion information derivation modes.

### Claim 50 (depends on 36)

The device of claim 36, wherein coding comprises decoding, and wherein to decode the current block, the one or more processors are configured to:
decode one or more syntax elements that indicate the motion information derivation mode for the current block;
wherein to select the motion information derivation mode, the one or more processors are configured to select the motion information derivation mode based on the decoded one or more syntax elements;
determine a reference block in a reference picture based on the determined motion information;
decode residual data from an encoded bitstream, wherein the encoded bitstream does not include the syntax elements representative of the motion information; and
combine the decoded residual and the determined reference block to reconstruct the current block.

### Claim 51 (depends on 50)

The device of claim 50, further comprising a display configured to display the decoded block.

### Claim 52 (depends on 36)

The device of claim 36, wherein to coding comprises encoding, and wherein to encode the current block, the one or more processors are configured to encode residual data for the current block in a encoded bitstream, wherein the encoded bitstream does not include the coding syntax elements representative of the motion information.

### Claim 53 (depends on 52)

The device of claim 52, further comprising a camera configured to capture a picture that includes the block of video data.

### Claim 54 (depends on 36)

The device of claim 36, wherein the device comprises at least one of:
an integrated circuit;
a microprocessor; or
a wireless communication device.

### Claim 55

An apparatus for coding video data, the apparatus comprising:
means for selecting, for a current block of video data of a current picture, a motion information derivation mode from a plurality of motion information derivation modes for determining motion information for the current block, wherein the motion information indicates motion of the current block relative to reference video data for the current block, wherein the motion information is based on a first set of reference video data and a second set of reference video data, wherein each motion information derivation mode of the plurality of motion information derivation modes comprises performing a motion search for the first set of reference video data based on the second set of reference video data, and wherein the plurality of motion information derivation modes comprises at least a bilateral matching mode in which the first set of reference video data is included in a first reference picture and the second set of reference video data is included in a second reference picture and a template matching mode in which the first set of reference video data is included in the first reference picture and the second set of reference video data is included in the current picture;
means for determining the motion information for the current block using the selected motion information derivation mode; and
means for coding the current block using the determined motion information and without decoding syntax elements representative of the motion information.

### Claim 56

A non-transitory computer-readable medium having instructions stored thereon that, when executed, cause one or more processors to:
select, for a current block of video data of a current picture, a motion information derivation mode from a plurality of motion information derivation modes for determining motion information for the current block, wherein the motion information indicates motion of the current block relative to reference video data for the current block, wherein the motion information is based on a first set of reference video data and a second set of reference video data, wherein each motion information derivation mode of the plurality of motion information derivation modes comprises performing a motion search for the first set of reference video data based on the second set of reference video data, and wherein the plurality of motion information derivation modes comprises at least a bilateral matching mode in which the first set of reference video data is included in a first reference picture and the second set of reference video data is included in a second reference picture and a template matching mode in which the first set of reference video data is included in the first reference picture and the second set of reference video data is included in the current picture;
determine the motion information for the current block using the selected motion information derivation mode; and
code the current block using the determined motion information and without decoding syntax elements representative of the motion information.
