A technique to reduce ringing artifacts in highly compressed block-based image/video
coding is applied to each reconstructed frame output from the decoder. For each
pixel block of a reconstructed frame, low-pass filtering is then adaptively applied
according certain calculated differences between adjacent pixel values. For each
pixel, a determination is made as to what type of horizontal filter, if any, is
to be applied. Depending on the results of that determination, the pixel may remain
unfiltered or may have a 2- or 3-tap horizontal filter applied to it. A similar
process is undertaken to determine what type of vertical filter, if any, is to
be applied, no filter, a 2-tap or a 3-tap vertical filter.