Patent ID: RE43628

Claim:
A method for encoding an image, comprising: identifying spatially adjacent blocks in a same frame of the image; identifying transform coefficients motion vectors used for motion compensation for the spatially adjacent blocks in the same frame of the image and associated reference frames for the motion vectors of the spatially adjacent blocks ; comparing the transform coefficients between judging whether to perform deblock filtering for removing image residuals between the identified spatially adjacent block caused by encoding the image, by: determining whether the motion vectors for the spatially adjacent blocks in the same frame of the image are the same or similar to each other and determining whether the reference frames for motion vectors of the spatially adjacent blocks are identical ; and skipping deblock filtering for removing image residuals caused by encoding the image between the identified spatially adjacent blocks when the comparison indicates that the motion vectors for the spatially adjacent blocks in the same frame of the image have are determined to be the same or similar transform coefficients; and deblock filtering to remove image residuals between the identified spatially adjacent blocks when the comparison between the transform coefficients for the identified spatially adjacent blocks in the same frame of the image indicate that the spatially adjacent blocks do not have the same or similar transform coefficients and the reference frames for the motion vectors of the spatially adjacent blocks are determined to be identical .