CPC H04N 19/132 (2014.11) [H04N 19/105 (2014.11); H04N 19/117 (2014.11); H04N 19/119 (2014.11); H04N 19/176 (2014.11); H04N 19/186 (2014.11)] | 29 Claims |
1. A method of decoding video data, the method comprising:
generating a prediction block for a current block of the video data;
decoding a residual block for the current block of the video data;
combining the prediction block and the residual block to generate a reconstructed block of the video data;
determining a variable M×N sample pattern based on a block size of the current block, wherein M and N are each integer values being equal to or larger than 1;
estimating a local luma level for samples of the reconstructed block using the variable M×N sample pattern, wherein estimating the estimated local luma level comprises calculating a weighted average for samples of the reconstructed block using the variable M×N sample pattern;
applying, based on the estimated local luma level, a deblocking filter to the samples of the reconstructed block to generate filtered samples; and
generating final samples of the video data based on the filtered samples.
|