# US 10,958,904 B2 · Method and apparatus for 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,904 B2
- Document ID: US10958904B2
- Status: Granted
- Kind: B2
- Application number: 16/526,689
- Filed: 2019-07-30
- Published: 2020-08-06
- Granted: 2021-03-23
- Earliest claimed: 2019-02-01
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Xiaozhong Xu; Shan Liu
- Web page: https://patentgrep.com/patent/US10958904B2

## CPC

- H04N 19/11: among a plurality of spatial predictive coding modes
- 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
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/174: the region being a slice, e.g. a line of blocks or a group of blocks
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/593: involving spatial prediction techniques
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/577: Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the disclosure provide methods and apparatuses for video encoding/decoding. In some examples, an apparatus for video decoding includes receiving circuitry and processing circuitry. For example, the processing circuitry decodes prediction information of a current block in a picture from a coded video bitstream, and determines, based on an intra block copy (IBC) prediction mode usage flag from the decoded prediction information, an IBC prediction mode that is separate from an inter prediction mode and an intra prediction mode. Further, the processing circuitry determines, a block vector that points to a reference area in the picture in response to the determination of the IBC prediction mode, and reconstructs the current block based on reference samples within the reference area in the picture.

## Claims

### Claim 1

A method for video decoding in a decoder, comprising:
decoding prediction information of a current block in a picture from a coded video bitstream;
retrieving an intra block copy (IBC) enable flag from the decoded prediction information;
determining an IBC prediction mode usage flag for the current block based on (i) the IBC enable flag and (ii) a type of a tile group or slice to which the current block belongs;
determining, based on the IBC prediction mode usage flag, an IBC prediction mode that is separate from an inter prediction mode and an intra prediction mode;
determining, a block vector that points to a reference area in the picture in response to the determination of the IBC prediction mode; and
reconstructing the current block based on reference samples within the reference area in the picture.

### Claim 2 (depends on 1)

The method of claim 1, wherein
the IBC prediction mode usage flag is determined to indicate the IBC prediction mode when the IBC enable flag is indicative of enabling, the tile group or slice is I type, and the current block satisfies a size requirement.

### Claim 3 (depends on 1)

The method of claim 1, wherein when the tile group or slice type is I type, the current block satisfies a size constraint, and the IBC prediction mode usage flag is not signaled in the coded video bitstream,
a value of the IBC prediction mode usage flag is determined according to the IBC enable flag.

### Claim 4 (depends on 1)

The method of claim 1, wherein when the tile group or slice type is B or P type, the current block satisfies a size constraint, and the IBC prediction mode usage flag is not signaled in the coded video bitstream,
the IBC prediction mode usage flag is determined to be 0.

### Claim 5 (depends on 1)

The method of claim 1, wherein the IBC enable flag is a parameter of at least one of a video level, a sequence level, a picture level, and a tile group or slice level.

### Claim 6 (depends on 1)

The method of claim 1, further comprising at least one of:
decoding, from the coded video bitstream, a prediction mode flag; and
determining the prediction mode flag based on a skip flag and the type of the tile group or slice to which the current block belongs.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
determining, based on the decoded prediction information, a prediction mode flag, and the IBC prediction mode usage flag; and
selecting a prediction mode from the IBC prediction mode, the intra prediction mode and the inter prediction mode based on a combination of the prediction mode flag and the IBC prediction mode usage flag.

### Claim 8 (depends on 1)

The method of claim 1, wherein
the determining the IBC prediction mode for the current block is performed when the current block satisfies a size requirement.

### Claim 9

An apparatus for video decoding, comprising:
processing circuitry configured to:
decode prediction information of a current block in a picture from a coded video bitstream,
retrieve an intra block copy (IBC) enable flag from the decoded prediction information,
determine an IBC prediction mode usage flag for the current block based on (i) the IBC enable flag and (ii) a type of a tile group or slice to which the current block belongs,
determine, based on the IBC prediction mode usage flag, an IBC prediction mode that is separate from an inter prediction mode and an intra prediction mode,
determine, a block vector that points to a reference area in the picture in response to the determination of the IBC prediction rode, and
reconstruct the current block based on reference samples within the reference area in the picture.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein
the IBC prediction mode usage flag is determined to indicate the IBC prediction mode when the IBC enable flag is indicative of enabling, the tile group or slice type is I type, and the current block satisfies a size requirement.

### Claim 11 (depends on 9)

The apparatus of claim 9, wherein when the tile group or slice type is I type, the current block satisfies a size constraint, and the IBC prediction mode usage flag is not signaled in the coded video bitstream,
a value of the IBC prediction mode usage flag is determined according to the IBC enable flag.

### Claim 12 (depends on 9)

The apparatus of claim 9, wherein the IBC enable flag is a parameter of at least one of a video level, a sequence level, a picture level, and a tile group level.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the processing circuitry is configured to:
decode, from the coded video bitstream, a prediction mode flag, or
determine the prediction mode flag based on a skip flag and the type of the tile group or slice to which that the current block belongs.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the processing circuitry is configured to:
determine, based on the decoded prediction information, a prediction mode flag, and the IBC prediction mode usage flag, and
select a prediction mode from the IBC prediction mode, the intra prediction mode and the inter prediction mode based on a combination of the prediction mode flag and the IBC prediction mode usage flag.

### Claim 15 (depends on 9)

The apparatus of claim 9, wherein
the IBC prediction mode for the current block is determined when the current block satisfies a size requirement.

### Claim 16

A non-transitory computer-readable medium storing instructions which when executed by a computer for video decoding cause the computer to perform:
decoding prediction information of a current block in a picture from a coded video bitstream;
retrieving an intra block copy (IBC) enable flag from the decoded prediction information;
determining an IBC prediction mode usage flag for the current block based on (i) the IBC enable flag and (ii) a type of a tile group or slice to which the current block belongs;
determining, based on the IBC prediction mode usage flag, an IBC prediction mode that is separate from an inter prediction mode and an intra prediction mode;
determining, a block vector that points to a reference area in the picture in response to the determination of the IBC prediction mode; and
reconstructing the current block based on reference samples within the reference area in the picture.
