A method for improving video quality of a video stream. The method decodes the video stream and generates subblocks of video data from the video stream. The method then removes effects of subblock boundaries from previous deblocking. Each subblock is then smoothed to create pixel values and optionally, subblocks are merged if a predetermined quality is not achieved from the smoothing analysis. The pixels values are filled into each pixel position in the subblock. The subblocks are deblocked and then at least one subblock is outputted to a rendering device.