摘要 |
According to one embodiment, an image encode controller includes a chroma component adjuster, a difference generator, a quantizer, an inverse-quantizer, and a variable codeword length encoder. The chroma component adjuster adjusts an original color component in accordance with a quantization coefficient to generate an adjusted chroma component. The difference generator generates a difference pixel component. The quantizer quantizes an output of the difference generator based on the quantization coefficient. The inverse-quantizer inversely quantizes an output of the quantizer based on the quantization coefficient. The variable codeword length encoder performs variable codeword length encoding with respect to an output of the quantizer to generate encoded data. The difference generator generates the difference pixel component based on a pixel component corresponding to an i-th pixel (where i denotes natural number), the adjusted chroma component, and an output of the inverse-quantizer corresponding to the (i−1)th pixel. |