# US 2019/0379909 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/0379909 A1
- Document ID: US20190379909A1
- Status: Published application
- Kind: A1
- Application number: 16/549,707
- Filed: 2019-08-23
- Published: 2019-12-12
- Earliest claimed: 2018-04-26
- Assignees: Tencent America LLC
- Applicants: Tencent America LLC
- Inventors: Xiaozhong XU; Guichun LI; Xiang LI; Shan LIU
- Web page: https://patentgrep.com/patent/US20190379909A1

## CPC

- H04N 19/593: involving spatial prediction techniques
- 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/523: with sub-pixel accuracy
- 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 methods and apparatuses for video decoding. In some examples, an apparatus includes processing circuitry. The processing circuitry decodes prediction information of a current block from a coded video bitstream. The prediction information is indicative of an intra block copy mode. Then, the processing circuitry determines, according to the intra block copy mode, a first portion of a resolution syntax. The resolution syntax is unified of a same semantic for block vectors in the intra block copy mode and motion vectors in an inter picture merge mode. Further, the processing circuitry decodes a second portion of the resolution syntax from the coded video bitstream, and determines a block vector according to a resolution that is indicated by a combination of the first portion and the second portion. Then, the processing circuitry reconstructs at least one sample of the current block according the block vector.

## Claims

### Claim 1

A method for video decoding, comprising:
obtaining data corresponding to a current block of a current picture from a coded video bitstream, the current block being coded according to an intra block copy mode;
decoding, from the obtained data, a value indicating a maximum number of intra merge candidates in a merge candidate list for the current block;
constructing the merge candidate list for the current block, a number of intra merge candidates included in the constructed merge candidate list is equal to or less than the maximum number;
determining a block vector for the current block according to the merge candidate list; and
reconstructing at least one sample of the current block according to the block vector.

### Claim 2 (depends on 1)

The method of claim 1, wherein the value is coded according to a truncated unary code.

### Claim 3 (depends on 1)

The method of claim 1, wherein the value is included in a slice header, a sequence parameter set (SPS), or a picture parameter set (PPS).

### Claim 4 (depends on 1)

The method of claim 1, wherein the value is included in a slice header of a slice that includes the current block.

### Claim 5 (depends on 4)

The method of claim 4, wherein the slice is coded without referencing a temporal reference picture.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
setting a first portion of a resolution syntax element for at least the block vector according to a code that is specified for the intra block copy mode, the resolution syntax element and another resolution syntax element for at least a motion vector for another block coded according to an inter prediction mode corresponding to a same semantic definition; and
decoding, from the obtained data, a second portion of the resolution syntax element,
wherein the determining the block vector is performed according to a resolution indicated by the resolution syntax element that includes at least a combination of the first portion and the second portion.

### Claim 7 (depends on 6)

The method of claim 6, the setting comprises:
setting the first portion according to the code that is indicative of the resolution being an integer-pel resolution.

### Claim 8 (depends on 7)

The method of claim 7, the setting comprises:
setting the first portion to be binary one after binarization of the resolution syntax element.

### Claim 9 (depends on 7)

The method of claim 7, further comprising:
selecting the resolution from potential integer-pel resolutions based on the second portion of the resolution syntax element.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining whether neighboring pixels adjacent to a side of the current block overlap a reference block that is identified according to the block vector; and
when the neighboring pixels are determined to overlap the reference block, marking the neighboring pixels as unavailable for determining illumination compensation parameters for the current block,
wherein the reconstructing the at least one sample of the current block is performed according to the reference block, and
wherein the reconstructing at least the sample of the current block is also performed according to the illumination compensation parameters when the illumination compensation parameters are determined to be available.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
determining whether left neighboring pixels adjacent to a left side of the current block overlap a reference block that is identified according to the block vector;
when the left neighboring pixels are determined to overlap the reference block, marking the left neighboring pixels as unavailable for determining illumination compensation parameters for the current block;
determining whether top neighboring pixels adjacent to a top side of the current block overlap the reference block; and
when the top neighboring pixels are determined to overlap the reference block, marking the top neighboring pixels as unavailable for determining the illumination compensation parameters for the current block,
wherein the reconstructing the at least one sample of the current block is performed according to the reference block, and
wherein the reconstructing at least the sample of the current block is also performed according to the illumination compensation parameters when the illumination compensation parameters are determined to be available.

