# US 2021/0281877 A1 · Motion candidate list construction for intra block copy (ibc) mode and non-ibc inter mode

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

- Number: US 2021/0281877 A1
- Document ID: US20210281877A1
- Status: Published application
- Kind: A1
- Application number: 17/330,889
- Filed: 2021-05-26
- Published: 2021-09-09
- Earliest claimed: 2019-02-17
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Hongbin LIU; Li ZHANG; Kai ZHANG; Jizheng XU; Yue WANG
- Web page: https://patentgrep.com/patent/US20210281877A1

## CPC

- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/132: Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
- H04N 19/139: Analysis of motion vectors, e.g. their magnitude, direction, variance or reliability
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/184: the unit being bits, e.g. of the compressed video stream
- H04N 19/52: by predictive encoding
- H04N 19/56: Motion estimation with initialisation of the vector search, e.g. estimating a good candidate to initiate a search
- H04N 19/593: involving spatial prediction techniques
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method for video processing is provided to include constructing, during a conversion between a current video block and a coded representation of the current video block, an intra block copy (IBC) motion candidate list, wherein insertion of motion candidates to the IBC motion candidate list is subject to a size restriction; and performing the conversion using the IBC motion candidate list.

## Claims

### Claim 1

A method of processing video data, comprising:
constructing, for a first conversion between a first video block of a video and a bitstream of the video, a first motion candidate list in a first prediction mode, wherein in the first prediction mode, prediction samples are derived from blocks of sample values of a same slice as determined by block vectors, and wherein a maximum number of motion candidates in the first motion candidate list being equal to M1, and M1 being equal to or greater than 1; and
constructing, for a second conversion between a second video block of the video and the bitstream, a second motion candidate list in an inter merge prediction mode, wherein a maximum number of motion candidates in the second motion candidate list being equal to M2, and M2 being equal to or greater than 1;
wherein at most L1 candidates in a first history-based motion vector predictor (HMVP) candidate table are inserted into the first motion candidate list, and wherein candidates in the first HMVP candidate table are arranged based on a sequence of addition of the candidates into the first HMVP candidate table, and L1 being equal to or greater than 0,
wherein at most L2 candidates in a second HMVP candidate table are inserted into the second motion candidate list, and wherein candidates in the second HMVP candidate table are arranged based on a sequence of addition of the candidates into the second HMVP candidate table, and L2 being equal to or greater than 0, and
wherein in a case that M1 is equal to M2, L1 is not equal to L2.

### Claim 2 (depends on 1)

The method of claim 1, wherein a first field is used to derive M1, and wherein the first field is included in the bitstream.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first field is signaled in a sequence parameter set (SPS).

### Claim 4 (depends on 1)

The method of claim 1, L1 is derived at least based on M1.

### Claim 5 (depends on 1)

The method of claim 1, wherein at most K1 block vectors of corresponding K1 spatial neighboring blocks are inserted into the first motion candidate list, and wherein K1 being equal to or greater than 1.

### Claim 6 (depends on 5)

The method of claim 5, wherein K1 is derived at least based on Ml.

### Claim 7 (depends on 6)

The method of claim 6, wherein K1 being equal to 2 in response to M1 is greater than 1.

### Claim 8 (depends on 6)

The method of claim 6, wherein K1 being equal to 1 in response to M1 being equal to 1.

### Claim 9 (depends on 1)

The method of claim 1, wherein pairwise merge candidate is not inserted into the first motion candidate list.

### Claim 10 (depends on 1)

The method of claim 1, wherein block vector of a first spatial neighboring block is not inserted into the first motion candidate list in a case that the block vector of the first spatial neighboring block is unavailable.

### Claim 11 (depends on 1)

The method of claim 1, wherein the first motion candidate list is an intra block copy merging candidate list, and the second motion candidate list is an inter merging candidate list.

### Claim 12 (depends on 1)

The method of claim 1, wherein in a case that the first video block is a first coding block of a coding tree block row based on a coding order, the first prediction mode is not applied.

### Claim 13 (depends on 1)

The method of claim 1, wherein the first conversion includes encoding the first video block into the bitstream, and the second conversion includes encoding the second video block into the bitstream.

