Patent ID: 8509553

Claim:
An encoder, comprising: a reversible color transform module for performing a reversible color transform to output a transformed video signal according to an input video signal; a difference pulse code modulation (DPCM) intra prediction module for performing a DPCM intra prediction to output a least residual according to the transformed video signal, wherein the least residual is selected from a plurality of residuals generated in correspondence to a plurality of intra prediction direction modes, wherein the prediction direction modes comprise a plurality of linear direction modes and a rotation direction mode; a quantization module for performing a quantization operation on the least residual from the DPCM intra prediction module to output a quantization coefficient; a reversible frequency transform module for performing a reversible frequency transform on the quantization coefficient outputted by the quantization module to output a frequency coefficient; and an entropy coding module for performing entropy coding to output a compression bit stream according to the frequency coefficient.