The invention discloses a method for implementing H.264
deblocking filter algorithm based on a reconfigurable technique, which comprises the following steps: for a
deblocking filter algorithm in an H.264 decoding
algorithm, carrying out hardware /
software division and parallelism analysis on the
deblocking filter algorithm so as to determine a data flow circuit and a
control flow circuit implemented by the whole algorithm; then, optimizing the algorithm, and carrying out
source code conversion on the algorithm, so that the algorithm is converted into a form which can be implemented by a
reconfigurable array; and finally, converting the algorithm into a data flow graph form, and generating the configuration information of a RPU (reconfigurable
processing unit), thereby completing mapping. By using the method disclosed by the invention, a blocking effect on images caused by transformation and quantization is removed, so that the block edge is smooth, thereby improving the visual effect; meanwhile, through applying a
macro-block subjected to filtering to inter-frame prediction and motion compensation, smaller residual error data can be obtained, therefore, due to an advantages of being applicable to vast parallelism computing tasks, the method can be applied to coarsness-reconfigurable processor systems.