Patent ID: 8619875

Claim:
A decoding method for decoding received input image compression information, the method comprising: generating a context model corresponding to motion vector information of a current macroblock, wherein the context model is generated based on a sum of absolute values of motion vector information of macroblocks neighboring the current macroblock, and when the current macroblock is subjected to the frame-based encoding and a neighboring macroblock is subjected to field-based encoding, calculating the motion vector information corresponding to the neighboring macroblock by generating an absolute value of a horizontal component of the motion vector information and an absolute value of a vertical component of the motion vector information corresponding to the neighboring macroblock, wherein the horizontal component of the motion vector information and the vertical component of the motion vector information are equivalent for frame-based encoding, a generating method for the horizontal component is different from a generating method for the vertical component, and the motion vector information corresponding to the neighboring macroblock is applied to the context model corresponding to the motion vector information of the current macroblock; and decoding the input image compression information using the context model corresponding to the syntax element for carrying out the frame-based or the field-based encoding.