# US 2025/0097481 A1 · Method, apparatus, and medium for video processing

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

- Number: US 2025/0097481 A1
- Document ID: US20250097481A1
- Status: Published application
- Kind: A1
- Application number: 18/896,472
- Filed: 2024-09-25
- Published: 2025-03-20
- Earliest claimed: 2022-03-25
- Assignees: Bytedance Inc.
- Applicants: Bytedance Inc.
- Inventors: Jizheng XU; Li ZHANG
- Web page: https://patentgrep.com/patent/US20250097481A1

## CPC

- 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/96: Tree coding, e.g. quad-tree coding
- H04N 19/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/176: the region being a block, e.g. a macroblock
- H04N 19/423: characterised by memory arrangements (H04N19/433 takes precedence)
- 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

Embodiments of the disclosure provide a solution for video processing. A method for video processing is proposed. The method includes: determining, during a conversion between a video unit of a video and a bitstream of the video unit, a set of coding tree units (CTUs) included in an intra block copy (IBC) buffer or an IBC reference area of the video unit based on a current CTU, the video unit being applied with an IBC mode; and performing the conversion based on the set of CTUs.

## Claims

### Claim 1

A method of video processing, comprising:
determining, during a conversion between a video unit of a video and a bitstream of the video, a set of coding tree units (CTUs) included in an intra block copy (IBC) buffer or an IBC reference area of the video unit based on a current CTU, the video unit being applied with an IBC mode; and
performing the conversion based on the set of CTUs.

### Claim 2 (depends on 1)

The method of claim 1, wherein if a first element of an index of a current CTU is m, a second element of the index of the current CTU is n,
the IBC buffer or the IBC reference area comprises a set of CTUs within index (m, 0) . . . (m, n−1), (m−1, 0) . . . (m−1, n+k), (m−2, n−2) . . . (m−2, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 3 (depends on 1)

The method of claim 1, wherein if a first element of an index of a current CTU is m, a second element of the index of the current CTU is n,
the IBC buffer or the IBC reference area comprises a set of CTUs within index (m, 0) . . . (m, n−1), (m−1, n−1) . . . (m−1, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining a target IBC reference area to be applied based on a CTU size.

### Claim 5 (depends on 4)

The method of claim 4, wherein if a width of the CTU size is 128 luma samples and a height of the CTU size is 128 luma samples, the target IBC reference area comprises a set of CTUs with index (m, 0) . . . (m, n−1), (m−1, n−1) . . . (m−1, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 6 (depends on 4)

The method of claim 4, wherein if a width of the CTU size is 256 luma samples and a height of the CTU size is 256 luma samples, the target IBC reference area comprises a set of CTUs with index (m, 0) . . . (m, n−1), (m−1, 0) . . . (m−1, n+k), (m−2, n−2) . . . (m−2, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 7 (depends on 1)

The method of claim 1, wherein the IBC buffer or the IBC reference area comprises a number of rows of samples above the current CTU.

### Claim 8 (depends on 7)

The method of claim 7, wherein the IBC buffer or the IBC reference area comprises 320 rows of luma samples above the current CTU.

### Claim 9 (depends on 7)

The method of claim 7, wherein the IBC buffer or the IBC reference area does not comprise rows of samples further above the number of rows of samples.

### Claim 10 (depends on 1)

The method of claim 1, wherein in the IBC mode, prediction samples are derived from blocks of sample values of a same video region as determined by block vectors.

### Claim 11 (depends on 1)

The method of claim 1, wherein the conversion includes encoding the target block into the bitstream.

### Claim 12 (depends on 1)

The method of claim 1, wherein the conversion includes decoding the target block from the bitstream.

### Claim 13

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:
determine, during a conversion between a video unit of a video and a bitstream of the video, a set of coding tree units (CTUs) included in an intra block copy (IBC) buffer or an IBC reference area of the video unit based on a current CTU, the video unit being applied with an IBC mode; and
perform the conversion based on the set of CTUs.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein if a first element of an index of a current CTU is m, a second element of the index of the current CTU is n,
the IBC buffer or the IBC reference area comprises a set of CTUs within index (m, 0) . . . (m, n−1), (m−1, 0) . . . (m−1, n+k), (m−2, n−2) . . . (m−2, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein if a first element of an index of a current CTU is m, a second element of the index of the current CTU is n,
the IBC buffer or the IBC reference area comprises a set of CTUs within index (m, 0) . . . (m, n−1), (m−1, n−1) . . . (m−1, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein the instructions upon execution by the processor, cause the processor to:
determine a target IBC reference area to be applied based on a CTU size.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein if a width of the CTU size is 128 luma samples and a height of the CTU size is 128 luma samples, the target IBC reference area comprises a set of CTUs with index (m, 0) . . . (m, n−1), (m−1, n−1) . . . (m−1, n+k) within at least one of: a current slice, a current tile or a current subpicture, and
wherein m, n and k are non-negative integers.

### Claim 18 (depends on 1)

The apparatus of claim 1, wherein the IBC buffer or the IBC reference area comprises a number of rows of samples above the current CTU.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, during a conversion between a video unit of a video and a bitstream of the video, a set of coding tree units (CTUs) included in an intra block copy (IBC) buffer or an IBC reference area of the video unit based on a current CTU, the video unit being applied with an IBC mode; and
perform the conversion based on the set of CTUs.

### 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:
determining a set of coding tree units (CTUs) included in an intra block copy (IBC) buffer or an IBC reference area of a video unit of the video based on a current CTU, the video unit being applied with an IBC mode; and
generating a bitstream of the video unit based on the set of CTUs.
