Patent ID: 8238430

Claim:
An apparatus removing a blocking phenomenon using properties of two blocks, comprising: a decoder configured to determine whether at least one of a first block and a second block has non-zero transform coefficient information, the second block being adjacent to the first block, the decoder further configured to, obtain a motion vector difference between a motion vector for the first block and a motion vector for the second block, determine a filter strength value in consideration of a presence of the non-zero transform coefficient information as first priority and the obtained motion vector difference as second priority, obtain a pixel value difference between at least two pixels on a block boundary between the first block and the second block, and calculate values of the at least two pixels based on the filter strength value, the obtained pixel value difference, and a bit shift operation, wherein the bit shift operation uses an integer, wherein the integer is greater than one, and wherein the bit operation is performed after using the obtained pixel value difference.