The present invention facilitates efficient and effective detection of
pixel alteration. The number and configuration of pixels in a block
partition can be flexibly changed. The filter inputs in the
multi-protocol filter can be flexibly changed to meet the deblocking
requirement in the target video compression standard. In one embodiment,
the deblock engine includes an input interface, a neighbor buffer, a
current data buffer; and a multi-protocol filter. The input interface
receives reconstructed data. The neighbor buffer temporarily stores
neighbor information. The current data buffer receives the reconstructed
data and the neighbor information. The multi-protocol filter filters
information selected from the reconstructed data and neighbor
information.