摘要 |
An apparatus and method enables effectively executing decoding processing in units of blocks based on encoded image data that has been variable-length encoded in units of blocks and furthermore has marker code inserted therein. An identification unit generates information indicating the position of an emulation prevention byte and deletes the emulation prevention byte. A code length calculation unit outputs a code length of the encoded image data from which the identification data has been deleted. A code length accumulation unit determines, based on the identification data position information, whether identification data was included in the encoded image data that has been decoded, and accumulates the code lengths of encoded data and outputs the accumulated code length in units of blocks. Based on this, storage address information for encoded data in blocks in the encoded image data is registered in a decoding table which is used for performing in units of blocks.
|