CPC H04N 19/159 (2014.11) [H04N 19/105 (2014.11); H04N 19/182 (2014.11); H04N 19/436 (2014.11); H04N 19/50 (2014.11); H04N 19/513 (2014.11); H04N 19/70 (2014.11); H04N 19/93 (2014.11); H04N 19/94 (2014.11)] | 9 Claims |
1. A method of decoding a video signal, the method comprising:
obtaining at least one palette entry of a current block from a palette map of a previous block;
deriving a palette index according to a predetermined scan order of the current block on a sample-by-sample basis;
constructing a palette map of the current block including at least one palette entry and the palette index; and
restoring each sample of the current block by using the palette map,
wherein the palette entry comprises at least one of a predicted palette entry and a signaled palette entry, and wherein the predicted palette entry means a palette entry reused in the current block among palette entries included in the palette map of the previous block, and the signaled palette entry indicates a palette entry not included in the palette map of the previous block among the palette entries used by the current block, and
wherein the predicted palette entry is derived from information about palette entry run, the information about palette entry run is used to determine a number of zeros that precede a non-zero entry in palette entries in the previous block.
|