# US 2022/0279168 A1 · Video picture prediction method and apparatus

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

- Number: US 2022/0279168 A1
- Document ID: US20220279168A1
- Status: Published application
- Kind: A1
- Application number: 17/740,591
- Filed: 2022-05-10
- Published: 2022-09-01
- Earliest claimed: 2018-10-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Huanbang CHEN; Haitao YANG
- Web page: https://patentgrep.com/patent/US20220279168A1

## CPC

- H04N 19/105: Selection 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
- G06T 9/40: Tree coding, e.g. quadtree, octree
- H04N 19/127: Prioritisation of hardware or computational resources
- 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/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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A video picture prediction method and apparatus are provided, to provide a manner of determining a maximum length of a candidate motion vector list corresponding to a subblock merge mode. The method comprises: parsing a first indicator from a bitstream; if the first indicator indicates that a candidate mode used to inter predict the to-be-processed block comprises an affine mode, parsing a second indicator from the bitstream, where the second indicator is used to indicate a maximum length of a first candidate motion vector list, and the first candidate motion vector list is constructed for the to-be-processed block, a subblock merge prediction mode is used for the to-be-processed block; and determining the maximum length of the first candidate motion vector list based on the second indicator.

## Claims

### Claim 1

A video picture prediction method, comprising:
parsing, from a sequence parameter set (SPS) in a bitstream, a value of a first indicator;
if the value of the first indicator is equal to a first value,
parsing a value of a second indicator from the SPS, and
determining a maximum length of a first candidate motion vector list based on the value of the second indicator, wherein the first candidate motion vector list is constructed for a block to be processed, wherein a subblock merge prediction mode is used for the block; and
if the value of the first indicator is equal to a second value, determining the maximum length of the first candidate motion vector list is 0, wherein the second value is different from the first value.

### Claim 2 (depends on 1)

The method of claim 1, wherein the maximum length of the first candidate motion vector list is obtained according to the following formula:
MaxNumSubblockMergeCand=K−K_minus_max_num_subblock_merge_cand,
wherein MaxNumSubblockMergeCand represents the maximum length of the first candidate motion vector list, K_minus_max_num_subblock_merge_cand represents the second indicator, and K is a preset non-negative integer.

### Claim 3 (depends on 1)

The method of claim 1, wherein an advanced temporal motion vector prediction mode is not present in the subblock merge prediction mode.

### Claim 4 (depends on 1)

The method of claim 1, wherein the value of the first indicator indicates whether a candidate mode used to inter predict the block comprises an affine mode.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first value is 1, the second value is 0.

### Claim 6

A video decoder, comprising:
one or more processors; and
a non-transitory computer-readable storage medium coupled to the processors and storing programming for execution by the processors, wherein the programming, when executed by the processors, configures the decoder to carry out operations of
parsing, from a sequence parameter set (SPS) in a bitstream, a value of a first indicator;
if the value of the first indicator is equal to a first value,
parsing a value of a second indicator from the SPS, and
determining a maximum length of a first candidate motion vector list based on the value of the second indicator, wherein the first candidate motion vector list is constructed for a block to be processed, a subblock merge prediction mode is used for the block; and
if the value of the first indicator is equal to a second value, determining the maximum length of the first candidate motion vector list is 0, the second value is different from the first value.

### Claim 7 (depends on 6)

The decoder of claim 6, wherein the maximum length of the first candidate motion vector list is obtained according to the following formula:
MaxNumSubblockMergeCand=K−K_minus_max_num_subblock_merge_cand,
wherein MaxNumSubblockMergeCand represents the maximum length of the first candidate motion vector list, K_minus_max_num_subblock_merge_cand represents the second indicator, and K is a preset non-negative integer.

### Claim 8 (depends on 6)

The decoder of claim 6, wherein an advanced temporal motion vector prediction mode is not present in the subblock merge prediction mode.

### Claim 9 (depends on 6)

The decoder of claim 6, wherein the value of the first indicator indicates whether a candidate mode used to inter predict the block comprises an affine mode.

### Claim 10 (depends on 6)

The decoder of claim 6, wherein the first value is 1, the second value is 0.

### Claim 11

A video data decoding device, comprising:
a non-transitory memory storage, configured to store video data in a form of a bitstream; and
the video data decoding device is configured to perform the operations of
parsing, from a sequence parameter set (SPS) in a bitstream, a value of a first indicator;
if the value of the first indicator is equal to a first value,
parsing a value of a second indicator from the SPS, and
determining a maximum length of a first candidate motion vector list based on the value of the second indicator, wherein the first candidate motion vector list is constructed for a block to be processed, wherein a subblock merge prediction mode is used for the block; and
if the value of the first indicator is equal to a second value, determining the maximum length of the first candidate motion vector list is 0, wherein the second value is different from the first value.

### Claim 12 (depends on 11)

The video data decoding device of claim 11, wherein the maximum length of the first candidate motion vector list is obtained according to the following formula:
MaxNumSubblockMergeCand=K−K_minus_max_num_subblock_merge_cand,
wherein MaxNumSubblockMergeCand represents the maximum length of the first candidate motion vector list, K_minus_max_num_subblock_merge_cand represents the second indicator, and K is a preset non-negative integer.

### Claim 13 (depends on 11)

The video data decoding device of claim 11, wherein an advanced temporal motion vector prediction mode is not present in the subblock merge prediction mode.

### Claim 14 (depends on 11)

The video data decoding device of claim 11, wherein the value of the first indicator indicates whether a candidate mode used to inter predict the block comprises an affine mode.

### Claim 15 (depends on 11)

The video data decoding device of claim 11, wherein the first value is 1, the second value is 0.
