The activity is a parameter for quantitating the state of a pixel for further raising the compression efficiency as the picture quality is maintained by finely controlling the quantization step responsive to the state of a picture portion of a macro-block in a picture.