Patent ID: 8040954

Claim:
A coding device that codes a moving picture on a block basis, said coding device comprising: a header information generating unit configured to receive a moving picture signal and to generate, based on the moving picture signal, a header parameter and a header code value signal corresponding to the header parameter according to a syntax structure signal, the header parameter and the header code value signal being common to a plurality of blocks of moving picture signals; a header information coding unit configured to perform non-arithmetic coding on the header code value signal selectively with either a fixed length code or a variable length code according to the syntax structure signal, so as to generate a header stream; a frame coding unit configured to code, on the block basis, the moving picture signal with reference to the header parameter so as to generate a frame code value signal; an arithmetic coding unit configured to perform only arithmetic coding on the frame code value signal so as to construct a frame stream; and a multiplexer configured to multiplex the header stream and the frame stream so as to construct a picture coded signal, wherein the header information coding unit includes: a fixed length coding unit for fixed length coding a plurality of header code value signals according to at least one of a plurality of fixed length coding methods; a variable length coding unit for variable length coding the plurality of header code value signals according to at least one of a plurality of variable length coding methods; and a coding selecting unit configured to select one of the fixed length coding unit or the variable length coding unit according to the syntax structure signal, and wherein the header information coding unit is configured to code the header code value signal corresponding to the fixed length code, using one of the plurality of fixed length coding methods according to the syntax structure signal, when the fixed length coding unit is selected by the coding selecting unit, and the header information coding unit is configured to code the header code value signal corresponding to the variable length code, using one of the plurality of variable length coding methods according to the syntax structure signal, when the variable length coding unit is selected by the coding selecting unit.