# US 2019/0246110 A1 · 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 2019/0246110 A1
- Document ID: US20190246110A1
- Status: Published application
- Kind: A1
- Application number: 16/203,499
- Filed: 2018-11-28
- Published: 2019-08-08
- Earliest claimed: 2018-02-05
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Xiaozhong XU; Xiang LI; Shan LIU
- Web page: https://patentgrep.com/patent/US20190246110A1

## CPC

- H04N 19/149: by estimating the code amount by means of a model, e.g. mathematical model or statistical model
- 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/12: Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
- 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/33: in the spatial domain
- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- H04N 19/523: with sub-pixel accuracy
- H04N 19/54: using feature points or meshes
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the disclosure provide method and apparatus for video encoding/decoding. In some examples, an apparatus includes processing circuitry for video decoding. The processing circuitry decodes prediction information of a block in a current picture from a coded video bitstream. The prediction information is indicative of an affine model in an intra block copy mode. The processing circuitry determines parameters for the affine model that transforms between the block and a reference block in a region of the current picture that has been reconstructed. Then, the processing circuitry reconstructs at least a sample of the block based on the affine model.

## Claims

### Claim 1

A method for video decoding in a decoder, comprising:
decoding prediction information of a block in a current picture from a coded video bitstream, the prediction information being indicative of an affine model in an intra block copy mode;
determining parameters for the affine model that transforms between the block and a reference block in a region of the current picture that has been reconstructed; and
reconstructing at least a sample of the block based on the affine model.

### Claim 2 (depends on 1)

The method of claim 1, further comprising at least one of:
determining four parameters of the affine model according to block vectors from two different locations; and
determining six parameters of the affine model according to block vectors from three different locations.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining the parameters of the affine model according to a block vector and a scaling factor value.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
decoding an index for the scaling factor value from the coded video bitstream; and
converting the index to the scaling factor value based on a mapping relationship between indexes and scaling factor values.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining the parameters of the affine model according to a block vector and a first scaling factor in x-dimension and a second scaling factor in y-dimension.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
determining the parameters of the affine model according to a block vector and a rotation factor value.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
decoding an index for the rotation factor value from the coded video bitstream; and
converting the index to the rotation factor value based on a mapping relationship between indexes and rotation factor values.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
determining a reference location in the reference block for a pixel in the block according to the affine model;
determining an integer location when the reference location is between two consecutive integer locations; and
reconstructing the pixel in the block based on a reference pixel at the integer location.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
rounding the reference location to the integer location; and
reconstructing the pixel in the block based on the reference pixel at the integer location.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining a reference location in the reference block for a pixel in the block;
using an interpolation filter to reconstruct the pixel when the reference location is between two consecutive integer locations.

### Claim 11

An apparatus for video decoding, comprising:
processing circuitry configured to:
decode prediction information of a block in a current picture from a coded video bitstream, the prediction information being indicative of an affine model in an intra block copy mode;
determine parameters for the affine model that transforms between the block and a reference block in a region of the current picture that has been reconstructed; and
reconstruct at least a sample of the block based on the affine model.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to:
determine at least one of:
four parameters of the affine model according to block vectors from two different locations; and
six parameters of the affine model according to block vectors from three different locations.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to:
determine the parameters of the affine model according to a block vector and a scaling factor value.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the processing circuitry is further configured to:
decode an index for the scaling factor value from the coded video bitstream; and
convert the index to the scaling factor value based on a mapping relationship between indexes and scaling factor values.

### Claim 15 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to:
determine the parameters of the affine model according to a block vector and a first scaling factor in x-dimension and a second scaling factor in y-dimension.

### Claim 16 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to:
determine the parameters of the affine model according to a block vector and a rotation factor value.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the processing circuitry is further configured to:
decode an index for the rotation factor value from the coded video bitstream; and
convert the index to the rotation factor value based on a mapping relationship between indexes and rotation factor values.

### Claim 18 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to:
determine a reference location in the reference block for a pixel in the block according to the affine model;
determine an integer location when the reference location is between two consecutive integer locations; and
reconstruct the pixel in the block based on a reference pixel at the integer location.

### Claim 19 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is further configured to:
determine a reference location in the reference block for a pixel in the block;
use an interpolation filter to reconstruct the pixel when the reference location is between two consecutive integer locations.

### Claim 20

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 block in a current picture from a coded video bitstream, the prediction information being indicative of an affine model in an intra block copy mode;
determining parameters for the affine model that transforms between the block and a reference block in a region of the current picture that has been reconstructed; and
reconstructing at least a sample of the block based on the affine model.
