摘要 |
<p>Disclosed is a method and an apparatus for compressing a block of pixels,. The method comprises: calculating a prediction value for each pixel of a group of pixels of the block, wherein the prediction value for a given pixel is calculated dependent on pixel values of at least one neighboring pixel of the given pixel, calculating the difference between the pixel value and the prediction value for each pixel of the group, variable length encoding the calculated differences, wherein a same set of coding parameters of the variable length encoding is used for encoding each difference of the block.</p> |