Patent ID: 8619855

Claim:
A method comprising: performing first motion estimation with respect to a current frame of a sequence of frames of image data, the first motion estimation being performed with reference to a first set of reference frames, said first set of reference frames preceding said current frame in said sequence of frames of image data; evaluating a result of said first motion estimation; and determining, based on an outcome of said evaluating, whether to perform second motion estimation with respect to said current frame, said second motion estimation to be performed with reference to a second set of reference frames different from said first set of reference frames, said second set of reference frames preceding said first set of reference frames in said sequence of frames of image data wherein: said first set of reference frames includes three reference frames that immediately precede said current frame in said sequence of frames of image data; and said second set of reference frames includes two frames that immediately precede said first set of reference frames in said sequence of frames of image data.