# US 2022/0191549 A1 · Intra block copy coding and decoding

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

- Number: US 2022/0191549 A1
- Document ID: US20220191549A1
- Status: Published application
- Kind: A1
- Application number: 17/689,709
- Filed: 2022-03-08
- Published: 2022-06-16
- Earliest claimed: 2019-09-09
- Assignees: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Applicants: Beijing Bytedance Network Technology Co., Ltd.; Bytedance Inc.
- Inventors: Li ZHANG; Kai ZHANG; Jizheng XU; Hongbin LIU
- Web page: https://patentgrep.com/patent/US20220191549A1

## CPC

- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- H04N 19/124: Quantisation
- 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/157: Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
- 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/593: involving spatial prediction techniques
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

A method of video processing includes determining, for a conversion between a current block of a video and a coded representation of the video, whether a syntax element indicating usage of a skip mode for an intra-block copy (IBC) coding model is included in the coded representation according to a rule that specifies that signaling of the syntax element is based on a dimension of the current block and/or a maximum allowed dimension for a block that is coded using the IBC coding model. The method also includes performing the conversion based on the determining.

## Claims

### Claim 1

A method for processing video data, comprising:
determining, for a conversion between a current video block of a video and a bitstream of the video, whether a first syntax element is included in the bitstream according to a first rule; and
performing the conversion at least based on the determining,
wherein the first syntax element indicates whether a prediction mode is applied to the current video block,
wherein in the prediction mode, prediction samples are derived from blocks of sample values of a same video region as determined by block vectors, and
wherein the first rule specifies that the first syntax element is not included in the bitstream when a width of the current video block is greater a first threshold and a height of the current video block is greater a second threshold.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining whether a second syntax element indicating whether a skip mode is applied to the current video block is included in the bitstream according to a second rule,
wherein the second rule specifies that the second syntax element is included in the bitstream when the current video block is not a chroma block with a tree type of dual tree, a sequence enabled flag indicates that the prediction mode is enabled, the width of the current video block is less than or equal to the first threshold, and the height of the current video block is less than or equal to the second threshold.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first threshold and the second threshold are 64.

### Claim 4 (depends on 3)

The method of claim 3, wherein the first threshold and the second threshold are equal to a size of a virtual unit when a size of a coding tree block is greater than 64.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
determining whether a third syntax element is included in the bitstream for the current video block,
wherein the third syntax element specifies whether and which one of low frequency non-separable transform (LFNST) kernels in a selected transform set is used,
wherein a single context selected from contexts with an index increasement of 0 or 1 is used for a first bin of the third syntax element, and
wherein the index increasement is determined only based on whether a tree type of the current video block being a single tree.

### Claim 6 (depends on 5)

The method of claim 5, wherein the index increasement is 0 in response to the tree type of the current video block being a single tree, and the index increasement is 1 in response to the tree type of the current video block not being a single tree.

### Claim 7 (depends on 5)

The method of claim 5, wherein the third syntax element is associated with a LFNST coding model,
wherein the LFNST coding model comprises, applying, during encoding, a forward secondary transform between a forward primary transform and a quantization step, or applying, during decoding, an inverse secondary transform between a de-quantization step and an inverse primary transform, and
wherein the index increasement is determined excluding referring to the forward primary transform or the inverse primary transform.

### Claim 8 (depends on 1)

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

### Claim 9 (depends on 1)

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

### Claim 10

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, for a conversion between a current video block of a video and a bitstream of the video, whether a first syntax element is included in the bitstream according to a first rule; and perform the conversion at least based on the determining,
wherein the first syntax element indicates whether a prediction mode is applied to the current video block,
wherein in the prediction mode, prediction samples are derived from blocks of sample values of a same video region as determined by block vectors, and
wherein the first rule specifies that the first syntax element is not included in the bitstream when a width of the current video block is greater a first threshold and a height of the current video block is greater a second threshold.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the instructions upon execution by the processor, cause the further processor to:
determining whether a second syntax element indicating whether a skip mode is applied to the current video block is included in the bitstream according to a second rule,
wherein the second rule specifies that the second syntax element is included in the bitstream when the current video block is not a chroma block with a tree type of dual tree, a sequence enabled flag indicates that the prediction mode is enabled, the width of the current video block is less than or equal to the first threshold, and the height of the current video block is less than or equal to the second threshold.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the first threshold and the second threshold are 64.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the first threshold and the second threshold are equal to a size of a virtual unit when a size of a coding tree block is greater than 64.

### Claim 14 (depends on 10)

The apparatus of claim 10, wherein the instructions upon execution by the processor, cause the further processor to:
determine whether a third syntax element is included in the bitstream for the current video block,
wherein the third syntax element specifies whether and which one of low frequency non-separable transform (LFNST) kernels in a selected transform set is used,
wherein a single context selected from contexts with an index increasement of 0 or 1 is used for a first bin of the third syntax element, and
wherein the index increasement is determined only based on whether a tree type of the current video block being a single tree.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the index increasement is 0 in response to the tree type of the current video block being a single tree, and the index increasement is 1 in response to the tree type of the current video block not being a single tree.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the third syntax element is associated with a LFNST coding model,
wherein the LFNST coding model comprises, applying, during encoding, a forward secondary transform between a forward primary transform and a quantization step, or applying, during decoding, an inverse secondary transform between a de-quantization step and an inverse primary transform, and
wherein the index increasement is determined excluding referring to the forward primary transform or the inverse primary transform.

### Claim 17

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, for a conversion between a current video block of a video and a bitstream of the video, whether a first syntax element is included in the bitstream according to a first rule; and
perform the conversion at least based on the determining,
wherein the first syntax element indicates whether a prediction mode is applied to the current video block,
wherein in the prediction mode, prediction samples are derived from blocks of sample values of a same video region as determined by block vectors, and
wherein the first rule specifies that the first syntax element is not included in the bitstream when a width of the current video block is greater a first threshold and a height of the current video block is greater a second threshold.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein the instructions cause the processor further to:
determine whether a second syntax element indicating whether a skip mode is applied to the current video block is included in the bitstream according to a second rule,
wherein the second rule specifies that the second syntax element is included in the bitstream when the current video block is not a chroma block with a tree type of dual tree, a sequence enabled flag indicates that the prediction mode is enabled, the width of the current video block is less than or equal to the first threshold, and the height of the current video block is less than or equal to the second threshold.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium of claim 18, wherein the first threshold and the second threshold are 64.

### Claim 20

A non-transitory computer-readable recording medium storing a bitstream which is generated by a method performed by a video processing apparatus, wherein the method comprises:
determining, for a current video block of a video, whether a first syntax element is included in the bitstream according to a first rule; and
generating the bitstream at least based on the determining,
wherein the first syntax element indicates whether a prediction mode is applied to the current video block,
wherein in the prediction mode, prediction samples are derived from blocks of sample values of a same video region as determined by block vectors, and
wherein the first rule specifies that the first syntax element is not included in the bitstream when a width of the current video block is greater a first threshold and a height of the current video block is greater a second threshold.
