A method of coding a moving picture is provided that reduces blocking
artifacts. The method can include defining a plurality of defining pixels
S.sub.0, S.sub.1, and S.sub.2, which are centered around a block
boundary. If a default mode is selected then frequency information of the
surroundings of the block boundary is obtained. A magnitude of a
discontinuous component in a frequency domain belonging to the block
boundary is adjusted based on a magnitude of a corresponding
discontinuous component selected from a pixel contained entirely within a
block adjacent the block boundary. The frequency domain adjustment is
then applied to a spatial domain. Or, a DC offset mode can be selected to
reduce blocking artifacts in smooth regions where there is little motion.