Method for decoding a bitstream
A method for decoding a bitstream comprising: (a) decoding at least one pictures from the bitstream; and (b) partitioning each of the at least one pictures into a plurality of slices, wherein each of the plurality of slices includes at least one coding units, wherein (c) palette table predictor size of a coding unit of the at least one coding units is set equal to 0 at start of a slice of the plurality of slices.
1. A method for decoding a bitstream comprising:
(a) receiving the bitstream including at least one picture which includes a plurality of tiles, wherein each of the plurality of tiles comprises a plurality of coding units;
(b) receiving a new palette entry in the bitstream;
(c) generating a palette table predictor by using a previous palette table which includes a set of pixel values of a previous coding unit;
(d) generating a current palette table by using the palette table predictor and the new palette entry; and
(e) decoding pixel values of a current coding unit by using the current palette table, wherein the method further comprising
(f) setting a size of the palette table predictor, specifying a number of entries of the palette table predictor, equal to 0 at the start of each of the plurality of tiles, and
(g) synchronizing the size of the palette table predictor of a current coding tree block with a size of the previous palette table of previous coding tree block above the current coding tree block in a case that a coding tree unit is not a first coding tree unit in each of the plurality of tiles, the current coding tree block is located on left end of the each of the plurality of tiles, and the previous coding tree block is available.