### Claim 14 (depends on 1)

The method of claim 1, wherein the first conversion includes decoding the first video block from the bitstream, and the second conversion includes decoding the second video block from the bitstream.

### Claim 15

An apparatus for processing video data comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
construct, for a first conversion between a first video block of a video and a bitstream of the video, a first motion candidate list in a first prediction mode, wherein in the first prediction mode, prediction samples are derived from blocks of sample values of a same slice as determined by block vectors, and wherein a maximum number of motion candidates in the first motion candidate list being equal to M1, and M1 being equal to or greater than 1; and
construct, for a second conversion between a second video block of the video and the bitstream, a second motion candidate list in an inter merge prediction mode, wherein a maximum number of motion candidates in the second motion candidate list being equal to M2, and M2 being equal to or greater than 1;
wherein at most L1 candidates in a first history-based motion vector predictor (HMVP) candidate table are inserted into the first motion candidate list, and wherein candidates in the first HMVP candidate table are arranged based on a sequence of addition of the candidates into the first HMVP candidate table, and L1 being equal to or greater than 0;
wherein at most L2 candidates in a second HMVP candidate table are inserted into the second motion candidate list, and wherein candidates in the second HMVP candidate table are arranged based on a sequence of addition of the candidates into the second HMVP candidate table, and L2 being equal to or greater than 0, and
wherein in a case that M1 is equal to M2, L1 is not equal to L2.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein a first field is used to derive Ml, and wherein the first field is included in the bitstream.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the first field is signaled in a sequence parameter set (SPS).

### Claim 18 (depends on 15)

The apparatus of claim 15, L1 is derived at least based on M1.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
construct, for a first conversion between a first video block of a video and a bitstream of the video, a first motion candidate list in a first prediction mode, wherein in the first prediction mode, prediction samples are derived from blocks of sample values of a same slice as determined by block vectors, and wherein a maximum number of motion candidates in the first motion candidate list being equal to M1, and M1 being equal to or greater than 1; and
construct, for a second conversion between a second video block of the video and the bitstream, a second motion candidate list in an inter merge prediction mode, wherein a maximum number of motion candidates in the second motion candidate list being equal to M2, and M2 being equal to or greater than 1;
wherein at most L1 candidates in a first history-based motion vector predictor (HMVP) candidate table are inserted into the first motion candidate list, and wherein candidates in the first HMVP candidate table are arranged based on a sequence of addition of the candidates into the first HMVP candidate table, and L1 being equal to or greater than 0;
wherein at most L2 candidates in a second HMVP candidate table are inserted into the second motion candidate list, and wherein candidates in the second HMVP candidate table are arranged based on a sequence of addition of the candidates into the second HMVP candidate table, and L2 being equal to or greater than 0, and
wherein in a case that M1 is equal to M2, L1 is not equal to L2.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream of a video which is generated by a method performed by a video processing apparatus, wherein the method comprises:
constructing, for a first conversion between a first video block of a video and a bitstream of the video, a first motion candidate list in a first prediction mode, wherein in the first prediction mode, prediction samples are derived from blocks of sample values of a same slice as determined by block vectors, and wherein a maximum number of motion candidates in the first motion candidate list being equal to M1, and M1 being equal to or greater than 1; and
constructing, for a second conversion between a second video block of the video and the bitstream, a second motion candidate list in an inter merge prediction mode, wherein a maximum number of motion candidates in the second motion candidate list being equal to M2, and M2 being equal to or greater than 1;
generating the bitstream based on the first video block and the second video block;
wherein at most L1 candidates in a first history-based motion vector predictor (HMVP) candidate table are inserted into the first motion candidate list, and wherein candidates in the first HMVP candidate table are arranged based on a sequence of addition of the candidates into the first HMVP candidate table, and L1 being equal to or greater than 0;
wherein at most L2 candidates in a second HMVP candidate table are inserted into the second motion candidate list, and wherein candidates in the second HMVP candidate table are arranged based on a sequence of addition of the candidates into the second HMVP candidate table, and L2 being equal to or greater than 0, and
wherein in a case that M1 is equal to M2, L1 is not equal to L2.
