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 2:
2. The apparatus according to claim 1 , wherein said the second syntax element calculating unit reads out the block of image data stored in said the storage unit in a reverse zigzag scan order , and calculates to calculate the second syntax element.