Patent ID: 11917169
Assignee: BYTEDANCE INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 10:
11. 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 first video block of a video and a bitstream of the video, that a first prediction mode is applied to the first video block;
maintain a predictor palette table;
construct, in the first prediction mode, a first palette comprising one or more palette predictors for the first video block based on the predictor palette table; and
perform the conversion based on the first prediction mode,
wherein in the first prediction mode, reconstructed samples of the first video block are represented by a set of representative color values, and the set of representative color values comprises at least one of 1) palette predictors derived from the first palette, 2) escaped samples, or 3) palette information included in the bitstream,
wherein a maximum number of entries in the first palette is based on a tree type of the first video block,
wherein the first prediction mode is applied to a second video block of the video, and a second palette for the second video block is constructed based on the predictor palette table, and
wherein in a case that a single tree is applied to the first video block and a local dual tree is applied to the second video block, the maximum number of entries in the second palette is half of the maximum number of entries in the first palette.