摘要 |
Statistics are generated for a set of signals, where each signal is represented by a palette index. A remap table is generated based on frequency of occurrence of each palette index in the set of signals. The remap table is applied to the palette indices to map the set of signals into a set of remapped values. An encoded bitstream is generated based on the remapped values. In a preferred embodiment, a differencing operation is applied to the remapped values to generate difference signals for the set of signals. Statistical encoding is applied to the difference signals to generate variable-length codes for the set of signals. The encoded bitstream is generated for the set of signals from the variable-length codes. The encoded bitstream is decoded by reversing the encode processing, using the remap table.
|