# US 2021/0344943 A1 · Video coding and decoding

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

- Number: US 2021/0344943 A1
- Document ID: US20210344943A1
- Status: Published application
- Kind: A1
- Application number: 17/283,168
- Filed: 2019-10-18
- Published: 2021-11-04
- Earliest claimed: 2018-10-18
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Guillaume LAROCHE; Christophe GISQUET; Patrice ONNO; Jonathan TAQUET
- Web page: https://patentgrep.com/patent/US20210344943A1

## CPC

- H04N 19/513: Processing of motion vectors
- H04N 19/52: by predictive encoding
- H04N 19/13: Adaptive entropy coding, e.g. adaptive variable length coding [AVLC] or context adaptive binary arithmetic coding [CABAC]
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/91: Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of encoding a motion information predictor index for an Affine Merge mode, comprising: generating a list of motion information predictor candidates; selecting one of the motion information predictor candidates in the list as an Affine Merge mode predictor; and generating a motion information predictor index for the selected motion information predictor candidate using CABAC coding, one or more bits of the motion information predictor index being bypass CABAC coded.

## Claims

### Claim 1

A method of encoding a motion information predictor index, comprising:
determining, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be encoded, wherein the first mode is a subblock Merge mode with Affine subblock prediction and the second mode is a non-subblock Merge mode without subblock Affine prediction;
generating, when the first mode is used, a list of first mode motion information predictor candidates, and selecting one of the motion information predictor candidates in the first mode motion information candidate list as a motion information predictor for the first mode;
generating, when the second mode is used, a list of second mode motion information predictor candidates without an Affine motion information predictor candidate and selecting one of the motion information predictor candidates in the second mode motion information candidate list as a motion information predictor for the second mode;
generating a motion information predictor index for the selected motion information predictor candidate; and
encoding the motion information predictor index using CABAC coding, all bits of the motion information predictor index being bypass CABAC coded except for a first bit, wherein the CABAC coding comprises, for the first bit of the motion information predictor index of a current block, using a first context variable when the first mode is used or using a second context variable when the second mode is used.

### Claim 2

(canceled)

### Claim 3 (depends on 1)

The method as claimed in claim 1, wherein:
the method further comprises including data for indicating use of the Affine Merge mode in a bitstream when the Affine Merge mode is used.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method as claimed in claim 1, further comprising including data for determining a maximum number of motion information predictor candidates includable in the generated list of first or second mode motion information predictor candidates in a bitstream.

### Claim 6

(canceled)

### Claim 7 (depends on 1)

A method as claimed in claim 1, wherein the motion information predictor index for the selected motion information predictor candidate is encoded using the same syntax element when the first mode is used and when the second mode is used.

### Claim 8

A method of decoding a motion information predictor index for an Affine Merge mode, comprising:
determining, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be decoded, wherein the first mode is a subblock Merge mode with Affine subblock prediction and the second mode is a non-subblock Merge mode without subblock Affine prediction;
generating, when the first mode is used, a list of first mode motion information predictor candidates;
generating, when the second mode is used, a list of second mode motion information predictor candidates without an Affine motion information predictor candidate;
decoding a motion information predictor index using CABAC decoding, all bits of the motion information predictor index syntax element being bypass CABAC decoded except for a first bit, wherein the CABAC decoding comprises, for the first bit of the motion information predictor index of a current block, when the first mode is used, using a first context variable and when the second mode is used, using a second context variable; and
when the first mode is used, using the decoded motion information predictor index to identify one of the motion information predictor candidates in the list of first mode motion information candidates as a first mode motion information predictor; and
when the second mode is used, the method further comprises using the decoded motion information predictor index to identify one of the motion information predictor candidates in the list of second mode motion information predictor candidates as a second mode motion information predictor.

### Claim at position 9

9-12. (canceled)

### Claim 13 (depends on 8)

The method as claimed in claim 8, wherein decoding the motion information predictor index comprises parsing, from a bitstream, the same syntax element when the Affine Merge mode is used and when the non-Affine Merge mode is used.

### Claim 14 (depends on 8)

The method as claimed in claim 8, further comprising obtaining, from a bitstream, data for determining a maximum number of motion information predictor candidates includable in the generated list of motion information predictor candidates.

### Claim 15

(canceled)

### Claim 16 (depends on 8)

The method as claimed in claim 8, wherein a motion information predictor candidate comprises information for obtaining a motion vector.

### Claim 17 (depends on 8)

The method as claimed in claim 8, wherein the generated list of first mode or second mode motion information predictor candidates includes a candidate for subblock collocated temporal prediction.

### Claim 18 (depends on 8)