### Claim 12

An apparatus for video decoding, comprising:
processing circuitry configured to:
obtain data corresponding to a current block of a current picture from a coded video bitstream, the current block being coded according to an intra block copy mode;
decode, from the obtained data, a value indicating a maximum number of intra merge candidates in a merge candidate list for the current block;
construct the merge candidate list for the current block, a number of intra merge candidates included in the constructed merge candidate list is equal to or less than the maximum number;
determine a block vector for the current block according to the merge candidate list; and
reconstruct at least one sample of the current block according to the block vector.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the processing circuitry is configured to decode the value that is coded according to a truncated unary code.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the processing circuitry is configured to decode the value that is included in a slice header, a sequence parameter set (SPS), or a picture parameter set (PPS).

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the processing circuitry is further configured to:
set a first portion of a resolution syntax element for at least the block vector according to a code that is specified for the intra block copy mode, the resolution syntax element and another resolution syntax element for at least a motion vector for another block coded according to an inter prediction mode corresponding to a same semantic definition; and
decode, from the obtained data, a second portion of the resolution syntax element,
wherein the block vector is determined according to a resolution indicated by the resolution syntax element that includes at least a combination of the first portion and the second portion.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the processing circuitry is further configured to:
set the first portion according to the code that is indicative of the resolution being an integer-pel resolution; and
select the resolution from potential integer-pel resolutions based on the second portion of the resolution syntax element.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein the processing circuitry is further configured to:
determine whether neighboring pixels adjacent to a side of the current block overlap a reference block that is identified according to the block vector; and
when the neighboring pixels are determined to overlap the reference block, mark the neighboring pixels as unavailable for determining illumination compensation parameters for the current block,
wherein the at least one sample of the current block is reconstructed according to the reference block, and
wherein the at least one sample of the current block is also reconstructed according to the illumination compensation parameters when the illumination compensation parameters are determined to be available.

### Claim 18

A non-transitory computer-readable medium storing instructions which when executed by a computer for video decoding cause the computer to perform:
obtaining data corresponding to a current block of a current picture from a coded video bitstream, the current block being coded according to an intra block copy mode;
decoding, from the obtained data, a value indicating a maximum number of intra merge candidates in a merge candidate list for the current block;
constructing the merge candidate list for the current block, the constructed merge candidate list including a number of intra merge candidates that is equal to or less than the maximum number;
determining a block vector for the current block according to the merge candidate list; and
reconstructing at least one sample of the current block according to the block vector.

### Claim 19 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the stored instructions which when executed by the computer for video decoding further cause the computer to perform:
setting a first portion of a resolution syntax element for at least the block vector according to a code that is specified for the intra block copy mode, the resolution syntax element and another resolution syntax element for at least a motion vector for another block coded according to an inter prediction mode corresponding to a same semantic definition; and
decoding, from the obtained data, a second portion of the resolution syntax element,
wherein the determining the block vector is performed according to a resolution indicated by the resolution syntax element that includes at least a combination of the first portion and the second portion.

### Claim 20 (depends on 18)

The non-transitory computer-readable medium of claim 18, wherein the stored instructions which when executed by the computer for video decoding further cause the computer to perform:
determining whether neighboring pixels adjacent to a side of the current block overlap a reference block that is identified according to the block vector; and
when the neighboring pixels are determined to overlap the reference block, marking the neighboring pixels as unavailable for determining illumination compensation parameters for the current block,
wherein the reconstructing the at least one sample of the current block is performed according to the reference block, and
wherein the reconstructing the at least one sample of the current block is also performed according to the illumination compensation parameters when the illumination compensation parameters are determined to be available.
