| CPC H04N 19/117 (2014.11) [H04N 19/136 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/61 (2014.11); H04N 19/82 (2014.11)] | 2 Claims |

|
1. A decoder comprising:
a memory; and
processing circuitry, which is coupled to the memory and which, in operation, changes values of pixels in a first block and a second block to filter a boundary between the first block and the second block, using clipping such that change amounts of the respective values are within respective clip widths, the pixels in the first block and the second block being arranged along a straight line across the boundary;
wherein the clip widths for the pixels in the first block and the second block are selected to be asymmetrical based on the block sizes;
wherein the pixels in the first block include a first pixel located at a first position, and the pixels in the second block include a second pixel located at a second position corresponding to the first position with respect to the boundary;
wherein the clip widths include a first clip width and a second clip width corresponding to the first pixel and the second pixel, respectively;
wherein the first clip width is larger than the second clip width when the first block is larger than the second block;
wherein the pixels in the first block include a first additional pixel located at a first additional position and the pixels in the second block include a second additional pixel located at a second additional position which corresponds to the first additional position with respect to the boundary;
wherein the clip widths include a first additional clip width and a second additional clip width corresponding to the first additional pixel and the second additional pixel, respectively; and
wherein the first additional clip width is same as the second additional clip width.
|