Patent Document ID: RE45300
Application ID: 13785701

Base Claim:
1. A variable-length coding apparatus which receives a block of image data block by block, and generates coded data from syntax elements , comprising: a storage unit that temporarily stores the block of image data; a first syntax element calculating unit that calculates a first syntax element from the block of image data, at the same time the block of image data is stored in said the storage unit; a first coding unit that generates coded data of the first syntax element from a value of based on the first syntax element; a second syntax element calculating unit that reads out the block of image data stored in said from the storage unit, and calculates a value of a second syntax element from the block of image data which is read out from the storage unit ; a second coding unit that generates coded data of the second syntax element based on the basis of the values of the first syntax element and the second syntax elements element ; and a packing unit that packs the coded data of the first syntax element and the coded data of the second syntax elements element .

---

Claim 5:
5. The apparatus according to claim 1 , wherein said the first syntax element calculating unit comprises: an additional information calculating unit that calculates additional information indicating based on the block of image data, the additional information including at least one of the number of zero data and the number of nonzero data from the input image data ; and a first syntax element generation generating unit that calculates the first syntax element based on the basis of the additional information and the block of image data temporarily stored in said which is read out from the storage unit and the additional information calculated by said additional information calculating unit .