Patent ID: 8208563

Claim:
A method for decoding by a decoder comprising: analyzing a substitute video unit to identify locations of the substitute video unit that include boundary artifacts; and correcting the boundary artifacts in the identified locations of the substitute video unit, wherein analyzing said substitute video unit to identify locations of the substitute video unit that include boundary artifacts comprises: identifying first locations within the substitute video unit that include first boundary artifacts that correspond with a boundary which exists within a reference video unit does not exist in the substitute video unit; identifying second locations within the substitute video unit that include second boundary artifacts that correspond with a boundary which exists within the substitute video unit does not exist within the reference video unit; wherein correcting the boundary artifacts in the identified locations further comprises: correcting boundary artifacts in the first locations of the substitute video unit using a first boundary artifact correction technique; and correcting boundary artifacts in the second locations of the substitute video unit using a second boundary artifact correction technique.