CPC H04N 19/86 (2014.11) [H04N 19/117 (2014.11); H04N 19/14 (2014.11); H04N 19/176 (2014.11); H04N 19/82 (2014.11)] | 16 Claims |
1. A method of filtering control applicable to a block of multiple pixels in a video frame, each pixel having a respective pixel value, comprising:
calculating a first filter decision value for a block of pixels based at least in part on a first weighted sum of first pixel values, the first pixel values including a first pixel value of a pixel closest to, in a first line of pixels, a boundary to a neighboring block, a second pixel value of a pixel next closest to, in the first line of pixels, the neighboring block boundary, a third pixel value of a pixel second next closest to, in the first line of pixels, the neighboring block boundary;
calculating a second filter decision value for the block of pixels based at least in part on a second weighted sum of second pixel values, the second pixel values including a first pixel value of a pixel in the neighboring block closest to, in a corresponding first line of pixels in the neighboring block, the neighboring block boundary, a second pixel value of a pixel of the neighboring block next closest to, in the corresponding first line of pixels, the neighboring block boundary, and a third pixel value of a pixel in the neighboring block second next closest to, in the corresponding first line of pixels, the neighboring block boundary;
determining how many pixels in the line of pixels in the block to filter relative to the neighboring block boundary based on a comparison of the first filter decision value to a first threshold value; and
determining how many pixels in the corresponding line of pixels in the neighboring block to filter relative to the neighboring block boundary based on a comparison of the second filter decision value to a second threshold value.
|