Patent ID: 8165223

Claim:
A method comprising performing, at a video decoding apparatus, a test of pixel lines crossing a boundary between first and second blocks in a block-wise coded video picture; and modifying, at the video decoding apparatus, neighboring pixels on the pixel lines crossing the boundary with a Δ value calculated by a function based on a weighted sum of a third closest pixel on a left hand side of the boundary, a second closest pixel on the left hand side of the boundary, a closest pixel on the left hand side of the boundary, a closest pixel on a right hand side of the boundary, a second closest pixel on the right hand side of the boundary, and a third closest pixel on the right hand side of the boundary, wherein the function is w1*a−w2*b−w3*c+w4*d+w5*e−w6*f, where w1, w2, w3, w4, w5 and w6 are weighting factors greater than or equal to zero, and a being the third closest pixel on the left hand side, b being the second closest pixel on the left hand side, c being the closest pixel on the left hand side, d being the closest pixel on the right hand side, e being the second closest pixel on the right hand side, and f being the third closest pixel on the right hand side.