Patent ID: 8665952

Claim:
A method for decoding an encoded bitstream to generate a video signal having a plurality of frames, comprising: receiving the encoded bitstream at a decoder, the encoded bitstream including the plurality of frames and a reference frame; decoding a portion of the encoded bitstream to obtain at least a portion of the reference frame using a decoder, the at least a portion of the reference frame generated by a process of: determining a plurality of factors for a first block residing in a selected frame and spatially correspondent to a portion of a reference frame, wherein each of the plurality of factors is at least partially derived from a correlation between the first block and at least a second block residing in a different one of the plurality of frames; and applying a filter using filter weights formulated from the plurality of factors to the portion of the reference frame to generate the at least the portion of the reference frame; generating a residual from another portion of the encoded bitstream, the residual representing a portion of a frame of the plurality of frames; and reconstructing the portion of the frame by adding the residual to the at least the portion of the reference frame; wherein the selected frame and the different one of the plurality of frames form a portion of a filter set of frames and the plurality of factors comprises: a block-specific factor of the first block, the block-specific factor derived from a prediction coding mode associated with at least some blocks in the filter set, including the first block, and wherein determining the block-specific factor during the process comprises: determining a first prediction error score for the first block relative to the second block; determining a second prediction error score that is the best prediction error score for the first block relative to a block of pixels other than the second block; and determining the block-specific factor using a ratio of the first prediction error score to the second error prediction score.