摘要 |
PURPOSE:To prevent a code quantity from being generated abruptly even in case of an intra-block increase by encoding all quantized data when the storage amount of a transmitting buffer is smaller than a prescribed value which can be set or only some of them when larger. CONSTITUTION:An intra/inter decision part 6 outputs '1' in an intra-block. An encoding decision part 7 inputs the data storage amount of the transmitting buffer 8 and the decision result of the decision part 6 and when an abrupt increase in generated code amount accompanying the intra-block can be predicted, inhibition data zero which need not be encoded is selected instead of the quantized data of a quantization part 3 to prevent the storage amount of the transmitting buffer from increasing. If the storage amount is small at this time or in case of an inter-block which is small in encoding generation amount, the quantized data of the quantization part 3 are selected. Thus, the quantized data or inhibition data zero is sent to a variable length encoding part 5; when the inhibition data zero is inputted, encoding is inhibited and when the quantized data are inputted, the encoding is properly performed. |