| CPC H04N 19/117 (2014.11) [H04N 19/132 (2014.11); H04N 19/136 (2014.11); H04N 19/176 (2014.11); H04N 19/86 (2014.11)] | 8 Claims |

|
1. A method of encoding one or more portions of an image using Adaptive Loop Filtering, the method comprising:
obtaining data of an image for a bitstream; and
performing the Adaptive Loop Filtering by filtering a current sample of an image portion using a nonlinear equation comprising clipping functions each of which has clipping parameters for clipping a difference value between a value of a neighbouring sample of the current sample and a value of the current sample, wherein the value of the current sample is a chroma sample value,
wherein the difference value is clipped to the value indicated by the clipping parameter when the difference value is larger than the value indicated by the clipping parameter, and wherein clipping parameters used by the clipping function are associated with indices each of which identifies a clipping value from a plurality of clipping values.
|