Patent ID: 7822282

Claim:
A moving image coding apparatus which codes time series frames constituting moving image data, comprising: a decomposition unit that decomposes a current frame into a plurality of subbands having different frequency components; a first extraction unit that, with a threshold set for each subband being represented by TB, extracts data of upper bits as motion compensation target data which excludes lower TB bits of frequency component coefficient data constituting each subband; a second extraction unit that extracts data of lower TB bits of the frequency component coefficient data constituting each subband as non motion compensation target data; a motion compensation unit that generates motion vector information and predicted value information on the basis of motion compensation target data of the current frame extracted by said first extraction unit and decoded data corresponding to the motion compensation target data obtained when a preceding frame is coded; a first coding unit that obtains a difference value between predicted value information generated by said motion compensation unit and the motion compensation target data in the current frame and coding the difference value and the motion vector information; a second coding unit that encodes, in units of bitplanes, data of the lower TB bits of each frequency component coefficient data extracted by said second extraction unit; a multiplexing unit that multiplexes code data obtained by said first coding unit and said second coding unit; and a decision unit that detects the code data amount of the current frame multiplexed by said multiplexing unit and decides a number of bitplanes not to be encoded for the subsequent frame, the decision unit comprising a processor, wherein said second coding unit encodes bitplanes of data of the lower TB bits excluding the number of bitplanes, from a lowest bit plane, decided by said decision unit when the preceding frame had been encoded.