# US 2026/0019610 A1 · Methods and devices for filtered intra block copy

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

- Number: US 2026/0019610 A1
- Document ID: US20260019610A1
- Status: Published application
- Kind: A1
- Application number: 19/335,432
- Filed: 2025-09-22
- Published: 2026-01-15
- Earliest claimed: 2023-04-03
- Assignees: Beijing Dajia Internet Information Technology Co., Ltd.
- Applicants: Beijing Dajia Internet Information Technology Co., Ltd.
- Inventors: Hong-Jheng JHU; Che-Wei KUO; Xiaoyu XIU; Ning YAN; Wei CHEN; Changyue MA; Xianglin WANG; Bing YU
- Web page: https://patentgrep.com/patent/US20260019610A1

## CPC

- H04N 19/44: Decoders specially adapted therefor, e.g. video decoders which are asymmetric with respect to the encoder
- 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/117: Filters, e.g. for pre-processing or post-processing (sub-band filter banks H04N19/635)
- 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/176: the region being a block, e.g. a macroblock
- H04N 19/593: involving spatial prediction techniques
- H04N 19/82: involving filtering within a prediction loop
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure provides a method for video decoding, comprising: determining a reference block in a reconstructed part of a video frame for predicting a current block in the video frame, wherein a L-shaped template associated with the reference block is the most similar template to a L-shaped template associated with the current block in the reconstructed part of the video frame; obtaining a set of filter coefficients corresponding to a filter shape based on the sample values from both a training area associated with the reference block and a training area associated with the current block; deriving, with the set of filter coefficients and the filter shape, predicted sample values of the current block based on a plurality of corresponding sample values associated with the reference block; and reconstructing the current block based on the predicted sample values.

## Claims

### Claim 1

A method for video decoding, comprising:
determining a reference block in a reconstructed part of a video frame for predicting a current block in the video frame, wherein a L-shaped template associated with the reference block is the most similar template to a L-shaped template associated with the current block in the reconstructed part of the video frame;
obtaining a set of filter coefficients corresponding to a filter shape based on sample values from both a training area associated with the reference block and a training area associated with the current block;
deriving, with the set of filter coefficients and the filter shape, predicted sample values of the current block based on a plurality of corresponding sample values associated with the reference block; and
reconstructing the current block based on the predicted sample values.

### Claim 2

A method for video decoding, comprising:
determining at least one of a filter shape and a template area, wherein the at least one of the filter shape and the template area is to be used in at least two of filtered intra block copy (FIBC) mode, filtered template matching prediction (FTMP) mode and a convolutional cross-component model (CCCM) mode for predicting sample values of a current block in a video frame;
training, with the template area, each of sets of filter coefficients corresponding to the filter shape for the at least two of the FIBC mode, the FTMP mode and the CCCM mode respectively;
deriving, with the sets of filter coefficients, predicted sample values of the current block; and
reconstructing the current block based on the predicted sample values.

### Claim 3 (depends on 2)

The method of claim 2, wherein training the set of filter coefficients for the FIBC mode comprises:
determining a reference block in a reconstructed part of the video frame for predicting the current block, wherein the reference block is determined based on a block vector received from a bitstream; and
obtaining the set of filter coefficients for the FIBC mode based on sample values from both a training area associated with the reference block and a training area associated with the current block, wherein the training area associated with the reference block and the training area associated with the current block are determined based at least in part on the template area for the FIBC mode.

### Claim 4 (depends on 2)

The method of claim 2, wherein training the set of filter coefficients for the FTMP mode comprises:
determining a reference block in a reconstructed part of the video frame for predicting the current block, wherein a L-shaped template associated with the reference block is the most similar template to a L-shaped template associated with the current block in the reconstructed part of the video frame; and
obtaining the set of filter coefficients for the FTMP mode based on sample values from both a training area associated with the reference block and a training area associated with the current block, wherein the training area associated with the reference block and the training area associated with the current block are determined based at least in part on the template area for the FTMP mode.

### Claim 5 (depends on 2)

The method of claim 2, wherein training the set of filter coefficients for the CCCM mode comprises:
determining a set of chroma sample values in the template area; and
obtaining the set of filter coefficients for the CCCM mode based on the set of chroma sample values and the corresponding luma sample values for the set of chroma sample values.

### Claim 6 (depends on 2)

The method of claim 2, wherein the filter shape comprises at least one of:
a cross-shaped filter shape corresponding to 5 spatial terms, a non-linear term and a bias term;
a single-sample filter shape corresponding to 1 spatial term and a bias term; or
a 3*3 square filter shape corresponding to 9 spatial terms, a non-linear term and a bias term.

