CPC H04N 19/132 (2014.11) [H04N 19/117 (2014.11); H04N 19/167 (2014.11); H04N 19/172 (2014.11); H04N 19/186 (2014.11); H04N 19/85 (2014.11)] | 20 Claims |
1. A method for decoding video data, comprising:
obtaining, from a bitstream, a plurality of image samples of a video frame, each image sample corresponding to one of a luma sample and a chroma sample;
for each of the plurality of image samples, filtering a respective image sample of the plurality of image samples using an adaptive loop filter having a filter length L and a set of filter coefficients, further including:
identifying a set of related image samples of the respective image sample;
for each of the set of related image samples, identifying a respective clip value index and a corresponding filter coefficient;
clipping a difference between the each of the set of related image samples and the respective image sample based on the respective clip value index, wherein the respective clip value index corresponds to a respective clipping boundary value equal to 2 to a power of a respective clipping number, and the respective clipping number is an integer; and
modifying the respective image sample with the clipped difference between the each of the set of related image samples and the respective image sample based on the respective filter coefficient.
|