1. A method to generate a modified residual block using a video encoder, the encoder being configured to perform a prediction operation with regard to an original block to generate a predicted block and to determine a residual block as the difference between the original block and the predicted block, and the encoder including a feedback loop containing a deblocking filter for deblocking a reconstructed block to generate a deblocked reconstructed block, the method comprising: determining, by comparison with the original block, which portions of the deblocked reconstructed block are more similar to corresponding parts of the original block than are the corresponding portions of the reconstructed block; performing a modified prediction search based upon a modified original block to locate a modified prediction block, wherein the modified original block is the original block modified to incorporate the portions of the deblocked reconstructed block determined to be more similar; and generating a modified residual block from the original block and the modified prediction block.