The method as claimed in claim 8, wherein the generated list of motion information predictor candidates has the same maximum number of motion information predictor candidates includable therein when the first mode is used and when a second mode is used.

### Claim 19

A device for encoding a motion information predictor index for an Affine Merge mode, comprising:
a determiner which determines, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be encoded, wherein the first mode is a subblock Merge mode with Affine subblock prediction and the second mode is a non-subblock Merge mode without subblock Affine prediction;
a generator which, when the first mode is used, generates a list of first mode motion information predictor candidates, and selects one of the motion information predictor candidates in the first mode motion information candidate list as a motion information predictor for the first mode, and
when the second mode is used, generates a list of second mode motion information predictor candidates without an Affine motion information predictor candidate and selects one of the motion information predictor candidates in the second mode motion information candidate list as a motion information predictor for the second mode;
an index generator which generates a motion information predictor index for the selected motion information predictor candidate; and
an encoder which encodes the motion information predictor index using CABAC coding, all bits of the motion information predictor index being bypass CABAC coded except for a first bit, wherein the CABAC coding comprises, for the first bit of the motion information predictor index of a current block, using a first context variable when the first mode is used or using a second context variable when the second mode is used.

### Claim 20

(canceled)

### Claim 21

A device for decoding a motion information predictor index for an Affine Merge mode, comprising:
a determiner which determines, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be decoded, wherein the first mode is a subblock Merge mode with Affine subblock prediction and the second mode is a non-subblock Merge mode without subblock Affine prediction;
a generator which, when the first mode is used, generates a list of first mode motion information predictor candidates; and
when the second mode is used, generates a list of second mode motion information predictor candidates without an Affine motion information predictor candidate;
a decoder which decodes a motion information predictor index using CABAC decoding, all bits of the motion information predictor index syntax element being bypass CABAC decoded except for a first bit wherein the CABAC decoding comprises, for the first bit of the motion information predictor index of a current block, when the first mode is used, using a first context variable and when the second mode is used, using a second context variable; and
an identifier which, when the first mode is used, uses the decoded motion information predictor index to identify one of the motion information predictor candidates in the list of first mode motion information candidates as a first mode motion information predictor, and
when the second mode is used, uses the decoded motion information predictor index to identify one of the motion information predictor candidates in the list of second mode motion information predictor candidates as a second mode motion information predictor.

### Claim 22

(canceled)

### Claim 23

A non-transitory computer-readable carrier medium storing a program which, when executed by a programmable apparatus, causes the programmable apparatus to perform a method of encoding a motion information predictor index, the method comprising:
determining, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be encoded, wherein the first mode is a subblock Merge mode with Affine subblock prediction and the second mode is a non-subblock Merge mode without subblock Affine prediction;
generating, when the first mode is used, a list of first mode motion information predictor candidates, and selecting one of the motion information predictor candidates in the first mode motion information candidate list as a motion information predictor for the first mode,
generating, when the second mode is used, a list of second mode motion information predictor candidates without an Affine motion information predictor candidate and selecting one of the motion information predictor candidates in the second mode motion information candidate list as a motion information predictor for the second mode; and
generating a motion information predictor index for the selected motion information predictor candidate; and
encoding the motion information predictor index using CABAC coding, all bits of the motion information predictor index being bypass CABAC coded except for a first bit, wherein the CABAC coding comprises, for the first bit of the motion information predictor index of a current block, using a first context variable when the first mode is used or using a second context variable when the second mode is used.

### Claim 24

(canceled)

### Claim 25

A non-transitory computer-readable carrier medium storing a program which, when executed by a programmable apparatus, causes the programmable apparatus to perform a method of decoding a motion information predictor index for an Affine Merge mode, the method comprising:
determining, from a plurality of modes, one of a first mode and a second mode as a mode for motion information prediction of a block to be decoded, wherein the first mode is a subblock Merge mode with Affine subblock prediction and the second mode is a non-subblock Merge mode without subblock Affine prediction,
generating, when the first mode is used, a list of first mode motion information predictor candidates;
generating, when the second mode is used, a list of second mode motion information predictor candidates without an Affine motion information predictor candidate;
decoding a motion information predictor index using CABAC decoding, all bits of the motion information predictor index syntax element being bypass CABAC decoded except for a first bit, wherein the CABAC decoding comprises, for the first bit of the motion information predictor index of a current block, when the first mode is used, using a first context variable and when the second mode is used, using a second context variable; and
when the first mode is used, using the decoded motion information predictor index to identify one of the motion information predictor candidates in the list of first mode motion information candidates as a first mode motion information predictor; and
when the second mode is used, the method further comprises using the decoded motion information predictor index to identify one of the motion information predictor candidates in the list of second mode motion information predictor candidates as a second mode motion information predictor.