### Claim 7 (depends on 2)

The method of claim 2, wherein the template area comprises at least one of:
4 lines above and to left of the current block;
1 line above and to the left of the current block; or
6 lines above and to the left of the current block.

### Claim 8 (depends on 1)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 1.

### Claim 9 (depends on 1)

A computer readable storage medium storing a bitstream to be decoded by the decoding method of claim 1.

### Claim 10 (depends on 1)

A method for storing a bitstream, comprising:
partitioning a video frame into a plurality of blocks;
determining a reference block in a reconstructed part of the video frame for predicting a current block in the video frame, wherein a L-shaped template associated with the reference block is the most similar template to a L-shaped template associated with the current block in the reconstructed part of the video frame;
obtaining a set of filter coefficients corresponding to a filter shape based on the sample values from both a training area associated with the reference block and a training area associated with the current block;
deriving, with the set of filter coefficients and the filter shape, predicted sample values of the current block based on a plurality of corresponding sample values associated with the reference block;
generating a bitstream based on the predicted sample values; and
storing the bitstream, wherein the bitstream is to be decoded by the decoding method according to claim 1.

### Claim 11 (depends on 2)

A method for storing a bitstream, comprising:
partitioning a video frame into a plurality of blocks;
determining at least one of a filter shape and a template area, wherein the at least one of the filter shape and the template area is to be used in at least two of filtered intra block copy (FIBC) mode, filtered template matching prediction (FTMP) mode and convolutional cross-component model (CCCM) mode for predicting sample values of a current block in the video frame;
training, with the template area, each of sets of filter coefficients corresponding to the filter shape for the at least two of the FIBC mode, the FTMP mode and the CCCM mode respectively;
deriving, with the sets of filter coefficients, predicted sample values of the current block;
generating a bitstream based on the predicted sample values; and
storing the bitstream, wherein the bitstream is to be decoded by the decoding method according to claim 2.

### Claim 12 (depends on 1)

An electronic apparatus, comprising:
a non-transitory computer readable medium; and
a processor, configured to:
partition a video frame into a plurality of blocks;
determine a reference block in a reconstructed part of the video frame for predicting a current block in the video frame, wherein a L-shaped template associated with the reference block is the most similar template to a L-shaped template associated with the current block in the reconstructed part of the video frame;
obtain a set of filter coefficients corresponding to a filter shape based on the sample values from both a training area associated with the reference block and a training area associated with the current block;
derive, with the set of filter coefficients and the filter shape, predicted sample values of the current block based on a plurality of corresponding sample values associated with the reference block;
generate a bitstream based on the predicted sample values; and
store the bitstream, wherein the bitstream is to be decoded by the decoding method according to claim 1.

### Claim 13

An electronic apparatus, comprising:
a non-transitory computer readable medium; and
a processor, configured to:
partition a video frame into a plurality of blocks;
determine at least one of a filter shape and a template area, wherein the at least one of the filter shape and the template area is to be used in at least two of filtered intra block copy (FIBC) mode, filtered template matching prediction (FTMP) mode and convolutional cross-component model (CCCM) mode for predicting sample values of a current block in the video frame;
train, with the template area, each of sets of filter coefficients corresponding to the filter shape for the at least two of the FIBC mode, the FTMP mode and the CCCM mode respectively;
derive, with the sets of filter coefficients, predicted sample values of the current block;
generate a bitstream based on the predicted sample values; and
store the bitstream, wherein the bitstream is to be decoded by determining at least one of a filter shape and a template area, wherein the at least one of the filter shape and the template area is to be used in at least two of the filtered intra block copy (FIBC) mode, the filtered template matching prediction (FTMP) mode and the convolutional cross-component model (CCCM) mode for predicting sample values of a current block in a video frame, training, with the template area, each of sets of filter coefficients corresponding to the filter shape for the at least two of the FIBC mode, the FTMP mode and the CCCM mode respectively, deriving, with the sets of filter coefficients, predicted sample values of the current block, and reconstructing the current block based on the predicted sample values.

### Claim 14 (depends on 2)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 2.

### Claim 15 (depends on 3)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 3.

### Claim 16 (depends on 4)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 4.

### Claim 17 (depends on 5)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 5.

### Claim 18 (depends on 6)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 6.

### Claim 19 (depends on 7)

A computer system, comprising:
one or more processors; and
one or more storage devices storing computer-executable instructions that, when executed, cause the one or more processors to perform operations of the method of claim 7.

### Claim 20 (depends on 2)

A computer readable storage medium storing a bitstream to be decoded by the decoding method of claim 2.
