# US 2020/0404255 A1 · Interaction between ibc and bio

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

- Number: US 2020/0404255 A1
- Document ID: US20200404255A1
- Status: Published application
- Kind: A1
- Application number: 17/011,157
- Filed: 2020-09-03
- Published: 2020-12-24
- Earliest claimed: 2018-06-05
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Kai ZHANG; Li ZHANG; Hongbin LIU; Yue WANG
- Web page: https://patentgrep.com/patent/US20200404255A1

## CPC

- H04N 19/176: the region being a block, e.g. a macroblock
- 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/107: between spatial and temporal predictive coding, e.g. picture refresh
- H04N 19/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/167: Position within a video image, e.g. region of interest [ROI]
- H04N 19/463: by compressing encoding parameters before transmission
- H04N 19/52: by predictive encoding
- H04N 19/523: with sub-pixel accuracy
- H04N 19/583: Motion compensation with overlapping blocks
- 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: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Devices, systems and methods for applying intra-block copy (IBC) in video coding are described. In general, methods for integrating IBC with existing motion compensation algorithms for video encoding and decoding are described. In a representative aspect, a method for video encoding using IBC includes determining whether a current block of the current picture is to be encoded using a motion compensation algorithm, and encoding, based on the determining, the current block by selectively applying an intra-block copy to the current block. In a representative aspect, another method for video encoding using IBC includes determining whether a current block of the current picture is to be encoded using an intra-block copy, and encoding, based on the determining, the current block by selectively applying a motion compensation algorithm to the current block.

## Claims

### Claim 1

A method of coding video data, comprising:
determining, for a conversion between a current video block of a video and a bitstream representation of the video, that the current video block is coded using a first technique; and
performing the conversion by using the first technique and by excluding use of a second technique;
wherein one of the first and the second techniques corresponds to an intra-block copy (IBC) technique that the current video block is predicted by a reconstructed block in a current picture which includes the current video block, and the other of the first and the second techniques corresponds to Bi-directional Optical Flow (BDOF) technique that at least one prediction sample of the current video block are refined based on at least one gradient of prediction samples.

### Claim 2 (depends on 1)

The method of claim 1, wherein the reconstructed block is identified by a block vector.

### Claim 3 (depends on 1)

The method of claim 1, wherein the reconstructed block includes samples before in-loop filtering process.

### Claim 4 (depends on 1)

The method of claim 1, wherein the BDOF technique comprising:
dividing the current video block into at least one subblock based on a size of the current video block;
obtaining a first plurality of prediction samples associated with a first reference picture and a second plurality of prediction samples associated with a second reference picture for each of the at least one subblock;
deriving the at least one gradient based on the first plurality of prediction samples and the second plurality of prediction samples;
generating at least one refined offset based on the at least one gradient; and
generating at least one refined prediction sample for each of the at least one subblock at least based on the at least one refined offset.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first reference picture is different from the current picture, and the second reference picture is different from the current picture.

### Claim 6 (depends on 4)

The method of claim 4, wherein the first reference picture is behind the current picture in displaying order, and the second reference picture is ahead of the current picture in displaying order.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first technique corresponds to the IBC technique, and the second technique corresponds to the BDOF technique.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first technique corresponds to the BDOF technique, and the second technique corresponds to the IBC technique.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
determining an indicator of use of the second technique is excluded in the bitstream representation.

### Claim 10 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the current video block into the bitstream representation.

### Claim 11 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the current video block from the bitstream representation.

### Claim 12

An apparatus for coding 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:
determining, for a conversion between a current video block of a video and a bitstream representation of the video, that the current video block is coded using a first technique; and
performing the conversion by using the first technique and by excluding use of a second technique;
wherein one of the first and the second techniques corresponds to an intra-block copy (IBC) technique that the current video block is predicted by a reconstructed block in a current picture which includes the current video block, and the other of the first and the second techniques corresponds to Bi-directional Optical Flow (BDOF) technique that at least one prediction sample of the current video block are refined based on at least one gradient of prediction samples.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the reconstructed block is identified by a block vector.

### Claim 14 (depends on 12)

The apparatus of claim 12, wherein the reconstructed block includes samples before in-loop filtering process.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the BDOF technique comprising:
dividing the current video block into at least one subblock based on a size of the current video block;
obtaining a first plurality of prediction samples associated with a first reference picture and a second plurality of prediction samples associated with a second reference picture for each of the at least one subblock;
deriving the at least one gradient based on the first plurality of prediction samples and the second plurality of prediction samples;
generating at least one refined offset based on the at least one gradient; and
generating at least one refined prediction sample for each of the at least one subblock at least based on the at least one refined offset.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the first reference picture is different from the current picture, and the second reference picture is different from the current picture.

### Claim 17 (depends on 15)

The apparatus of claim 15, wherein the first reference picture is behind the current picture in displaying order, and the second reference picture is ahead of the current picture in displaying order.

### Claim 18 (depends on 12)

The apparatus of claim 12, wherein the first technique corresponds to the IBC technique, and the second technique corresponds to the BDOF technique.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determining, for a conversion between a current video block of a video and a bitstream representation of the video, that the current video block is coded using a first technique; and
performing the conversion by using the first technique and by excluding use of a second technique;
wherein one of the first and the second techniques corresponds to an intra-block copy (IBC) technique that the current video block is predicted by a reconstructed block in a current picture which includes the current video block, and the other of the first and the second techniques corresponds to Bi-directional Optical Flow (BDOF) technique that at least one prediction sample of the current video block are refined based on at least one gradient of prediction samples.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream representation which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining, for a conversion between a current video block of a video and a bitstream representation of the video, that the current video block is coded using a first technique; and
generating the bitstream representation from the current video block by using the first technique and by excluding use of a second technique;
wherein one of the first and the second techniques corresponds to an intra-block copy (IBC) technique that the current video block is predicted by a reconstructed block in a current picture which includes the current video block, and the other of the first and the second techniques corresponds to Bi-directional Optical Flow (BDOF) technique that at least one prediction sample of the current video block are refined based on at least one gradient of prediction samples.
