Patent ID: 7263234

Claim:
A video image encoding method, for distributing a bit rate to a target macroblock in a digital image while performing video image encoding, the digital image comprising a plurality of macroblocks, each macroblock performing further video image encoding according to the distributed bit rate, the video image encoding method comprising the following steps: choosing a comparison area in the digital image according to the location of the target macroblock in the digital image, the comparison area including a plurality of macroblocks that have already been distributed the corresponding bit rates; choosing a similar macroblock from the macroblocks of the chosen comparison area according to a Similar Macroblock Choosing(SMC) procedure; calculating respectively a first video distortion variable and a second video distortion variable according to a Video Distortion Calculation(VDC) process, wherein the first video distortion variable represents the average degree of distortion of the plural macroblocks in the comparison area, and the second video distortion variable represents the degree of distortion of the chosen similar marcoblock; and determining the bit rate of the target macroblock according to the distributed bit rate of the similar macroblock and the difference between the first and the second video distortion variables.