Patent ID: 7457360

Claim:
An encoding apparatus comprising: a pre-encoding unit that performs learning based on input image data from before starting a video recording; and an encoding unit that encodes image data to be recorded, using an encoding parameter determined based on a result of the learning, wherein the pre-encoding unit includes: an image input unit that obtains brightness, hue, and complexity of a pattern of a current image based on the input image data; a motion searching unit that obtains a motion vector of an image based on current image data and past image data; and a table group that represents a relation between encoding parameters and an amount of information generated with respect to various scenes, and the pre-encoding unit selects a first table that is close to a combination of the brightness, the hue, and the complexity of a pattern of the current image and the motion vector, from the table group, and takes the first table as the result of the learning.