Patent ID: 8325801

Claim:
A coding system comprising: an inter prediction block, for performing prediction on macroblocks of a current frame and generating prediction information according to restored reconstructed samples of a reference frame; a transform and quantization block, coupled to the inter prediction block, for performing transform and quantization processes on prediction residues; a reconstruction loop, coupled between the transform and quantization block and the inter prediction block, for reconstructing the current frame according to outputs of the transform and quantization block and the inter prediction block to generate the restored reconstructed samples, the reconstruction loop comprising: an adaptive restoration block, for performing restoration on processed data by systematically testing a plurality of different candidate restoration methods from a list of restoration methods, selecting at least one of the tested candidate restoration methods as a final restoration method, and generating adaptive restoration information corresponding to the final restoration method; and an encoding unit, coupled to the transform and quantization block and adaptive restoration block, for encoding the prediction information and adaptive restoration information to generate an encoded bitstream.