Method and apparatus for predicting and restoring a video signal using palette entry and palette mode
First Claim
Patent Images
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;
constructing a palette map of the current block, the palette map of the current block comprises the at least one palette entry and a map index for identifying each palette entry;
deriving a palette index on a sample-by-sample basis of the current block; and
reconstructing each sample of the current block by using a palette entry having a map index of the same value as the derived palette index from the palette map,wherein the palette entry comprises at least one of a predicted palette entry and a signaled palette entry, 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,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,wherein when the palette index is encoded in an index mode, the palette index is derived from information about palette index run, the information about palette index run is used to determine a repeated number of times of same palette index in a predetermined scan order,wherein when the palette index is encoded in a copy mode, the palette index is derived from information about copy run, the information about copy run is used to determine whether palette indices of last positions in current samples are copied from palette indices in the row above, andwherein a value of the palette index run is entropy encoded selected from one of two encoded types based on a number of bits used,as a first encoded type, a value of the palette index run is derived from a single encoded element that represents the value of the palette index run as is,as a second encoded type, a value of the palette index run is derived from two encoded elements that represent a most significant bit (MSB) value as is and refinement bits as is of the value of the palette index run.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided is a method for decoding a video signal. Such a method may include obtaining at least one palette entry of a current block from a palette map of a previous block, constructing a palette map of the current block including the obtained palette entry, deriving a palette index on a sample-by-sample basis of the current block, and reconstructing the current block by using the palette map of the current block and the palette index.
63 Citations
10 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; constructing a palette map of the current block, the palette map of the current block comprises the at least one palette entry and a map index for identifying each palette entry; deriving a palette index on a sample-by-sample basis of the current block; and reconstructing each sample of the current block by using a palette entry having a map index of the same value as the derived palette index from the palette map, wherein the palette entry comprises at least one of a predicted palette entry and a signaled palette entry, 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, 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, wherein when the palette index is encoded in an index mode, the palette index is derived from information about palette index run, the information about palette index run is used to determine a repeated number of times of same palette index in a predetermined scan order, wherein when the palette index is encoded in a copy mode, the palette index is derived from information about copy run, the information about copy run is used to determine whether palette indices of last positions in current samples are copied from palette indices in the row above, and wherein a value of the palette index run is entropy encoded selected from one of two encoded types based on a number of bits used, as a first encoded type, a value of the palette index run is derived from a single encoded element that represents the value of the palette index run as is, as a second encoded type, a value of the palette index run is derived from two encoded elements that represent a most significant bit (MSB) value as is and refinement bits as is of the value of the palette index run. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method of encoding a video signal, the method comprising:
-
obtaining at least one palette entry of a current block from a palette map of a previous block; constructing a palette map of the current block, the palette map of the current block comprises the at least one palette entry and a map index for identifying each palette entry; determining a palette index in a unit of a sample of the current block; and reconstructing each sample of the current block by using a palette entry having a map index of the same value as the derived palette index from 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, wherein the predicted palette entry is derived from information about palette entry run, the information about palette entry run is signaled to determine a number of zeros that precede a non-zero entry in palette entries in the previous block, wherein when the palette index is encoded in an index mode, the palette index is derived from information about palette index run, the information about palette index run is signaled to determine a repeated number of times of same palette index in a predetermined scan order, wherein when the palette index is encoded in a copy mode, the palette index is derived from information about copy run, the information about copy run is signaled to determine whether palette indices of last positions in current samples are copied from palette indices in the row above, and wherein a value of the palette index run is selected from one of two encoded types based on a number of bits to use, as a first encoded type, a value of the palette index run is derived from a single encoded element that represents the value of the palette index run as is, as a second encoded type, a value of the palette index run is derived from two encoded elements that represent a most significant bit (MSB) value as is and refinement bits as is of the value of the palette index run. - View Dependent Claims (7, 8, 9, 10)
-
Specification