Patent ID: 8111751

Claim:
A method of encoding an image comprising a plurality of macroblocks, the method comprising: designating each macroblock as one of an intrablock and a non-intrablock based on an intrablock energy of the macroblock; determining an optimum number of macroblocks to be intrablock encoded based on a bandwidth related to a data size of the image; when the number of intrablock-designated macroblocks is less than the optimum number: determining an additional number of macroblocks to encode as intrablocks based on a difference between the number of intrablock-designated macroblocks and the optimum number; generating a sorted list of the non-intrablock-designated macroblocks in ascending order based on the intrablock energies of the non-intrablock-designated macroblocks; and starting with a macroblock having a lowest intrablock energy in the sorted list, sequentially designating the additional number of non-intrablock-designated macroblocks from the sorted list as intrablocks; and encoding the intrablock-designated macroblocks as intrablocks.