摘要 |
A first filter decision value is calculated for a block (10) of pixels (11, 13, 15, 17) in a video frame based on pixel values of pixels (11, 13, 15) in a first line (12) of pixels (11, 13, 15, 17) in the block (10). A second filter decision value is also calculated for the block (10) based on pixel values of pixels (21, 23, 25, 27) in a corresponding first line (22) of pixels (21, 23, 25, 27) in a neighboring block (20) in the video frame. The first filter decision value is used to determine how many pixels in a line (12) of pixels (11, 13, 15, 17) in the block (10) to filter relative to a block boundary (1) between the block (10) and the neighboring block (20). The second filter decision value is used to determine how many pixels in a corresponding line (22) of pixels (21, 23, 25, 27) in the neighboring block to filter relative to the block boundary (1). |