# US 12,015,788 B2 · Video processing method and apparatus for using palette mode

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

- Number: US 12,015,788 B2
- Document ID: US12015788B2
- Status: Granted
- Kind: B2
- Application number: 17/932,841
- Filed: 2022-09-16
- Published: 2023-01-12
- Granted: 2024-06-18
- Earliest claimed: 2019-12-03
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Mohammed Golam Sarwer; Ru-Ling Liao; Yan Ye; Jiancong Luo; Jie Chen
- Web page: https://patentgrep.com/patent/US12015788B2

## CPC

- 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/174: the region being a slice, e.g. a line of blocks or a group of blocks
- 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/159: Prediction type, e.g. intra-frame, inter-frame or bidirectional frame prediction
- H04N 19/182: the unit being a pixel
- H04N 19/186: the unit being a colour or a chrominance component
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 19/96: Tree coding, e.g. quad-tree coding
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure provides systems and methods for signaling and using a palette mode in video processing. According to certain disclosed embodiments, an exemplary video processing method includes: receiving a first palette entry for palette coding a target coding unit (CU); determining whether the target CU is part of a single-tree slice; determining whether the target CU is coded with separate luma and chroma trees; and in response to the target CU being determined to be part of a single-tree slice and be coded with separate luma and chroma trees, decoding a first component of the target CU based on the first palette entry, and decoding a second component of the target CU based on a default palette entry.

## Claims

### Claim 1

A video processing method, comprising:
receiving a first palette entry for palette coding a target coding unit (CU);
determining whether the target CU is part of a single-tree slice;
determining whether the target CU is coded with separate luma and chroma trees; and
in response to the target CU being determined to be part of a single-tree slice and to be coded with separate luma and chroma trees,
encoding a first component of the target CU based on the first palette entry, and
encoding a second component of the target CU based on a default palette entry.

### Claim 2 (depends on 1)

The method of claim 1, wherein receiving the first palette entry for palette coding the target CU comprises:
receiving a flag associated with a second palette entry; and
including the second palette entry in a palette predictor of the target CU based on the received flag.

### Claim 3 (depends on 2)

The method of claim 2, wherein a size of the palette predictor of the target CU is in a range of 0 to 63, inclusive.

### Claim 4 (depends on 1)

The method of claim 1, wherein receiving the first palette entry for palette coding the target CU comprises:
updating a palette predictor of the target CU based on the first palette entry.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining whether the target CU is part of a single-tree slice comprises:
determining whether the target CU is part of a P slice or a B slice; or
determining whether the target CU is part of a single tree I slice.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
in response to the target CU being determined to be part of a P slice or a B slice or to be part of a single tree I slice, encoding the first and second components of the target CU based on the first palette entry.

### Claim 7 (depends on 1)

The method of claim 1, wherein:
the first component is a luma component and the second component is a chroma component; or
the first component is a chroma component and the second component is a luma component.

### Claim 8 (depends on 1)

The method of claim 1, wherein a palette predictor of the target CU is not updated after the first component and the second component are encoded.

### Claim 9

A non-transitory computer readable medium storing a bitstream, wherein the bitstream comprises:
a first palette entry for palette coding a target coding unit (CU);
a default palette entry for palette coding the target CU;
an indicator, indicating whether the target CU is part of a single-tree slice and whether the target CU is coded with separate luma and chroma trees;
wherein in response to the indicator indicating that the target CU is part of a single-tree slice and is coded with separate luma and chroma trees,
a first component of the target CU is encoded based on the first palette entry; and
a second component of the target CU is encoded based on the default palette entry.

### Claim 10 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the bitstream further comprises:
a flag associated with a second palette entry; and
a palette predictor of the target CU including the second palette entry, based on the flag.

### Claim 11 (depends on 10)

The non-transitory computer readable medium of claim 10, wherein the bitstream further comprises:
a field indicating a size of the palette predictor of the target CU, in a range of 0 to 63, inclusive.

### Claim 12 (depends on 9)

The non-transitory computer readable medium of claim 9, wherein the bitstream further comprises:
a reuse flag indicating whether to reuse a palette entry to palette code the target CU, wherein no new palette entry is signaled for palette coding the target CU.

### Claim 13

A video decoder capable of being enabled to implement a palette mode for a non 4:4:4 color format, the non 4:4:4 color format including at least one of a 4:2:0 color format, a 4:2:2 color format, or a monochrome color format, the video decoder comprising:
means for receiving a first palette entry for palette coding a target coding unit (CU);
means for determining whether the target CU is part of a single-tree slice;
means for determining whether the target CU is coded with separate luma and chroma trees; and
means for, in response to the target CU being determined to be part of a single-tree slice and to be coded with separate luma and chroma trees,
decoding a first component of the target CU based on the first palette entry, and
decoding a second component of the target CU based on a default palette entry.
