Patent ID: 8565316

Claim:
A method comprising: decoding video frames comprised of an intra-coded frame and a predictive-coded frame, at least one video frame having at least one target pixel block to be filtered, said decoding comprising performing motion compensation on said predictive-coded frame; filtering said target pixel block by using at least one pixel value of said target pixel block and multiple pixel values of one other pixel block adjacent to said target pixel block, wherein said filtering comprises: obtaining an absolute value of a result from calculations using a difference between said at least one pixel value of said target pixel block and said multiple pixel values of said one other pixel block; obtaining, based on a comparison of said absolute value with a particular value, a compensation value calculated by using said at least one pixel value of said target pixel block and at least one of said multiple pixel values of said one other pixel block; and applying said compensation value to compensate for said target pixel block.