Patent ID: 8433147

Claim:
An encoding apparatus comprising: first processing means for performing predetermined first processing of image data to be encoded before performing encoding; encoding means for performing the encoding of the image data of which the first processing has been performed by the first processing means to generate a code stream; second processing means for performing predetermined second processing of the code stream generated through the encoding of the image data performed by the encoding means; and control means for controlling a processing speed of the encoding performed by the encoding means in accordance with a processing speed of the first processing by the first processing means and a processing speed of the second processing by the second processing means, wherein the control means acquires the number of zero-bit planes for each code block of the image data, calculates the total sum of the numbers of effective-bit planes for each picture from the number of zero-bit planes, and controls the processing speed of the encoding performed by the encoding means by using the total sum of the numbers of the effective-bit planes for each picture.