CPC H04N 19/82 (2014.11) [H04N 19/117 (2014.11); H04N 19/14 (2014.11); H04N 19/176 (2014.11); H04N 19/182 (2014.11); H04N 19/86 (2014.11)] | 6 Claims |
1. A method of deblocking filtering for an image, the method comprising:
obtaining a first parameter value for deblocking filtering based on a second parameter value; and
obtaining a filtered sample value by performing deblocking filtering on a sample in a block of samples by using the first parameter value, the filtered sample value being limited by a range based on the first parameter value,
wherein obtaining the first parameter value comprises:
obtaining the second parameter value based on a quantization parameter value for the block of samples; and
obtaining the first parameter value by adding an offset to the second parameter value, obtaining a value N using a parameter value indicating a bit-depth of the image, and bit-shifting a result of the adding to right by N bits, wherein N is a positive integer in a case where the bit-depth of the image is 8.
|