Patent ID: 7711197

Claim:
A data processing apparatus for determining a quantization scale when quantizing and encoding processed data, the data processing apparatus comprising: a specifying circuit for specifying a bit rate used to provide encoded data for decoding, the bit rate being based on encoding of the encoded data; an encoding difficulty detection circuit for detecting encoding difficulty of processed data that is encoded; a quantization control circuit for controlling the quantization scale based on the bit rate and the encoding difficulty; an indicator generation circuit for generating, based on the encoded data, indicator data specifying an amount of stored data of a storage circuit provided at a decoding side, the storage circuit storing and supplying the encoded data for decoding; and a target calculation circuit for calculating a target bit rate indicating a target value of the bit rate based on the indicator data, wherein the quantization control circuit controls the quantization scale to cause the bit rate to approach a value based on the target bit rate.