Patent ID: 7068720

Claim:
A method for encoding video data, the method comprising the steps of: a. providing a global codebook (gc) comprising one or more gc-macroblocks; b. decomposing a current frame of the video data into current macroblocks and searching for best gc-matches, each best gc-match identifying one gc-macroblock that best matches one current macroblock; c. determining best mc-matches provided by a motion compensation (mc) scheme, and, for each current macroblock, comparing the best gc-match associated with the each current macroblock to the best mc-match associated with the each current macroblock; d. choosing the better of the best gc-match associated with the each current macroblock and the best mc-match associated with the each current macroblock for encoding the each current macroblock and encoding the each current macroblock; e. updating the global codebook.