CPC H04N 19/117 (2014.11) [H04N 19/105 (2014.11); H04N 19/159 (2014.11); H04N 19/176 (2014.11)] | 3 Claims |
1. A video decoding method, the method performed by an apparatus and comprising:
when a boundary between a first block and a second block is a horizontal boundary for deblocking-filtering and a size of the first block and a size of the second block are equal to or greater than a predetermined size, determining a first range in an upper side of the horizontal boundary to be a first value and a second range in a lower side of the horizontal boundary to be a second value, the first value being less than the second value;
when at least one of the size of the first block and the size of the second block is less than the predetermined size, determining both the first range and the second range to be less than the second value; and
performing deblocking-filtering on samples corresponding to the first range and the second range,
wherein:
the first range indicates a number of samples in a vertical direction to be deblocking-filtered among a plurality of samples included in the first block,
the second range indicates a number of samples in the vertical direction to be deblocking-filtered among a plurality of samples included in the second block, and
when the boundary between the first block and the second block is a vertical boundary for deblocking-filtering and the size of the first block and the size of the second block are less than the predetermined size, a third range in a left side of the vertical boundary and a fourth range in a right side of the vertical boundary are determined to be the first value.
|