Patent ID: 10469842

Abstract:
The invention relates to lossless encoding of pixel blocks. To apply the Palette coding mode, an input 4:2:0 block is up-sampled into a 4:4:4 block. Each 4:4:4 pixel is usually lossless encoded using a fully matching entry from the palette, thus being sub-optimal in terms of rate. This is mainly because lossless encoding is still used even for Chromas that have no impact on the decoded output image. To improve this situation, the invention provides that encoding the up-sampled 4:4:4 block includes encoding a 4:4:4 pixel corresponding to a 4:2:0 input pixel without Chromas, using a palette entry different from the 4:4:4 pixel. A lossy matching counter-intuitively does not provide losses in the decoded output image, since it is limited to Chromas discarded in the 4:2:0 block. Less palette entries are thus required, saving indexes and thus reducing the encoding rate.