Patent ID: 8102919

Claim:
An image coding apparatus which performs coding on image data representing a moving image, said image coding apparatus comprising: a first coding unit configured to generate first data by executing, on the image data, processing in and before a binarization process performed during the coding of the image data; a buffer unit configured to temporarily store the generated first data; a second coding unit configured to generate second data by reading out the first data stored in said buffer unit and executing an arithmetic coding process on the read-out first data; and a packetizing unit configured to, subsequent to the arithmetic coding process, packetize and output the second data without temporarily recording the generated second data, wherein said second coding unit is configured to change an amount of the second data to be output to said packetizing unit by changing an amount of the first data to be read out from said buffer unit and an amount of processing on the read-out first data so that a difference between a preset target value and an amount of data which said packetizing unit actually outputs is reduced.