1. A method of reducing a blocking artifact appearing when coding a picture, comprising: dividing the picture into blocks that each include multiple pixels, wherein the pixels of a first block are separated from pixels of a neighboring second block by a block boundary; selecting a quantity of pixels to be adjusted based on whether a region adjacent to the block boundary is smooth; and adjusting the selected quantity of pixels.