# US 2022/0046255 A1 · Palette mode with intra block copy prediction

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

- Number: US 2022/0046255 A1
- Document ID: US20220046255A1
- Status: Published application
- Kind: A1
- Application number: 17/502,280
- Filed: 2021-10-15
- Published: 2022-02-10
- Earliest claimed: 2019-05-31
- Assignees: Bytedance Inc.
- Applicants: Bytedance Inc.
- Inventors: Weijia ZHU; Li ZHANG; Jizheng XU
- Web page: https://patentgrep.com/patent/US20220046255A1

## CPC

- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/119: Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
- 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/50: using predictive coding (H04N19/61 takes precedence)
- 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 video processing method is described. The method includes determining, for a conversion between a video unit of a video and a coded representation of the video, a maximum number of entries of a palette of representative values used during the conversion according to a rule; and performing the conversion using the palette, and wherein the rule specifies the maximum number of entries according to a characteristic of the video unit.

## Claims

### Claim 1

A method of processing video data, comprising:
determining, for a conversion between a block of a video and a bitstream of the video, a maximum number of entries of a palette of the block to be used in a prediction mode, based on a partitioning structure of the block; and
performing the conversion based on the determining,
wherein, in the prediction mode, reconstructed samples are represented by a set of representative color values, and the set of representative color values comprises at least one of 1) palette predictors, 2) escaped samples, or 3) palette information included in the bitstream.

### Claim 2 (depends on 1)

The method of claim 1, wherein, the maximum number of entries of the palette is further determined based on a color component of the block.

### Claim 3 (depends on 2)

The method of claim 2, wherein, the maximum number of entries of the palette is further determined based on coded information of the block.

### Claim 4 (depends on 2)

The method of claim 2, wherein, the maximum number of entries of the palette is further determined based on a dimension of the block.

### Claim 5 (depends on 2)

The method of claim 2, wherein, the maximum number of entries of the palette for a luma block is greater than that for a chroma block.

### Claim 6 (depends on 5)

The method of claim 5, wherein, the maximum number of entries of the palette for a luma block is greater than that for a chroma block, when the partitioning structure is a local dual tree partitioning structure.

### Claim 7 (depends on 6)

The method of claim 6, wherein in the local dual tree structure, a coding tree unit is split with a luma partition scheme and a chroma partition scheme, and wherein the luma partition scheme has same recursive partition tree types with the chroma partition scheme until reaching a size threshold.

### Claim 8 (depends on 1)

The method of claim 1, wherein, the maximum number of entries of the palette with a single tree partitioning structure is different from that with a dual tree partitioning structure.

### Claim 9 (depends on 8)

The method of claim 8, wherein in the dual tree partitioning structure, different partition structures are applied for a luma component and a chroma component.

### Claim 10 (depends on 1)

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

### Claim 11 (depends on 1)

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

### Claim 12

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 block of a video and a bitstream of the video, a maximum number of entries of a palette of the block to be used in a prediction mode, based on a partitioning structure of the block; and
perform the conversion based on the determining,
wherein, in the prediction mode, reconstructed samples are represented by a set of representative color values, and the set of representative color values comprises at least one of 1) palette predictors, 2) escaped samples, or 3) palette information included in the bitstream.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein, the maximum number of entries of the palette is further determined based on a color component of the block.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein, the maximum number of entries of the palette is further determined based on coded information of the block.

### Claim 15 (depends on 13)

The apparatus of claim 13, wherein, the maximum number of entries of the palette is further determined based on a dimension of the block.

### Claim 16 (depends on 13)

The apparatus of claim 13, wherein, the maximum number of entries of the palette for a luma block is greater than that for a chroma block.

### Claim 17 (depends on 12)

The apparatus of claim 12, wherein, the maximum number of entries of the palette with a single tree partitioning structure is different from that with a dual tree partitioning structure.

### Claim 18 (depends on 17)

The apparatus of claim 17, wherein in the dual tree partitioning structure, different partition structures are applied for a luma component and a chroma component.

### Claim 19

A non-transitory computer-readable storage medium storing instructions that cause a processor to:
determine, for a conversion between a block of a video and a bitstream of the video, a maximum number of entries of a palette of the block to be used in a prediction mode, based on a partitioning structure of the block; and
perform the conversion based on the determining,
wherein, in the prediction mode, reconstructed samples are represented by a set of representative color values, and the set of representative color values comprises at least one of 1) palette predictors, 2) escaped samples, or 3) palette information included in the bitstream.

### 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 maximum number of entries of a palette of the block to be used in a prediction mode, based on a partitioning structure of a block of a video; and
generating the bitstream based on the determining,
wherein in the prediction mode, reconstructed samples are represented by a set of representative color values, and the set of representative color values comprises at least one of 1) palette predictors, 2) escaped samples, or 3) palette information included in the bitstream.
