摘要 |
First and second filter decision values are calculated for a pixel block (10) in a video frame. The first filter decision value is representative of how smoothpixel values in a first line of pixels (11, 13, 15, 17) in the block (10) and in a corresponding first line of pixels (21, 23, 25, 27) in a neighboring pixel block (20) in the video frame are in a direction parallel to a filtering direction. The second filter decision value is representative of how close pixel values in a current line (12) of pixels (11, 13, 15, 17) in the block (10) approximate a flat line and how close pixel values in a corresponding current line (22) of pixels (21, 23, 25, 27) in the neighboring block (20) approximate a flat line. The two filter decision values are compared to respective thresholds and a strong de-blocking filter is selected for the current line (12) if the filter decision values are below the thresholds, otherwise a weak de-blocking filter is selected to combat any blocking artifacts. |