Patent ID: 8798173

Claim:
A method for at least one of encoding and decoding an image, the image including a plurality of frames with each frame including a plurality of blocks, each having a plurality of pixels, the method comprising: identifying adjacent blocks of a frame of said image; examining conditions of coding parameters for said adjacent blocks of said frame; determining boundary strengths for a boundary between said adjacent blocks of said frame; and selectively filtering at least a portion of said image proximate a boundary between said adjacent blocks of said frame based upon said conditions of coding parameters, wherein said conditions of coding parameters include whether said adjacent blocks of said frame have an absolute difference of motion vector components which is less than a threshold value in both vertical direction and horizontal direction, a strength of said selectively filtering is controlled by said boundary strength for said adjacent blocks of said frame, said boundary strength is a first value when said adjacent blocks of said frame have an absolute difference of motion vector components which is greater than or equal to a threshold value in either the vertical direction or the horizontal direction, and the boundary strength value is used to control a pixel value adaptation range in a loop filter.