Patent ID: 8406552

Claim:
A method of filtering pixels along a block edge during decoding of compressed video, comprising: loading a first edge segment into a first register, the first edge segment comprising a first plurality of pixels along a first side of the block edge; loading a second edge segment into a second register, the second edge segment comprising a second plurality of pixels along a second side of the block edge, the second side being parallel to the first side; loading a third edge segment into a third register, the third edge segment comprising a third plurality of pixels along the first side of the block edge; loading a fourth edge segment into a fourth register, the fourth edge segment comprising a fourth plurality of pixels along the second side of the block edge; calculating a first selection mask for a first pair of pixels, the first pair comprising a first pixel of the first edge segment and a first pixel of the second edge segment; identifying a second pair of pixels, the second pair comprising a second pixel of the first edge segment and a second pixel of the second edge segment; calculating a second selection mask for a third pair of pixels, the third pair comprising a pixel of the third edge segment and a pixel of the fourth edge segment; swapping the third pair of pixels with the second pair of pixels so that both the first pair of pixels and the third pair of pixels are loaded in the first and second registers; simultaneously determining if the first selection mask associated with the first pair and the second selection mask associated with the third air meet one or more predetermined criteria; and simultaneously filtering remaining pixels of the first and second edge segments, if the first selection mask meets one or more predetermined criteria.