# US 2019/0246113 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/0246113 A1
- Document ID: US20190246113A1
- Status: Published application
- Kind: A1
- Application number: 16/182,782
- Filed: 2018-11-07
- 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/US20190246113A1

## CPC

- H04N 19/156: Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
- H04N 19/52: by predictive encoding
- H04N 19/115: Selection of the code volume for a coding unit prior to coding
- 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/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Aspects of the disclosure provide method and apparatus for video coding. In some examples, an apparatus includes processing circuitry for video decoding. The processing circuitry calculates, cost function values associated with refinements of a block vector predictor for a current block in a picture. Then, the processing circuitry determines a refined block vector predictor that has a smallest cost function value among the cost function values, and reconstructs at least one sample of the current block based on the refined block vector predictor.

## Claims

### Claim 1

A method for video decoding, comprising:
calculating cost function values respectively associated with refinements of a block vector predictor for a block vector of a current block in a picture based on neighboring positions of the block vector predictor;
determining a refined block vector predictor for the block vector of the current block that has a smallest cost function value among the cost function values; and
reconstructing at least one sample of the current block based on the refined block vector predictor, wherein
the block vector of the current block in the picture indicates a reference block in the picture.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
deriving the block vector predictor from a candidate list.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
receiving an index signal that is indicative of the block vector predictor from the candidate list.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
decoding a difference between the block vector predictor and the block vector of the current block; and
determining the block vector based on the difference and a block vector of a neighboring block indicated by the block vector predictor.

### Claim 5 (depends on 2)

The method of claim 2, further comprising:
selecting respective candidates from the candidate list to be the block vector predictor to calculate extensive cost function values for the respective candidates and refinements of the respective candidates in a defined search window; and
determining the refined block vector predictor that has the smallest cost function value in the extensive cost function values.

### Claim 6 (depends on 1)

The method of claim 1, wherein the refinements of the block vector predictor include the neighboring positions to the block vector predictor.

### Claim 7 (depends on 5)

The method of claim 5, wherein the defined search window is a square window and the block vector predictor is at a center of the square window.

### Claim 8 (depends on 1)

The method of claim 1, wherein a cost function value of the cost function values is calculated according to a template match cost.

### Claim 9 (depends on 8)

The method of claim 8, wherein the template match cost is calculated based on a template that includes a row and a column of reference pixels to the current block.

### Claim 10

An apparatus for video decoding, comprising:
processing circuitry configured to:
calculate cost function values associated with refinements of a block vector predictor for a block vector of a current block in a picture based on neighboring positions of the block vector predictor;
determine a refined block vector predictor for the block vector of the current block that has a smallest cost function value among the cost function values; and
reconstruct at least one sample of the current block based on the refined block vector predictor, wherein
the block vector of the current block in the picture indicates a reference block in the picture.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the processing circuitry is configured to:
derive the block vector predictor from a candidate list.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is configured to:
receive an index signal that is indicative of the block vector predictor from the candidate list.

### Claim 13 (depends on 10)

The apparatus claim 10, wherein the processing circuitry is configured to:
decode a difference between the block vector predictor and the block vector of a the current block; and
determine the block vector based on the difference and a block vector of a neighboring block indicated by the block vector predictor.

### Claim 14 (depends on 11)

The apparatus of claim 11, wherein the processing circuitry is configured to:
select respective candidates from the candidate list to be the block vector predictor to calculate extensive cost function values for the respective candidates and refinements of the respective candidates in a defined search window; and
deten tine the refined block vector predictor that has the smallest cost function value in the extensive cost function values.

### Claim 15 (depends on 10)

The apparatus of claim 10, wherein the refinements of the block vector predictor include the neighboring positions to the block vector predictor.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the refinements of the block vector predictor include a square window with the block vector predictor being at a center of the square window.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein a cost function value of the cost function values is calculated according to a template match cost.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein the template match cost is calculated based on a template that includes a row and a column of reference pixels to the current block.

### Claim 19

A non-transitory computer-readable medium storing instructions which when executed by a computer for video decoding cause the computer to perform:
calculating cost function values associated with refinements of a block vector predictor for a block vector of a current block in a picture based on neighboring positions of the block vector predictor;
deten iining a refined block vector predictor for the block vector of the current block that has a smallest cost function value among the cost function values; and
reconstructing at least one sample of the current block based on the refined block vector predictor, wherein
the block vector of the current block in the picture indicates a reference block in the picture.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions further cause the computer to perform:
deriving the block vector predictor from a candidate list.
