Method and apparatus for major color index map coding
AssigneeHfi Innovation Inc.
InventorsYu-Chen Sun, Tzu-Der Chuang, Yi-Wen Chen, Yu-Wen Huang, Xianguo Zhang
Life of this patent
Estimating the term…
Abstract
A method and apparatus for palette coding of a block of video data using multiple color index scanning orders involve: receiving input data associated with a current block; determining whether transposing a color index map for palette coding is selected; responsive to selecting transposing the color index map, encoding or decoding color indices of the current block according to a transposed palette or a transposed triplet palette; and responsive to not selecting transposing the color index map, encoding or decoding the color indices of the current block according to an original palette or an original triplet palette.
Claims5
A method of coding a block of video data using palette coding in a video coding system, the method comprising:
- receiving input data associated with a current block;
- determining whether at least one coding unit (CU) is major color coded;
- when the at least one CU is major color coded, determining whether transposing a color index map for palette coding is selected via a flag for the at least one major color coded CU, wherein the flag indicates whether transposing the color index map is enabled or disabled;
- responsive to selecting transposing the color index map, encoding or decoding color indices of the current block according to a transposed palette or a transposed triplet palette;
- responsive to not selecting transposing the color index map, encoding or decoding the color indices of the current block according to an original palette or an original triplet palette,
- wherein said encoding or decoding the color indices of the current block according to the transposed palette or the transposed triplet palette comprises encoding the color indices of the transposed current block according to the original palette or the original triplet palette, or decoding/processing the color indices of the current block according to the original palette or the original triplet palette to generate the transposed current block,
- wherein the current block is transposed by swapping an x-index with a y-index of the color indices of the current block such that the color index map is flipped from a lower left corner to an upper right corner to cause a transposed current block, wherein flipping the color index map from the lower left corner to the upper right corner causes a set of first color indices on a top row of the current block to be transposed to a left column of the transposed current block.
An apparatus of coding a block of video data using palette coding in a video coding system, the apparatus comprising one or more electronic circuits configured to:
- receive input data associated with a current block;
- determine whether at least one coding unit (CU) is major color coded;
- when the at least one CU is major color coded, determine whether transposing color index map for palette coding is selected via a flag for the at least one major color coded CU, wherein the flag indicates whether transposing the color index map is enabled or disabled;
- responsive to selecting transposing the color index map, encode or decode the color indices of the current block according to a transposed palette or a transposed triplet palette;
- responsive to not selecting transposing the color index map, encode or decode the color indices of the current block according to an original palette or an original triplet palette,
- wherein said encoding or decoding the color indices of the current block according to the transposed palette or the transposed triplet palette comprises encoding the color indices of the transposed current block according to the original palette or the original triplet palette, or decoding/processing the color indices of the current block according to the original palette or the original triplet palette to generate the transposed current block,
- wherein the current block is transposed by swapping an x-index with a y-index of the color indices of the current block such that the color index map is flipped from a lower left corner to an upper right corner to cause a transposed current block, wherein flipping the color index map from the lower left corner to the upper right corner causes a set of first color indices on a top row of the current block to be transposed to a left column of the transposed current block.
Dependencies are inferred from the claim text.