In an alternate preferred embodiment, however, multiple passes may be made for a plurality of blocks, such as for all blocks within a horizontal row or column of blocks or for all blocks within a picture, to minimize both the block edge discontinuities and the increase in error caused by DCT coefficient index adjustments and quantization level adjustments.