Patent ID: 8787443

Claim:
A method for reducing block artifacts during video compression or decompression, comprising: buffering a video frame reconstructed during block-based motion-predictive encoding or decoding; determining edge locations and edge orientations throughout one or more blocks in the video frame; for a selected block of the one or more blocks in the video frame, selecting a deblocking filter from two or more candidate deblocking filters based at least in part on the edge orientations in the selected block, the candidate deblocking filters including two or more directional deblocking filters adapted to reduce blockiness at a block boundary while also maintaining a real edge of a directional feature of the video frame at the block boundary, each of the directional deblocking filters being adapted for a different non-horizontal and non-vertical orientation of the directional feature of the video frame, each of the directional deblocking filters further comprising a filter bank of multiple filters in which the filters in the filter bank have the same non-horizontal and non-vertical orientation as one another; and applying the selected deblocking filter to the selected block and one or more blocks neighboring the selected block.