CPC H04N 19/593 (2014.11) [G06T 9/004 (2013.01); G06T 11/001 (2013.01); G06T 11/40 (2013.01); G06V 10/20 (2022.01); H04N 19/105 (2014.11); H04N 19/119 (2014.11); H04N 19/132 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11); H04N 19/1883 (2014.11); H04N 19/46 (2014.11)] | 10 Claims |
1. A method of video processing, comprising:
determining, for a conversion between a current block of a video and a bitstream of the video, that a palette prediction mode is applied to the current block;
constructing, a current palette for the current block based on a predictor palette, wherein the current palette is used to derive reconstructed samples of the current block, and wherein the predictor palette comprises three color components;
performing the conversion based on the current palette; and
determining whether to update the predictor palette depending on a characteristic of the current block,
wherein the predictor palette is updated based on the current palette,
wherein the characteristic of the current block comprises a color component, a width and a height,
wherein when the current block at least satisfies that the width of the current block is no greater than a first threshold or the height of the current block is no greater than a second threshold, an updating process is disabled for the predictor palette,
wherein the updating process comprises: (1) inserting entries of the current palette, and (2) upon determining that the predictor palette is not full, inserting unreferenced entries for a previously coded block from the predictor palette;
wherein updating the predictor palette is allowed when the current block at least satisfies that the current block is a luma block and the current block has a size greater than 16, wherein the updating comprises a reset process; and
wherein when the current block is a luma block with a tree type of dual tree, palettes of different sizes are constructed for the current block and a chroma block corresponding to the current block.
|